Method | Description | |
---|---|---|
GetCurrentState ( ) : Microsoft.Xna.Framework.Input.MouseState |
Get the current Mouse input state.
|
|
GetPastState ( ) : Microsoft.Xna.Framework.Input.MouseState |
Get the past Mouse input state.
|
|
IsButtonClicked ( MouseButton but ) : bool |
Determine if the specified button is clicked. This means that the button is down right now but wasn't always pressed down.
|
|
IsButtonPressed ( MouseButton but ) : bool |
Determine if the specified button is pressed.
|
Method | Description | |
---|---|---|
GetPosition ( bool cur ) : Vector2 | ||
GetScroll ( bool cur ) : int | ||
IsDown ( Microsoft.Xna.Framework.Input.MouseState state, MouseButton but ) : bool | ||
Mouse ( InputManager manager ) : System | ||
SetPosition ( Vector2 value ) : void |
public GetCurrentState ( ) : Microsoft.Xna.Framework.Input.MouseState | ||
return | Microsoft.Xna.Framework.Input.MouseState |
public GetPastState ( ) : Microsoft.Xna.Framework.Input.MouseState | ||
return | Microsoft.Xna.Framework.Input.MouseState |
public IsButtonClicked ( MouseButton but ) : bool | ||
but | MouseButton | The button to check if pressed. |
return | bool |
public IsButtonPressed ( MouseButton but ) : bool | ||
but | MouseButton | The button to check if pressed. |
return | bool |