FormationUnit beta
Interface of @v12-engine/engine
ts
export interface FormationUnitA unit as a preview of a formation knows it: where it stands and how big it is
Members
id
ts
readonly id: EntityId;The unit's entity id
pos
ts
readonly pos: Vec2;Where it stands, in cells
radius
ts
readonly radius: number;Its collision radius, in cells