C# Class Myre.UI.InputDevices.MouseStateExtensions

A static class containing extension methods for the MouseState struct.
Datei anzeigen Open project: TomGillen/Myre

Public Methods

Method Description
IsButtonDown ( this state, MouseButtons button ) : bool

Determines if the specifies mouse button is pressed.

IsButtonUp ( this state, MouseButtons button ) : bool

Determines if the specifies mouse button is released.

Method Details

IsButtonDown() public static method

Determines if the specifies mouse button is pressed.
public static IsButtonDown ( this state, MouseButtons button ) : bool
state this
button MouseButtons
return bool

IsButtonUp() public static method

Determines if the specifies mouse button is released.
public static IsButtonUp ( this state, MouseButtons button ) : bool
state this
button MouseButtons
return bool