C# Class Azmyth.XNA.InputManager

Afficher le fichier Open project: GalacticSoft/Azmyth

Méthodes publiques

Méthode Description
AnyKeyPressed ( ) : bool
AnyPadPressed ( ) : bool
Initialize ( ) : void
KeyHeld ( Keys key ) : bool
KeyPressed ( Keys key ) : bool
KeyReleased ( Keys key ) : bool
PadHeld ( PlayerIndex player, Buttons button ) : bool
PadPressed ( PlayerIndex player, Buttons button ) : bool
Reset ( ) : void
SetVibration ( PlayerIndex player, float leftMotor, float rightMotor ) : void
ThumbDownHeld ( PlayerIndex player, ThumbSticks stick ) : bool
ThumbDownPressed ( PlayerIndex player, ThumbSticks stick ) : bool
ThumbLeftHeld ( PlayerIndex player, ThumbSticks stick ) : bool
ThumbLeftPressed ( PlayerIndex player, ThumbSticks stick ) : bool
ThumbPosition ( PlayerIndex player, ThumbSticks stick ) : Vector2
ThumbRightHeld ( PlayerIndex player, ThumbSticks stick ) : bool
ThumbRightPressed ( PlayerIndex player, ThumbSticks stick ) : bool
ThumbUpHeld ( PlayerIndex player, ThumbSticks stick ) : bool
ThumbUpPressed ( PlayerIndex player, ThumbSticks stick ) : bool
Update ( GameTime gameTime ) : void

Private Methods

Méthode Description
InputManager ( ) : System

Method Details

AnyKeyPressed() public static méthode

public static AnyKeyPressed ( ) : bool
Résultat bool

AnyPadPressed() public static méthode

public static AnyPadPressed ( ) : bool
Résultat bool

Initialize() public static méthode

public static Initialize ( ) : void
Résultat void

KeyHeld() public static méthode

public static KeyHeld ( Keys key ) : bool
key Keys
Résultat bool

KeyPressed() public static méthode

public static KeyPressed ( Keys key ) : bool
key Keys
Résultat bool

KeyReleased() public static méthode

public static KeyReleased ( Keys key ) : bool
key Keys
Résultat bool

PadHeld() public static méthode

public static PadHeld ( PlayerIndex player, Buttons button ) : bool
player PlayerIndex
button Buttons
Résultat bool

PadPressed() public static méthode

public static PadPressed ( PlayerIndex player, Buttons button ) : bool
player PlayerIndex
button Buttons
Résultat bool

Reset() public static méthode

public static Reset ( ) : void
Résultat void

SetVibration() public static méthode

public static SetVibration ( PlayerIndex player, float leftMotor, float rightMotor ) : void
player PlayerIndex
leftMotor float
rightMotor float
Résultat void

ThumbDownHeld() public static méthode

public static ThumbDownHeld ( PlayerIndex player, ThumbSticks stick ) : bool
player PlayerIndex
stick ThumbSticks
Résultat bool

ThumbDownPressed() public static méthode

public static ThumbDownPressed ( PlayerIndex player, ThumbSticks stick ) : bool
player PlayerIndex
stick ThumbSticks
Résultat bool

ThumbLeftHeld() public static méthode

public static ThumbLeftHeld ( PlayerIndex player, ThumbSticks stick ) : bool
player PlayerIndex
stick ThumbSticks
Résultat bool

ThumbLeftPressed() public static méthode

public static ThumbLeftPressed ( PlayerIndex player, ThumbSticks stick ) : bool
player PlayerIndex
stick ThumbSticks
Résultat bool

ThumbPosition() public static méthode

public static ThumbPosition ( PlayerIndex player, ThumbSticks stick ) : Vector2
player PlayerIndex
stick ThumbSticks
Résultat Vector2

ThumbRightHeld() public static méthode

public static ThumbRightHeld ( PlayerIndex player, ThumbSticks stick ) : bool
player PlayerIndex
stick ThumbSticks
Résultat bool

ThumbRightPressed() public static méthode

public static ThumbRightPressed ( PlayerIndex player, ThumbSticks stick ) : bool
player PlayerIndex
stick ThumbSticks
Résultat bool

ThumbUpHeld() public static méthode

public static ThumbUpHeld ( PlayerIndex player, ThumbSticks stick ) : bool
player PlayerIndex
stick ThumbSticks
Résultat bool

ThumbUpPressed() public static méthode

public static ThumbUpPressed ( PlayerIndex player, ThumbSticks stick ) : bool
player PlayerIndex
stick ThumbSticks
Résultat bool

Update() public static méthode

public static Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void