Loading...
Searching...
No Matches
CityBuilderCore.ConnectedTileBase Class Referenceabstract

Detailed Description

Inheritance diagram for CityBuilderCore.ConnectedTileBase:
CityBuilderCore.ConnectedHexagonTile CityBuilderCore.ConnectedHexagonTileEQ CityBuilderCore.ConnectedIsometricTile CityBuilderCore.ConnectedRectangleTile CityBuilderUrban.PowerTile CityBuilderCore.ConnectionIsometricTile CityBuilderCore.ConnectionRectangleTile

Public Member Functions

override bool StartUp (Vector3Int position, ITilemap tilemap, GameObject go)
 
override void RefreshTile (Vector3Int location, ITilemap tilemap)
 
override void GetTileData (Vector3Int location, ITilemap tilemap, ref TileData tileData)
 
Sprite GetPreviewSprite ()
 

Public Attributes

bool IsColored
 
Color Color
 
TileBase[] ConnectedTiles
 

Protected Member Functions

Sprite getSprite (byte mask)
 
virtual GameObject getPrefab (byte mask)
 
Quaternion getRotation (byte mask)
 
Vector3 getScale (byte mask)
 
virtual void refreshNeighbours (Vector3Int location, ITilemap tilemap)
 
virtual byte getMask (Vector3Int location, ITilemap tilemap)
 
virtual bool hasConnection (ITilemap tilemap, Vector3Int position)