fromAncestor

fun fromAncestor(target: TileCoord, tile: Any, relative: TileCoord): TilePartial

Instantiates a TilePartial object from an ancestor tile.

Parameters

target
  • The coordinate of the tile that is being substituted.

tile
  • The tile ancestor data of the partial.

relative
  • The coordinate of the tile to position the found tile relative to.