Loading...
Searching...
No Matches
CityBuilderCore.LayerKey Class Reference

Detailed Description

explanation of the computed layer value at a point (Base+Affectors=Total)
can be obtained for any point on the map by calling ILayerManager.GetKey(Layer, UnityEngine.Vector2Int)

Public Member Functions

 LayerKey (int baseValue)
 
void AddAffector (ILayerAffector affector, int value)
 
void AddModifier (ILayerModifier modifier)
 

Properties

int BaseValue [get]
 
int TotalValue [get]
 
IReadOnlyCollection< Tuple< int, ILayerAffector > > Affectors [get]
 
IReadOnlyCollection< Tuple< int, ILayerModifier > > Modifiers [get]