ClassicCityBuilderKit 1.8.8
|
affector that uses the points of an IStructure on the same or the parent component
for example in THREE trees raise desirability needed by housing and ore structures affect the iron layer which is needed to place mines
Public Member Functions | |
Dictionary< Vector2Int, int > | GetValues () |
return all positions the affector affects with their values | |
int | GetValue (Vector2Int position) |
Public Attributes | |
Layer | Layer |
int | Value |
int | Range |
int | Falloff |
Protected Member Functions | |
virtual void | Start () |
void | checkAffector () |
Properties | |
virtual bool | IsAffecting [get] |
virtual string | Name [get] |
name of the affector used in UI | |
Properties inherited from CityBuilderCore.ILayerAffector |
Events | |
Action< ILayerAffector > | Changed |
Events inherited from CityBuilderCore.ILayerAffector | |
Action< ILayerAffector > | Changed |
|
inline |
return all positions the affector affects with their values
Implements CityBuilderCore.ILayerAffector.
|
get |
name of the affector used in UI
Implements CityBuilderCore.ILayerAffector.