Ignore:
Timestamp:
04/30/12 14:42:59 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Most of the remaining messages are implemented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/flight.py

    r89 r134  
    6060
    6161    @property
     62    def config(self):
     63        """Get the configuration."""
     64        return self._gui.config
     65
     66    @property
    6267    def stage(self):
    6368        """Get the flight stage."""
    6469        return self._stage
     70
     71    @property
     72    def bookedFlight(self):
     73        """Get the booked flight."""
     74        return self._gui.bookedFlight
    6575
    6676    @property
     
    163173                self._endCondition.wait(1)
    164174
     175    def getFleet(self, callback, force = False):
     176        """Get the fleet and call the given callback."""
     177        self._gui.getFleetAsync(callback = callback, force = force)
     178
    165179    def _updateFlownDistance(self, currentState):
    166180        """Update the flown distance."""
Note: See TracChangeset for help on using the changeset viewer.