Method | Description | |
---|---|---|
AddPressedElement ( int keyCode ) : void |
Adds the specified mouse keycode to the list of pressed keys.
|
|
CheckKeys ( ) : void |
Checks the state of all keys and removes the ones that are no longer pressed from the list of pressed keys.
|
|
RemovePressedElement ( int keyCode ) : void |
Removes the specified keycode from the list of pressed keys.
|
Method | Description | |
---|---|---|
KeyIsUp ( int keyCode ) : bool |
Checks whether the specified key is up.
|
public static AddPressedElement ( int keyCode ) : void | ||
keyCode | int | The keycode to add. |
return | void |
public static RemovePressedElement ( int keyCode ) : void | ||
keyCode | int | The keycode to remove. |
return | void |