예제 #1
0
        public static void Createenemies()
        {
            // RAPID GUN HALL
            EnemySoldier2 e1 = new EnemySoldier2(new PointF(770, -200));
            //RAPID GUN ROOM
            EnemySoldier e2 = new EnemySoldier(new PointF(750, 400));
            // SUPER BALL LAUNCHER
            EnemySoldier2 e3 = new EnemySoldier2(new PointF(-650, -650));
            // PISTOL AREA
            EnemySoldier2 e4 = new EnemySoldier2(new PointF(100, 300));
            // PISTOL AREA
            EnemySoldier2 e5 = new EnemySoldier2(new PointF(200, 375));
            // PISTOL AREA
            Tank t1 = new Tank(new PointF(150, 275));
            // PISTOL AREA
            EnemySoldier e6 = new EnemySoldier(new PointF(0, 0));
            // SNIPER ROOM
            EnemySoldier e7 = new EnemySoldier(new PointF(-750, 400));
            // SNIPER HALL
            EnemySoldier e8 = new EnemySoldier(new PointF(-770, -200));
            // LOWER MIDDLE
            EnemySoldier e9 = new EnemySoldier(new PointF(-85, 750));
            // UPPER MIDDLE
            EnemySoldier2 e10 = new EnemySoldier2(new PointF(-90, -600));

            //TASK 4: Add in our new Enemy
            EnemySoldierWill e11 = new EnemySoldierWill(new PointF(10, 10));
        }
예제 #2
0
 public static void Createenemies2()
 {
     // RAPID GUN HALL
     EnemySoldier3 e11 = new EnemySoldier3(new PointF(770, -200));
     //RAPID GUN ROOM
     EnemySoldier2 e12 = new EnemySoldier2(new PointF(750, 400));
     // SUPER BALL LAUNCHER
     EnemySoldier3 e13 = new EnemySoldier3(new PointF(-600, -520));
     // SUPER BALL LAUNCHER
     EnemySoldier2 e14 = new EnemySoldier2(new PointF(-650, -650));
     // PISTOL AREA
     EnemySoldier2 e15 = new EnemySoldier2(new PointF(100, 300));
     // PISTOL AREA
     EnemySoldier2 e16 = new EnemySoldier2(new PointF(200, 375));
     // PISTOL AREA
     Tank t2 = new Tank(new PointF(150, 275));
     // PISTOL AREA
     EnemySoldier2 e17 = new EnemySoldier2(new PointF(0, 0));
     // SNIPER ROOM
     EnemySoldier3 e18 = new EnemySoldier3(new PointF(-750, 400));
     // SNIPER HALL
     EnemySoldier e19 = new EnemySoldier(new PointF(-770, -200));
     // MIDDLE AREA
     Tank t3 = new Tank(new PointF(0, 10));
     // MIDDLE
     EnemySoldier3 e20 = new EnemySoldier3(new PointF(5, 5));
 }