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

Detailed Description

an object affecting the layer values, is registered with ILayerManager

Inheritance diagram for CityBuilderCore.ILayerAffector:
CityBuilderCore.ConnectionGrid CityBuilderCore.LayerAffector CityBuilderCore.LayerAffectorWorking

Public Member Functions

Dictionary< Vector2Int, int > GetValues ()
 return all positions the affector affects with their values
 

Properties

Layer Layer [get]
 the layer affected
 
string Name [get]
 name of the affector used in UI
 

Events

Action< ILayerAffectorChanged
 

Member Function Documentation

◆ GetValues()

Dictionary< Vector2Int, int > CityBuilderCore.ILayerAffector.GetValues ( )

return all positions the affector affects with their values

Returns

Implemented in CityBuilderCore.ConnectionGrid, and CityBuilderCore.LayerAffector.

Property Documentation

◆ Layer

Layer CityBuilderCore.ILayerAffector.Layer
get

the layer affected

Implemented in CityBuilderCore.ConnectionGrid.

◆ Name

string CityBuilderCore.ILayerAffector.Name
get

name of the affector used in UI

Implemented in CityBuilderCore.ConnectionGrid, and CityBuilderCore.LayerAffector.