Skip to content

paintCommand beta ​

Variable of @v12-engine/engine/debug

ts
paintCommand: DefinedCommand<"debug.paint", {
    unitType: Check<string>;
    owner: Check<number>;
    point: Check<import("./math").Vec2>;
    radius: Check<number>;
    erase: Check<boolean>;
}>

A brush: fills a circle with what stands on the grid (trees, rocks), thinner towards its edge, wherever there is room; or, with erase, clears it of that type