2025-07-14 17:20:20 +07:00

2.4 KiB

sidebar_position
sidebar_position
1

End Round Controller

Index

Methods


Details

Methods

_registerEvent

Registers the required network event listeners.

meta description
Defined in p4f-slotty-core/src/controller/end-round-controller.js#L15

_unregisterEvent

Unregisters previously attached network event listeners.

meta description
Defined in p4f-slotty-core/src/controller/end-round-controller.js#L21

_start

Starts the controller logic to wait for round end and trigger collect.

meta description
Defined in p4f-slotty-core/src/controller/end-round-controller.js#L27

onCollectDataReceived

Handles data received from network when collect is ready. Triggers automatic state transition.

meta description
Defined in p4f-slotty-core/src/controller/end-round-controller.js#L37

autoTransitionNextState

Moves the game to next state or round-over depending on result.

meta description
Defined in p4f-slotty-core/src/controller/end-round-controller.js#L42