File size: 635 Bytes
24b81cb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*!
	Base native class for helicopter.
*/
class Helicopter extends Transport
{
};

//! Native implementatin with auto hover funcionality
class HelicopterAuto extends Helicopter
{
	//! Returns true when engine is running, false otherwise.
	proto native bool IsEngineOn();

	//! Starts the engine.
	proto native void EngineStart();

	//! Stops the engine.
	proto native void EngineStop();

	//! Returns true when auto-hover system is turned on, false otherwise.
	proto native bool IsAutohoverOn();

	//! Enables auto-hover system.
	proto native void AutohoverOn();

	//! Disables auto-hover system.
	proto native void AutohoverOff();
};