Skip to content

clientActions beta ​

Function of @v12-engine/client

ts
export declare function clientActions(view: GameView): ActionDef<GameClientApi>[];

The client's own actions for a game, as its view has the keys of the card and of heroes (GameView.hud.card, GameView.input.keys). What the game says of the actions themselves (keys.actions) is not in it: see actionsOf