C# Class EmptyKeys.UserInterface.Input.KeyboardStateBase

Implements abstract keyboard state
Show file Open project: EmptyKeys/UI_Engines

Public Methods

Method Description
IsKeyPressed ( KeyCode keyCode ) : bool

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

KeyboardStateBase ( )

Initializes a new instance of the KeyboardStateBase class.

Update ( ) : void

Updates this instance.

Method Details

IsKeyPressed() public abstract method

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

KeyboardStateBase() public method

Initializes a new instance of the KeyboardStateBase class.
public KeyboardStateBase ( )

Update() public abstract method

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