Click or drag to resize
SolidityGetCurrentTileShape Method
Retrieve the solid shape of the specified tile according to the rules of this solidity definition

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public TileShape GetCurrentTileShape(
	TileBase tile
)

Parameters

tile
Type: (Default Namespace)TileBase
TileBase object providing the necessary information to look it up in this solidity definition based on which category the tile is in.

Return Value

Type: TileShape
Remarks
If the tile is in multiple categories that cause it to be associated with multiple tile shapes, the first shape that matches one of the specified tile's categories will be returned. The reason the name of this method includes "Current" is because a tile's shape may change over time if its categorization is based on frames contained in the tile, which are linked to a counter.
See Also