18 lines
612 B
Markdown
18 lines
612 B
Markdown
---
|
|
sidebar_position: 2
|
|
---
|
|
|
|
# EndRoundModel
|
|
|
|
## Overview
|
|
|
|
`EndRoundModel` is a model class for managing the end-of-round logic in the slot machine game. It extends the base model class and is responsible for handling the visual representation and UI logic related to the end of a spin.
|
|
|
|
## Description
|
|
|
|
* Initializes a new instance of `EndRoundModel`.
|
|
* Calls the base model constructor.
|
|
* Handles end-of-round events and updates the UI accordingly.
|
|
|
|
[Source code reference](https://gitea.plp19.com/cocos-core/p4f-slotty-core/src/commit/7fbf58bf2ad8edec4258757b353151b638c96652/src/model/end-round-model.js#L5)
|