fromPolygon

open fun fromPolygon(tiles: List<Tile>): Area
open fun fromPolygon(tiles: Array<Tile>): Area

Creates an Area from a polygon

Parameters

tiles

The points that make up the corners of the polygon