|
void | Split (float splitRatio, System.Random random) |
| This function assumes that the cell is big enough to split. Make sure to call CanSplit function before calling this More...
|
|
bool | MustSplit (int maxSize) |
| Check if it is required to split this node. This happens if the size is greater than the max allowed room size. In that case a split is required More...
|
|
bool | CanSplit (int minSize) |
|
Definition at line 21 of file BSPDungeonBuilder.cs.
◆ MustSplit()
bool DungeonArchitect.Builders.BSP.BSPNodeObject.MustSplit |
( |
int |
maxSize | ) |
|
Check if it is required to split this node. This happens if the size is greater than the max allowed room size. In that case a split is required
- Parameters
-
- Returns
Definition at line 108 of file BSPDungeonBuilder.cs.
◆ Split()
void DungeonArchitect.Builders.BSP.BSPNodeObject.Split |
( |
float |
splitRatio, |
|
|
System.Random |
random |
|
) |
| |
This function assumes that the cell is big enough to split. Make sure to call CanSplit function before calling this
Definition at line 51 of file BSPDungeonBuilder.cs.
The documentation for this class was generated from the following file:
- C:/gamedev/unity/DA20.1X/Assets/CodeRespawn/DungeonArchitect/Scripts/Builders/SpatialPartition/BSPDungeonBuilder.cs