Score interface

Score controls and events.

Allows partners to display high scores within the platform.

WARNING: if the score API is used, onChange must be called before calling GameSnacks.init.

Signature

interface Score

Method signatures

Name Description
onChange(handler) Sets the handler for when the score changes.