Property | Type | Description | |
---|---|---|---|
Character | char | ||
PreviouslyPressed | bool | ||
TimeHeld | float | ||
XnaKey | Keys |
Method | Description | |
---|---|---|
Equals ( object obj ) : bool |
Compares references.
|
|
Fill ( Keys key, bool shiftPressed ) : void |
Fills out the fields based on the MonoGame/XNA key.
|
|
Get ( Keys key ) : |
Shortcut to get the AsciiKey for a specific MonoGame/XNA Keys type. Shift is considered not pressed.
|
|
Get ( Keys key, bool shiftPressed ) : |
Shortcut to get the AsciiKey for a specific MonoGame/XNA Keys type.
|
|
operator ( ) : bool |
Compares if the Character field of two AsciiKey instances are the same.
|
public Fill ( Keys key, bool shiftPressed ) : void | ||
key | Keys | The key. |
shiftPressed | bool | Helps identify which |
return | void |
public static Get ( Keys key ) : |
||
key | Keys | The key. |
return |
public static Get ( Keys key, bool shiftPressed ) : |
||
key | Keys | The key. |
shiftPressed | bool | If shift should be considered pressed or not. |
return |