Exemplo n.º 1
0
        public static void Createweapons3()
        {
            SuperBallLauncher sb1 = new SuperBallLauncher(new PointF(-700, -700));

            sb1.onground = true;
            mainform.weaponlist.Add(sb1);
            RapidGun rg1 = new RapidGun(new PointF(775, 450));

            rg1.onground = true;
            mainform.weaponlist.Add(rg1);
            Pistol p1 = new Pistol(new PointF(800, 800));

            p1.onground = true;
            mainform.weaponlist.Add(p1);
            SniperGun sg1 = new SniperGun(new PointF(-775, 450));

            sg1.onground = true;
            mainform.weaponlist.Add(sg1);
            HealthPack health1 = new HealthPack("Images/HealthPack.png", new PointF(0, 0));

            health1.onground = true;
            mainform.healthlist.Add(health1);
            HealthPack health2 = new HealthPack("Images/HealthPack.png", new PointF(-780, 780));

            health2.onground = true;
            mainform.healthlist.Add(health2);
        }
Exemplo n.º 2
0
        public static void Createweapons2()
        {
            SuperBallLauncher sb1 = new SuperBallLauncher(new PointF(0, 0));

            sb1.onground = true;
            mainform.weaponlist.Add(sb1);
            RapidGun rg1 = new RapidGun(new PointF(-700, -700));

            rg1.onground = true;
            mainform.weaponlist.Add(rg1);
            SniperGun sg1 = new SniperGun(new PointF(-775, 450));

            sg1.onground = true;
            mainform.weaponlist.Add(sg1);
            HealthPack health1 = new HealthPack("Images/HealthPack.png", new PointF(700, 750));

            health1.onground = true;
            mainform.healthlist.Add(health1);
            StunGun stg1 = new StunGun(new PointF(500, -650));

            mainform.weaponlist.Add(stg1);
            stg1.onground = true;
        }