mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-06 02:16:04 +08:00
Ref T259, Ref T243 utility functions parts/engine list
This commit is contained in:
@@ -48,11 +48,17 @@ namespace BlackMisc
|
||||
CAircraftEngineList(const CSequence<CAircraftEngine> &other);
|
||||
|
||||
//! Get engine 1..n
|
||||
//! \remark 1 based, not 0 based
|
||||
CAircraftEngine getEngine(int engineNumber) const;
|
||||
|
||||
//! Engine number 1..x on?
|
||||
//! \remark 1 based, not 0 based
|
||||
bool isEngineOn(int engineNumber) const;
|
||||
|
||||
//! Set engine on/off
|
||||
//! \remark 1 based, not 0 based
|
||||
void setEngineOn(int engineNumber, bool on);
|
||||
|
||||
//! Init some engines
|
||||
void initEngines(int engineNumber, bool on);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user