public EnemyDeathHandler(
     EnemyView view,
     AudioPlayer audioPlayer,
     Explosion.Factory explosionFactory,
     Settings settings,
     SignalBus signalBus,
     EnemyFacade facade)
 {
     _facade           = facade;
     _signalBus        = signalBus;
     _settings         = settings;
     _explosionFactory = explosionFactory;
     _audioPlayer      = audioPlayer;
     _view             = view;
 }
Esempio n. 2
0
 public EnemyDeathHandler(
     Enemy enemy,
     AudioPlayer audioPlayer,
     Explosion.Pool explosionPool,
     Settings settings,
     EnemyFacade.Pool selfFactory,
     GameEvents gameEvents,
     EnemyFacade facade)
 {
     _facade        = facade;
     _gameEvents    = gameEvents;
     _selfFactory   = selfFactory;
     _settings      = settings;
     _explosionPool = explosionPool;
     _audioPlayer   = audioPlayer;
     _enemy         = enemy;
 }
Esempio n. 3
0
 public EnemyDeathHandler(
     Enemy enemy,
     IAudioPlayer audioPlayer,
     Explosion.Pool explosionPool,
     Settings settings,
     EnemyFacade.Pool selfFactory,
     EnemyFacade facade,
     EnemyKilledSignal enemyKilledSignal)
 {
     _enemyKilledSignal = enemyKilledSignal;
     _facade            = facade;
     _selfFactory       = selfFactory;
     _settings          = settings;
     _explosionPool     = explosionPool;
     _audioPlayer       = audioPlayer;
     _enemy             = enemy;
 }
Esempio n. 4
0
 public void RemoveEnemy(EnemyFacade enemy)
 {
     _enemies.Remove(enemy);
 }
Esempio n. 5
0
 public void AddEnemy(EnemyFacade enemy)
 {
     _enemies.Add(enemy);
 }
Esempio n. 6
0
 public void RemoveEnemy(EnemyFacade facade)
 {
     _enemies.Remove(facade);
 }
Esempio n. 7
0
 public void AddEnemy(EnemyFacade facade)
 {
     _enemies.Add(facade);
 }