TrinityCore
|
#include <GridDefines.h>
Public Member Functions | |
CoordPair (uint32 x=0, uint32 y=0) | |
CoordPair (const CoordPair< LIMIT > &obj) | |
CoordPair< LIMIT > & | operator= (const CoordPair< LIMIT > &obj) |
void | dec_x (uint32 val) |
void | inc_x (uint32 val) |
void | dec_y (uint32 val) |
void | inc_y (uint32 val) |
bool | IsCoordValid () const |
CoordPair & | normalize () |
uint32 | GetId () const |
Public Attributes | |
uint32 | x_coord |
uint32 | y_coord |
Friends | |
bool | operator== (CoordPair const &p1, CoordPair const &p2)=default |
Definition at line 105 of file GridDefines.h.
|
inline |
Definition at line 107 of file GridDefines.h.
|
inline |
Definition at line 111 of file GridDefines.h.
|
inline |
Definition at line 115 of file GridDefines.h.
|
friend |
Definition at line 173 of file GridDefines.h.
Definition at line 174 of file GridDefines.h.