Vertices Engine  v1.9.2.92
A Cross Platform game engine developed by Virtex Edge Design.
Loading...
Searching...
No Matches
VerticesEngine.Input.vxPlayerInputComponent Class Reference

This component handles per-player input. A player may be player 2, but they could be the one using the keyboard, or a different game pad, this way it allows the player index to map to a specific input device. More...

Inheritance diagram for VerticesEngine.Input.vxPlayerInputComponent:
VerticesEngine.vxComponent

Public Attributes

int GamePadIndex = -1
 Which player input should this correspond to?
 

Properties

GamePadState GamePadState [get]
 
- Properties inherited from VerticesEngine.vxComponent
bool IsEnabled [get, set]
 Is this enabled.
 
string Name [get, set]
 
vxEntity Entity [get]
 The entitiy which owns this component.
 
bool IsDisposed [get]
 

Events

EventHandler< PlayerGamePadDisconnectEventArgsOnGamepadDisconnect
 

Additional Inherited Members

- Public Member Functions inherited from VerticesEngine.vxComponent
void Dispose ()
 Called when disposed.
 
- Protected Member Functions inherited from VerticesEngine.vxComponent
virtual void Initialise ()
 Called on Initialise.
 
virtual void OnDisposed ()
 

Detailed Description

This component handles per-player input. A player may be player 2, but they could be the one using the keyboard, or a different game pad, this way it allows the player index to map to a specific input device.


The documentation for this class was generated from the following file: