A board cell. Only type is read. Any other fields on the object are ignored.
type
import type { Cell } from "@tamb/gamegrid/npc";const matrix: Cell[][] = [[{ type: "wall" }, { type: "floor" }]]; Copy
import type { Cell } from "@tamb/gamegrid/npc";const matrix: Cell[][] = [[{ type: "wall" }, { type: "floor" }]];
A board cell. Only
typeis read. Any other fields on the object are ignored.Example