Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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 | ||
Результат | Microsoft.Xna.Framework.Input.MouseState |
public GetPastState ( ) : Microsoft.Xna.Framework.Input.MouseState | ||
Результат | Microsoft.Xna.Framework.Input.MouseState |
public IsButtonClicked ( MouseButton but ) : bool | ||
but | MouseButton | The button to check if pressed. |
Результат | bool |
public IsButtonPressed ( MouseButton but ) : bool | ||
but | MouseButton | The button to check if pressed. |
Результат | bool |