Ignore:
Timestamp:
08/18/12 09:09:38 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

The number of the crew and the passengers as well as all payload weights can be edited

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/flight.py

    r298 r303  
    8989
    9090    @property
     91    def numCrew(self):
     92        """Get the number of crew members on the flight."""
     93        return self._gui.numCrew
     94
     95    @property
     96    def numPassengers(self):
     97        """Get the number of passengers on the flight."""
     98        return self._gui.numPassengers
     99
     100    @property
     101    def bagWeight(self):
     102        """Get the baggage weight for the flight."""
     103        return self._gui.bagWeight
     104
     105    @property
    91106    def cargoWeight(self):
    92107        """Get the cargo weight for the flight."""
    93108        return self._gui.cargoWeight
     109
     110    @property
     111    def mailWeight(self):
     112        """Get the mail weight for the flight."""
     113        return self._gui.mailWeight
    94114
    95115    @property
Note: See TracChangeset for help on using the changeset viewer.