Skip to content

MapPaletteGroup beta ​

Interface of @v12-engine/engine

ts
export interface MapPaletteGroup

A group of the palette (MapEditorDef.palette)

Members ​

camps ​

ts
camps?: boolean;

Its units are what camps are made of: the camp tool picks from them

name ​

ts
name: string;

The group's name in the palette

owner ​

ts
owner?: number;

Whose what is put down from it is, by player id (MAP_CREEPS, MAP_NEUTRAL): the player picked above it when left out, and nobody for a resource

types ​

ts
types: UnitTypeDef[];

The unit types in the group