MFMv2.0.10
Movable Feast Machine Simulator 2.0.10
|
#include <GridConfig.h>
Public Types | |
enum | { GRID_WIDTH = W } |
enum | { GRID_HEIGHT = H } |
typedef CC | CORE_CONFIG |
A template class used to hold all compile-time GridConfiguration parameters for a MFM. We make all MFM template classes depend on this one type, rather than having each depend on whichever compile-time parameters they reference.
If an additional compile-time parameter is needed, rather than having to add it to thousands of template declarations throughout the codebase, we just add it here, and then modify only the template classes that need to use the new parameter.
typedef CC MFM::GridConfig< CC, W, H >::CORE_CONFIG |
CORE_CONFIG is the Config type for the core MFM parameters.
anonymous enum |
GRID_WIDTH is the number of columns of tiles in this Grid Configuration.
anonymous enum |
GRID_HEIGHT is the number of rows of tiles in this Grid Configuration.