Class cell2D_empty

Nested Relationships

Nested Types

Inheritance Relationships

Base Types

  • public cosm::ds::operations::cell2D_op (Class cell2D_op)

  • public rer::client< cell2D_empty >

Class Documentation

class cell2D_empty : public cosm::ds::operations::cell2D_op, public rer::client<cell2D_empty>

Created whenever a cell needs to go from some other state to being empty.

The most common example of this is when a free block is picked up, and the square that the block was on is now (probably) empty. It might not be if in the same timestep a new cache is created on that same cell.

This class should never be instantiated, only derived from. To visit cell2D objects, use cell2D_empty_visitor.

Public Types

using visit_typelist = visit_typelist_impl::value

Public Functions

inline explicit cell2D_empty(const rmath::vector2z &coord)
void visit(cads::arena_grid &grid)
void visit(ds::cell2D &cell)
void visit(fsm::cell2D_fsm &fsm)