Used to get input from a certain player. More...
Public Member Functions | |
float | GetAxis (string actionName) |
Returns the axis of an action. | |
bool | GetAnyButton () |
Returns whether this player is holding any buttons down. | |
bool | GetAnyButtonDown () |
Returns whether this player has pressed any button this frame. | |
bool | GetButton (string actionName) |
Returns whether this action is being held down for this player. | |
bool | GetButtonDown (string actionName) |
Returns whether this action was pressed this frame for this player. | |
Sprite | GetGlyth (string actionName) |
Returns the button icon for this action for this player. | |
Used to get input from a certain player.
bool ModWobblyLife.ModInputPlayer.GetAnyButton | ( | ) |
Returns whether this player is holding any buttons down.
bool ModWobblyLife.ModInputPlayer.GetAnyButtonDown | ( | ) |
Returns whether this player has pressed any button this frame.
float ModWobblyLife.ModInputPlayer.GetAxis | ( | string | actionName | ) |
Returns the axis of an action.
actionName |
bool ModWobblyLife.ModInputPlayer.GetButton | ( | string | actionName | ) |
Returns whether this action is being held down for this player.
actionName |
bool ModWobblyLife.ModInputPlayer.GetButtonDown | ( | string | actionName | ) |
Returns whether this action was pressed this frame for this player.
actionName |
Sprite ModWobblyLife.ModInputPlayer.GetGlyth | ( | string | actionName | ) |
Returns the button icon for this action for this player.
actionName |