AgentSave beta
Interface of @v12-engine/engine
export interface AgentSaveAn agent as it is right now, for a save: where it is, how fast it goes, where to, and how it behaves
Members
acceleration
acceleration?: number;How fast it gets up to speed, where that is not what follows from the speed
anchor
anchor?: Vec2;Where an anchored agent holds its ground
anchored
anchored: boolean;Whether it holds its ground, so that others walk around it
flying
flying?: boolean;Whether it flies, over what blocks the ground
ghost
ghost: boolean;Whether it ignores other agents
naval
naval?: boolean;Whether it sails, on deep water instead of the ground
phasing
phasing?: boolean;Whether it walks through every other agent and they through it (Navigation.setPhasing)
radius
radius: number;Its radius, in cells
speed
speed: number;How fast it goes, in cells per second
target
target: Vec2 | null;Where it was sent, snapped to where it can go. Null when it was not
vx
vx: number;Its velocity along x, in cells per second
vz
vz: number;Its velocity along z, in cells per second
x
x: number;Where the agent is on the map's x axis, in cells
z
z: number;Where the agent is on the map's z axis, in cells