diff options
| author | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-08-18 18:43:54 -0300 |
|---|---|---|
| committer | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-08-18 18:43:54 -0300 |
| commit | 723e66a82606ee78ca4156a0c0a850185b4c0369 (patch) | |
| tree | 1aafa29e16a462f812b804e2f3419387ba07b2f2 /scripts/DungeonGenerator.cs | |
| parent | c9057bbd88f14a4e0e572c16452c1ab9baebfe2a (diff) | |
IT'S OVER
Diffstat (limited to 'scripts/DungeonGenerator.cs')
| -rw-r--r-- | scripts/DungeonGenerator.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/DungeonGenerator.cs b/scripts/DungeonGenerator.cs new file mode 100644 index 0000000..99b8aac --- /dev/null +++ b/scripts/DungeonGenerator.cs @@ -0,0 +1,19 @@ +using Godot; +using System; + +public partial class DungeonGenerator : Node +{ + private TileMapLayer map; + + [ExportCategory("Parametres")] + [Export] + private int width = 80; + [Export] + private int height = 60; + + public override void _Ready() + { + base._Ready(); + map = GetParent().GetNode<TileMapLayer>("Dungeon"); + } +} |
