 |
Cytopia
0.3
A city building simulation game
|
Go to the documentation of this file.
28 unsigned int enLayers = 0U;
30 for (
auto layer : layers)
32 enLayers |= 1U << layer;
static void setLayerEditMode(LayerEditMode layerEditMode)
static void enableLayers(std::vector< unsigned int > &&layers)
Enable drawing layers.
@ POWERLINES
9- Powerlines
static unsigned int m_activeLayers
@ ZONE
4- Optional layer, zones(Industrial/Residential/Commercial).
@ BUILDINGS
8- Buildings, Streets and everything that goes on the terrain
@ FLORA
10- Trees and other flora/Fauna tiles
LayerEditMode
This enum is for switching between layers.
@ ROAD
5- Optional layer, roads.
@ TERRAIN
Default "overworld" edit mode.
static void deactivateAllLayers()
static Settings & instance(void)
Get an instance of the singleton.
@ BLUEPRINT
Placing water pipes and underground transportation on the Blueprint layer.
@ UNDERGROUND
2- Optional layer - Pipes, Subway-pipes and so onn