Skip to content

five-on-it / apps/client/src/ui/studio/town / townHit

Function: townHit() ​

townHit(spec, __namedParameters): { line: { axis: "x" | "z"; index: number; }; } | { cell: Cell; } | undefined

Defined in: apps/client/src/ui/studio/town.ts:72

What a point of the game's frame is on: a street line (within its half width and 3 m), else a block, else nothing.

Parameters ​

spec ​

TownSpec

__namedParameters ​

Pt

Returns ​

{ line: { axis: "x" | "z"; index: number; }; } | { cell: Cell; } | undefined