C# Class Sharpex2D.Input.Implementation.Keyboard

Inheritance: IKeyboard
Afficher le fichier Open project: ThuCommix/Sharpex2D

Méthodes publiques

Méthode Description
GetState ( ) : KeyboardState

Gets the KeyboardState.

Initialize ( ) : void

Initializes the input.

Keyboard ( ) : System.Collections.Generic

Initializes a new Keyboard class.

Update ( GameTime gameTime ) : void

Updates the object.

Private Methods

Méthode Description
GetKeyState ( Keys key ) : bool

Gets the key state.

Method Details

GetState() public méthode

Gets the KeyboardState.
public GetState ( ) : KeyboardState
Résultat KeyboardState

Initialize() public méthode

Initializes the input.
public Initialize ( ) : void
Résultat void

Keyboard() public méthode

Initializes a new Keyboard class.
public Keyboard ( ) : System.Collections.Generic
Résultat System.Collections.Generic

Update() public méthode

Updates the object.
public Update ( GameTime gameTime ) : void
gameTime GameTime The GameTime.
Résultat void