diff options
| author | Sophia Pearson <codergal89@gmail.com> | 2022-11-26 10:08:44 +0100 |
|---|---|---|
| committer | Sophia Pearson <codergal89@gmail.com> | 2022-11-26 10:08:44 +0100 |
| commit | d7eefa488135c477f39ea0953b032c7dcdad8bc7 (patch) | |
| tree | d9725b73b342ff3d9df4d800616dd010b48c7222 /Scripts/Game/Command.cs | |
| parent | 8e8a58bac339aa06e860b977670f16c8b4eb30a8 (diff) | |
| download | texty-d7eefa488135c477f39ea0953b032c7dcdad8bc7.tar.xz texty-d7eefa488135c477f39ea0953b032c7dcdad8bc7.zip | |
scripts: perform code cleanup actions
Diffstat (limited to 'Scripts/Game/Command.cs')
| -rw-r--r-- | Scripts/Game/Command.cs | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/Scripts/Game/Command.cs b/Scripts/Game/Command.cs index 20b8437..56d80a7 100644 --- a/Scripts/Game/Command.cs +++ b/Scripts/Game/Command.cs @@ -1,25 +1,24 @@ using Godot; -namespace Texty.Scripts.Game +namespace Texty.Scripts.Game; + +public enum CommandType +{ + Look +} + +public partial class Command : Object { - public enum CommandType + public Command() { - Look } - public partial class Command : Object + public Command(CommandType type, string[] arguments) { - public Command() - { - } - - public Command(CommandType type, string[] arguments) - { - RawArguments = arguments; - Type = type; - } - - public string[] RawArguments { get; } - public CommandType Type { get; } + RawArguments = arguments; + Type = type; } + + public string[] RawArguments { get; } + public CommandType Type { get; } }
\ No newline at end of file |
