Method | Description | |
---|---|---|
DefaultKeyboardStringReader ( ) : System |
Initializes a new instance of the DefaultKeyboardStringReader class. Initializes a new instance of the KeyboardStringBuilder class.
|
|
Process ( |
Process the current keyboard state and add or remove characters from the given StringBuilder.
|
Method | Description | |
---|---|---|
GetCharacter ( Microsoft.Xna.Framework.Input.Keys key, bool shift, bool capsLock, bool numLock ) : char? |
Gets the character associated with the given key/shift pair.
|
|
ProcessKey ( Microsoft.Xna.Framework.Input.Keys key, bool shift, bool capsLock, bool numLock, StringBuilder text ) : void |
Modifies the StringBuilder based on the pressed key.
|
public DefaultKeyboardStringReader ( ) : System | ||
return | System |
public Process ( |
||
keyboard | /// The keyboard state input is being read from. /// | |
time | /// Current GameTime. /// | |
text | StringBuilder | /// The StringBuilder to be modified based on keyboard state. /// |
return | void |