C# Class MyPolarBear.Input.GamePadComponent

Afficher le fichier Open project: sgdc/sgdc-old Class Usage Examples

Méthodes publiques

Méthode Description
GamePadComponent ( PlayerIndex playerIndex ) : System
GetThumbStickState ( Thumbstick thumbStick ) : Vector2
GetTriggerState ( Trigger trigger ) : float
IsButtonPressed ( Buttons button ) : bool
IsButtonReleased ( Buttons button ) : bool
IsConnected ( ) : bool
StartVibration ( ) : void
StopVibration ( ) : void
Update ( ) : void

Method Details

GamePadComponent() public méthode

public GamePadComponent ( PlayerIndex playerIndex ) : System
playerIndex PlayerIndex
Résultat System

GetThumbStickState() public méthode

public GetThumbStickState ( Thumbstick thumbStick ) : Vector2
thumbStick Thumbstick
Résultat Vector2

GetTriggerState() public méthode

public GetTriggerState ( Trigger trigger ) : float
trigger Trigger
Résultat float

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

IsConnected() public méthode

public IsConnected ( ) : bool
Résultat bool

StartVibration() public méthode

public StartVibration ( ) : void
Résultat void

StopVibration() public méthode

public StopVibration ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void