From a2cbc04f86508708daa09affa5e9d73cc689b2ba Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 3 Aug 2026 17:15:50 -0400 Subject: feat: new color 'command', color tag system implemented --- internal/casino/types.go | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'internal/casino/types.go') diff --git a/internal/casino/types.go b/internal/casino/types.go index c28b471..52c4bfa 100644 --- a/internal/casino/types.go +++ b/internal/casino/types.go @@ -181,10 +181,18 @@ const ( // presentation layer can enrich it (balances, command colors) without parsing // message prefixes. type MenuView struct { - Kind MenuKind - Body string // command list (MenuSlotCommands) - Title string // prompt heading (MenuBlackjackTurn) - Actions []string // available commands (MenuBlackjackTurn) + Kind MenuKind + Body string // command list (MenuSlotCommands) + Title string // prompt heading (MenuBlackjackTurn) + Actions []string // available commands (MenuBlackjackTurn) + Commands []MenuCommand // unified command list for all casino menus +} + +// MenuCommand is one selectable command shown in a casino menu: the typed +// command text plus a short human-readable description. +type MenuCommand struct { + Command string + Desc string } type Event struct { -- cgit v1.2.3