Ejemplo n.º 1
0
 public PlayerHealthWatcher(
     Player player,
     Explosion.Pool explosionPool,
     Settings settings,
     AudioPlayer audioPlayer,
     PlayerDiedSignal playerDiedSignal)
 {
     _playerDiedSignal = playerDiedSignal;
     _audioPlayer      = audioPlayer;
     _settings         = settings;
     _explosionPool    = explosionPool;
     _player           = player;
 }
Ejemplo n.º 2
0
 public PlayerHealthWatcher(
     Player player,
     Explosion.Pool explosionPool,
     GameEvents gameEvents,
     Settings settings,
     AudioPlayer audioPlayer)
 {
     _audioPlayer   = audioPlayer;
     _settings      = settings;
     _gameEvents    = gameEvents;
     _explosionPool = explosionPool;
     _player        = player;
 }
Ejemplo n.º 3
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;
 }
Ejemplo n.º 4
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;
 }