Dungeon Architect
17.0.0
|
Manages the doors in the grid based builder More...
Public Member Functions | |
void | Clear () |
void | RemoveDoor (CellDoor door) |
CellDoor | CreateDoor (IntVector p1, IntVector p2, int cellId1, int cellId2) |
Creates a door between the two grid points More... | |
bool | ContainsDoorBetweenCells (int cellA, int cellB) |
Check if a door exists between the two cells More... | |
bool | ContainsDoor (int x1, int z1, int x2, int z2) |
Properties | |
CellDoor[] | Doors [get] |
List of registered doors More... | |
Manages the doors in the grid based builder
Definition at line 270 of file GridDungeonModel.cs.
bool DungeonArchitect.Builders.Grid.DoorManager.ContainsDoorBetweenCells | ( | int | cellA, |
int | cellB | ||
) |
Check if a door exists between the two cells
Definition at line 339 of file GridDungeonModel.cs.
CellDoor DungeonArchitect.Builders.Grid.DoorManager.CreateDoor | ( | IntVector | p1, |
IntVector | p2, | ||
int | cellId1, | ||
int | cellId2 | ||
) |
Creates a door between the two grid points
p1 | The grid poition 1 |
p2 | The grid poition 2 |
cellId1 | Cell Id of the first adjacent cell |
cellId2 | Cell Id of the second adjacent cell |
Definition at line 310 of file GridDungeonModel.cs.
|
get |
List of registered doors
Definition at line 379 of file GridDungeonModel.cs.