Adonthell
0.4
|
Area of mapsquares, for use with landmap. More...
#include <mapsquare.h>
Public Member Functions | |
mapsquare_area () | |
Default constructor. More... | |
~mapsquare_area () | |
Destructor. More... | |
void | clear () |
Totally clears the area. More... | |
Area settings | |
class | mapcharacter |
class | mapview |
class | landmap |
u_int16 | area_length () const |
Returns the length of the area. More... | |
u_int16 | area_height () const |
Returns the height of the area. More... | |
mapsquare * | get_square (u_int16 x, u_int16 y) const |
Returns a pointer to a desired square. More... | |
void | resize_area (u_int16 nl, u_int16 nh) |
Resize the area. More... | |
Area of mapsquares, for use with landmap.
This class has no reason to exist is not belonging to a landmap. You'll NEVER use this class directly - anyway you can't do anything usefull with it alone.
Definition at line 372 of file mapsquare.h.
mapsquare_area::mapsquare_area | ( | ) |
Default constructor.
Definition at line 95 of file mapsquare.cc.
mapsquare_area::~mapsquare_area | ( | ) |
Destructor.
Definition at line 99 of file mapsquare.cc.
void mapsquare_area::clear | ( | ) |
Totally clears the area.
Definition at line 103 of file mapsquare.cc.
|
inline |
Returns the length of the area.
Definition at line 405 of file mapsquare.h.
|
inline |
Returns the height of the area.
Definition at line 416 of file mapsquare.h.
Returns a pointer to a desired square.
x | X position of the square to get. |
y | Y position of the square to get. |
Definition at line 430 of file mapsquare.h.
Resize the area.
nl | new length (in number of squares) of the area. |
nh | new height (in number of squares) of the area. |
Definition at line 237 of file mapsquare.cc.