summaryrefslogtreecommitdiff
path: root/Scripts/Game/Command.cs
diff options
context:
space:
mode:
authorSophia Pearson <codergal89@gmail.com>2022-09-04 15:43:12 +0200
committerSophia Pearson <codergal89@gmail.com>2022-09-04 15:44:04 +0200
commit2f3abbb6f1141f15ef77ac27e431bc66bb0c7899 (patch)
tree17f7ee50161e1de1c11c6dd14a54a11614e7de03 /Scripts/Game/Command.cs
parent0967a4654c9fa67b5cfc19edf3cfc075bf6bde92 (diff)
downloadtexty-2f3abbb6f1141f15ef77ac27e431bc66bb0c7899.tar.xz
texty-2f3abbb6f1141f15ef77ac27e431bc66bb0c7899.zip
game: adapt scripts to new design
Diffstat (limited to 'Scripts/Game/Command.cs')
-rw-r--r--Scripts/Game/Command.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/Scripts/Game/Command.cs b/Scripts/Game/Command.cs
new file mode 100644
index 0000000..07d7c84
--- /dev/null
+++ b/Scripts/Game/Command.cs
@@ -0,0 +1,25 @@
+using Godot;
+
+namespace Texty.Scripts.Game
+{
+ public enum CommandType
+ {
+ Look
+ }
+
+ public class Command : Object
+ {
+ public Command()
+ {
+ }
+
+ public Command(CommandType type, string[] arguments)
+ {
+ RawArguments = arguments;
+ Type = type;
+ }
+
+ public string[] RawArguments { get; }
+ public CommandType Type { get; }
+ }
+} \ No newline at end of file