Maze Builder Docs 6.7.5
|
Interface for the grid class. More...
#include <grid_interface.h>
Public Member Functions | |
virtual std::string | contents_of (std::shared_ptr< cell > const &c) const noexcept=0 |
Get detailed information of a cell in the grid in the form of a string. | |
virtual std::uint32_t | background_color_for (std::shared_ptr< cell > const &c) const noexcept=0 |
Returns the background color for the specified cell, if available. | |
virtual class grid_operations & | operations () noexcept=0 |
Get access to grid operations interface. | |
virtual const class grid_operations & | operations () const noexcept=0 |
Get access to const grid operations interface. | |
Interface for the grid class.
The interface provides methods to interact with the grid
The interface has detailed information about a cell
|
pure virtualnoexcept |
Returns the background color for the specified cell, if available.
c | A shared pointer to the cell for which to determine the background color. |
Implemented in mazes::colored_grid, mazes::distance_grid, and mazes::grid.
|
pure virtualnoexcept |
Get detailed information of a cell in the grid in the form of a string.
c |
Implemented in mazes::colored_grid, mazes::distance_grid, and mazes::grid.
|
pure virtualnoexcept |
Get access to const grid operations interface.
Implemented in mazes::colored_grid, mazes::distance_grid, and mazes::grid.
|
pure virtualnoexcept |
Get access to grid operations interface.
Implemented in mazes::colored_grid, mazes::distance_grid, and mazes::grid.