예제 #1
0
        public vehicleStats()
        {
            int i;
            shieldsUp = false;
            combatSpeed = 1;
            systemSpeed = 1;
            inertia = 0;
            stellerSpeed = 0.04f;
            thetadif = 3;
            yawdif = 2;
            lightson = 0;
            weaponsArmed = false;

            for (i = 0; i < 30; i++)
            {
                missles[i] = new missle();
                missles[i].xy.Y = 0;
                // Five missles, their X,Y corrdinates as they travel.
                missles[i].xy.X = 0;
                missles[i].moving = false;
            }

            X = 0;
            Y = 0;

            shipName = "ISS Purple Dart";
        }
예제 #2
0
        public vehicleStats()
        {
            int i;

            shieldsUp    = false;
            combatSpeed  = 1;
            systemSpeed  = 1;
            inertia      = 0;
            stellerSpeed = 0.04f;
            thetadif     = 3;
            yawdif       = 2;
            lightson     = 0;
            weaponsArmed = false;

            for (i = 0; i < 30; i++)
            {
                missles[i]      = new missle();
                missles[i].xy.Y = 0;
                // Five missles, their X,Y corrdinates as they travel.
                missles[i].xy.X   = 0;
                missles[i].moving = false;
            }

            X = 0;
            Y = 0;

            shipName = "ISS Purple Dart";
        }