Simple class used to represent positions or sizes on a grid. More...
#include <gridcontainer.h>
Public Member Functions | |
GridVector2 () | |
Blank constructor. | |
GridVector2 (const Whole x, const Whole y) | |
Descriptive constructor. More... | |
Boole | operator!= (const GridVector2 &Other) |
Inequality comparison operator. More... | |
Boole | operator== (const GridVector2 &Other) |
Equality comparison operator. More... | |
Public Attributes | |
Whole | X |
The Cell(s) on the X axis. | |
Whole | Y |
The Cell(s) on the Y axis. | |
Simple class used to represent positions or sizes on a grid.
Definition at line 57 of file gridcontainer.h.
Descriptive constructor.
x | The Cell(s) on the X axis. |
y | The Cell(s) on the Y axis. |
Definition at line 63 of file gridcontainer.cpp.
Boole Mezzanine::UI::GridVector2::operator!= | ( | const GridVector2 & | Other | ) |
Inequality comparison operator.
Other | The other GridVector2 to compare with. |
Definition at line 73 of file gridcontainer.cpp.
Boole Mezzanine::UI::GridVector2::operator== | ( | const GridVector2 & | Other | ) |
Equality comparison operator.
Other | The other GridVector2 to compare with. |
Definition at line 70 of file gridcontainer.cpp.