public Level1(TempleQuest game) { this.game = game; wall1 = new Wall(game, 168, 168); wall2 = new Wall(game, 168, 336); wall3 = new Wall(game, 168, 504); wall4 = new Wall(game, 0, 336); wall5 = new Wall(game, 336, 336); wall6 = new Wall(game, 1134, 168); wall7 = new Wall(game, 966, 168); wall8 = new Wall(game, 798, 168); wall9 = new Wall(game, 630, 792); wall10 = new Wall(game, 630, 624); walls = new Wall[] { wall1, wall2, wall3, wall4, wall5, wall6, wall7, wall8, wall9, wall10 }; player = new Player(game); ruby1 = new Ruby(game, 67, 252); ruby2 = new Ruby(game, 1210, 65); ruby3 = new Ruby(game, 1100, 800); life1 = new Heart(game, 10, 914); life2 = new Heart(game, 70, 914); life3 = new Heart(game, 130, 914); skeleton1 = new Skeleton(game, 100, 40, false, 800, 100); skeleton2 = new Skeleton(game, 850, 630, true, 850, 470); skeleton3 = new Skeleton(game, 850, 380, false, 1100, 500); bat1 = new Bat(game, game.graphics, random.NextDouble(), random.NextDouble(), 1200, 0); bat2 = new Bat(game, game.graphics, random.NextDouble(), random.NextDouble(), 1200, 800); }
public Level2(TempleQuest game) { this.game = game; wall1 = new Wall(game, 0, 650); wall2 = new Wall(game, 168, 650); wall3 = new Wall(game, 168, 482); wall4 = new Wall(game, 524, 200); wall5 = new Wall(game, 0, 150); wall6 = new Wall(game, 524, 600); wall7 = new Wall(game, 950, 320); wall8 = new Wall(game, 950, 488); walls = new Wall[] { wall1, wall2, wall3, wall4, wall5, wall6, wall7, wall8 }; player = new Player(game); ruby1 = new Ruby(game, 67, 55); ruby2 = new Ruby(game, 243, 860); ruby3 = new Ruby(game, 1200, 465); life1 = new Heart(game, 10, 914); life2 = new Heart(game, 70, 914); life3 = new Heart(game, 130, 914); skeleton1 = new Skeleton(game, 390, 500, true, 855, 70); skeleton2 = new Skeleton(game, 800, 500, false, 850, 400); bat1 = new Bat(game, game.graphics, random.NextDouble(), random.NextDouble(), 1200, 0); wizard1 = new Wizard(game, player, 780, 10, random); wizard2 = new Wizard(game, player, 780, 848, random); }