OpenTTD Source  20241120-master-g6d3adc6169
Map::Iterator Struct Reference

Iterator to iterate all Tiles. More...

Public Types

typedef Tile value_type
 
typedef Tilepointer
 
typedef Tilereference
 
typedef size_t difference_type
 
typedef std::forward_iterator_tag iterator_category
 

Public Member Functions

 Iterator (TileIndex index)
 
bool operator== (const Iterator &other) const
 
bool operator!= (const Iterator &other) const
 
Tile operator* () const
 
Iteratoroperator++ ()
 

Private Attributes

TileIndex index
 

Detailed Description

Iterator to iterate all Tiles.

Definition at line 211 of file map_func.h.


The documentation for this struct was generated from the following file: