From 2f3abbb6f1141f15ef77ac27e431bc66bb0c7899 Mon Sep 17 00:00:00 2001 From: Sophia Pearson Date: Sun, 4 Sep 2022 15:43:12 +0200 Subject: game: adapt scripts to new design --- Scripts/Game/Command.cs | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Scripts/Game/Command.cs (limited to 'Scripts/Game/Command.cs') 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 -- cgit v1.2.3