Property | Type | Description | |
---|---|---|---|
Player1 | |||
Player2 | |||
Player3 | |||
Player4 |
Property | Type | Description | |
---|---|---|---|
DrawButton | void | ||
DrawStick | void | ||
OnAllInputDevicesDisconnected | void | ||
OnPlayerConnected | void | ||
OnPlayerDisconnected | void | ||
UpdateWindowsInput | void | ||
UpdateWindowsTouchInput | void |
Method | Description | |
---|---|---|
Draw ( |
||
DrawButton ( |
||
GetPlayerInput ( PlayerIndex playerIndex ) : |
||
InputManager ( Application application ) : System |
Creates a new instance of the InputManager component and adds itself to the game's component collection as well as Service
|
|
Update ( |
Updates the object and its contained resources.
|
Method | Description | |
---|---|---|
LoadContent ( ) : void |
Method | Description | |
---|---|---|
DrawButton ( |
||
DrawStick ( |
||
OnAllInputDevicesDisconnected ( ) : void |
Called when no input devices are connected to the machine.
|
|
OnPlayerConnected ( object sender, |
Called when an input device gets connected to the machine.
|
|
OnPlayerDisconnected ( object sender, |
Called when an input device gets disconnected to the machine.
|
|
UpdateWindowsInput ( long tick ) : void | ||
UpdateWindowsTouchInput ( ) : void |
public Draw ( |
||
gameTime | ||
return | void |
public DrawButton ( |
||
buttonSkin | ||
touchMap | ||
value | float | |
elapsedTime | float | |
return | void |
public GetPlayerInput ( PlayerIndex playerIndex ) : |
||
playerIndex | PlayerIndex | |
return |
public InputManager ( Application application ) : System | ||
application | Application | The game instance |
return | System |
public Update ( |
||
gameTime | ||
return | void |
protected PlayerInput,Indiefreaks.Xna.Input Player1 | ||
return |
protected PlayerInput,Indiefreaks.Xna.Input Player2 | ||
return |
protected PlayerInput,Indiefreaks.Xna.Input Player3 | ||
return |