Method | Description | |
---|---|---|
DoJoystickEvent ( JoystickInputEvent e ) : bool | ||
DoKeyDown ( KeyEvent e ) : bool |
Sends the notice on pressing a system key.
|
|
DoKeyUp ( KeyEvent e ) : bool |
Sends the notice on releasing a system key.
|
|
DoKeyUpAll ( ) : void | ||
DoMouseDown ( EMouseButtons button ) : bool |
Sends the notice on pressing a mouse button.
|
|
DoMouseMoveRelative ( Vec2 mouseOffset ) : void |
Sends the notice on cursor moved.
|
|
DoMouseUp ( EMouseButtons button ) : bool |
Sends the notice on releasing a mouse button.
|
|
DoTick ( float delta ) : void | ||
GetItemByControlKey ( GameControlKeys controlKey ) : GameControlItem | ||
Init ( ) : bool |
Initialization the class.
|
|
Shutdown ( ) : void |
Shutdown the class.
|
Method | Description | |
---|---|---|
InitInternal ( ) : bool | ||
ShutdownInternal ( ) : void |
public DoJoystickEvent ( JoystickInputEvent e ) : bool | ||
e | JoystickInputEvent | |
return | bool |
public DoKeyDown ( KeyEvent e ) : bool | ||
e | KeyEvent | Key event arguments. |
return | bool |
public DoKeyUp ( KeyEvent e ) : bool | ||
e | KeyEvent | Key event arguments. |
return | bool |
public DoMouseDown ( EMouseButtons button ) : bool | ||
button | EMouseButtons | A value indicating which button was clicked. |
return | bool |
public DoMouseMoveRelative ( Vec2 mouseOffset ) : void | ||
mouseOffset | Vec2 | Current mouse position. |
return | void |
public DoMouseUp ( EMouseButtons button ) : bool | ||
button | EMouseButtons | A value indicating which button was clicked. |
return | bool |
public GetItemByControlKey ( GameControlKeys controlKey ) : GameControlItem | ||
controlKey | GameControlKeys | |
return | GameControlItem |