C# Class MoodSwingGUI.MSGUIKeyboardParser

MSKeyboardParser helps MSGUITypable objects by providing a static parse method, which will parse XNA keyboard input into either ASCII characters as direct text input or into String representations of certain commands which can also be used as direct input, but is better suited to be used as a sentinel for performing certain form-based actions.
Mostrar archivo Open project: verngutz/MoodSwing

Public Methods

Method Description
ParseTextInput ( KeyboardState oldKeyboardState ) : List

Parses XNA keyboard input into ASCII characters or String commands

Private Methods

Method Description
IsAlpha ( Keys key ) : bool
IsNumeric ( Keys key ) : bool

Method Details

ParseTextInput() public static method

Parses XNA keyboard input into ASCII characters or String commands
public static ParseTextInput ( KeyboardState oldKeyboardState ) : List
oldKeyboardState KeyboardState the old KeyboardState of the Keyboard
return List