Exemplo n.º 1
0
 private Game()
 {
     _entitySource   = new GameEntitySource();
     _entityPool     = new GameEntityPool(_entitySource);
     _tileProperties = new GameTilePropertiesSource();
     _respawnTracker = new GameEntityRespawnTracker();
     stageFactory    = new StageFactory(_entityPool, _respawnTracker);
     _stateMachine   = new GameStateMachine(_entityPool, stageFactory);
 }