 |
Cytopia
0.3
A city building simulation game
|
Go to the documentation of this file. 1 #ifndef POWERMANAGER_HXX_
2 #define POWERMANAGER_HXX_
std::vector< int > getAdjacentPowerGrids(const PowerNode &powerNode, std::vector< PowerGrid > &powerGrids)
std::vector< PowerGrid > rebuildZoneArea(PowerGrid &powerGrid)
void updatePowerLevels()
Updates all PowerGrid's power levels.
void addPowerNodeToGrid(PowerNode &powerNode, std::vector< PowerGrid > &powerGrids)
void updatePlacedNodes(const MapNode &mapNode)
Class that holds map nodes.
std::vector< Point > m_nodesToRemove
std::vector< PowerNode > m_nodesToAdd
void updateRemovedNodes(const MapNode *mapNode)
std::vector< PowerGrid > m_powerGrids
void removePowerNode(Point coordinate)