C# Class fliXNA_xbox.FlxKeyboard

Afficher le fichier Open project: jlorek/flxSharp Class Usage Examples

Méthodes publiques

Свойство Type Description
buttons Buttons

Méthodes publiques

Méthode Description
FlxKeyboard ( ) : System
justPressed ( Keys Key ) : bool

Returns true if the specified Key was just pressed

justReleased ( Keys Key ) : bool

Returns true if the specified Key was just released

pressed ( Keys Key ) : bool

Returns true if the specified Key is held down

reset ( ) : void
update ( ) : void

Method Details

FlxKeyboard() public méthode

public FlxKeyboard ( ) : System
Résultat System

justPressed() public méthode

Returns true if the specified Key was just pressed
public justPressed ( Keys Key ) : bool
Key Keys
Résultat bool

justReleased() public méthode

Returns true if the specified Key was just released
public justReleased ( Keys Key ) : bool
Key Keys
Résultat bool

pressed() public méthode

Returns true if the specified Key is held down
public pressed ( Keys Key ) : bool
Key Keys
Résultat bool

reset() public méthode

public reset ( ) : void
Résultat void

update() public méthode

public update ( ) : void
Résultat void

Property Details

buttons public_oe static_oe property

public static Buttons buttons
Résultat Buttons