Inherited by Mindshifter.InputManager.
Inheritance diagram for Mindshifter.IInputManager:
Public Member Functions | |
void | PushActionMap (ActionMap map) |
Pushes an ActionMap onto the action map stack. | |
ActionMap | PopActionMap () |
Pops the topmost ActionMap from the ActionMap stack. | |
bool | Key (Keys key) |
Returns true if the specified keyboard key is pressed. | |
bool | KeyDown (Keys key) |
Returns true if a key down event occurred for the specified key. | |
bool | KeyUp (Keys key) |
Returns true if a key up event occurred for the specified key. | |
bool | MouseButton (MouseButtons button) |
Returns true if the specified mouse button is pressed. | |
bool | MouseDown (MouseButtons button) |
Returns true if a mouse down event occurred for the specified mouse button. | |
bool | MouseUp (MouseButtons button) |
Returns true if a mouse up event occurred for the specified mouse button. | |
Properties | |
KeyboardState | Keyboard [get] |
Gets the current keyboard state. | |
MouseState | Mouse [get] |
Gets the current mouse state. | |
int | DX [get] |
Gets the change in the mouse x position since input was last updated. | |
int | DY [get] |
Gets the change in the mouse y position since input was last updated. | |
int | DZ [get] |
Gets the change in the mouse scroll wheel position since input was last updated. | |
int | X [get] |
Gets the x position of the mouse. | |
int | Y [get] |
Gets the y position of the mouse. | |
int | Z [get] |
Gets the scroll wheel value of the mouse. | |
bool | this [Keys key] [get] |
Returns true if the specified mouse button is pressed. | |
ActionMap | ActionMap [get] |
Gets the active ActionMap. |
void Mindshifter.IInputManager.PushActionMap | ( | ActionMap | map | ) |
ActionMap Mindshifter.IInputManager.PopActionMap | ( | ) |
bool Mindshifter.IInputManager.Key | ( | Keys | key | ) |
Returns true if the specified keyboard key is pressed.
key | The key to test for a key pressed state |
bool Mindshifter.IInputManager.KeyDown | ( | Keys | key | ) |
Returns true if a key down event occurred for the specified key.
key | The key to test for a key down event |
bool Mindshifter.IInputManager.KeyUp | ( | Keys | key | ) |
Returns true if a key up event occurred for the specified key.
key | The key to test for a key up event |
bool Mindshifter.IInputManager.MouseButton | ( | MouseButtons | button | ) |
Returns true if the specified mouse button is pressed.
button | The mouse button to test for a button pressed state |
Implemented in Mindshifter.InputManager.
bool Mindshifter.IInputManager.MouseDown | ( | MouseButtons | button | ) |
Returns true if a mouse down event occurred for the specified mouse button.
button | The mouse button to test for a mouse down event |
Implemented in Mindshifter.InputManager.
bool Mindshifter.IInputManager.MouseUp | ( | MouseButtons | button | ) |
Returns true if a mouse up event occurred for the specified mouse button.
button | The mouse button to test for a mouse up event |
Implemented in Mindshifter.InputManager.
KeyboardState Mindshifter.IInputManager.Keyboard [get] |
MouseState Mindshifter.IInputManager.Mouse [get] |
int Mindshifter.IInputManager.DX [get] |
Gets the change in the mouse x position since input was last updated.
Implemented in Mindshifter.InputManager.
int Mindshifter.IInputManager.DY [get] |
Gets the change in the mouse y position since input was last updated.
Implemented in Mindshifter.InputManager.
int Mindshifter.IInputManager.DZ [get] |
Gets the change in the mouse scroll wheel position since input was last updated.
Implemented in Mindshifter.InputManager.
int Mindshifter.IInputManager.X [get] |
int Mindshifter.IInputManager.Y [get] |
int Mindshifter.IInputManager.Z [get] |
bool Mindshifter.IInputManager::this | ( | ) | [get] |
Returns true if the specified mouse button is pressed.
key | The key to test for a key pressed state |
Implemented in Mindshifter.InputManager.
ActionMap Mindshifter.IInputManager.ActionMap [get] |