C# Class EmptyKeys.UserInterface.Input.MonoGameKeyboardState

Implements MonoGame specific keyboard state
Inheritance: KeyboardStateBase
Exibir arquivo Open project: EmptyKeys/UI_Engines

Public Methods

Method Description
IsKeyPressed ( KeyCode keyCode ) : bool

Determines whether [is key pressed] [the specified key code].

MonoGameKeyboardState ( ) : System

Initializes a new instance of the MonoGameKeyboardState class.

Update ( ) : void

Updates this instance.

Method Details

IsKeyPressed() public method

Determines whether [is key pressed] [the specified key code].
public IsKeyPressed ( KeyCode keyCode ) : bool
keyCode KeyCode The key code.
return bool

MonoGameKeyboardState() public method

Initializes a new instance of the MonoGameKeyboardState class.
public MonoGameKeyboardState ( ) : System
return System

Update() public method

Updates this instance.
public Update ( ) : void
return void