|
ClassicCityBuilderKit 1.9.4
|
any object that lets a connection pass through its points
gets notified when any of the values at those points change
Public Member Functions | |
| IEnumerable< Vector2Int > | GetPoints () |
| the points of the passer | |
| void | ValueChanged (Vector2Int point, int value) |
| this is where the passer gets notified about changes to the values of its points | |
Properties | |
| Connection | Connection [get] |
| the connection this passer allows to pass | |
| bool | IsConsumer [get] |
| whether the passer acts as a one-way consumer that does not pass the connection further the highest value that reaches a consumer determines the value of all of its points | |
Events | |
| Action< PointsChanged< IConnectionPasser > > | PointsChanged |
| fired by the passer when points are removed or added to it | |
| IEnumerable< Vector2Int > CityBuilderCore.IConnectionPasser.GetPoints | ( | ) |
the points of the passer
Implemented in CityBuilderCore.ConnectionFeederBuilder, CityBuilderCore.ConnectionFeederComponent, CityBuilderCore.ConnectionPasserBase, CityBuilderCore.ConnectionPasserComponent, CityBuilderCore.ConnectionPasserStructure, and CityBuilderCore.ConnectionPasserTiles.
| void CityBuilderCore.IConnectionPasser.ValueChanged | ( | Vector2Int | point, |
| int | value ) |
this is where the passer gets notified about changes to the values of its points
| point | the point at which the value changed |
| value | the new value at the point |
Implemented in CityBuilderCore.ConnectionFeederBuilder, CityBuilderCore.ConnectionFeederComponent, CityBuilderCore.ConnectionPasserBase, and CityBuilderCore.ConnectionPasserComponent.