C# Class CarpMuffin.Input.GamePadButtonState

Determines the state of a gamepads buttons
Afficher le fichier Open project: BetaToast/CarpMuffin Class Usage Examples

Méthodes publiques

Méthode Description
GamePadButtonState ( ) : System
IsAnyButtonPressed ( ) : bool
IsButtonPressed ( Buttons button ) : bool
IsButtonReleased ( Buttons button ) : bool
Reset ( ) : void
Update ( GamePadState state ) : void

Method Details

GamePadButtonState() public méthode

public GamePadButtonState ( ) : System
Résultat System

IsAnyButtonPressed() public méthode

public IsAnyButtonPressed ( ) : bool
Résultat bool

IsButtonPressed() public méthode

public IsButtonPressed ( Buttons button ) : bool
button Buttons
Résultat bool

IsButtonReleased() public méthode

public IsButtonReleased ( Buttons button ) : bool
button Buttons
Résultat bool

Reset() public méthode

public Reset ( ) : void
Résultat void

Update() public méthode

public Update ( GamePadState state ) : void
state Microsoft.Xna.Framework.Input.GamePadState
Résultat void