Skip to content

CampMember beta ​

Interface of @v12-engine/engine

ts
export interface CampMember

Ties a creep to the camp it guards

Members ​

blowAt ​

ts
blowAt?: number;

When it last traded a blow with what it goes for, or took it up: a chase with none for chaseTime is given up

camp ​

ts
camp: number;

The number of the camp the creep guards

home ​

ts
home: Vec2;

Where the creep returns to when the camp gives up the fight

returning ​

ts
returning: boolean;

On its way back after the camp gave up the fight. Deaf to everything but a hit, and to that for RETURN_GRACE

returningAt ​

ts
returningAt?: number;

When it turned for home, in seconds of the game

searching ​

ts
searching: Vec2 | null;

Where it was attacked from by something it could not see, and is going to look