C# Class Sharpex2D.Input.Implementation.Keyboard

Inheritance: IKeyboard
Show file Open project: ThuCommix/Sharpex2D

Public Methods

Method 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

Method Description
GetKeyState ( Keys key ) : bool

Gets the key state.

Method Details

GetState() public method

Gets the KeyboardState.
public GetState ( ) : KeyboardState
return KeyboardState

Initialize() public method

Initializes the input.
public Initialize ( ) : void
return void

Keyboard() public method

Initializes a new Keyboard class.
public Keyboard ( ) : System.Collections.Generic
return System.Collections.Generic

Update() public method

Updates the object.
public Update ( GameTime gameTime ) : void
gameTime GameTime The GameTime.
return void