FoliageShake beta
Interface of @v12-engine/client
export interface FoliageShakeHow bushes shake as units go into them and move about in them (FoliageLook.shake): bent away from who is in them and wobbling on a spring that settles, the most as one steps in
Members
entry
entry?: number;How much harder they shake as one steps in than as one moves about in them: 2 when left out
radius
radius?: number;How far around one in them they are bent, in world units (a cell is one): 1.6 when left out
settle
settle?: number;About how many seconds the wobble takes to settle once nobody moves them: 1.2 when left out
strength
strength?: number;How far they bend, 1 as made, 0 for not at all: 1 when left out
who
who?: 'all' | 'friends' | 'none' | ((walker: CellWalker) => boolean);Who shakes them, of the units the player sees: all of them (when left out), friends (the player's own and allies'), none, or code. A unit the player does not see never shakes them on this screen: an enemy hidden in a bush does not give itself away, unless the rules tell of it (ConcealmentOptions.rustle, the tell of a hero arena game's brush), which shakes them wherever it is told