|
ClassicCityBuilderKit 1.9.4
|
helper class used by DefaultConnectionManager to encapsulate connection handling for one connection
Public Member Functions | |
| ConnectionGrid (Connection connection) | |
| void | RegisterFeeder (IConnectionFeeder feeder) |
| void | DeregisterFeeder (IConnectionFeeder feeder) |
| void | RegisterPasser (IConnectionPasser passer) |
| void | DeregisterPasser (IConnectionPasser passer) |
| bool | HasPoint (Vector2Int point) |
| int | GetValue (Vector2Int point) |
| void | Check (bool force=false) |
| Dictionary< Vector2Int, int > | GetValues () |
| return all positions the affector affects with their values | |
| ConnectionGrid | CreatePreview () |
Properties | |
| Connection | Connection [get] |
| Layer | Layer [get] |
| the layer affected | |
| 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 |
the layer affected
Implements CityBuilderCore.ILayerAffector.
|
get |
name of the affector used in UI
Implements CityBuilderCore.ILayerAffector.