summaryrefslogtreecommitdiff
path: root/scripts/DungeonLevel.cs
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-08-16 15:56:28 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-08-16 15:56:28 -0300
commitb05cfd5577884d1a398dbb226e2082af5fe8f8fa (patch)
tree26961e5c63e87c5d1c17422cdf6ab4493b2d8f55 /scripts/DungeonLevel.cs
parentc411c496394c7a782854e03f2be8fab4cc1e2a81 (diff)
Sistema de turnos básico
Diffstat (limited to 'scripts/DungeonLevel.cs')
-rw-r--r--scripts/DungeonLevel.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/DungeonLevel.cs b/scripts/DungeonLevel.cs
new file mode 100644
index 0000000..c3536ac
--- /dev/null
+++ b/scripts/DungeonLevel.cs
@@ -0,0 +1,18 @@
+using Godot;
+using System;
+
+public partial class DungeonLevel : Node2D {
+ TurnManager turnManager;
+
+ public override void _Ready() {
+ base._Ready();
+
+ turnManager = GetNode<TurnManager>("TurnManager");
+
+ turnManager.Tick();
+ }
+
+ public void OnTurnEnd() {
+ turnManager.Tick();
+ }
+}