public override void loadLevelObjects() { Gate myGate = new Gate(32 * 5, 32 * 10); Game1.miscObjects.Add(myGate); Button myButton = new ButtonPlayer(32 * 9, 32 * 8, myGate); Game1.miscObjects.Add(myButton); myGate = new Gate(32 * 41, 32 * 13); Game1.miscObjects.Add(myGate); myButton = new ButtonHeavy(32 * 42, 32 * 7, myGate); Game1.miscObjects.Add(myButton); myGate = new Gate(32 * 33, 32 * 15); Game1.miscObjects.Add(myGate); myButton = new ButtonHeavy(32 * 34, 32 * 15, myGate); Game1.miscObjects.Add(myButton); myGate = new Gate(32 * 33, 32 * 5); Game1.miscObjects.Add(myGate); myButton = new ButtonHeavy(32 * 25, 32 * 1, myGate); Game1.miscObjects.Add(myButton); Strawberry sb = new Strawberry(32 * 43, 32 * 15); Game1.miscObjects.Add(sb); sb = new Strawberry(32 * 25, 32 * 7); Game1.miscObjects.Add(sb); sb = new Strawberry(32 * 4, 32 * 7); Game1.miscObjects.Add(sb); FlowerTentacles ft = new FlowerTentacles(2 * 32, 8 * 32); Game1.creatures.Add(ft); ft.setDefendTileGood(2, 8); ft.setDefendTileBad(3, 9); ft = new FlowerTentacles(1 * 32, 9 * 32); Game1.creatures.Add(ft); ft.setDefendTileGood(1, 9); ft.setDefendTileBad(2, 10); ft = new FlowerTentacles(8 * 32, 8 * 32); Game1.creatures.Add(ft); ft.setDefendTileGood(7, 11); ft.setDefendTileBad(8, 8); ft = new FlowerTentacles(10 * 32, 9 * 32); Game1.creatures.Add(ft); ft.setDefendTileGood(17, 8); ft.setDefendTileBad(10, 8); ft = new FlowerTentacles(9 * 32, 9 * 32); Game1.creatures.Add(ft); ft.setDefendTileGood(13, 12); ft.setDefendTileBad(9, 9); DogBoogieman dbm = new DogBoogieman(32 * 25, 32 * 3, new Point(1, 1), new Point(44, 5)); Game1.creatures.Add(dbm); dbm.setDefendTileGood(25, 3); //dbm.setAttackTarget(ref player); VineMoveBlock vm = new VineMoveBlock(32 * 34, 32 * 5); Game1.miscObjects.Add(vm); vm = new VineMoveBlock(32 * 41, 32 * 14); Game1.miscObjects.Add(vm); vm = new VineMoveBlock(32 * 42, 32 * 11); Game1.miscObjects.Add(vm); vm = new VineMoveBlock(32 * 42, 32 * 8); Game1.miscObjects.Add(vm); vm = new VineMoveBlock(32 * 26, 32 * 5); Game1.miscObjects.Add(vm); vm = new VineMoveBlock(32 * 6, 32 * 10); Game1.miscObjects.Add(vm); vm = new VineMoveBlock(32 * 20, 32 * 10); Game1.miscObjects.Add(vm); Game1.miscObjects.Add(new VineMoveBlock(32 * 1, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 2, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 2, 32 * 3)); Game1.miscObjects.Add(new VineMoveBlock(32 * 2, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 3, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 4, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 5, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 6, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 7, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 7, 32 * 3)); Game1.miscObjects.Add(new VineMoveBlock(32 * 7, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 8, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 4, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 5, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 5, 32 * 5)); Game1.miscObjects.Add(new VineMoveBlock(32 * 9, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 10, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 11, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 9, 32 * 1)); Game1.miscObjects.Add(new VineMoveBlock(32 * 9, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 11, 32 * 3)); Game1.miscObjects.Add(new VineMoveBlock(32 * 11, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 13, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 13, 32 * 3)); Game1.miscObjects.Add(new VineMoveBlock(32 * 13, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 13, 32 * 5)); Game1.miscObjects.Add(new VineMoveBlock(32 * 15, 32 * 1)); Game1.miscObjects.Add(new VineMoveBlock(32 * 15, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 15, 32 * 3)); Game1.miscObjects.Add(new VineMoveBlock(32 * 15, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 17, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 18, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 20, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 21, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 17, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 18, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 19, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 20, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 17, 32 * 5)); //leveltiles levelTiles.Add(new LevelTile(24 * 32, 17 * 32, "blackBlock", "blackBlock", "hubLevel", new Point(9 * 32, 9 * 32))); }
public override void loadLevelObjects() { Gate myGate = new Gate(32 * 5, 32 * 10); Game1.miscObjects.Add(myGate); Button myButton = new ButtonPlayer(32 * 9, 32 * 8, myGate); Game1.miscObjects.Add(myButton); myGate = new Gate(32 * 41, 32 * 13); Game1.miscObjects.Add(myGate); myButton = new ButtonHeavy(32 * 42, 32 * 7, myGate); Game1.miscObjects.Add(myButton); myGate = new Gate(32 * 33, 32 * 15); Game1.miscObjects.Add(myGate); myButton = new ButtonHeavy(32 * 34, 32 * 15, myGate); Game1.miscObjects.Add(myButton); myGate = new Gate(32 * 33, 32 * 5); Game1.miscObjects.Add(myGate); myButton = new ButtonHeavy(32 * 25, 32 * 1, myGate); Game1.miscObjects.Add(myButton); Strawberry sb = new Strawberry(32 * 43, 32 * 15); Game1.miscObjects.Add(sb); sb = new Strawberry(32 * 25, 32 * 7); Game1.miscObjects.Add(sb); sb = new Strawberry(32 * 4, 32 * 7); Game1.miscObjects.Add(sb); FlowerTentacles ft = new FlowerTentacles(2 * 32, 8 * 32); Game1.creatures.Add(ft); ft.setDefendTileGood(2, 8); ft.setDefendTileBad(3, 9); ft = new FlowerTentacles(1 * 32, 9 * 32); Game1.creatures.Add(ft); ft.setDefendTileGood(1, 9); ft.setDefendTileBad(2, 10); ft = new FlowerTentacles(8 * 32, 8 * 32); Game1.creatures.Add(ft); ft.setDefendTileGood(7, 11); ft.setDefendTileBad(8, 8); ft = new FlowerTentacles(10 * 32, 9 * 32); Game1.creatures.Add(ft); ft.setDefendTileGood(17, 8); ft.setDefendTileBad(10, 8); ft = new FlowerTentacles(9 * 32, 9 * 32); Game1.creatures.Add(ft); ft.setDefendTileGood(13, 12); ft.setDefendTileBad(9, 9); DogBoogieman dbm = new DogBoogieman(32 * 25, 32 * 3, new Point(1,1), new Point(44,5)); Game1.creatures.Add(dbm); dbm.setDefendTileGood(25, 3); //dbm.setAttackTarget(ref player); VineMoveBlock vm = new VineMoveBlock(32 * 34, 32 * 5); Game1.miscObjects.Add(vm); vm = new VineMoveBlock(32 * 41, 32 * 14); Game1.miscObjects.Add(vm); vm = new VineMoveBlock(32 * 42, 32 * 11); Game1.miscObjects.Add(vm); vm = new VineMoveBlock(32 * 42, 32 * 8); Game1.miscObjects.Add(vm); vm = new VineMoveBlock(32 * 26, 32 * 5); Game1.miscObjects.Add(vm); vm = new VineMoveBlock(32 * 6, 32 * 10); Game1.miscObjects.Add(vm); vm = new VineMoveBlock(32 * 20, 32 * 10); Game1.miscObjects.Add(vm); Game1.miscObjects.Add(new VineMoveBlock(32 * 1, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 2, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 2, 32 * 3)); Game1.miscObjects.Add(new VineMoveBlock(32 * 2, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 3, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 4, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 5, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 6, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 7, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 7, 32 * 3)); Game1.miscObjects.Add(new VineMoveBlock(32 * 7, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 8, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 4, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 5, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 5, 32 * 5)); Game1.miscObjects.Add(new VineMoveBlock(32 * 9, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 10, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 11, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 9, 32 * 1)); Game1.miscObjects.Add(new VineMoveBlock(32 * 9, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 11, 32 * 3)); Game1.miscObjects.Add(new VineMoveBlock(32 * 11, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 13, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 13, 32 * 3)); Game1.miscObjects.Add(new VineMoveBlock(32 * 13, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 13, 32 * 5)); Game1.miscObjects.Add(new VineMoveBlock(32 * 15, 32 * 1)); Game1.miscObjects.Add(new VineMoveBlock(32 * 15, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 15, 32 * 3)); Game1.miscObjects.Add(new VineMoveBlock(32 * 15, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 17, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 18, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 20, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 21, 32 * 2)); Game1.miscObjects.Add(new VineMoveBlock(32 * 17, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 18, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 19, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 20, 32 * 4)); Game1.miscObjects.Add(new VineMoveBlock(32 * 17, 32 * 5)); //leveltiles levelTiles.Add(new LevelTile(24 * 32, 17 * 32, "blackBlock", "blackBlock", "hubLevel", new Point(9 * 32, 9 * 32))); }