C# Class Sharpex2D.Input.KeyboardState

Mostrar archivo Open project: ThuCommix/Sharpex2D Class Usage Examples

Public Methods

Method Description
IsPressed ( Keys key ) : bool

A value indicating whether the key is pressed.

Private Methods

Method Description
KeyboardState ( bool>.Dictionary reference ) : System.Collections.Generic

Initializes a new KeyState class.

Method Details

IsPressed() public method

A value indicating whether the key is pressed.
public IsPressed ( Keys key ) : bool
key Keys The Key.
return bool