#include <cell.h>
Public Member Functions | |
| maze_cell (void) | |
| CELL_TYPE | value () const |
| Returns the value of the cell (floodfill value). | |
| void | value (CELL_TYPE) |
| Sets the value of a cell. | |
| void | state (CELL_STATE state) |
| Sets the state of a cell (CLEAR/WALL). | |
| CELL_STATE | state (void) const |
| Returns state of cell (CLEAR/WALL). | |
Private Attributes | |
| CELL_TYPE | _value |
| CELL_STATE | _state |
maze_cell : class representing a single cell of a map of an environment. Currently it only representing a filled/non-filled state. Currently, the value represents the flood fill value of the cell.
|
|
|
|
|
Returns state of cell (CLEAR/WALL).
|
|
|
Sets the state of a cell (CLEAR/WALL).
|
|
|
Sets the value of a cell.
|
|
|
Returns the value of the cell (floodfill value).
|
|
|
|
|
|
|
1.3