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

Detailed Description

will pass a connection at the points of a structure

https://citybuilder.softleitner.com/manual/connections

Inheritance diagram for CityBuilderCore.ConnectionPasserStructure:
CityBuilderCore.ConnectionPasserBase CityBuilderCore.IConnectionPasser CityBuilderCore.ConnectionFeederStructure

Public Member Functions

override IEnumerable< Vector2Int > GetPoints ()
 the points of the passer
 
- Public Member Functions inherited from CityBuilderCore.ConnectionPasserBase
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
 

Public Attributes

string StructureKey
 
- Public Attributes inherited from CityBuilderCore.ConnectionPasserBase
Connection Connection
 
PointValueEvent PointValueChanged
 

Protected Member Functions

override void Start ()
 
- Protected Member Functions inherited from CityBuilderCore.ConnectionPasserBase
virtual void OnDestroy ()
 
void onPointsChanged (IEnumerable< Vector2Int > removed, IEnumerable< Vector2Int > added)
 

Additional Inherited Members

- Properties inherited from CityBuilderCore.IConnectionPasser
- Events inherited from CityBuilderCore.ConnectionPasserBase
Action< PointsChanged< IConnectionPasser > > PointsChanged
 
- Events inherited from CityBuilderCore.IConnectionPasser
Action< PointsChanged< IConnectionPasser > > PointsChanged
 fired by the passer when points are removed or added to it
 

Member Function Documentation

◆ GetPoints()

override IEnumerable< Vector2Int > CityBuilderCore.ConnectionPasserStructure.GetPoints ( )

the points of the passer

Returns

Implements CityBuilderCore.IConnectionPasser.

◆ Start()

override void CityBuilderCore.ConnectionPasserStructure.Start ( )
inlineprotectedvirtual