Dungeon Architect  17.0.0
DungeonArchitect.Builders.Grid.GridDungeonQuery Class Reference
Inheritance diagram for DungeonArchitect.Builders.Grid.GridDungeonQuery:
DungeonArchitect.DungeonEventListener

Public Member Functions

override void OnPostDungeonBuild (Dungeon dungeon, DungeonModel model)
 Called after the dungeon is completely built More...
 
override void OnPreDungeonDestroy (Dungeon dungeon)
 Called after the dungeon is destroyed More...
 
void GenerateQuery ()
 
void GetDoorsForCell (int cellId, out GameObject[] doorGameObjects)
 
bool GetCellAtPosition (Vector3 position, out Cell outCell)
 
Bounds GetCellBounds (Cell cell)
 
Cell GetRandomCell ()
 
Cell[] FindFurthestRooms ()
 
- Public Member Functions inherited from DungeonArchitect.DungeonEventListener
virtual void OnPostDungeonLayoutBuild (Dungeon dungeon, DungeonModel model)
 Called after the layout is built in memory, but before the markers are emitted More...
 
virtual void OnDungeonMarkersEmitted (Dungeon dungeon, DungeonModel model, LevelMarkerList markers)
 Called after all the markers have been emitted for the level (but before the theming engine is run on those markers) This gives you an opportunity to modify the markers More...
 
virtual void OnPreDungeonBuild (Dungeon dungeon, DungeonModel model)
 Called before the dungeon is built More...
 
virtual void OnDungeonDestroyed (Dungeon dungeon)
 Called after the dungeon is destroyed More...
 

Public Attributes

Dictionary< int, GameObject[]> DoorObjectsByCellId = new Dictionary<int, GameObject[]>()
 

Detailed Description

Definition at line 8 of file GridDungeonQuery.cs.

Member Function Documentation

◆ OnPostDungeonBuild()

override void DungeonArchitect.Builders.Grid.GridDungeonQuery.OnPostDungeonBuild ( Dungeon  dungeon,
DungeonModel  model 
)
virtual

Called after the dungeon is completely built

Parameters
modelThe dungeon model

Reimplemented from DungeonArchitect.DungeonEventListener.

Definition at line 13 of file GridDungeonQuery.cs.

◆ OnPreDungeonDestroy()

override void DungeonArchitect.Builders.Grid.GridDungeonQuery.OnPreDungeonDestroy ( Dungeon  dungeon)
virtual

Called after the dungeon is destroyed

Parameters
modelThe dungeon model

Reimplemented from DungeonArchitect.DungeonEventListener.

Definition at line 18 of file GridDungeonQuery.cs.


The documentation for this class was generated from the following file: