Skip to content

PrefabContents beta ​

Interface of @v12-engine/engine

ts
export interface PrefabContents

What a prefab is made of, around its middle (0, 0) *

Members ​

areas ​

ts
areas?: PrefabArea[];

The areas it adds for the rules to watch

camps ​

ts
camps?: PrefabCamp[];

The camps of creeps it spawns

objects ​

ts
objects?: PrefabObject[];

The units and buildings it spawns

prefabs ​

ts
prefabs?: PrefabInside[];

Prefabs inside it, spawned with it (a prefab that holds itself, at any depth, is not spawned past the first)