Dungeon Architect  17.0.0
DungeonArchitect.DungeonSceneObjectSpawner Class Referenceabstract

Takes care of spawning the dungeon objects from the input list This allows us to use different strategies to spawn the objects (e.g. synchronous or async spawning over multiple frames) More...

Inheritance diagram for DungeonArchitect.DungeonSceneObjectSpawner:
DungeonArchitect.AsyncDungeonSceneObjectSpawner DungeonArchitect.SyncDungeonSceneObjectSpawner

Classes

class  SpawnInfo
 

Public Member Functions

abstract void Spawn (DungeonNodeSpawnData[] spawnDataList, DungeonSceneProvider sceneProvider, PMRandom random, IDungeonSceneObjectInstantiator objectInstantiator, DungeonItemSpawnListener[] spawnListeners)
 
virtual void Tick ()
 
virtual void Destroy ()
 

Protected Member Functions

GameObject SpawnNodeItem (DungeonNodeSpawnData data, DungeonSceneProvider sceneProvider, PMRandom random, IDungeonSceneObjectInstantiator objectInstantiator)
 
void TagDungeonItemUserData (GameObject dungeonItem, int cellID)
 
void NotifySpawnListeners (DungeonItemSpawnListener[] spawnListeners, List< SpawnInfo > spawnList)
 

Detailed Description

Takes care of spawning the dungeon objects from the input list This allows us to use different strategies to spawn the objects (e.g. synchronous or async spawning over multiple frames)

Definition at line 20 of file DungeonSceneObjectSpawner.cs.


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