stanceButtons beta
Function of @v12-engine/client
ts
export declare function stanceButtons(options?: StanceButtonsOptions): (context: CardContext) => GameButton[];The buttons of the command card that put the selected units in a stance, for GameView.hud.cardButtons (cardButtons: stanceButtons(), or spread beside the game's own). Shown with a selection of the player's fighting units: one button on the root opens them as a menu of the card's, where there is one a stance, the stance they are in (the first of them) marked, each sending the engine's stance command; opener: false puts the four on the root themselves