Changeset 862:e1f5dddc266d


Ignore:
Timestamp:
06/18/17 17:44:30 (7 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

The aircraft classes can be queried by aircraft type constants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/acft.py

    r861 r862  
    12661266#---------------------------------------------------------------------------------------
    12671267
     1268def getClass(aircraftType):
     1269    """Get the class representing the given aircraft types"""
     1270    return _classes[aircraftType]
     1271
     1272#---------------------------------------------------------------------------------------
     1273
    12681274if __name__ == "__main__":
    12691275    value = SmoothedValue()
Note: See TracChangeset for help on using the changeset viewer.