YourCityInvadedByAliens
Documentation for code of the game
|
|
CoordXY & operator+=(const CoordXY &other)
Definition: coordxy.cpp:46
int x() const
Definition: coordxy.cpp:16
void setX(int x)
Definition: coordxy.cpp:34
void update(int x, int y)
Definition: coordxy.cpp:24
bool operator>(const CoordXY &other) const
Definition: coordxy.cpp:70
bool operator<(const CoordXY &other) const
Definition: coordxy.cpp:74
int m_nY
Definition: coordxy.h:26
CoordXY operator-(const CoordXY &other) const
Definition: coordxy.cpp:64
int m_nX
Definition: coordxy.h:26
int y() const
Definition: coordxy.cpp:20
CoordXY & operator-=(const CoordXY &other)
Definition: coordxy.cpp:52
CoordXY()
Definition: coordxy.cpp:6
YPos toYPos() const
Definition: coordxy.cpp:42
bool isInsideRect(const CoordXY &topLeft, const CoordXY &bottomRight) const
Definition: coordxy.cpp:78
CoordXY operator+(const CoordXY &other) const
Definition: coordxy.cpp:58
void setY(int y)
Definition: coordxy.cpp:38