public Level(Input input, PersistantGameData data, TextureManager textureManager, SoundManager soundManager, EffectsManager efffectManager, BulletManager bulletManager, PlayerCharacter playerCharacter) { _input = input; _gameData = data; _textureManager = textureManager; _effectsManager = efffectManager; _soundManager = soundManager; _bulletManager = bulletManager; _enemyManager = new EnemyManager(_textureManager, _effectsManager, _bulletManager, _soundManager, -1400); _playerCharacter = playerCharacter; SetLevel(); }
public EnemyManager(TextureManager textureManager, EffectsManager effectsManager, BulletManager bulletManager, SoundManager soundManager, int leftBound) { _textureManager = textureManager; _effectManager = effectsManager; _bulletManager = bulletManager; _soundManager = soundManager; _leftBound = leftBound; }