diff options
Diffstat (limited to 'scripts/DungeonLevel.cs')
| -rw-r--r-- | scripts/DungeonLevel.cs | 18 |
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(); + } +} |
