16 lines
644 B
Markdown
16 lines
644 B
Markdown
---
|
|
sidebar_position: 2
|
|
---
|
|
|
|
# Take Or Gamble Model
|
|
|
|
## Overview
|
|
|
|
`Take Or Gamble Model` is a model class for the "Take or Gamble" feature in the slot game. It extends the base model class and manages the logic and state for handling win events, including the decision to take winnings or gamble for more.
|
|
|
|
## Description
|
|
|
|
- Initializes a new instance of `Take Or Gamble Model`.
|
|
- Calls the base model constructor.
|
|
- Handles UI logic and state for the "Take or Gamble" feature.
|
|
- [Source code reference](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/commit/7fbf58bf2ad8edec4258757b353151b638c96652/src/model/take-or-gamble-model.js#L5) |