C# Class Pokemon3D.Common.Input.KeyboardHandler

Afficher le fichier Open project: nilllzz/Pokemon3D Class Usage Examples

Méthodes publiques

Méthode Description
GetPressedKeys ( ) : Keys[]
IsKeyDown ( Keys key ) : bool
IsKeyDownOnce ( Keys key ) : bool
IsKeyUp ( Keys key ) : bool
KeyboardHandler ( ) : Microsoft.Xna.Framework.Input
Update ( ) : void

Method Details

GetPressedKeys() public méthode

public GetPressedKeys ( ) : Keys[]
Résultat Keys[]

IsKeyDown() public méthode

public IsKeyDown ( Keys key ) : bool
key Keys
Résultat bool

IsKeyDownOnce() public méthode

public IsKeyDownOnce ( Keys key ) : bool
key Keys
Résultat bool

IsKeyUp() public méthode

public IsKeyUp ( Keys key ) : bool
key Keys
Résultat bool

KeyboardHandler() public méthode

public KeyboardHandler ( ) : Microsoft.Xna.Framework.Input
Résultat Microsoft.Xna.Framework.Input

Update() public méthode

public Update ( ) : void
Résultat void