Loading...
Searching...
No Matches
CityBuilderCore.IOverlayManager Interface Reference

Detailed Description

overlays the tilemap with coloured tiles that visualize Layer, Connection or Efficiency values
eg desirable areas are green, undesirable areas are red

Inheritance diagram for CityBuilderCore.IOverlayManager:
CityBuilderCore.DefaultOverlayManager

Public Member Functions

void ActivateOverlay (ViewLayer layerView)
 activates a layer view that displays a gradient for layer values
 
void ActivateOverlay (ViewConnection connectionView)
 activates a connection view that displays a gradient for connection values
 
void ActivateOverlay (ViewEfficiency efficiencyView)
 activates a layer view that displays a gradient for building efficiency
 
void ClearOverlay ()
 clears out any previously activated view
 

Member Function Documentation

◆ ActivateOverlay() [1/3]

void CityBuilderCore.IOverlayManager.ActivateOverlay ( ViewConnection connectionView)

activates a connection view that displays a gradient for connection values

Parameters
connectionViewthe view to activate

Implemented in CityBuilderCore.DefaultOverlayManager.

◆ ActivateOverlay() [2/3]

void CityBuilderCore.IOverlayManager.ActivateOverlay ( ViewEfficiency efficiencyView)

activates a layer view that displays a gradient for building efficiency

Parameters
efficiencyViewthe view to activate

Implemented in CityBuilderCore.DefaultOverlayManager.

◆ ActivateOverlay() [3/3]

void CityBuilderCore.IOverlayManager.ActivateOverlay ( ViewLayer layerView)

activates a layer view that displays a gradient for layer values

Parameters
layerViewthe view to activate

Implemented in CityBuilderCore.DefaultOverlayManager.

◆ ClearOverlay()

void CityBuilderCore.IOverlayManager.ClearOverlay ( )

clears out any previously activated view

Implemented in CityBuilderCore.DefaultOverlayManager.