add after spin controller

This commit is contained in:
Nguyen Ngoc Thanh 2025-07-15 11:00:27 +07:00
parent 5e7d8fdf4b
commit ceeb5a2f27
7 changed files with 54 additions and 4 deletions

View File

@ -6,6 +6,9 @@ sidebar_position: 0
# Slot Game API
## Slot Game Machine
* [Initialize Controller](slot-machine/initialize-controller)
* [Initialize](slot-machine/initialize-controller)
* [Balance](category/balance)
* [Bet](category/bet)
* [Bet](category/bet)
* [Spin](category/spin)
* [After Spin](category/after-spin)
* [Auto Spin](category/after-spin)

View File

@ -0,0 +1,18 @@
{
"position": 5,
"label": "After Spin",
"collapsible": true,
"collapsed": true,
"link": {
"type": "generated-index",
"title": "After Spin",
"description": "This section will guide you through the process of setting up a new project, including creating a new repository and configuring your development environment.",
"keywords": [
"controller",
"project",
"repository",
"model",
"afterspin"
]
}
}

View File

@ -0,0 +1,19 @@
---
sidebar_position: 1
---
# After Spin Controller
## Index
### Methods
* [transitionToNextState](#transitiontonextstate) Check the condition and move to the next state.
## Details
#### transitionToNextState
> Check the condition and move to the next state.<br/>
| meta | description |
| :--- | :---------- |
| Defined in | [p4f-slotty-core/src/controller/after-spin-controller.js:21](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/branch/develop/src/controller/after-spin-controller.js#L21)|

View File

@ -0,0 +1,5 @@
---
sidebar_position: 2
---
# After Spin Model

View File

@ -0,0 +1,5 @@
---
sidebar_position: 3
---
# After Spin View

View File

@ -1,5 +1,5 @@
---
sidebar_position: 2
sidebar_position: 1
---
# Balance Controller

View File

@ -1,5 +1,5 @@
---
sidebar_position: 2
sidebar_position: 3
---
# Balance View