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

Detailed Description

passes a connection on every point that a tile has on a tilemap, only evaluated which points those are at the start

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

Inheritance diagram for CityBuilderCore.ConnectionPasserTiles:
CityBuilderCore.ConnectionPasserBase CityBuilderCore.IConnectionPasser CityBuilderCore.ConnectionFeederTiles

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

Tilemap Tilemap
 
TileBase Tile
 
- 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.ConnectionPasserTiles.GetPoints ( )

the points of the passer

Returns

Implements CityBuilderCore.IConnectionPasser.

◆ Start()

override void CityBuilderCore.ConnectionPasserTiles.Start ( )
inlineprotectedvirtual