StuBS
Pointer Struct Reference

Mouse state More...

#include <object/pointer.h>

Public Member Functions

 Pointer ()
 Default constructor.
 
Pointeroperator= (const Pointer &other)
 Assignment operator. More...
 

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.
 

Detailed Description

Mouse state

Member Function Documentation

◆ operator=()

Pointer & Pointer::operator= ( const Pointer other)
inline

Assignment operator.

Parameters
otherReference to other pointer
Returns
Reference to this pointer

The documentation for this struct was generated from the following file: