Ref T259, Ref T243 utility functions parts/engine list

This commit is contained in:
Klaus Basan
2018-03-03 17:20:09 +01:00
parent 03af49348b
commit 2f7e119837
4 changed files with 41 additions and 13 deletions

View File

@@ -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);