From f20bd89dc4a7bf14a88b1effcaa1887b29314525 Mon Sep 17 00:00:00 2001 From: Sophia Pearson Date: Mon, 5 Sep 2022 20:35:53 +0200 Subject: gui: split GUI into Terminal components --- Scripts/Game/StatusLine.cs | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 Scripts/Game/StatusLine.cs (limited to 'Scripts/Game/StatusLine.cs') 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($"%{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 -- cgit v1.2.3