public override void loadLevelObjects() { Gate myGate = new Gate(32 * 2, 32 * 6); Game1.miscObjects.Add(myGate); Button myButton = new ButtonPlayer(32 * 14, 32 * 13, myGate); Game1.miscObjects.Add(myButton); FlowerTentacles ft = new FlowerTentacles(7 * 32, 4 * 32); ft.setDefendTileGood(7, 4); ft.setDefendTileBad(7, 12); Game1.creatures.Add(ft); ft = new FlowerTentacles(14 * 32, 4 * 32); ft.setDefendTileGood(14, 4); ft.setDefendTileBad(14, 12); Game1.creatures.Add(ft); Strawberry sb = new Strawberry(9 * 32, 7 * 32); Game1.miscObjects.Add(sb); sb = new Strawberry(10 * 32, 7 * 32); Game1.miscObjects.Add(sb); sb = new Strawberry(11 * 32, 7 * 32); Game1.miscObjects.Add(sb); sb = new Strawberry(12 * 32, 7 * 32); Game1.miscObjects.Add(sb); Game1.miscObjects.Add(new Strawberry(8 * 32, 7 * 32)); Game1.miscObjects.Add(new Strawberry(13 * 32, 7 * 32)); //level tiles levelTiles.Add(new LevelTile(2 * 32, 4 * 32, "blackBlock", "blackBlock", "laserIntroLevel", new Point(25 * 32, 25 * 32))); levelTiles.Add(new LevelTile(20 * 32, 12 * 32, "blackBlock", "blackBlock", "hubLevel", new Point(19 * 32, 7 * 32))); }
public override void loadLevelObjects() { Gate myGate = new Gate(12 * 32, 9 * 32); Game1.miscObjects.Add(myGate); Button myButton = new ButtonPlayer(12 * 32, 12 * 32, myGate); Game1.miscObjects.Add(myButton); Strawberry sb = new Strawberry(15 * 32, 8 * 32); Game1.miscObjects.Add(sb); sb = new Strawberry(3 * 32, 9 * 32); Game1.miscObjects.Add(sb); VineMoveBlock vb = new VineMoveBlock(7 * 32, 4 * 32); Game1.miscObjects.Add(vb); vb = new VineMoveBlock(7 * 32, 9 * 32); Game1.miscObjects.Add(vb); vb = new VineMoveBlock(15 * 32, 9 * 32); Game1.miscObjects.Add(vb); vb = new VineMoveBlock(14 * 32, 8 * 32); Game1.miscObjects.Add(vb); vb = new VineMoveBlock(18 * 32, 2 * 32); Game1.miscObjects.Add(vb); //mook FlowerTentacles ft = new FlowerTentacles(9 * 32, 4 * 32); ft.setDefendTileGood(9, 4); ft.setDefendTileBad(16, 4); Game1.creatures.Add(ft); //level tiles levelTiles.Add(new LevelTile(23 * 32, 12 * 32, "blackBlock", "blackBlock", "hubLevel", new Point(26 * 32, 6 * 32))); //levelTiles.Add(new LevelTile(23 * 32, 12 * 32, "blackBlock", "blackBlock", "hubLevel", new Point(19 * 32, 7 * 32))); }
public override void loadLevelObjects() { Gate myGate = new Gate(32 * 2, 32 * 6); Game1.miscObjects.Add(myGate); Button myButton = new ButtonPlayer(32 * 14, 32 * 13, myGate); Game1.miscObjects.Add(myButton); FlowerTentacles ft = new FlowerTentacles(7 * 32, 4 * 32); ft.setDefendTileGood(7, 4); ft.setDefendTileBad(7, 12); Game1.creatures.Add(ft); ft = new FlowerTentacles(14 * 32, 4 * 32); ft.setDefendTileGood(14, 4); ft.setDefendTileBad(14, 12); Game1.creatures.Add(ft); Strawberry sb = new Strawberry(9 * 32, 7 * 32); Game1.miscObjects.Add(sb); sb = new Strawberry(10 * 32, 7 * 32); Game1.miscObjects.Add(sb); sb = new Strawberry(11 * 32, 7 * 32); Game1.miscObjects.Add(sb); sb = new Strawberry(12 * 32, 7 * 32); Game1.miscObjects.Add(sb); Game1.miscObjects.Add(new Strawberry(8 * 32, 7 * 32)); Game1.miscObjects.Add(new Strawberry(13 * 32, 7 * 32)); //level tiles levelTiles.Add(new LevelTile(2 * 32, 4 * 32, "blackBlock", "blackBlock", "laserIntroLevel",new Point(25 * 32, 25 * 32))); levelTiles.Add(new LevelTile(20 * 32, 12 * 32, "blackBlock", "blackBlock", "hubLevel", new Point(19 * 32, 7 * 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))); }
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))); }