예제 #1
0
    private int T5;   // Flag to record that we have landed at the right runway

    public FlightCalcs()
    {
        // Set the flight starting point
        Q  = 0.0;               // Altitude
        V  = 0.0;               // Speed
        Y  = 20000.0;           // Range
        X  = 2500.0;            // Deviation
        B  = Trig.DegRad(90.0); // Bearing (90 degrees)
        C  = 0.0;               // Glide Path
        T3 = 1;                 // On the runway
        //T4=0;                // Haven't yet ever taken off
        T5 = 0;                 // Arrival flag
        //J=0
        //I8=0
        //H=100
    }