helicopter.c 635 B

12345678910111213141516171819202122232425262728
  1. /*!
  2. Base native class for helicopter.
  3. */
  4. class Helicopter extends Transport
  5. {
  6. };
  7. //! Native implementatin with auto hover funcionality
  8. class HelicopterAuto extends Helicopter
  9. {
  10. //! Returns true when engine is running, false otherwise.
  11. proto native bool IsEngineOn();
  12. //! Starts the engine.
  13. proto native void EngineStart();
  14. //! Stops the engine.
  15. proto native void EngineStop();
  16. //! Returns true when auto-hover system is turned on, false otherwise.
  17. proto native bool IsAutohoverOn();
  18. //! Enables auto-hover system.
  19. proto native void AutohoverOn();
  20. //! Disables auto-hover system.
  21. proto native void AutohoverOff();
  22. };