Skip to content

PropPlaces beta ​

Interface of @v12-engine/client

ts
export interface PropPlaces

What propAt asks of the map: a unit's spot by its name, a path's points by its name

Members ​

eases ​

ts
eases?: EaseRegistry;

The registry that curves named by an item's ease are looked up in; linear when left out

path ​

ts
path(name: string): readonly Vec2[] | undefined;

Returns a path's points by its name, or undefined when it has none

unit ​

ts
unit(name: string): Vec2 | undefined;

Returns a unit's spot by its name, or undefined when it has none