 |
Cytopia
0.3
A city building simulation game
|
Go to the documentation of this file. 1 #ifndef ZONEMANAGER_HXX_
2 #define ZONEMANAGER_HXX_
60 void updatePower(
const std::vector<PowerGrid> &powerGrid);
void updatePlacedNodes(const MapNode &mapNode)
std::vector< ZoneArea > m_zoneAreas
void spawnBuildings()
Spawn Buildings on the gathered tileMap.
void updatePower(const std::vector< PowerGrid > &powerGrid)
std::vector< Point > m_nodesToVacate
All zoneAreas.
void removeZoneNode(Point coordinate)
Removes a zonenode.
void update()
Process previously cached nodes to update.
Class that holds map nodes.
void addZoneNodeToArea(ZoneNode &zoneNode, std::vector< ZoneArea > &zoneAreas)
Adds a zoneNode to a given area.
std::vector< Point > m_nodesToRemove
All zoneAreas.
void updateRemovedNodes(const MapNode *mapNode)
std::vector< ZoneNode > m_nodesToAdd
All zoneAreas.
std::vector< ZoneArea > rebuildZoneArea(ZoneArea &zoneArea)
rebuild a certain zone area
std::vector< int > getAdjacentZoneAreas(const ZoneNode &zoneNode, std::vector< ZoneArea > &zoneAreas)
get a list of neighboring zoneareas for a zoneNode
std::vector< Point > m_nodesToOccupy
All zoneAreas.