Method | Description | |
---|---|---|
IsKeyDown ( Keys key, bool ignoreIfPlayerDoesNotHaveControl = true ) : bool | ||
IsKeyUp ( Keys key, bool ignoreIfPlayerDoesNotHaveControl = true ) : bool | ||
IsMouseButtonDown ( MouseButton button ) : bool | ||
IsMouseButtonUp ( MouseButton button ) : bool | ||
KeyPressed ( Keys key, bool ignoreIfPlayerDoesNotHaveControl = true ) : bool | ||
KeyReleased ( Keys key, bool ignoreIfPlayerDoesNotHaveControl = true ) : bool | ||
MouseButtonPressed ( MouseButton button ) : bool | ||
MouseButtonReleased ( MouseButton button ) : bool |
Method | Description | |
---|---|---|
GetMouseButton ( Microsoft.Xna.Framework.Input.MouseState state, MouseButton button ) : bool | ||
Update ( ) : void |
public static IsKeyDown ( Keys key, bool ignoreIfPlayerDoesNotHaveControl = true ) : bool | ||
key | Keys | |
ignoreIfPlayerDoesNotHaveControl | bool | |
return | bool |
public static IsKeyUp ( Keys key, bool ignoreIfPlayerDoesNotHaveControl = true ) : bool | ||
key | Keys | |
ignoreIfPlayerDoesNotHaveControl | bool | |
return | bool |
public static IsMouseButtonDown ( MouseButton button ) : bool | ||
button | MouseButton | |
return | bool |
public static IsMouseButtonUp ( MouseButton button ) : bool | ||
button | MouseButton | |
return | bool |
public static KeyPressed ( Keys key, bool ignoreIfPlayerDoesNotHaveControl = true ) : bool | ||
key | Keys | |
ignoreIfPlayerDoesNotHaveControl | bool | |
return | bool |
public static KeyReleased ( Keys key, bool ignoreIfPlayerDoesNotHaveControl = true ) : bool | ||
key | Keys | |
ignoreIfPlayerDoesNotHaveControl | bool | |
return | bool |
public static MouseButtonPressed ( MouseButton button ) : bool | ||
button | MouseButton | |
return | bool |
public static MouseButtonReleased ( MouseButton button ) : bool | ||
button | MouseButton | |
return | bool |