C# Class XNAInputLibrary.KeyboardInput.KeyboardManager

Datei anzeigen Open project: Wotuu/RTS_XNA_v2 Class Usage Examples

Private Properties

Property Type Description
GetModifier KeyEvent.Modifier
GetReleasedKeys LinkedList
IsTypeable System.Boolean
KeyboardManager System

Public Methods

Method Description
GetInstance ( ) : KeyboardManager
Update ( KeyboardState state ) : void

Private Methods

Method Description
GetModifier ( Keys key ) : KeyEvent.Modifier
GetReleasedKeys ( Keys newKeys ) : LinkedList

Gets the released keys since last frame

IsTypeable ( Keys key ) : System.Boolean
KeyboardManager ( ) : System

Method Details

GetInstance() public static method

public static GetInstance ( ) : KeyboardManager
return KeyboardManager

Update() public method

public Update ( KeyboardState state ) : void
state Microsoft.Xna.Framework.Input.KeyboardState
return void