Options
All
  • Public
  • Public/Protected
  • All
Menu

shell FullGameResult

The Full Result Data resulting from player's game

It is given back to the Shell (on onFinish) upon game over

Summary

Properties

Optional data

data: any

can set game specific data, like player's achievements

duration

duration: number

the duration of the game in milliseconds

recordedInput

recordedInput: string

saved inputs from the game represented as string

score

score: number

represents the score achieved by the player (integer)

seed1

seed1: number

part 1 of the seed used to generate random numbers (an integer)

seed2

seed2: number

part 2 of the seed used to generate random numbers (an integer)