public GameController(Player player, Projectiles projectiles, Drops drops, GameMode gameMode)
 {
     colHandler       = new CollisionHandler();
     this.Player      = player;
     this.Projectiles = projectiles;
     Drops            = drops;
     this.gameMode    = gameMode;
     spawnPointGen    = new SpawnPointGenerator(gameMode);
     spawnTimer       = new SpawnTimer(gameMode);
     Enemies          = new Enemies(player);
     dropPoints       = new DropSpawnPoints();
 }
Пример #2
0
 public override void Death()
 {
     DropSpawnPoints.DeathAt(Position);
     SoundHandler.PlaySoundEffect((int)IDs.EXPLOSIONDEATHSOUND);
     base.Death();
 }