aboutsummaryrefslogtreecommitdiff
path: root/internal/casino/table.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/casino/table.go')
-rw-r--r--internal/casino/table.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/internal/casino/table.go b/internal/casino/table.go
index 4be60a0..e3104ae 100644
--- a/internal/casino/table.go
+++ b/internal/casino/table.go
@@ -50,11 +50,12 @@ func (b *tableBase) playerAction(name, publicMessage, privateMessage string) Eve
}
// betMenuEvent builds the shared "place your bet" menu heading for a table
-// game; only the menu kind and command list differ per game.
-func (b *tableBase) betMenuEvent(name string, kind MenuKind, commands []MenuCommand) Event {
- e := b.private(name, fmt.Sprintf("New %s hand! Place your bet.", b.Config.Game))
+// game; only the command list differs per game.
+func (b *tableBase) betMenuEvent(name string, commands []MenuCommand) Event {
+ heading := fmt.Sprintf("New %s hand! Place your bet.", b.Config.Game)
+ e := b.private(name, heading)
e.Color = "casino_menu"
- e.Menu = &MenuView{Kind: kind, Commands: commands}
+ e.Menu = &MenuView{Heading: heading, ShowBalance: true, Commands: commands}
return e
}