C# Class EmptyKeys.UserInterface.Input.XenkoKeyboardState

Implements Xenko specific keyboard state
Inheritance: KeyboardStateBase
Show file Open project: EmptyKeys/UI_Engines

Public Methods

Method Description
IsKeyPressed ( KeyCode keyCode ) : bool

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

Update ( ) : void

Updates this instance.

XenkoKeyboardState ( ) : System

Initializes a new instance of the XenkoKeyboardState class.

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

Update() public method

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

XenkoKeyboardState() public method

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