1
0
Fork 0

Player spawnpoint

This commit is contained in:
Piegames 2018-04-23 01:54:04 +02:00
parent 4f24f39611
commit bf3ec6620e

View file

@ -202,6 +202,8 @@ public class DungeonGenerator {
GenerateInterior(r);
}
start.spawnpoints.Add(start.GetCenter());
foreach (Vector2Int v in allDoors) {
foreach (GenRoom r in rooms) {
for (int x = -TUNNEL_THICKNESS; x < TUNNEL_THICKNESS; x++)