создание стен как информации, ещё не обьекты
This commit is contained in:
1 parent
650af515e9
commit
bb8db47ecc
5 files changed
+174
-7
No files matched your search
@@ -30,6 +30,9 @@ namespace _Project.Scripts.LevelGenerating
|
||||
public readonly List<Room> Rooms = new List<Room>();
|
||||
public readonly Dictionary<Room, int> Depth = new Dictionary<Room, int>();
|
||||
|
||||
// Сегменты стен (заполняет ShellBuilder.Build)
|
||||
public readonly List<WallSegment> Walls = new List<WallSegment>();
|
||||
|
||||
public Room Start; // стартовая комната (вход с предыдущего этажа)
|
||||
public Room Lift; // комната с лифтом (выход на следующий этаж)
|
||||
|
||||
@@ -74,6 +77,7 @@ namespace _Project.Scripts.LevelGenerating
|
||||
{
|
||||
Rooms.Clear();
|
||||
Depth.Clear();
|
||||
Walls.Clear();
|
||||
Start = null;
|
||||
Lift = null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user