Reference · Browser table and SVG
tenkaShapesOffunction
How a game's map is drawn: the world unless the game says otherwise.
Import it
import { tenkaShapesOf } from "@johnmorrisdotca/tenka/ui";
Definition
function tenkaShapesOf(map: TenkaMapKey | undefined): TenkaShapes
Parameters
| Name | Type | Description |
|---|---|---|
map | TenkaMapKey | undefined | The native world or Europe map to use. |
Returns
TenkaShapes
How a game's map is drawn: the world unless the game says otherwise.
Examples
import { tenkaShapesOf } from "@johnmorrisdotca/tenka/ui";
console.log(tenkaShapesOf("europe").outlines.length);49What it prints (run when this page was built)