From 6fe4972aa48a29d0aafee0461ccd6c635ca9ee6c Mon Sep 17 00:00:00 2001 From: Sophia Pearson Date: Mon, 23 May 2022 00:02:58 +0200 Subject: commands: add basic command parser infrastructure --- Scenes/Game.tscn | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Scenes/Game.tscn') diff --git a/Scenes/Game.tscn b/Scenes/Game.tscn index 5c24cf2..5988f7d 100644 --- a/Scenes/Game.tscn +++ b/Scenes/Game.tscn @@ -1,9 +1,10 @@ -[gd_scene load_steps=5 format=2] +[gd_scene load_steps=6 format=2] [ext_resource path="res://Scenes/InputContainer.tscn" type="PackedScene" id=1] [ext_resource path="res://Scripts/Game.cs" type="Script" id=2] [ext_resource path="res://Scenes/OutputContainer.tscn" type="PackedScene" id=3] [ext_resource path="res://Scenes/OutputRow.tscn" type="PackedScene" id=4] +[ext_resource path="res://Scripts/CommandParser.cs" type="Script" id=5] [node name="Game" type="MarginContainer"] anchor_right = 1.0 @@ -18,6 +19,9 @@ __meta__ = { } OutputRowScene = ExtResource( 4 ) +[node name="CommandParser" type="Node" parent="."] +script = ExtResource( 5 ) + [node name="LayoutContainer" type="VBoxContainer" parent="."] margin_right = 1008.0 margin_bottom = 584.0 -- cgit v1.2.3