diff options
Diffstat (limited to 'internal/casino/video_poker_config.go')
| -rw-r--r-- | internal/casino/video_poker_config.go | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/internal/casino/video_poker_config.go b/internal/casino/video_poker_config.go index 918fed3..78a772d 100644 --- a/internal/casino/video_poker_config.go +++ b/internal/casino/video_poker_config.go @@ -130,20 +130,24 @@ func variantTitle(v string) string { } return v } -func (c VideoPokerConfig) CabinetLabel() string { +func (c VideoPokerConfig) CabinetName() string { c = c.Normalize() - label := "Classic Video Poker" switch c.Cabinet { case CabinetUXSingle: - label = "Ultimate X Single Line" + return "Ultimate X Single Line" case CabinetUXMulti: - label = "Ultimate X Multi-Hand" + return "Ultimate X Multi-Hand" case CabinetSuperTimesPay: - label = "Super Times Pay" + return "Super Times Pay" case CabinetHotRoll: - label = "Hot Roll" + return "Hot Roll" } - return label + " / " + c.Payout + " pay" + return "Classic Video Poker" +} + +func (c VideoPokerConfig) CabinetLabel() string { + c = c.Normalize() + return c.CabinetName() + " / " + c.Payout + " pay" } func (c VideoPokerConfig) Normalize() VideoPokerConfig { if c.Cabinet == "" { |
