Skip to content

Interface: Stats

Represents the stats of a player.

Table of contents

Properties

Properties

level

level: string

Name of the level the stats are for.


lowerIsBetter

Optional lowerIsBetter: boolean

Whether a lower value is a better value for this stat. Ex: time to complete a level.


period

Optional period: StatPeriod

The period of time over which the stat is tracked.


value

value: number

The value of the stat.


valueType

Optional valueType: StatValueType

The type of stat this value represents.