diff options
| author | Sophia Pearson <codergal89@gmail.com> | 2022-09-06 10:19:18 +0200 |
|---|---|---|
| committer | Sophia Pearson <codergal89@gmail.com> | 2022-09-06 10:19:45 +0200 |
| commit | 9ecc30e31da0bdf81342d1fc07610aba0441ed58 (patch) | |
| tree | d5c60b4739b4b6bc41f769adff6167cc025c3e3d /Scripts | |
| parent | 000f1c89ce7505b7d0d59af86c5ab5be2cfca54e (diff) | |
| download | texty-9ecc30e31da0bdf81342d1fc07610aba0441ed58.tar.xz texty-9ecc30e31da0bdf81342d1fc07610aba0441ed58.zip | |
editor: allow scripts to run in editor
Diffstat (limited to 'Scripts')
| -rw-r--r-- | Scripts/Game/CommandInputArea.cs | 1 | ||||
| -rw-r--r-- | Scripts/Terminal/OutputBlock.cs | 1 | ||||
| -rw-r--r-- | Scripts/Terminal/StatusArea.cs | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/Scripts/Game/CommandInputArea.cs b/Scripts/Game/CommandInputArea.cs index 7d0ba5c..2f1fc09 100644 --- a/Scripts/Game/CommandInputArea.cs +++ b/Scripts/Game/CommandInputArea.cs @@ -3,6 +3,7 @@ using Texty.Scripts.Terminal; namespace Texty.Scripts.Game { + [Tool] public class CommandInputArea : InputArea { [Signal] public delegate void CommandSubmitted(Command command); diff --git a/Scripts/Terminal/OutputBlock.cs b/Scripts/Terminal/OutputBlock.cs index b611cb5..08b2ab2 100644 --- a/Scripts/Terminal/OutputBlock.cs +++ b/Scripts/Terminal/OutputBlock.cs @@ -2,6 +2,7 @@ using Godot; namespace Texty.Scripts.Terminal { + [Tool] public class OutputBlock : MarginContainer { private string _content = ""; diff --git a/Scripts/Terminal/StatusArea.cs b/Scripts/Terminal/StatusArea.cs index 1b1b6e3..35bc1c7 100644 --- a/Scripts/Terminal/StatusArea.cs +++ b/Scripts/Terminal/StatusArea.cs @@ -2,6 +2,7 @@ using Godot; namespace Texty.Scripts.Terminal { + [Tool] public class StatusArea : HBoxContainer { private string _titleText = ""; |
