|
bwmodel
A modeling environment for Minecraft Bedwars
|
#include <grid.h>
Public Member Functions | |
| Index | width () const |
| Index | height () const |
Protected Member Functions | |
| virtual const Grid< T > & | backing () const =0 |
| void | assert_grid_invariant () |
A generic grid with width and height.
|
inlineprotected |
Ensures that all rows in the grid have the same length.
|
protectedpure virtual |
Internally retrieves the backing (nested vector) for helper function generation in GridInterface.
Implemented in bwmodel::HeatMap, and bwmodel::Map.