diff options
Diffstat (limited to 'Scripts/Game/StatusLine.cs')
| -rw-r--r-- | Scripts/Game/StatusLine.cs | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Scripts/Game/StatusLine.cs b/Scripts/Game/StatusLine.cs deleted file mode 100644 index 8e19cb4..0000000 --- a/Scripts/Game/StatusLine.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Godot; - -namespace Texty.Scripts.Game -{ - public class StatusLine : PanelContainer - { - private string _titleText = ""; - private RichTextLabel TitleLabel => GetNodeOrNull<RichTextLabel>($"%{nameof(TitleLabel)}"); - - [Export] - public string Title - { - get => _titleText; - set - { - _titleText = value; - if (TitleLabel != null) - TitleLabel.BbcodeText = GodotSharp.Singleton.Tr(value); - } - } - - public override void _Ready() - { - Title = _titleText; - } - } -}
\ No newline at end of file |
