faintTilePathfunction
Where a tile's file is, under the folder that holds the tiles: L2/17-12.bin.
Import it
import { faintTilePath } from "@johnmorrisdotca/hoshi-stars/faint";
Definition
function faintTilePath(tile: FaintTileId): string
Parameters
| Name | Type | Description |
|---|---|---|
tile | FaintTileId | The tile. |
Returns
string
The path, with forward slashes.
Examples
import { faintTilePath } from "@johnmorrisdotca/hoshi-stars/faint";
console.log(faintTilePath({ level: 2, band: 17, column: 12 })); // L2/17-12.binL2/17-12.binWhat it prints (run when this page was built)