From 5781b7dad68c3e01d83365f73b0d35d9e5252f97 Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Sun, 16 Jan 2022 17:14:36 +0100 Subject: control system --- scripts/globals.gd | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 scripts/globals.gd (limited to 'scripts/globals.gd') diff --git a/scripts/globals.gd b/scripts/globals.gd new file mode 100644 index 0000000..8c66f03 --- /dev/null +++ b/scripts/globals.gd @@ -0,0 +1,24 @@ +extends Node + +enum PlayerState { + PICK, + PLACE, + EDIT +} + +enum StateType { + TURRET, + ATTACH, + PATH, + VOXEL, + VOXEL_PALETTE +} + +enum PlayerActions { + CHANGE_TYPE, + PICK, + PLACE, + SELECT, + DELETE, + CANCEL +} -- cgit v1.2.3-54-g00ecf