Tile.position

Gets the tile's position in the world, if placed.

class Tile
final pure nothrow @property @safe @nogc
position
()

Examples

if(tile.placed) {
   assert(tile.tid == tile.world.tileAt(tile.position).tid);
}

Meta