MyDungeon Documentation
GridGenerator Methods |
The GridGenerator type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateCorridors |
Creates two connected corridors to connect rooms on the map
| |
CreateRooms |
Creates the rooms in the map
| |
GenerateBoard |
Generate a new grid-based dungeon map
| |
InstantiateFromArray |
Instantiate random prefab from an array of prefabs
| |
InstantiateHorizontalOuterWall |
Instantiate the horizontal edges of the outer wall
| |
InstantiateOuterWalls |
Instantiate the outer wall of the map
| |
InstantiateTiles |
Instantiate all of the objects based on the value in the map array
| |
InstantiateVerticalOuterWall |
Instantiate the vertical edges of the outer wall
| |
SetTilesValuesForCorridors |
Adds corridors to the map array
| |
SetTilesValuesForRooms | Sets values within rooms in map array to create spawn locations for various objects Objects include PlayerDungeon, Exit, Monsters and Items | |
SetupCells |
Sets the number of cells contained on the map
| |
SetupTilesArray |
Creates the initial map array filled with impassible terrain
|
Extension Methods
Name | Description | |
---|---|---|
Invoke |
Invoke using a delegate
(Defined by MonoBehaviourExtensions.) |
See Also