diff options
| author | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-08-25 17:40:35 -0300 |
|---|---|---|
| committer | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-08-25 17:40:35 -0300 |
| commit | 7419e7237c3c5b3f1184babfcd826b7f788b599a (patch) | |
| tree | 62b37af72c4325e2342e9ab976c6cc1c30e45ed2 /scripts/map/DungeonGenerator.cs | |
| parent | 35660f002898cd2382567696890d3fbc4d21e763 (diff) | |
Organização.
Diffstat (limited to 'scripts/map/DungeonGenerator.cs')
| -rw-r--r-- | scripts/map/DungeonGenerator.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/map/DungeonGenerator.cs b/scripts/map/DungeonGenerator.cs index 0d94724..68bde06 100644 --- a/scripts/map/DungeonGenerator.cs +++ b/scripts/map/DungeonGenerator.cs @@ -50,7 +50,10 @@ public partial class DungeonGenerator : Node public MapData GenerateDungeon(Player player) { - MapData data = new MapData(width, height); + MapData data = new MapData(width, height, player); + + data.InsertActor(player); + player.Map_Data = data; MapDivision root = new MapDivision(0, 0, width, height); |
