◆ Direction
Enumerator |
---|
North | |
East | |
South | |
West | |
◆ Quadrant()
Slasher.Map.Quadrant.Quadrant |
( |
Vector2Int | position | ) |
|
◆ CreatePath()
void Slasher.Map.Quadrant.CreatePath |
( |
Direction | direction | ) |
|
◆ CreatePathConnection()
void Slasher.Map.Quadrant.CreatePathConnection |
( |
Quadrant | previousQuadrant | ) |
|
Will link a path with the provided Quadrant based on its position.
◆ GetConnectedQuadrants()
List< Quadrant > Slasher.Map.Quadrant.GetConnectedQuadrants |
( |
| ) |
|
◆ GetGridDistanceBetweenQuadrants()
Vector2Int Slasher.Map.Quadrant.GetGridDistanceBetweenQuadrants |
( |
Quadrant | quadrant | ) |
|
◆ GetPathInDirection()
Path Slasher.Map.Quadrant.GetPathInDirection |
( |
Direction | direction | ) |
|
◆ GetPaths()
List< Path > Slasher.Map.Quadrant.GetPaths |
( |
| ) |
|
◆ GetQuadrantGridPosition()
Vector2Int Slasher.Map.Quadrant.GetQuadrantGridPosition |
( |
| ) |
|
Gets the Vector2 position of this room on the map grid.
◆ GetRoom()
Room Slasher.Map.Quadrant.GetRoom |
( |
| ) |
|
◆ RemoveConnection()
void Slasher.Map.Quadrant.RemoveConnection |
( |
Quadrant | quadrant | ) |
|
◆ SetQuadrantGridPosition()
void Slasher.Map.Quadrant.SetQuadrantGridPosition |
( |
Vector2Int | positon | ) |
|
Assign the rooms position in the grid.
◆ SetQuadrantPathLocation()
void Slasher.Map.Quadrant.SetQuadrantPathLocation |
( |
Path | path, |
|
|
Direction | direction ) |
Set a Room path connection!
North, East, South or West
◆ SetRoom()
void Slasher.Map.Quadrant.SetRoom |
( |
Room | room | ) |
|
◆ _gridPositon
Vector2Int Slasher.Map.Quadrant._gridPositon = new() |
|
private |
◆ _paths
Path [] Slasher.Map.Quadrant._paths |
|
private |
◆ _room
Room Slasher.Map.Quadrant._room |
|
private |
The documentation for this class was generated from the following file:
- StyleSlasherUnityProject/Assets/Scripts/Map/Room.cs