C# Class CarpMuffin.Input.KeyboardManager

Manages Keyboard Input
Inheritance: IUpdatable
Show file Open project: BetaToast/CarpMuffin Class Usage Examples

Public Methods

Method Description
AllKeysReleased ( ) : bool
IsAnyKeyPressed ( ) : bool
IsKeyHeld ( Keys key ) : bool
IsKeyPressed ( Keys key ) : bool
IsKeyReleased ( Keys key ) : bool
KeyboardManager ( ) : System.Linq
Update ( GameTime gameTime ) : void

Method Details

AllKeysReleased() public method

public AllKeysReleased ( ) : bool
return bool

IsAnyKeyPressed() public method

public IsAnyKeyPressed ( ) : bool
return bool

IsKeyHeld() public method

public IsKeyHeld ( Keys key ) : bool
key Keys
return bool

IsKeyPressed() public method

public IsKeyPressed ( Keys key ) : bool
key Keys
return bool

IsKeyReleased() public method

public IsKeyReleased ( Keys key ) : bool
key Keys
return bool

KeyboardManager() public method

public KeyboardManager ( ) : System.Linq
return System.Linq

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void