Ignore:
Timestamp:
03/14/22 08:46:34 (2 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

Updates for the new crew and passenger handling (re #357)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/gui.py

    r1010 r1033  
    263263
    264264    @property
    265     def numCrew(self):
    266         """Get the number of crew members."""
    267         return self._wizard.numCrew
     265    def numCockpitCrew(self):
     266        """Get the number of cockpit crew members."""
     267        return self._wizard.numCockpitCrew
     268
     269    @property
     270    def numCabinCrew(self):
     271        """Get the number of cabin crew members."""
     272        return self._wizard.numCabinCrew
    268273
    269274    @property
     
    271276        """Get the number of passengers."""
    272277        return self._wizard.numPassengers
     278
     279    @property
     280    def numChildren(self):
     281        """Get the number of child passengers."""
     282        return self._wizard.numChildren
     283
     284    @property
     285    def numInfants(self):
     286        """Get the number of infant passengers."""
     287        return self._wizard.numInfants
    273288
    274289    @property
Note: See TracChangeset for help on using the changeset viewer.