summaryrefslogtreecommitdiff
path: root/Scenes/Game/Input.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'Scenes/Game/Input.tscn')
-rw-r--r--Scenes/Game/Input.tscn16
1 files changed, 12 insertions, 4 deletions
diff --git a/Scenes/Game/Input.tscn b/Scenes/Game/Input.tscn
index 7106217..627a0ac 100644
--- a/Scenes/Game/Input.tscn
+++ b/Scenes/Game/Input.tscn
@@ -1,10 +1,12 @@
-[gd_scene format=2]
+[gd_scene load_steps=3 format=2]
+
+[ext_resource path="res://Scripts/Game/Input.cs" type="Script" id=1]
+[ext_resource path="res://Scripts/Game/CommandParser.cs" type="Script" id=2]
[node name="Input" type="PanelContainer"]
-margin_top = 451.0
-margin_right = 640.0
-margin_bottom = 480.0
+anchor_right = 1.0
theme_type_variation = "InvertedPanelContainer"
+script = ExtResource( 1 )
[node name="Container" type="HBoxContainer" parent="."]
margin_left = 8.0
@@ -28,3 +30,9 @@ size_flags_horizontal = 3
context_menu_enabled = false
selecting_enabled = false
caret_blink = true
+
+[node name="CommandParser" type="Node" parent="."]
+unique_name_in_owner = true
+script = ExtResource( 2 )
+
+[connection signal="text_entered" from="Container/Text" to="." method="OnTextEntered"]