summaryrefslogtreecommitdiff
path: root/Scripts/Game/StatusLine.cs
diff options
context:
space:
mode:
authorSophia Pearson <codergal89@gmail.com>2022-09-05 20:35:53 +0200
committerSophia Pearson <codergal89@gmail.com>2022-09-05 20:35:53 +0200
commitf20bd89dc4a7bf14a88b1effcaa1887b29314525 (patch)
treed114787f68efd2a7d61d95fa9c84e8e5d69a7c11 /Scripts/Game/StatusLine.cs
parent1b477b62f8be8c546a35dbd1d2688ebf623c496f (diff)
downloadtexty-f20bd89dc4a7bf14a88b1effcaa1887b29314525.tar.xz
texty-f20bd89dc4a7bf14a88b1effcaa1887b29314525.zip
gui: split GUI into Terminal components
Diffstat (limited to 'Scripts/Game/StatusLine.cs')
-rw-r--r--Scripts/Game/StatusLine.cs27
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