stanceBadge beta
Function of @v12-engine/client
ts
export declare function stanceBadge(entity: EntityView, stances?: readonly StanceDef[]): BadgeWidget | undefined;A badge for a unit's plate saying its stance, for a unit in any but the default: its name's first letter in the owner's colour. Nothing for the default stance, so the plate stays as it was