AgateLib.InputLib.Mouse.Mouse.MouseState Class Reference

Class which encapsulates the state of the mouse. More...

List of all members.

Properties

bool this [MouseButtons id] [get, set]
 Gets or sets the pressed values of the passed mouse buttons. Generates events when buttons are pressed or released. The MouseButtons enum has the FlagsAttribute, so you can make a bitwise combination of these values. Getting the state with a combination of flags returns true if ANY one of the buttons are down. Setting the state with a combination of flags will set the state for all flags passed.


Detailed Description

Class which encapsulates the state of the mouse.


Property Documentation

bool AgateLib.InputLib.Mouse.Mouse.MouseState.this[MouseButtons id] [get, set]

Gets or sets the pressed values of the passed mouse buttons. Generates events when buttons are pressed or released. The MouseButtons enum has the FlagsAttribute, so you can make a bitwise combination of these values. Getting the state with a combination of flags returns true if ANY one of the buttons are down. Setting the state with a combination of flags will set the state for all flags passed.

Parameters:
id 
Returns:


The documentation for this class was generated from the following file:
AgateLib
Awesome Game and Tool Engine Library
SourceForge.net Logo