Method | Description | |
---|---|---|
InputManager ( Microsoft.Xna.Framework.Game game ) : System | ||
IsButtonDown ( Buttons button, PlayerIndex playerIndex ) : bool | ||
IsButtonDown ( Buttons button, int playerIndex ) : bool |
Same as IsButtonDown(Buttons, playerIndex), uses the int(-1) directly (faster than playerIndex)
|
|
IsButtonDown ( MouseButtons button ) : bool | ||
IsButtonPressed ( Buttons button, PlayerIndex playerIndex ) : bool | ||
IsButtonPressed ( Buttons button, int playerIndex ) : bool |
Same as IsButtonPressed(Buttons, playerIndex), uses the int(-1) directly (faster than playerIndex)
|
|
IsButtonPressed ( MouseButtons button ) : bool | ||
IsButtonReleased ( MouseButtons button ) : bool | ||
IsButtonUp ( Buttons button, PlayerIndex playerIndex ) : bool | ||
IsButtonUp ( Buttons button, int playerIndex ) : bool |
Same as IsButtonUp(Buttons, playerIndex), uses the int(-1) directly (faster than playerIndex)
|
|
IsButtonUp ( MouseButtons button ) : bool | ||
IsKeyDown ( Keys key ) : bool | ||
IsKeyPressed ( Keys key ) : bool | ||
IsKeyReleased ( Keys key ) : bool | ||
IsKeyUp ( Keys key ) : bool | ||
Update ( GameTime gameTime ) : void |
public InputManager ( Microsoft.Xna.Framework.Game game ) : System | ||
game | Microsoft.Xna.Framework.Game | |
return | System |
public IsButtonDown ( Buttons button, PlayerIndex playerIndex ) : bool | ||
button | Buttons | |
playerIndex | PlayerIndex | |
return | bool |
public IsButtonDown ( Buttons button, int playerIndex ) : bool | ||
button | Buttons | the button to check |
playerIndex | int | Index of the player (1-4) |
return | bool |
public IsButtonDown ( MouseButtons button ) : bool | ||
button | MouseButtons | |
return | bool |
public IsButtonPressed ( Buttons button, PlayerIndex playerIndex ) : bool | ||
button | Buttons | |
playerIndex | PlayerIndex | |
return | bool |
public IsButtonPressed ( Buttons button, int playerIndex ) : bool | ||
button | Buttons | the button to check |
playerIndex | int | Index of the player (1-4) |
return | bool |
public IsButtonPressed ( MouseButtons button ) : bool | ||
button | MouseButtons | |
return | bool |
public IsButtonReleased ( MouseButtons button ) : bool | ||
button | MouseButtons | |
return | bool |
public IsButtonUp ( Buttons button, PlayerIndex playerIndex ) : bool | ||
button | Buttons | |
playerIndex | PlayerIndex | |
return | bool |
public IsButtonUp ( Buttons button, int playerIndex ) : bool | ||
button | Buttons | the button to check |
playerIndex | int | Index of the player (1-4) |
return | bool |
public IsButtonUp ( MouseButtons button ) : bool | ||
button | MouseButtons | |
return | bool |