예제 #1
0
 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);
 }
예제 #2
0
 public GameplayController(UIController UIController, TargetCicleController targetCicleController)
 {
     _UIController          = UIController;
     _targetCicleController = targetCicleController;
 }