#include <mapsquare.h>
Public Member Functions | |
mapsquare_char () | |
Default constructor. | |
~mapsquare_char () | |
Destructor. | |
bool | operator< (const mapsquare_char &mt) |
Compare the location on the landsubmap of two mapsquare_chars. | |
bool | operator<= (const mapsquare_char &mt) |
Compare the location on the landsubmap of two mapsquare_chars. | |
bool | operator== (const mapsquare_char &mt) |
Compare the location on the landsubmap of two mapsquare_chars. | |
Friends | |
class | mapcharacter |
class | mapsquare |
class | landmap |
class | mapview |
Objects of this class has no reason to exist outside of a mapsquare. You'll NEVER want to manipulate this class directly - only mapsquare, mapsquare_area and landmap will.
Definition at line 137 of file mapsquare.h.
mapsquare_char::mapsquare_char | ( | ) |
mapsquare_char::~mapsquare_char | ( | ) |
bool mapsquare_char::operator< | ( | const mapsquare_char & | mt | ) | [inline] |
Compare the location on the landsubmap of two mapsquare_chars.
A mapsquare_char is < to another if it's Y position is < to the other one's or if it's Y position == the other one's and it's X position is < to the other one's.
operator == ()
Definition at line 159 of file mapsquare.h.
bool mapsquare_char::operator<= | ( | const mapsquare_char & | mt | ) | [inline] |
Compare the location on the landsubmap of two mapsquare_chars.
A mapsquare_char is <= to another if it's Y position is < to the other one's or if it's Y position == the other one's and it's X position is <= to the other one's.
operator == ()
Definition at line 172 of file mapsquare.h.
bool mapsquare_char::operator== | ( | const mapsquare_char & | mt | ) | [inline] |
Compare the location on the landsubmap of two mapsquare_chars.
A mapsquare_char is == to another if their X and Y position are equal.
operator <= ()
Definition at line 184 of file mapsquare.h.