Skip to content

PrefabCamp beta ​

Interface of @v12-engine/engine

ts
export interface PrefabCamp

A camp of creeps of a prefab *

Members ​

name ​

ts
name?: string;

A name for the camp, for the rules to find it by

units ​

ts
units: string[];

Unit type ids of the creeps the camp holds

x ​

ts
x: number;

East-west position of the camp from the prefab's middle, in cells

z ​

ts
z: number;

North-south position of the camp from the prefab's middle, in cells