public EnemySpawner( Settings settings, EnemyFacade.Pool enemyFactory, LevelBoundary levelBoundary, EnemyKilledSignal enemyKilledSignal) { _enemyKilledSignal = enemyKilledSignal; _levelBoundary = levelBoundary; _enemyFactory = enemyFactory; _settings = settings; _desiredNumEnemies = settings.NumEnemiesStartAmount; }
public EnemySpawner( Settings settings, EnemyFacade.Pool enemyFactory, LevelBoundary levelBoundary, GameEvents gameEvents) { _gameEvents = gameEvents; _levelBoundary = levelBoundary; _enemyFactory = enemyFactory; _settings = settings; _desiredNumEnemies = settings.NumEnemiesStartAmount; }
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; }
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; }