summaryrefslogtreecommitdiff
path: root/scenes/Game.tscn
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-08-30 23:21:20 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-08-30 23:21:20 -0300
commit50ba75c55e9e7a483c8a98a9e3f88214678a5244 (patch)
tree1d075999afd5449c13e2ee7a4d9238ba77257aea /scenes/Game.tscn
parent178f9e3363f1b0bb2a04ef53ae98b689a13570f3 (diff)
MĂșltiplas formas de input
Diffstat (limited to 'scenes/Game.tscn')
-rw-r--r--scenes/Game.tscn12
1 files changed, 10 insertions, 2 deletions
diff --git a/scenes/Game.tscn b/scenes/Game.tscn
index d967ecb..ef60cc2 100644
--- a/scenes/Game.tscn
+++ b/scenes/Game.tscn
@@ -1,9 +1,11 @@
-[gd_scene load_steps=7 format=3 uid="uid://u5h6iqyi8wd0"]
+[gd_scene load_steps=9 format=3 uid="uid://u5h6iqyi8wd0"]
[ext_resource type="Script" uid="uid://dwubb28wt4bhe" path="res://scripts/Game.cs" id="1_cpr0p"]
+[ext_resource type="Script" uid="uid://ejqmdbc0524i" path="res://scripts/input/MainGameInputHandler.cs" id="3_400sg"]
[ext_resource type="Script" uid="uid://fe2h4is11tnw" path="res://scripts/map/Map.cs" id="3_cpr0p"]
-[ext_resource type="Script" uid="uid://ejqmdbc0524i" path="res://scripts/input/InputHandler.cs" id="3_s0nni"]
+[ext_resource type="Script" uid="uid://bxt6g7t1uvvia" path="res://scripts/input/InputHandler.cs" id="3_s0nni"]
[ext_resource type="Script" uid="uid://dwyr067lwqcsj" path="res://scripts/map/DungeonGenerator.cs" id="4_78awf"]
+[ext_resource type="Script" uid="uid://ogqlb3purl6n" path="res://scripts/input/GameOverInputHandler.cs" id="4_g4kob"]
[ext_resource type="Script" uid="uid://bereyrj1s46y5" path="res://scripts/map/FieldOfView.cs" id="5_s0nni"]
[ext_resource type="PackedScene" uid="uid://b4h4xyr1g8o50" path="res://scenes/ui.tscn" id="6_aug50"]
@@ -13,6 +15,12 @@ script = ExtResource("1_cpr0p")
[node name="InputHandler" type="Node" parent="."]
script = ExtResource("3_s0nni")
+[node name="MainGameInputHandler" type="Node" parent="InputHandler"]
+script = ExtResource("3_400sg")
+
+[node name="GameOverInputHandler" type="Node" parent="InputHandler"]
+script = ExtResource("4_g4kob")
+
[node name="Map" type="Node2D" parent="."]
script = ExtResource("3_cpr0p")