Skip to content

HudShareRule beta ​

TypeAlias of @v12-engine/engine

ts
export type HudShareRule<T> = T | ((world: World, entity: Entity) => T);

A rule of HudSharing: one value for every unit, or a function deciding it for each (only heroes', only a boss's)