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(); }
internal InteractableModel(InteractableData data, IGameProcessable gameProcess) { Providers = new List <GameObject>(); Upgradables = new List <IUpgradable>(); GameProcess = gameProcess; }
public void SubscribeGameProcess(IGameProcessable gameProcess) { gameProcess.GameEnded += _uiController.ShowGameEnd; }