MapEraseKind beta
Interface of @v12-engine/engine
ts
export interface MapEraseKindA kind of thing the erase brush can be set to take (MapEditorDef.erase)
Members
id
ts
id: string;The id of the kind, which MapEditorDef.erase lists it by
name
ts
name: string;What the brush's choice calls it
takes
ts
takes: (def: UnitTypeDef) => boolean;Whether a unit type is of this kind: the erase brush takes the objects it says yes to