#include <DrawingPrimitives.h>
Public Member Functions | |
| Coord () | |
| Coord (int x, int y) | |
| Coord (const Coord &other)=default | |
| Coord & | operator= (const Coord &other)=default |
Public Attributes | |
| int16_t | x |
| int16_t | y |
A structure that holds both X and Y direction in a single 32 bit integer. Both x and y are public
|
inline |
default construction sets values to 0
Create a coord based on an X and Y location
| x | the x location |
| y | the y location |