#include <annotation.h>
Public Types | |
| typedef Common::List< Annotation > | List |
Public Member Functions | |
| Annotation (const Coords &coords, MapTile tile, bool visual=false, bool coverUp=false) | |
| void | debug_output () const |
| const Coords & | getCoords () const |
| MapTile & | getTile () |
| bool | isVisualOnly () const |
| int | getTTL () const |
| bool | isCoverUp () const |
| void | setCoords (const Coords &c) |
| void | setTile (const MapTile &t) |
| void | setVisualOnly (bool v) |
| void | setTTL (int turns) |
| void | passTurn () |
| bool | operator== (const Annotation &) const |
Annotation are updates to a map. There are three types of annotations:
|
inline |
Returns the coordinates of the annotation
|
inline |
Returns the annotation's tile
|
inline |
Returns true for visual-only annotations
|
inline |
Returns the number of turns the annotation has left to live
|
inline |
Sets the coordinates for the annotation
|
inline |
Sets the tile for the annotation
|
inline |
Sets whether or not the annotation is visual-only
|
inline |
Sets the number of turns the annotation will live
|
inline |
Passes a turn for the annotation