HyperRogue  11.3d
game/visualization engine based on non-Euclidean geometry
Public Member Functions | Public Attributes | List of all members
hr::manual_celllister Struct Reference
Inheritance diagram for hr::manual_celllister:
hr::celllister

Public Member Functions

bool listed (cell *c)
 
bool add (cell *c)
 

Public Attributes

vector< cell * > lst
 
vector< int > tmps
 

Detailed Description

A structure useful when walking on the cell graph in arbitrary way, or listing cells in general. Only one celllister may be active at a time, using the stack semantics. Only the most recently created one works; the previous one will resume working when this one is destroyed.

Member Function Documentation

◆ listed()

bool hr::manual_celllister::listed ( cell c)
inline

is the given cell on the list?

◆ add()

bool hr::manual_celllister::add ( cell c)
inline

add a cell to the list

Member Data Documentation

◆ lst

vector<cell*> hr::manual_celllister::lst

list of cells in this list


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