diff options
author | jacopograndi <jacopo.grandi@outlook.it> | 2022-01-16 17:14:36 +0100 |
---|---|---|
committer | jacopograndi <jacopo.grandi@outlook.it> | 2022-01-16 17:14:36 +0100 |
commit | 5781b7dad68c3e01d83365f73b0d35d9e5252f97 (patch) | |
tree | dada65ab375ed8287b33e6ffe023f5df5e666d24 /scripts/globals.gd | |
parent | 8e5358aaefa1df729ffc02047e53b62705d6b3b1 (diff) |
control system
Diffstat (limited to 'scripts/globals.gd')
-rw-r--r-- | scripts/globals.gd | 24 |
1 files changed, 24 insertions, 0 deletions
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 +} |