KeysList beta
Function of @v12-engine/client/hud
ts
export declare function KeysList<C>(props: {
keys: Actions<C>;
when?: Record<string, string>;
applies?: (def: ActionDef<C>) => boolean;
last?: (def: ActionDef<C>) => boolean;
}): import("solid-js").JSX.Element;The keys, for the player to put where they like (client.keys): every action under its heading with the keys it is on, each to take off, another to add by pressing it, and the way back to the keys it comes with. Two actions on one key are said. A key is the place it has on the keyboard, shown as the player's keyboard has it.
Any set of actions is listed so: the map editor's are (editor.keys). when gives the words for when an action counts (ActionDef.when), where they are not the game's own