Defines a warp area that links to another Map.
More...
#include <WarpArea.h>
List of all members.
Detailed Description
Defines a warp area that links to another Map.
Constructor & Destructor Documentation
| WarpArea::WarpArea |
( |
const Recti & |
rect, |
|
|
const string & |
id, |
|
|
const string & |
dstMap, |
|
|
int |
dstX, |
|
|
int |
dstY, |
|
|
int |
lvl, |
|
|
int |
dstlvl | |
|
) |
| | [inline] |
Initializes a new WarpArea.
- Parameters:
-
| rect | A Recti containing the rectangular area this WarpArea covers. |
| dstMap | A string specifying a destination map. |
| dstX | X-Coordinate to start the player at the destination map. |
| dstY | X-Coordinate to start the player at the destination map. |
| lvl | The level this WarpArea resides on. |
| dstlvl | The destination level this WarpArea puts players on. |
Member Function Documentation
| int WarpArea::getDestinationLevel |
( |
|
) |
const [inline] |
Gets the destination level.
| int WarpArea::getDestinationX |
( |
|
) |
const [inline] |
Gets the destination X-Coordinate.
| int WarpArea::getDestinationY |
( |
|
) |
const [inline] |
Gets the destination Y-Coordinate.
| const string& WarpArea::getId |
( |
|
) |
const [inline] |
| int WarpArea::getLevel |
( |
|
) |
const [inline] |
Gets the level that this WarpArea resides on.
| const string& WarpArea::getLink |
( |
|
) |
const [inline] |
| const Recti& WarpArea::getRect |
( |
|
) |
const [inline] |
Gets the rectangular area the WarpArea covers.
| void WarpArea::isActive |
( |
bool |
active |
) |
[inline] |
Sets whether the WarpArea is active or not.
| bool WarpArea::isActive |
( |
|
) |
const [inline] |
Gets whether the WarpArea is active or not.
| void WarpArea::isValid |
( |
bool |
valid |
) |
[inline] |
Sets whether the WarpArea is valid or not.
| bool WarpArea::isValid |
( |
|
) |
const [inline] |
Indicates if the warp area's link to a map file is valid.
Member Data Documentation
The documentation for this class was generated from the following file:
- C:/Development/LoM/client/src/Core/Map/Components/WarpArea.h