C# Class Oglr.Core.KeyboardStatus

Afficher le fichier Open project: SteveDunn/oglr Class Usage Examples

Méthodes publiques

Méthode Description
IsKeyDown ( Keys keys ) : bool
IsKeyUp ( Keys keys ) : bool
IsNewKeyPress ( Keys key ) : bool
IsNewKeyRelease ( Keys key ) : bool
Update ( KeyboardState keyboardState ) : void

Method Details

IsKeyDown() public static méthode

public static IsKeyDown ( Keys keys ) : bool
keys Keys
Résultat bool

IsKeyUp() public static méthode

public static IsKeyUp ( Keys keys ) : bool
keys Keys
Résultat bool

IsNewKeyPress() public static méthode

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

IsNewKeyRelease() public static méthode

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

Update() public static méthode

public static Update ( KeyboardState keyboardState ) : void
keyboardState Microsoft.Xna.Framework.Input.KeyboardState
Résultat void