2025-07-18 09:57:28 +07:00

7.8 KiB

sidebar_position
sidebar_position
1

Respin Controller

Index

Properties

  • timeoutStartRespin Object | null Timeout handler for initiating respin.
  • isPaused Boolean Indicates whether the controller is paused.
  • waiter Object | null Handles timing-related waiting.

Methods

Details

Properties

timeoutStartRespin

Timeout handler for initiating respin.

meta description
Type Object | null
Defined in p4f-slotty-core/src/controller/respin-controller.js#L15

isPaused

Indicates whether the controller is paused.

meta description
Type Boolean
Defined in p4f-slotty-core/src/controller/respin-controller.js#L16

waiter

Handles timing-related waiting.

meta description
Type Object | null
Defined in p4f-slotty-core/src/controller/respin-controller.js#L17

Methods

_start

Initializes respin-related values from input data.

meta description
Defined in p4f-slotty-core/src/controller/respin-controller.js#L22

_complete

Cleans up waiting logic and resets the model.

meta description
Defined in p4f-slotty-core/src/controller/respin-controller.js#L29

_registerEvent

Registers all necessary events for the respin controller.

meta description
Defined in p4f-slotty-core/src/controller/respin-controller.js#L39

onRespinReady

Handles respin-ready state. Triggers respin after a delay.

meta description
Defined in p4f-slotty-core/src/controller/respin-controller.js#L50

onStartFeatureGameClicked

Handles logic when the feature game start is clicked.

meta description
Defined in p4f-slotty-core/src/controller/respin-controller.js#L59

onPresentFeatureTriggerCompleted

Handles logic after a present feature trigger finishes.

meta description
Defined in p4f-slotty-core/src/controller/respin-controller.js#L67

Parameters

onSpinEnd

Processes logic at the end of a spin, including retrigger check.

meta description
Defined in p4f-slotty-core/src/controller/respin-controller.js#L77

respinEnd

Triggers final respin result notification.

meta description
Defined in p4f-slotty-core/src/controller/respin-controller.js#L92

onRespinDataReceived

Updates model state when server sends respin data.

meta description
Defined in p4f-slotty-core/src/controller/respin-controller.js#L104

Parameters

onPickupItemReceived

Processes pickup-related bonus or extra respin data.

meta description
Defined in p4f-slotty-core/src/controller/respin-controller.js#L115

Parameters

respin

Core logic to trigger or end respin based on model/game state.

meta description
Defined in p4f-slotty-core/src/controller/respin-controller.js#L129