group
group: number?Which bucket, 0 to 7; another raises. Lets a later query ask about one class of hazard alone: "will the BLADE reach this tile" is a different question from "is anything lethal here". Defaults to 0.
A value shape that methods take or return.
| Field | Type | Description |
|---|---|---|
group | number? | Which bucket, 0 to 7; another raises. Lets a later query ask about one class of hazard alone: "will the BLADE reach this tile" is a dif… |
kind | ("block" | "cost")? | "block" (impassable while live) or "cost" (passable, discouraged). Defaults to "block". |
cost | number? | For "cost": what to add to the tile's entry cost while live. |
shape | HazardShape? | Where it reaches. Optional only when the schedule is frames. |
schedule | HazardSchedule? | When it is live. Defaults to always. |
piercesGrace | boolean? | Whether it still blocks a mover inside a grace window. A grace that covers one hazard rarely covers all of them. |
groupgroup: number?Which bucket, 0 to 7; another raises. Lets a later query ask about one class of hazard alone: "will the BLADE reach this tile" is a different question from "is anything lethal here". Defaults to 0.