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

Detailed Description

a global modifier affecting an entire layer regardless of position, is registered with ILayerManager
for example a heat wave or simply the season may raise a heat layer that makes fires more likely

Inheritance diagram for CityBuilderCore.ILayerModifier:
CityBuilderCore.LayerModifierHappening

Public Member Functions

int Modify (int value)
 takes the unmodified value and returns the modified one
 

Properties

Layer Layer [get]
 the layer for which this modifier changes values
 
string Name [get]
 name of the modifier that will be displayed in the UI
 

Events

Action< ILayerModifierChanged
 event the modifier has to fire when it changes how it modifies the layer
 

Member Function Documentation

◆ Modify()

int CityBuilderCore.ILayerModifier.Modify ( int value)

takes the unmodified value and returns the modified one

Parameters
valuethe layer value before modification
Returns
the modified value

Implemented in CityBuilderCore.LayerModifierHappening.