Ejemplo n.º 1
0
    /*
     *	When the airplane has arrived at parking spot, start disembarking
     *  which means opening the door and starting the Disembarking() procedure
     */
    public void AddPassengers()
    {
        passengers         = PassengerController.GetOutgoingPassengers(this);
        incomingPassengers = PassengerController.GetIncomingPassengers(this);

        outgoingPassengers = passengers;         // because they are currently in the airplane, until they exit
    }