#include <Position.h>
Public Types | |
using | number_type = T |
Public Member Functions | |
constexpr bool | operator!= (const Position &rhs) const |
Position & | operator+= (const Position &rhs) |
Position & | operator-= (const Position &rhs) |
constexpr bool | operator== (const Position &rhs) const |
Position ()=default | |
constexpr | Position (T X, T Y) |
Public Attributes | |
number_type | x |
number_type | y |
Friends | |
Position | operator+ (Position lhs, const Position &rhs) |
Position | operator- (Position lhs, const Position &rhs) |
Definition at line 14 of file Position.h.
using MapGen::Position< T >::number_type = T |
Definition at line 16 of file Position.h.
|
default |
|
inline |
Definition at line 28 of file Position.h.
|
inline |
Definition at line 34 of file Position.h.
|
inline |
Definition at line 38 of file Position.h.
|
inline |
Definition at line 49 of file Position.h.
|
inline |
Definition at line 30 of file Position.h.
Definition at line 44 of file Position.h.
Definition at line 55 of file Position.h.
number_type MapGen::Position< T >::x |
Definition at line 20 of file Position.h.
Referenced by MapGen::Position< int32 >::operator+=(), MapGen::Position< int32 >::operator-=(), and MapGen::Position< int32 >::operator==().
number_type MapGen::Position< T >::y |
Definition at line 24 of file Position.h.
Referenced by MapGen::Position< int32 >::operator+=(), MapGen::Position< int32 >::operator-=(), and MapGen::Position< int32 >::operator==().