public EnemySpawnerService(
     EnemyBehaviour.Pool pool,
     SpawnerEnemyResponseSignal responseSignal)
 {
     this.enemyPool      = pool;
     this.responseSignal = responseSignal;
 }
Exemple #2
0
 public GameControllerService(
     EnemyBehaviour.Pool enemyPool,
     IInputManager inputManager,
     TargetBehaviour weapon,
     ICircleBoardService board,
     ISpawner spawner
     ) : base(inputManager)
 {
     this.enemyPool = enemyPool;
     this.spawner   = spawner;
     this.board     = board;
     this.inputManager.AddListener(this.OnTouch);
     this.player = weapon;
 }