예제 #1
0
 internal Controllers()
 {
     _initializeControllers     = new List <IInitialization>();
     _cleanupControllers        = new List <ICleanupable>();
     _upgradableControllers     = new List <IUpgradable>();
     _updatableControllers      = new List <IUpdatable>();
     _fixedUpdatableControllers = new List <IFixedUpdatable>();
     _gameProcesController      = new GameProcessController();
 }
예제 #2
0
 internal InteractableModel(InteractableData data, IGameProcessable gameProcess)
 {
     Providers   = new List <GameObject>();
     Upgradables = new List <IUpgradable>();
     GameProcess = gameProcess;
 }
예제 #3
0
 public void SubscribeGameProcess(IGameProcessable gameProcess)
 {
     gameProcess.GameEnded += _uiController.ShowGameEnd;
 }