pixi-wheels

WheelConfig

pixi-wheels


pixi-wheels / index / WheelConfig

Interface: WheelConfig

Defined in: core/WheelConfig.ts:46

A whole wheel as JSON. What the studio exports, what WheelBuilder.fromConfig() builds from, and what builder.toConfig() gives back. Asset references (textures, Spine aliases) are string keys resolved at build time.

Properties#

PropertyTypeDescriptionDefined in
adapter?TargetAdapterConfigHow to read a target out of the game server’s response. Informational for the library; the studio’s example uses it.core/WheelConfig.ts:58
direction?SpinDirection-core/WheelConfig.ts:50
idle?IdleConfig-core/WheelConfig.ts:55
initialSpeed?string-core/WheelConfig.ts:52
landing?LandingOptions-core/WheelConfig.ts:53
name?stringHuman name, for the studio’s gallery.core/WheelConfig.ts:49
ringsRingConfig[]-core/WheelConfig.ts:56
skip?SkipConfig-core/WheelConfig.ts:54
speeds?Record<string, SpinProfile>-core/WheelConfig.ts:51
version1-core/WheelConfig.ts:47