Base class for tile iterators. More...
#include <tilearea_type.h>
Public Member Functions | |
| virtual | ~TileIterator () |
| Some compilers really like this. | |
| FORCEINLINE | operator TileIndex () const |
| Get the tile we are currently at. | |
| virtual TileIterator & | operator++ ()=0 |
| Move ourselves to the next tile in the rectange on the map. | |
Protected Member Functions | |
| TileIterator (TileIndex tile) | |
| Initialise the iterator starting at this tile. | |
Protected Attributes | |
| TileIndex | tile |
| The current tile we are at. | |
Base class for tile iterators.
Definition at line 64 of file tilearea_type.h.
| TileIterator::TileIterator | ( | TileIndex | tile | ) | [inline, protected] |
Initialise the iterator starting at this tile.
| tile | The tile we start iterating from. |
Definition at line 72 of file tilearea_type.h.
| virtual TileIterator::~TileIterator | ( | ) | [inline, virtual] |
Some compilers really like this.
Definition at line 78 of file tilearea_type.h.
| FORCEINLINE TileIterator::operator TileIndex | ( | ) | const [inline] |
Get the tile we are currently at.
Definition at line 86 of file tilearea_type.h.
References tile.
1.7.1