stmm-games-doc  0.32.0
Public Member Functions | List of all members
stmg::TileCoords::const_iterator Class Reference

TileCoords iterator. More...

Inheritance diagram for stmg::TileCoords::const_iterator:
Inheritance graph
[legend]

Public Member Functions

bool operator== (const const_iterator &it) const noexcept
 Tells whether the iterator point to the same position as another. More...
 
bool operator!= (const const_iterator &it) const noexcept
 Opposite of const_iterator::operator==(). More...
 
const TilegetTile () const noexcept
 Get the current tile. More...
 

Detailed Description

TileCoords iterator.

Member Function Documentation

◆ getTile()

const Tile& stmg::TileCoords::const_iterator::getTile ( ) const
inlinenoexcept

Get the current tile.

Returns
The tile.

◆ operator!=()

bool stmg::TileCoords::const_iterator::operator!= ( const const_iterator it) const
inlinenoexcept

◆ operator==()

bool stmg::TileCoords::const_iterator::operator== ( const const_iterator it) const
inlinenoexcept

Tells whether the iterator point to the same position as another.

Parameters
itThe other iterator.
Returns
Whether same position within Coords.