fromPolygon

static Area fromPolygon(List<Tile> tiles)
static Area fromPolygon(Array<Tile> tiles)

Creates an Area from a polygon

Parameters

tiles

The points that make up the corners of the polygon