4.1 KiB
4.1 KiB
sidebar_position
sidebar_position |
---|
1 |
Bonus Game Controller
Index
Methods
- registerEvent Registers bonus game related events.
- unregisterEvent Unregisters bonus game related events.
- onEnterBonus Handles entry into the bonus game.
- onBonusReady Called when bonus game is ready to start.
- onBonusDataReceived Handles data received from the server for bonus game.
- setStartBonusData Initializes model with starting bonus data.
- startBonusGame Starts the bonus game.
- endBonusGame Ends the bonus game and notifies results.
- requestBonus Sends the bonus selection to the game controller.
- setBonusData Sets bonus data in the model.
Details
registerEvent
Registers bonus game related events
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bonus-game-controller.js#L17 |
unregisterEvent
Unregisters bonus game related events.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bonus-game-controller.js#L26 |
onEnterBonus
Handles entry into the bonus game.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bonus-game-controller.js#L35 |
onBonusReady
Called when bonus game is ready to start.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bonus-game-controller.js#L43 |
onBonusDataReceived
Handles data received from the server for bonus
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bonus-game-controller.js#L51 |
setStartBonusData
Initializes model with starting bonus data.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bonus-game-controller.js#L59 |
startBonusGame
Starts the bonus game.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bonus-game-controller.js#L73 |
endBonusGame
Ends the bonus game and notifies results.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bonus-game-controller.js#L79 |
requestBonus
Sends the bonus selection to the game controller.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bonus-game-controller.js#L90 |
setBonusData
Sets bonus data in the model.
meta | description |
---|---|
Defined in | p4f-slotty-core/src/controller/bonus-game-controller.js#L99 |