public ProjectInfrastructure(MonoBehaviourContainer monoBehaviourContainer) { _monoBehaviourContainer = monoBehaviourContainer; _UIController = new UIController(monoBehaviourContainer.UIView); _targetCicleController = new TargetCicleController(monoBehaviourContainer.TargetCicleFactory); _knifeController = new KnifeController(monoBehaviourContainer.KnifeFactory); _coinBonusController = new CoinBonusController(monoBehaviourContainer.CoinBonusFactory); _gameplayController = new GameplayController(_UIController, _targetCicleController); }
public GameplayController(UIController UIController, TargetCicleController targetCicleController) { _UIController = UIController; _targetCicleController = targetCicleController; }