|
StuBS
|
#include <object/pointer.h>
Public Member Functions | |
| Pointer () | |
| Default constructor. | |
| Pointer & | operator= (const Pointer &other) |
| Assignment operator. | |
Public Attributes | |
| int | x |
| Current X position of the mouse. | |
| int | y |
| Current Y position of the mouse. | |
| bool | button [MOUSE_BUTTONS] |
| Currently pressed mouse buttons. | |
Mouse state
|
inline |
Default constructor.
Assignment operator.
| other | Reference to other pointer |
| int Pointer::x |
Current X position of the mouse.
| int Pointer::y |
Current Y position of the mouse.
| bool Pointer::button[MOUSE_BUTTONS] |
Currently pressed mouse buttons.