1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-11 17:21:51 +00:00
tobspr_shapez.io/docs/ast/source/states/ingame.js.json
2021-02-26 15:20:37 +01:00

66183 lines
1.7 MiB

{
"type": "File",
"start": 0,
"end": 13660,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 471,
"column": 1
}
},
"program": {
"type": "Program",
"start": 0,
"end": 13660,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 471,
"column": 1
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 66,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 66
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 34
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 34
},
"identifierName": "APPLICATION_ERROR_OCCURED"
},
"name": "APPLICATION_ERROR_OCCURED"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 34
},
"identifierName": "APPLICATION_ERROR_OCCURED"
},
"name": "APPLICATION_ERROR_OCCURED"
}
}
],
"source": {
"type": "StringLiteral",
"start": 42,
"end": 65,
"loc": {
"start": {
"line": 1,
"column": 42
},
"end": {
"line": 1,
"column": 65
}
},
"extra": {
"rawValue": "../core/error_handler",
"raw": "\"../core/error_handler\""
},
"value": "../core/error_handler"
}
},
{
"type": "ImportDeclaration",
"start": 68,
"end": 115,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 47
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 77,
"end": 86,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 18
}
},
"imported": {
"type": "Identifier",
"start": 77,
"end": 86,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 18
},
"identifierName": "GameState"
},
"name": "GameState"
},
"local": {
"type": "Identifier",
"start": 77,
"end": 86,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 18
},
"identifierName": "GameState"
},
"name": "GameState"
}
}
],
"source": {
"type": "StringLiteral",
"start": 94,
"end": 114,
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 46
}
},
"extra": {
"rawValue": "../core/game_state",
"raw": "\"../core/game_state\""
},
"value": "../core/game_state"
}
},
{
"type": "ImportDeclaration",
"start": 117,
"end": 176,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 59
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 126,
"end": 136,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 19
}
},
"imported": {
"type": "Identifier",
"start": 126,
"end": 136,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 19
},
"identifierName": "logSection"
},
"name": "logSection"
},
"local": {
"type": "Identifier",
"start": 126,
"end": 136,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 19
},
"identifierName": "logSection"
},
"name": "logSection"
}
},
{
"type": "ImportSpecifier",
"start": 138,
"end": 150,
"loc": {
"start": {
"line": 3,
"column": 21
},
"end": {
"line": 3,
"column": 33
}
},
"imported": {
"type": "Identifier",
"start": 138,
"end": 150,
"loc": {
"start": {
"line": 3,
"column": 21
},
"end": {
"line": 3,
"column": 33
},
"identifierName": "createLogger"
},
"name": "createLogger"
},
"local": {
"type": "Identifier",
"start": 138,
"end": 150,
"loc": {
"start": {
"line": 3,
"column": 21
},
"end": {
"line": 3,
"column": 33
},
"identifierName": "createLogger"
},
"name": "createLogger"
}
}
],
"source": {
"type": "StringLiteral",
"start": 158,
"end": 175,
"loc": {
"start": {
"line": 3,
"column": 41
},
"end": {
"line": 3,
"column": 58
}
},
"extra": {
"rawValue": "../core/logging",
"raw": "\"../core/logging\""
},
"value": "../core/logging"
}
},
{
"type": "ImportDeclaration",
"start": 178,
"end": 224,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 46
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 187,
"end": 200,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 22
}
},
"imported": {
"type": "Identifier",
"start": 187,
"end": 200,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 22
},
"identifierName": "waitNextFrame"
},
"name": "waitNextFrame"
},
"local": {
"type": "Identifier",
"start": 187,
"end": 200,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 22
},
"identifierName": "waitNextFrame"
},
"name": "waitNextFrame"
}
}
],
"source": {
"type": "StringLiteral",
"start": 208,
"end": 223,
"loc": {
"start": {
"line": 4,
"column": 30
},
"end": {
"line": 4,
"column": 45
}
},
"extra": {
"rawValue": "../core/utils",
"raw": "\"../core/utils\""
},
"value": "../core/utils"
}
},
{
"type": "ImportDeclaration",
"start": 226,
"end": 272,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 46
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 235,
"end": 247,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 235,
"end": 247,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 21
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"local": {
"type": "Identifier",
"start": 235,
"end": 247,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 21
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
}
}
],
"source": {
"type": "StringLiteral",
"start": 255,
"end": 271,
"loc": {
"start": {
"line": 5,
"column": 29
},
"end": {
"line": 5,
"column": 45
}
},
"extra": {
"rawValue": "../core/config",
"raw": "\"../core/config\""
},
"value": "../core/config"
}
},
{
"type": "ImportDeclaration",
"start": 274,
"end": 340,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 66
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 283,
"end": 301,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 27
}
},
"imported": {
"type": "Identifier",
"start": 283,
"end": 301,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 27
},
"identifierName": "GameLoadingOverlay"
},
"name": "GameLoadingOverlay"
},
"local": {
"type": "Identifier",
"start": 283,
"end": 301,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 27
},
"identifierName": "GameLoadingOverlay"
},
"name": "GameLoadingOverlay"
}
}
],
"source": {
"type": "StringLiteral",
"start": 309,
"end": 339,
"loc": {
"start": {
"line": 6,
"column": 35
},
"end": {
"line": 6,
"column": 65
}
},
"extra": {
"rawValue": "../game/game_loading_overlay",
"raw": "\"../game/game_loading_overlay\""
},
"value": "../game/game_loading_overlay"
}
},
{
"type": "ImportDeclaration",
"start": 342,
"end": 402,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 60
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 351,
"end": 366,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 351,
"end": 366,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 24
},
"identifierName": "KeyActionMapper"
},
"name": "KeyActionMapper"
},
"local": {
"type": "Identifier",
"start": 351,
"end": 366,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 24
},
"identifierName": "KeyActionMapper"
},
"name": "KeyActionMapper"
}
}
],
"source": {
"type": "StringLiteral",
"start": 374,
"end": 401,
"loc": {
"start": {
"line": 7,
"column": 32
},
"end": {
"line": 7,
"column": 59
}
},
"extra": {
"rawValue": "../game/key_action_mapper",
"raw": "\"../game/key_action_mapper\""
},
"value": "../game/key_action_mapper"
}
},
{
"type": "ImportDeclaration",
"start": 404,
"end": 452,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 48
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 413,
"end": 421,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 17
}
},
"imported": {
"type": "Identifier",
"start": 413,
"end": 421,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 17
},
"identifierName": "Savegame"
},
"name": "Savegame"
},
"local": {
"type": "Identifier",
"start": 413,
"end": 421,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 17
},
"identifierName": "Savegame"
},
"name": "Savegame"
}
}
],
"source": {
"type": "StringLiteral",
"start": 429,
"end": 451,
"loc": {
"start": {
"line": 8,
"column": 25
},
"end": {
"line": 8,
"column": 47
}
},
"extra": {
"rawValue": "../savegame/savegame",
"raw": "\"../savegame/savegame\""
},
"value": "../savegame/savegame"
}
},
{
"type": "ImportDeclaration",
"start": 454,
"end": 494,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 40
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 463,
"end": 471,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 17
}
},
"imported": {
"type": "Identifier",
"start": 463,
"end": 471,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 17
},
"identifierName": "GameCore"
},
"name": "GameCore"
},
"local": {
"type": "Identifier",
"start": 463,
"end": 471,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 17
},
"identifierName": "GameCore"
},
"name": "GameCore"
}
}
],
"source": {
"type": "StringLiteral",
"start": 479,
"end": 493,
"loc": {
"start": {
"line": 9,
"column": 25
},
"end": {
"line": 9,
"column": 39
}
},
"extra": {
"rawValue": "../game/core",
"raw": "\"../game/core\""
},
"value": "../game/core"
}
},
{
"type": "ImportDeclaration",
"start": 496,
"end": 538,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 42
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 505,
"end": 510,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 14
}
},
"imported": {
"type": "Identifier",
"start": 505,
"end": 510,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 14
},
"identifierName": "MUSIC"
},
"name": "MUSIC"
},
"local": {
"type": "Identifier",
"start": 505,
"end": 510,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 14
},
"identifierName": "MUSIC"
},
"name": "MUSIC"
}
}
],
"source": {
"type": "StringLiteral",
"start": 518,
"end": 537,
"loc": {
"start": {
"line": 10,
"column": 22
},
"end": {
"line": 10,
"column": 41
}
},
"extra": {
"rawValue": "../platform/sound",
"raw": "\"../platform/sound\""
},
"value": "../platform/sound"
}
},
{
"type": "VariableDeclaration",
"start": 542,
"end": 586,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 548,
"end": 585,
"loc": {
"start": {
"line": 12,
"column": 6
},
"end": {
"line": 12,
"column": 43
}
},
"id": {
"type": "Identifier",
"start": 548,
"end": 554,
"loc": {
"start": {
"line": 12,
"column": 6
},
"end": {
"line": 12,
"column": 12
},
"identifierName": "logger"
},
"name": "logger"
},
"init": {
"type": "CallExpression",
"start": 557,
"end": 585,
"loc": {
"start": {
"line": 12,
"column": 15
},
"end": {
"line": 12,
"column": 43
}
},
"callee": {
"type": "Identifier",
"start": 557,
"end": 569,
"loc": {
"start": {
"line": 12,
"column": 15
},
"end": {
"line": 12,
"column": 27
},
"identifierName": "createLogger"
},
"name": "createLogger"
},
"arguments": [
{
"type": "StringLiteral",
"start": 570,
"end": 584,
"loc": {
"start": {
"line": 12,
"column": 28
},
"end": {
"line": 12,
"column": 42
}
},
"extra": {
"rawValue": "state/ingame",
"raw": "\"state/ingame\""
},
"value": "state/ingame"
}
]
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Different sub-states",
"start": 590,
"end": 613,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 23
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 615,
"end": 1134,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 29,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 621,
"end": 1133,
"loc": {
"start": {
"line": 15,
"column": 6
},
"end": {
"line": 29,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 621,
"end": 627,
"loc": {
"start": {
"line": 15,
"column": 6
},
"end": {
"line": 15,
"column": 12
},
"identifierName": "stages"
},
"name": "stages",
"leadingComments": null
},
"init": {
"type": "ObjectExpression",
"start": 630,
"end": 1133,
"loc": {
"start": {
"line": 15,
"column": 15
},
"end": {
"line": 29,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 637,
"end": 671,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 38
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 637,
"end": 650,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 17
},
"identifierName": "s3_createCore"
},
"name": "s3_createCore"
},
"value": {
"type": "StringLiteral",
"start": 652,
"end": 671,
"loc": {
"start": {
"line": 16,
"column": 19
},
"end": {
"line": 16,
"column": 38
}
},
"extra": {
"rawValue": "🌈 3: Create core",
"raw": "\"🌈 3: Create core\""
},
"value": "🌈 3: Create core"
}
},
{
"type": "ObjectProperty",
"start": 678,
"end": 723,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 49
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 678,
"end": 696,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 22
},
"identifierName": "s4_A_initEmptyGame"
},
"name": "s4_A_initEmptyGame"
},
"value": {
"type": "StringLiteral",
"start": 698,
"end": 723,
"loc": {
"start": {
"line": 17,
"column": 24
},
"end": {
"line": 17,
"column": 49
}
},
"extra": {
"rawValue": "🌈 4/A: Init empty game",
"raw": "\"🌈 4/A: Init empty game\""
},
"value": "🌈 4/A: Init empty game"
}
},
{
"type": "ObjectProperty",
"start": 730,
"end": 768,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 42
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 730,
"end": 745,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 19
},
"identifierName": "s4_B_resumeGame"
},
"name": "s4_B_resumeGame"
},
"value": {
"type": "StringLiteral",
"start": 747,
"end": 768,
"loc": {
"start": {
"line": 18,
"column": 21
},
"end": {
"line": 18,
"column": 42
}
},
"extra": {
"rawValue": "🌈 4/B: Resume game",
"raw": "\"🌈 4/B: Resume game\""
},
"value": "🌈 4/B: Resume game"
}
},
{
"type": "ObjectProperty",
"start": 777,
"end": 818,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 45
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 777,
"end": 791,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 18
},
"identifierName": "s5_firstUpdate"
},
"name": "s5_firstUpdate"
},
"value": {
"type": "StringLiteral",
"start": 793,
"end": 818,
"loc": {
"start": {
"line": 20,
"column": 20
},
"end": {
"line": 20,
"column": 45
}
},
"extra": {
"rawValue": "🌈 5: First game update",
"raw": "\"🌈 5: First game update\""
},
"value": "🌈 5: First game update"
}
},
{
"type": "ObjectProperty",
"start": 825,
"end": 864,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 43
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 825,
"end": 840,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 19
},
"identifierName": "s6_postLoadHook"
},
"name": "s6_postLoadHook"
},
"value": {
"type": "StringLiteral",
"start": 842,
"end": 864,
"loc": {
"start": {
"line": 21,
"column": 21
},
"end": {
"line": 21,
"column": 43
}
},
"extra": {
"rawValue": "🌈 6: Post load hook",
"raw": "\"🌈 6: Post load hook\""
},
"value": "🌈 6: Post load hook"
}
},
{
"type": "ObjectProperty",
"start": 871,
"end": 896,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 29
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 871,
"end": 880,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 13
},
"identifierName": "s7_warmup"
},
"name": "s7_warmup"
},
"value": {
"type": "StringLiteral",
"start": 882,
"end": 896,
"loc": {
"start": {
"line": 22,
"column": 15
},
"end": {
"line": 22,
"column": 29
}
},
"extra": {
"rawValue": "🌈 7: Warmup",
"raw": "\"🌈 7: Warmup\""
},
"value": "🌈 7: Warmup"
}
},
{
"type": "ObjectProperty",
"start": 905,
"end": 951,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 50
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 905,
"end": 920,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 19
},
"identifierName": "s10_gameRunning"
},
"name": "s10_gameRunning"
},
"value": {
"type": "StringLiteral",
"start": 922,
"end": 951,
"loc": {
"start": {
"line": 24,
"column": 21
},
"end": {
"line": 24,
"column": 50
}
},
"extra": {
"rawValue": "🌈 10: Game finally running",
"raw": "\"🌈 10: Game finally running\""
},
"value": "🌈 10: Game finally running"
}
},
{
"type": "ObjectProperty",
"start": 960,
"end": 1003,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 26,
"column": 47
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 960,
"end": 967,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 26,
"column": 11
},
"identifierName": "leaving"
},
"name": "leaving"
},
"value": {
"type": "StringLiteral",
"start": 969,
"end": 1003,
"loc": {
"start": {
"line": 26,
"column": 13
},
"end": {
"line": 26,
"column": 47
}
},
"extra": {
"rawValue": "🌈 Saving, then leaving the game",
"raw": "\"🌈 Saving, then leaving the game\""
},
"value": "🌈 Saving, then leaving the game"
}
},
{
"type": "ObjectProperty",
"start": 1010,
"end": 1076,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 70
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1010,
"end": 1019,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 13
},
"identifierName": "destroyed"
},
"name": "destroyed"
},
"value": {
"type": "StringLiteral",
"start": 1021,
"end": 1076,
"loc": {
"start": {
"line": 27,
"column": 15
},
"end": {
"line": 27,
"column": 70
}
},
"extra": {
"rawValue": "🌈 DESTROYED: Core is empty and waits for state leave",
"raw": "\"🌈 DESTROYED: Core is empty and waits for state leave\""
},
"value": "🌈 DESTROYED: Core is empty and waits for state leave"
}
},
{
"type": "ObjectProperty",
"start": 1083,
"end": 1129,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 28,
"column": 50
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1083,
"end": 1093,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 28,
"column": 14
},
"identifierName": "initFailed"
},
"name": "initFailed"
},
"value": {
"type": "StringLiteral",
"start": 1095,
"end": 1129,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 50
}
},
"extra": {
"rawValue": "🌈 ERROR: Initialization failed!",
"raw": "\"🌈 ERROR: Initialization failed!\""
},
"value": "🌈 ERROR: Initialization failed!"
}
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Different sub-states",
"start": 590,
"end": 613,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 23
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 1138,
"end": 1227,
"loc": {
"start": {
"line": 31,
"column": 0
},
"end": {
"line": 34,
"column": 2
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 1145,
"end": 1227,
"loc": {
"start": {
"line": 31,
"column": 7
},
"end": {
"line": 34,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1151,
"end": 1226,
"loc": {
"start": {
"line": 31,
"column": 13
},
"end": {
"line": 34,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 1151,
"end": 1169,
"loc": {
"start": {
"line": 31,
"column": 13
},
"end": {
"line": 31,
"column": 31
},
"identifierName": "gameCreationAction"
},
"name": "gameCreationAction"
},
"init": {
"type": "ObjectExpression",
"start": 1172,
"end": 1226,
"loc": {
"start": {
"line": 31,
"column": 34
},
"end": {
"line": 34,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1179,
"end": 1194,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 19
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1179,
"end": 1182,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 7
},
"identifierName": "new"
},
"name": "new"
},
"value": {
"type": "StringLiteral",
"start": 1184,
"end": 1194,
"loc": {
"start": {
"line": 32,
"column": 9
},
"end": {
"line": 32,
"column": 19
}
},
"extra": {
"rawValue": "new-game",
"raw": "\"new-game\""
},
"value": "new-game"
}
},
{
"type": "ObjectProperty",
"start": 1201,
"end": 1222,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1201,
"end": 1207,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 10
},
"identifierName": "resume"
},
"name": "resume"
},
"value": {
"type": "StringLiteral",
"start": 1209,
"end": 1222,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 25
}
},
"extra": {
"rawValue": "resume-game",
"raw": "\"resume-game\""
},
"value": "resume-game"
}
}
]
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Typehints",
"start": 1231,
"end": 1243,
"loc": {
"start": {
"line": 36,
"column": 0
},
"end": {
"line": 36,
"column": 12
}
}
}
],
"leadingComments": []
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Typehints",
"start": 1231,
"end": 1243,
"loc": {
"start": {
"line": 36,
"column": 0
},
"end": {
"line": 36,
"column": 12
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 1245,
"end": 1436,
"loc": {
"start": {
"line": 37,
"column": 0
},
"end": {
"line": 45,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 1252,
"end": 1436,
"loc": {
"start": {
"line": 37,
"column": 7
},
"end": {
"line": 45,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 1258,
"end": 1277,
"loc": {
"start": {
"line": 37,
"column": 13
},
"end": {
"line": 37,
"column": 32
},
"identifierName": "GameCreationPayload"
},
"name": "GameCreationPayload",
"leadingComments": null
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 1278,
"end": 1436,
"loc": {
"start": {
"line": 37,
"column": 33
},
"end": {
"line": 45,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 1285,
"end": 1433,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 44,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1285,
"end": 1296,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 38,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1299,
"end": 1433,
"loc": {
"start": {
"line": 38,
"column": 18
},
"end": {
"line": 44,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1352,
"end": 1367,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 23
}
},
"expression": {
"type": "MemberExpression",
"start": 1352,
"end": 1366,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 1352,
"end": 1356,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1357,
"end": 1366,
"loc": {
"start": {
"line": 40,
"column": 13
},
"end": {
"line": 40,
"column": 22
},
"identifierName": "fastEnter"
},
"name": "fastEnter"
},
"computed": false,
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {boolean|undefined} ",
"start": 1310,
"end": 1342,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 40
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @type {Savegame} ",
"start": 1379,
"end": 1402,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 31
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1412,
"end": 1426,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 22
}
},
"expression": {
"type": "MemberExpression",
"start": 1412,
"end": 1425,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 1412,
"end": 1416,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1417,
"end": 1425,
"loc": {
"start": {
"line": 43,
"column": 13
},
"end": {
"line": 43,
"column": 21
},
"identifierName": "savegame"
},
"name": "savegame"
},
"computed": false,
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {Savegame} ",
"start": 1379,
"end": 1402,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 31
}
}
}
]
}
],
"directives": []
}
}
]
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Typehints",
"start": 1231,
"end": 1243,
"loc": {
"start": {
"line": 36,
"column": 0
},
"end": {
"line": 36,
"column": 12
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Typehints",
"start": 1231,
"end": 1243,
"loc": {
"start": {
"line": 36,
"column": 0
},
"end": {
"line": 36,
"column": 12
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 1440,
"end": 13660,
"loc": {
"start": {
"line": 47,
"column": 0
},
"end": {
"line": 471,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 1447,
"end": 13660,
"loc": {
"start": {
"line": 47,
"column": 7
},
"end": {
"line": 471,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 1453,
"end": 1464,
"loc": {
"start": {
"line": 47,
"column": 13
},
"end": {
"line": 47,
"column": 24
},
"identifierName": "InGameState"
},
"name": "InGameState"
},
"superClass": {
"type": "Identifier",
"start": 1473,
"end": 1482,
"loc": {
"start": {
"line": 47,
"column": 33
},
"end": {
"line": 47,
"column": 42
},
"identifierName": "GameState"
},
"name": "GameState"
},
"body": {
"type": "ClassBody",
"start": 1483,
"end": 13660,
"loc": {
"start": {
"line": 47,
"column": 43
},
"end": {
"line": 471,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 1490,
"end": 2211,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 76,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1490,
"end": 1501,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 48,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1504,
"end": 2211,
"loc": {
"start": {
"line": 48,
"column": 18
},
"end": {
"line": 76,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1515,
"end": 1536,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 29
}
},
"expression": {
"type": "CallExpression",
"start": 1515,
"end": 1535,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 28
}
},
"callee": {
"type": "Super",
"start": 1515,
"end": 1520,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 13
}
}
},
"arguments": [
{
"type": "StringLiteral",
"start": 1521,
"end": 1534,
"loc": {
"start": {
"line": 49,
"column": 14
},
"end": {
"line": 49,
"column": 27
}
},
"extra": {
"rawValue": "InGameState",
"raw": "\"InGameState\""
},
"value": "InGameState"
}
]
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @type {GameCreationPayload} ",
"start": 1548,
"end": 1582,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 42
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1592,
"end": 1620,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 36
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1592,
"end": 1619,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 35
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1592,
"end": 1612,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 1592,
"end": 1596,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1597,
"end": 1612,
"loc": {
"start": {
"line": 52,
"column": 13
},
"end": {
"line": 52,
"column": 28
},
"identifierName": "creationPayload"
},
"name": "creationPayload"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 1615,
"end": 1619,
"loc": {
"start": {
"line": 52,
"column": 31
},
"end": {
"line": 52,
"column": 35
}
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {GameCreationPayload} ",
"start": 1548,
"end": 1582,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 42
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Stores current stage",
"start": 1632,
"end": 1655,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 31
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1665,
"end": 1681,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 24
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1665,
"end": 1680,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 23
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1665,
"end": 1675,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 1665,
"end": 1669,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1670,
"end": 1675,
"loc": {
"start": {
"line": 55,
"column": 13
},
"end": {
"line": 55,
"column": 18
},
"identifierName": "stage"
},
"name": "stage"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "StringLiteral",
"start": 1678,
"end": 1680,
"loc": {
"start": {
"line": 55,
"column": 21
},
"end": {
"line": 55,
"column": 23
}
},
"extra": {
"rawValue": "",
"raw": "\"\""
},
"value": ""
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Stores current stage",
"start": 1632,
"end": 1655,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 31
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @type {GameCore} ",
"start": 1693,
"end": 1716,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 31
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1726,
"end": 1743,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1726,
"end": 1742,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 24
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1726,
"end": 1735,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 1726,
"end": 1730,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1731,
"end": 1735,
"loc": {
"start": {
"line": 58,
"column": 13
},
"end": {
"line": 58,
"column": 17
},
"identifierName": "core"
},
"name": "core"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 1738,
"end": 1742,
"loc": {
"start": {
"line": 58,
"column": 20
},
"end": {
"line": 58,
"column": 24
}
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {GameCore} ",
"start": 1693,
"end": 1716,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 31
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @type {KeyActionMapper} ",
"start": 1755,
"end": 1785,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 38
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1795,
"end": 1823,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 36
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1795,
"end": 1822,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 35
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1795,
"end": 1815,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 1795,
"end": 1799,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1800,
"end": 1815,
"loc": {
"start": {
"line": 61,
"column": 13
},
"end": {
"line": 61,
"column": 28
},
"identifierName": "keyActionMapper"
},
"name": "keyActionMapper"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 1818,
"end": 1822,
"loc": {
"start": {
"line": 61,
"column": 31
},
"end": {
"line": 61,
"column": 35
}
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {KeyActionMapper} ",
"start": 1755,
"end": 1785,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 38
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @type {GameLoadingOverlay} ",
"start": 1835,
"end": 1868,
"loc": {
"start": {
"line": 63,
"column": 8
},
"end": {
"line": 63,
"column": 41
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1878,
"end": 1905,
"loc": {
"start": {
"line": 64,
"column": 8
},
"end": {
"line": 64,
"column": 35
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1878,
"end": 1904,
"loc": {
"start": {
"line": 64,
"column": 8
},
"end": {
"line": 64,
"column": 34
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1878,
"end": 1897,
"loc": {
"start": {
"line": 64,
"column": 8
},
"end": {
"line": 64,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 1878,
"end": 1882,
"loc": {
"start": {
"line": 64,
"column": 8
},
"end": {
"line": 64,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1883,
"end": 1897,
"loc": {
"start": {
"line": 64,
"column": 13
},
"end": {
"line": 64,
"column": 27
},
"identifierName": "loadingOverlay"
},
"name": "loadingOverlay"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 1900,
"end": 1904,
"loc": {
"start": {
"line": 64,
"column": 30
},
"end": {
"line": 64,
"column": 34
}
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {GameLoadingOverlay} ",
"start": 1835,
"end": 1868,
"loc": {
"start": {
"line": 63,
"column": 8
},
"end": {
"line": 63,
"column": 41
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @type {Savegame} ",
"start": 1917,
"end": 1940,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 31
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1950,
"end": 1971,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1950,
"end": 1970,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 28
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1950,
"end": 1963,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 1950,
"end": 1954,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1955,
"end": 1963,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 21
},
"identifierName": "savegame"
},
"name": "savegame"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 1966,
"end": 1970,
"loc": {
"start": {
"line": 67,
"column": 24
},
"end": {
"line": 67,
"column": 28
}
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {Savegame} ",
"start": 1917,
"end": 1940,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 31
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1983,
"end": 2035,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 60
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1983,
"end": 2034,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 59
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1983,
"end": 2004,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 1983,
"end": 1987,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1988,
"end": 2004,
"loc": {
"start": {
"line": 69,
"column": 13
},
"end": {
"line": 69,
"column": 29
},
"identifierName": "boundInputFilter"
},
"name": "boundInputFilter"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 2007,
"end": 2034,
"loc": {
"start": {
"line": 69,
"column": 32
},
"end": {
"line": 69,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
"start": 2007,
"end": 2028,
"loc": {
"start": {
"line": 69,
"column": 32
},
"end": {
"line": 69,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 2007,
"end": 2023,
"loc": {
"start": {
"line": 69,
"column": 32
},
"end": {
"line": 69,
"column": 48
}
},
"object": {
"type": "ThisExpression",
"start": 2007,
"end": 2011,
"loc": {
"start": {
"line": 69,
"column": 32
},
"end": {
"line": 69,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 2012,
"end": 2023,
"loc": {
"start": {
"line": 69,
"column": 37
},
"end": {
"line": 69,
"column": 48
},
"identifierName": "filterInput"
},
"name": "filterInput"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2024,
"end": 2028,
"loc": {
"start": {
"line": 69,
"column": 49
},
"end": {
"line": 69,
"column": 53
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 2029,
"end": 2033,
"loc": {
"start": {
"line": 69,
"column": 54
},
"end": {
"line": 69,
"column": 58
}
}
}
]
}
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Whether we are currently saving the game\r\n * @TODO: This doesn't realy fit here\r\n ",
"start": 2047,
"end": 2163,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 74,
"column": 11
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 2173,
"end": 2204,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 39
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2173,
"end": 2203,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 38
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2173,
"end": 2196,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 2173,
"end": 2177,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2178,
"end": 2196,
"loc": {
"start": {
"line": 75,
"column": 13
},
"end": {
"line": 75,
"column": 31
},
"identifierName": "currentSavePromise"
},
"name": "currentSavePromise"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 2199,
"end": 2203,
"loc": {
"start": {
"line": 75,
"column": 34
},
"end": {
"line": 75,
"column": 38
}
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Whether we are currently saving the game\r\n * @TODO: This doesn't realy fit here\r\n ",
"start": 2047,
"end": 2163,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 74,
"column": 11
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Switches the game into another sub-state\r\n * @param {string} stage\r\n ",
"start": 2219,
"end": 2310,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 81,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2316,
"end": 2624,
"loc": {
"start": {
"line": 82,
"column": 4
},
"end": {
"line": 92,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2316,
"end": 2327,
"loc": {
"start": {
"line": 82,
"column": 4
},
"end": {
"line": 82,
"column": 15
},
"identifierName": "switchStage"
},
"name": "switchStage",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2328,
"end": 2333,
"loc": {
"start": {
"line": 82,
"column": 16
},
"end": {
"line": 82,
"column": 21
},
"identifierName": "stage"
},
"name": "stage"
}
],
"body": {
"type": "BlockStatement",
"start": 2335,
"end": 2624,
"loc": {
"start": {
"line": 82,
"column": 23
},
"end": {
"line": 92,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2346,
"end": 2379,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 41
}
},
"expression": {
"type": "CallExpression",
"start": 2346,
"end": 2378,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 40
}
},
"callee": {
"type": "Identifier",
"start": 2346,
"end": 2352,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "Identifier",
"start": 2353,
"end": 2358,
"loc": {
"start": {
"line": 83,
"column": 15
},
"end": {
"line": 83,
"column": 20
},
"identifierName": "stage"
},
"name": "stage"
},
{
"type": "StringLiteral",
"start": 2360,
"end": 2377,
"loc": {
"start": {
"line": 83,
"column": 22
},
"end": {
"line": 83,
"column": 39
}
},
"extra": {
"rawValue": "Got empty stage",
"raw": "\"Got empty stage\""
},
"value": "Got empty stage"
}
]
}
},
{
"type": "IfStatement",
"start": 2389,
"end": 2617,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 91,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 2393,
"end": 2413,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 32
}
},
"left": {
"type": "Identifier",
"start": 2393,
"end": 2398,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 17
},
"identifierName": "stage"
},
"name": "stage"
},
"operator": "!==",
"right": {
"type": "MemberExpression",
"start": 2403,
"end": 2413,
"loc": {
"start": {
"line": 84,
"column": 22
},
"end": {
"line": 84,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 2403,
"end": 2407,
"loc": {
"start": {
"line": 84,
"column": 22
},
"end": {
"line": 84,
"column": 26
}
}
},
"property": {
"type": "Identifier",
"start": 2408,
"end": 2413,
"loc": {
"start": {
"line": 84,
"column": 27
},
"end": {
"line": 84,
"column": 32
},
"identifierName": "stage"
},
"name": "stage"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2415,
"end": 2523,
"loc": {
"start": {
"line": 84,
"column": 34
},
"end": {
"line": 88,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2430,
"end": 2449,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 31
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2430,
"end": 2448,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 30
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2430,
"end": 2440,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 2430,
"end": 2434,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2435,
"end": 2440,
"loc": {
"start": {
"line": 85,
"column": 17
},
"end": {
"line": 85,
"column": 22
},
"identifierName": "stage"
},
"name": "stage"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 2443,
"end": 2448,
"loc": {
"start": {
"line": 85,
"column": 25
},
"end": {
"line": 85,
"column": 30
},
"identifierName": "stage"
},
"name": "stage"
}
}
},
{
"type": "ExpressionStatement",
"start": 2463,
"end": 2486,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 2463,
"end": 2485,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 2463,
"end": 2473,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 2463,
"end": 2469,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 2470,
"end": 2473,
"loc": {
"start": {
"line": 86,
"column": 19
},
"end": {
"line": 86,
"column": 22
},
"identifierName": "log"
},
"name": "log"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2474,
"end": 2484,
"loc": {
"start": {
"line": 86,
"column": 23
},
"end": {
"line": 86,
"column": 33
}
},
"object": {
"type": "ThisExpression",
"start": 2474,
"end": 2478,
"loc": {
"start": {
"line": 86,
"column": 23
},
"end": {
"line": 86,
"column": 27
}
}
},
"property": {
"type": "Identifier",
"start": 2479,
"end": 2484,
"loc": {
"start": {
"line": 86,
"column": 28
},
"end": {
"line": 86,
"column": 33
},
"identifierName": "stage"
},
"name": "stage"
},
"computed": false
}
]
}
},
{
"type": "ReturnStatement",
"start": 2500,
"end": 2512,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 24
}
},
"argument": {
"type": "BooleanLiteral",
"start": 2507,
"end": 2511,
"loc": {
"start": {
"line": 87,
"column": 19
},
"end": {
"line": 87,
"column": 23
}
},
"value": true
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 2529,
"end": 2617,
"loc": {
"start": {
"line": 88,
"column": 15
},
"end": {
"line": 91,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2593,
"end": 2606,
"loc": {
"start": {
"line": 90,
"column": 12
},
"end": {
"line": 90,
"column": 25
}
},
"argument": {
"type": "BooleanLiteral",
"start": 2600,
"end": 2605,
"loc": {
"start": {
"line": 90,
"column": 19
},
"end": {
"line": 90,
"column": 24
}
},
"value": false,
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " log(this, \"Re entering\", stage);",
"start": 2544,
"end": 2579,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 47
}
}
}
]
}
],
"directives": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Switches the game into another sub-state\r\n * @param {string} stage\r\n ",
"start": 2219,
"end": 2310,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 81,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " GameState implementation",
"start": 2632,
"end": 2659,
"loc": {
"start": {
"line": 94,
"column": 4
},
"end": {
"line": 94,
"column": 31
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2665,
"end": 2708,
"loc": {
"start": {
"line": 95,
"column": 4
},
"end": {
"line": 97,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2665,
"end": 2677,
"loc": {
"start": {
"line": 95,
"column": 4
},
"end": {
"line": 95,
"column": 16
},
"identifierName": "getInnerHTML"
},
"name": "getInnerHTML",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2680,
"end": 2708,
"loc": {
"start": {
"line": 95,
"column": 19
},
"end": {
"line": 97,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2691,
"end": 2701,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 96,
"column": 18
}
},
"argument": {
"type": "StringLiteral",
"start": 2698,
"end": 2700,
"loc": {
"start": {
"line": 96,
"column": 15
},
"end": {
"line": 96,
"column": 17
}
},
"extra": {
"rawValue": "",
"raw": "\"\""
},
"value": ""
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " GameState implementation",
"start": 2632,
"end": 2659,
"loc": {
"start": {
"line": 94,
"column": 4
},
"end": {
"line": 94,
"column": 31
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2716,
"end": 2769,
"loc": {
"start": {
"line": 99,
"column": 4
},
"end": {
"line": 101,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2716,
"end": 2729,
"loc": {
"start": {
"line": 99,
"column": 4
},
"end": {
"line": 99,
"column": 17
},
"identifierName": "getThemeMusic"
},
"name": "getThemeMusic"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2732,
"end": 2769,
"loc": {
"start": {
"line": 99,
"column": 20
},
"end": {
"line": 101,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2743,
"end": 2762,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 27
}
},
"argument": {
"type": "MemberExpression",
"start": 2750,
"end": 2761,
"loc": {
"start": {
"line": 100,
"column": 15
},
"end": {
"line": 100,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 2750,
"end": 2755,
"loc": {
"start": {
"line": 100,
"column": 15
},
"end": {
"line": 100,
"column": 20
},
"identifierName": "MUSIC"
},
"name": "MUSIC"
},
"property": {
"type": "Identifier",
"start": 2756,
"end": 2761,
"loc": {
"start": {
"line": 100,
"column": 21
},
"end": {
"line": 100,
"column": 26
},
"identifierName": "theme"
},
"name": "theme"
},
"computed": false
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 2777,
"end": 3010,
"loc": {
"start": {
"line": 103,
"column": 4
},
"end": {
"line": 109,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2777,
"end": 2789,
"loc": {
"start": {
"line": 103,
"column": 4
},
"end": {
"line": 103,
"column": 16
},
"identifierName": "onBeforeExit"
},
"name": "onBeforeExit"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2792,
"end": 3010,
"loc": {
"start": {
"line": 103,
"column": 19
},
"end": {
"line": 109,
"column": 5
}
},
"body": [],
"directives": [],
"leadingComments": null,
"innerComments": [
{
"type": "CommentLine",
"value": " logger.log(\"Saving before quitting\");",
"start": 2803,
"end": 2843,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 48
}
}
},
{
"type": "CommentLine",
"value": " return this.doSave().then(() => {",
"start": 2853,
"end": 2889,
"loc": {
"start": {
"line": 105,
"column": 8
},
"end": {
"line": 105,
"column": 44
}
}
},
{
"type": "CommentLine",
"value": " logger.log(this, \"Successfully saved\");",
"start": 2899,
"end": 2945,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 54
}
}
},
{
"type": "CommentLine",
"value": " // this.stageDestroyed();",
"start": 2955,
"end": 2987,
"loc": {
"start": {
"line": 107,
"column": 8
},
"end": {
"line": 107,
"column": 40
}
}
},
{
"type": "CommentLine",
"value": " });",
"start": 2997,
"end": 3003,
"loc": {
"start": {
"line": 108,
"column": 8
},
"end": {
"line": 108,
"column": 14
}
}
}
]
}
},
{
"type": "ClassMethod",
"start": 3018,
"end": 3202,
"loc": {
"start": {
"line": 111,
"column": 4
},
"end": {
"line": 116,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3018,
"end": 3028,
"loc": {
"start": {
"line": 111,
"column": 4
},
"end": {
"line": 111,
"column": 14
},
"identifierName": "onAppPause"
},
"name": "onAppPause"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 3031,
"end": 3202,
"loc": {
"start": {
"line": 111,
"column": 17
},
"end": {
"line": 116,
"column": 5
}
},
"body": [],
"directives": [],
"leadingComments": null,
"innerComments": [
{
"type": "CommentLine",
"value": " if (this.stage === stages.s10_gameRunning) {",
"start": 3042,
"end": 3089,
"loc": {
"start": {
"line": 112,
"column": 8
},
"end": {
"line": 112,
"column": 55
}
}
},
{
"type": "CommentLine",
"value": " logger.log(\"Saving because app got paused\");",
"start": 3099,
"end": 3150,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 59
}
}
},
{
"type": "CommentLine",
"value": " this.doSave();",
"start": 3160,
"end": 3181,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 29
}
}
},
{
"type": "CommentLine",
"value": " }",
"start": 3191,
"end": 3195,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 115,
"column": 12
}
}
}
]
}
},
{
"type": "ClassMethod",
"start": 3210,
"end": 3256,
"loc": {
"start": {
"line": 118,
"column": 4
},
"end": {
"line": 120,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3210,
"end": 3222,
"loc": {
"start": {
"line": 118,
"column": 4
},
"end": {
"line": 118,
"column": 16
},
"identifierName": "getHasFadeIn"
},
"name": "getHasFadeIn"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 3225,
"end": 3256,
"loc": {
"start": {
"line": 118,
"column": 19
},
"end": {
"line": 120,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3236,
"end": 3249,
"loc": {
"start": {
"line": 119,
"column": 8
},
"end": {
"line": 119,
"column": 21
}
},
"argument": {
"type": "BooleanLiteral",
"start": 3243,
"end": 3248,
"loc": {
"start": {
"line": 119,
"column": 15
},
"end": {
"line": 119,
"column": 20
}
},
"value": false
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 3264,
"end": 3317,
"loc": {
"start": {
"line": 122,
"column": 4
},
"end": {
"line": 124,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3264,
"end": 3283,
"loc": {
"start": {
"line": 122,
"column": 4
},
"end": {
"line": 122,
"column": 23
},
"identifierName": "getPauseOnFocusLost"
},
"name": "getPauseOnFocusLost"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 3286,
"end": 3317,
"loc": {
"start": {
"line": 122,
"column": 26
},
"end": {
"line": 124,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3297,
"end": 3310,
"loc": {
"start": {
"line": 123,
"column": 8
},
"end": {
"line": 123,
"column": 21
}
},
"argument": {
"type": "BooleanLiteral",
"start": 3304,
"end": 3309,
"loc": {
"start": {
"line": 123,
"column": 15
},
"end": {
"line": 123,
"column": 20
}
},
"value": false
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 3325,
"end": 3382,
"loc": {
"start": {
"line": 126,
"column": 4
},
"end": {
"line": 128,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3325,
"end": 3349,
"loc": {
"start": {
"line": 126,
"column": 4
},
"end": {
"line": 126,
"column": 28
},
"identifierName": "getHasUnloadConfirmation"
},
"name": "getHasUnloadConfirmation"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 3352,
"end": 3382,
"loc": {
"start": {
"line": 126,
"column": 31
},
"end": {
"line": 128,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3363,
"end": 3375,
"loc": {
"start": {
"line": 127,
"column": 8
},
"end": {
"line": 127,
"column": 20
}
},
"argument": {
"type": "BooleanLiteral",
"start": 3370,
"end": 3374,
"loc": {
"start": {
"line": 127,
"column": 15
},
"end": {
"line": 127,
"column": 19
}
},
"value": true
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 3390,
"end": 3547,
"loc": {
"start": {
"line": 130,
"column": 4
},
"end": {
"line": 135,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3390,
"end": 3397,
"loc": {
"start": {
"line": 130,
"column": 4
},
"end": {
"line": 130,
"column": 11
},
"identifierName": "onLeave"
},
"name": "onLeave"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 3400,
"end": 3547,
"loc": {
"start": {
"line": 130,
"column": 14
},
"end": {
"line": 135,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 3411,
"end": 3474,
"loc": {
"start": {
"line": 131,
"column": 8
},
"end": {
"line": 133,
"column": 9
}
},
"test": {
"type": "MemberExpression",
"start": 3415,
"end": 3424,
"loc": {
"start": {
"line": 131,
"column": 12
},
"end": {
"line": 131,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 3415,
"end": 3419,
"loc": {
"start": {
"line": 131,
"column": 12
},
"end": {
"line": 131,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 3420,
"end": 3424,
"loc": {
"start": {
"line": 131,
"column": 17
},
"end": {
"line": 131,
"column": 21
},
"identifierName": "core"
},
"name": "core"
},
"computed": false
},
"consequent": {
"type": "BlockStatement",
"start": 3426,
"end": 3474,
"loc": {
"start": {
"line": 131,
"column": 23
},
"end": {
"line": 133,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3441,
"end": 3463,
"loc": {
"start": {
"line": 132,
"column": 12
},
"end": {
"line": 132,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 3441,
"end": 3462,
"loc": {
"start": {
"line": 132,
"column": 12
},
"end": {
"line": 132,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 3441,
"end": 3460,
"loc": {
"start": {
"line": 132,
"column": 12
},
"end": {
"line": 132,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 3441,
"end": 3445,
"loc": {
"start": {
"line": 132,
"column": 12
},
"end": {
"line": 132,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 3446,
"end": 3460,
"loc": {
"start": {
"line": 132,
"column": 17
},
"end": {
"line": 132,
"column": 31
},
"identifierName": "stageDestroyed"
},
"name": "stageDestroyed"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 3484,
"end": 3540,
"loc": {
"start": {
"line": 134,
"column": 8
},
"end": {
"line": 134,
"column": 64
}
},
"expression": {
"type": "CallExpression",
"start": 3484,
"end": 3539,
"loc": {
"start": {
"line": 134,
"column": 8
},
"end": {
"line": 134,
"column": 63
}
},
"callee": {
"type": "MemberExpression",
"start": 3484,
"end": 3516,
"loc": {
"start": {
"line": 134,
"column": 8
},
"end": {
"line": 134,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 3484,
"end": 3501,
"loc": {
"start": {
"line": 134,
"column": 8
},
"end": {
"line": 134,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 3484,
"end": 3492,
"loc": {
"start": {
"line": 134,
"column": 8
},
"end": {
"line": 134,
"column": 16
}
},
"object": {
"type": "ThisExpression",
"start": 3484,
"end": 3488,
"loc": {
"start": {
"line": 134,
"column": 8
},
"end": {
"line": 134,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3489,
"end": 3492,
"loc": {
"start": {
"line": 134,
"column": 13
},
"end": {
"line": 134,
"column": 16
},
"identifierName": "app"
},
"name": "app"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3493,
"end": 3501,
"loc": {
"start": {
"line": 134,
"column": 17
},
"end": {
"line": 134,
"column": 25
},
"identifierName": "inputMgr"
},
"name": "inputMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3502,
"end": 3516,
"loc": {
"start": {
"line": 134,
"column": 26
},
"end": {
"line": 134,
"column": 40
},
"identifierName": "dismountFilter"
},
"name": "dismountFilter"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 3517,
"end": 3538,
"loc": {
"start": {
"line": 134,
"column": 41
},
"end": {
"line": 134,
"column": 62
}
},
"object": {
"type": "ThisExpression",
"start": 3517,
"end": 3521,
"loc": {
"start": {
"line": 134,
"column": 41
},
"end": {
"line": 134,
"column": 45
}
}
},
"property": {
"type": "Identifier",
"start": 3522,
"end": 3538,
"loc": {
"start": {
"line": 134,
"column": 46
},
"end": {
"line": 134,
"column": 62
},
"identifierName": "boundInputFilter"
},
"name": "boundInputFilter"
},
"computed": false
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 3555,
"end": 3713,
"loc": {
"start": {
"line": 137,
"column": 4
},
"end": {
"line": 142,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3555,
"end": 3564,
"loc": {
"start": {
"line": 137,
"column": 4
},
"end": {
"line": 137,
"column": 13
},
"identifierName": "onResized"
},
"name": "onResized"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3565,
"end": 3566,
"loc": {
"start": {
"line": 137,
"column": 14
},
"end": {
"line": 137,
"column": 15
},
"identifierName": "w"
},
"name": "w"
},
{
"type": "Identifier",
"start": 3568,
"end": 3569,
"loc": {
"start": {
"line": 137,
"column": 17
},
"end": {
"line": 137,
"column": 18
},
"identifierName": "h"
},
"name": "h"
}
],
"body": {
"type": "BlockStatement",
"start": 3571,
"end": 3713,
"loc": {
"start": {
"line": 137,
"column": 20
},
"end": {
"line": 142,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3582,
"end": 3604,
"loc": {
"start": {
"line": 138,
"column": 8
},
"end": {
"line": 138,
"column": 30
}
},
"expression": {
"type": "CallExpression",
"start": 3582,
"end": 3603,
"loc": {
"start": {
"line": 138,
"column": 8
},
"end": {
"line": 138,
"column": 29
}
},
"callee": {
"type": "MemberExpression",
"start": 3582,
"end": 3597,
"loc": {
"start": {
"line": 138,
"column": 8
},
"end": {
"line": 138,
"column": 23
}
},
"object": {
"type": "Super",
"start": 3582,
"end": 3587,
"loc": {
"start": {
"line": 138,
"column": 8
},
"end": {
"line": 138,
"column": 13
}
}
},
"property": {
"type": "Identifier",
"start": 3588,
"end": 3597,
"loc": {
"start": {
"line": 138,
"column": 14
},
"end": {
"line": 138,
"column": 23
},
"identifierName": "onResized"
},
"name": "onResized"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3598,
"end": 3599,
"loc": {
"start": {
"line": 138,
"column": 24
},
"end": {
"line": 138,
"column": 25
},
"identifierName": "w"
},
"name": "w"
},
{
"type": "Identifier",
"start": 3601,
"end": 3602,
"loc": {
"start": {
"line": 138,
"column": 27
},
"end": {
"line": 138,
"column": 28
},
"identifierName": "h"
},
"name": "h"
}
]
}
},
{
"type": "IfStatement",
"start": 3614,
"end": 3706,
"loc": {
"start": {
"line": 139,
"column": 8
},
"end": {
"line": 141,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 3618,
"end": 3655,
"loc": {
"start": {
"line": 139,
"column": 12
},
"end": {
"line": 139,
"column": 49
}
},
"left": {
"type": "MemberExpression",
"start": 3618,
"end": 3628,
"loc": {
"start": {
"line": 139,
"column": 12
},
"end": {
"line": 139,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 3618,
"end": 3622,
"loc": {
"start": {
"line": 139,
"column": 12
},
"end": {
"line": 139,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 3623,
"end": 3628,
"loc": {
"start": {
"line": 139,
"column": 17
},
"end": {
"line": 139,
"column": 22
},
"identifierName": "stage"
},
"name": "stage"
},
"computed": false
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 3633,
"end": 3655,
"loc": {
"start": {
"line": 139,
"column": 27
},
"end": {
"line": 139,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 3633,
"end": 3639,
"loc": {
"start": {
"line": 139,
"column": 27
},
"end": {
"line": 139,
"column": 33
},
"identifierName": "stages"
},
"name": "stages"
},
"property": {
"type": "Identifier",
"start": 3640,
"end": 3655,
"loc": {
"start": {
"line": 139,
"column": 34
},
"end": {
"line": 139,
"column": 49
},
"identifierName": "s10_gameRunning"
},
"name": "s10_gameRunning"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 3657,
"end": 3706,
"loc": {
"start": {
"line": 139,
"column": 51
},
"end": {
"line": 141,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3672,
"end": 3695,
"loc": {
"start": {
"line": 140,
"column": 12
},
"end": {
"line": 140,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 3672,
"end": 3694,
"loc": {
"start": {
"line": 140,
"column": 12
},
"end": {
"line": 140,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 3672,
"end": 3688,
"loc": {
"start": {
"line": 140,
"column": 12
},
"end": {
"line": 140,
"column": 28
}
},
"object": {
"type": "MemberExpression",
"start": 3672,
"end": 3681,
"loc": {
"start": {
"line": 140,
"column": 12
},
"end": {
"line": 140,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 3672,
"end": 3676,
"loc": {
"start": {
"line": 140,
"column": 12
},
"end": {
"line": 140,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 3677,
"end": 3681,
"loc": {
"start": {
"line": 140,
"column": 17
},
"end": {
"line": 140,
"column": 21
},
"identifierName": "core"
},
"name": "core"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3682,
"end": 3688,
"loc": {
"start": {
"line": 140,
"column": 22
},
"end": {
"line": 140,
"column": 28
},
"identifierName": "resize"
},
"name": "resize"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3689,
"end": 3690,
"loc": {
"start": {
"line": 140,
"column": 29
},
"end": {
"line": 140,
"column": 30
},
"identifierName": "w"
},
"name": "w"
},
{
"type": "Identifier",
"start": 3692,
"end": 3693,
"loc": {
"start": {
"line": 140,
"column": 32
},
"end": {
"line": 140,
"column": 33
},
"identifierName": "h"
},
"name": "h"
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " ---- End of GameState implementation",
"start": 3721,
"end": 3760,
"loc": {
"start": {
"line": 144,
"column": 4
},
"end": {
"line": 144,
"column": 43
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Goes back to the menu state\r\n ",
"start": 3768,
"end": 3816,
"loc": {
"start": {
"line": 146,
"column": 4
},
"end": {
"line": 148,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 3822,
"end": 3895,
"loc": {
"start": {
"line": 149,
"column": 4
},
"end": {
"line": 151,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3822,
"end": 3834,
"loc": {
"start": {
"line": 149,
"column": 4
},
"end": {
"line": 149,
"column": 16
},
"identifierName": "goBackToMenu"
},
"name": "goBackToMenu",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 3837,
"end": 3895,
"loc": {
"start": {
"line": 149,
"column": 19
},
"end": {
"line": 151,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3848,
"end": 3888,
"loc": {
"start": {
"line": 150,
"column": 8
},
"end": {
"line": 150,
"column": 48
}
},
"expression": {
"type": "CallExpression",
"start": 3848,
"end": 3887,
"loc": {
"start": {
"line": 150,
"column": 8
},
"end": {
"line": 150,
"column": 47
}
},
"callee": {
"type": "MemberExpression",
"start": 3848,
"end": 3870,
"loc": {
"start": {
"line": 150,
"column": 8
},
"end": {
"line": 150,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 3848,
"end": 3852,
"loc": {
"start": {
"line": 150,
"column": 8
},
"end": {
"line": 150,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3853,
"end": 3870,
"loc": {
"start": {
"line": 150,
"column": 13
},
"end": {
"line": 150,
"column": 30
},
"identifierName": "saveThenGoToState"
},
"name": "saveThenGoToState"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 3871,
"end": 3886,
"loc": {
"start": {
"line": 150,
"column": 31
},
"end": {
"line": 150,
"column": 46
}
},
"extra": {
"rawValue": "MainMenuState",
"raw": "\"MainMenuState\""
},
"value": "MainMenuState"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " ---- End of GameState implementation",
"start": 3721,
"end": 3760,
"loc": {
"start": {
"line": 144,
"column": 4
},
"end": {
"line": 144,
"column": 43
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Goes back to the menu state\r\n ",
"start": 3768,
"end": 3816,
"loc": {
"start": {
"line": 146,
"column": 4
},
"end": {
"line": 148,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Goes back to the settings state\r\n ",
"start": 3903,
"end": 3955,
"loc": {
"start": {
"line": 153,
"column": 4
},
"end": {
"line": 155,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 3961,
"end": 4141,
"loc": {
"start": {
"line": 156,
"column": 4
},
"end": {
"line": 161,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3961,
"end": 3973,
"loc": {
"start": {
"line": 156,
"column": 4
},
"end": {
"line": 156,
"column": 16
},
"identifierName": "goToSettings"
},
"name": "goToSettings",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 3976,
"end": 4141,
"loc": {
"start": {
"line": 156,
"column": 19
},
"end": {
"line": 161,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3987,
"end": 4134,
"loc": {
"start": {
"line": 157,
"column": 8
},
"end": {
"line": 160,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 3987,
"end": 4133,
"loc": {
"start": {
"line": 157,
"column": 8
},
"end": {
"line": 160,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 3987,
"end": 4009,
"loc": {
"start": {
"line": 157,
"column": 8
},
"end": {
"line": 157,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 3987,
"end": 3991,
"loc": {
"start": {
"line": 157,
"column": 8
},
"end": {
"line": 157,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3992,
"end": 4009,
"loc": {
"start": {
"line": 157,
"column": 13
},
"end": {
"line": 157,
"column": 30
},
"identifierName": "saveThenGoToState"
},
"name": "saveThenGoToState"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 4010,
"end": 4025,
"loc": {
"start": {
"line": 157,
"column": 31
},
"end": {
"line": 157,
"column": 46
}
},
"extra": {
"rawValue": "SettingsState",
"raw": "\"SettingsState\""
},
"value": "SettingsState"
},
{
"type": "ObjectExpression",
"start": 4027,
"end": 4132,
"loc": {
"start": {
"line": 157,
"column": 48
},
"end": {
"line": 160,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 4042,
"end": 4065,
"loc": {
"start": {
"line": 158,
"column": 12
},
"end": {
"line": 158,
"column": 35
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4042,
"end": 4055,
"loc": {
"start": {
"line": 158,
"column": 12
},
"end": {
"line": 158,
"column": 25
},
"identifierName": "backToStateId"
},
"name": "backToStateId"
},
"value": {
"type": "MemberExpression",
"start": 4057,
"end": 4065,
"loc": {
"start": {
"line": 158,
"column": 27
},
"end": {
"line": 158,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 4057,
"end": 4061,
"loc": {
"start": {
"line": 158,
"column": 27
},
"end": {
"line": 158,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 4062,
"end": 4065,
"loc": {
"start": {
"line": 158,
"column": 32
},
"end": {
"line": 158,
"column": 35
},
"identifierName": "key"
},
"name": "key"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 4080,
"end": 4120,
"loc": {
"start": {
"line": 159,
"column": 12
},
"end": {
"line": 159,
"column": 52
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4080,
"end": 4098,
"loc": {
"start": {
"line": 159,
"column": 12
},
"end": {
"line": 159,
"column": 30
},
"identifierName": "backToStatePayload"
},
"name": "backToStatePayload"
},
"value": {
"type": "MemberExpression",
"start": 4100,
"end": 4120,
"loc": {
"start": {
"line": 159,
"column": 32
},
"end": {
"line": 159,
"column": 52
}
},
"object": {
"type": "ThisExpression",
"start": 4100,
"end": 4104,
"loc": {
"start": {
"line": 159,
"column": 32
},
"end": {
"line": 159,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 4105,
"end": 4120,
"loc": {
"start": {
"line": 159,
"column": 37
},
"end": {
"line": 159,
"column": 52
},
"identifierName": "creationPayload"
},
"name": "creationPayload"
},
"computed": false
}
}
]
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Goes back to the settings state\r\n ",
"start": 3903,
"end": 3955,
"loc": {
"start": {
"line": 153,
"column": 4
},
"end": {
"line": 155,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Goes back to the settings state\r\n ",
"start": 4149,
"end": 4201,
"loc": {
"start": {
"line": 163,
"column": 4
},
"end": {
"line": 165,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4207,
"end": 4393,
"loc": {
"start": {
"line": 166,
"column": 4
},
"end": {
"line": 171,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4207,
"end": 4222,
"loc": {
"start": {
"line": 166,
"column": 4
},
"end": {
"line": 166,
"column": 19
},
"identifierName": "goToKeybindings"
},
"name": "goToKeybindings",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 4225,
"end": 4393,
"loc": {
"start": {
"line": 166,
"column": 22
},
"end": {
"line": 171,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4236,
"end": 4386,
"loc": {
"start": {
"line": 167,
"column": 8
},
"end": {
"line": 170,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 4236,
"end": 4385,
"loc": {
"start": {
"line": 167,
"column": 8
},
"end": {
"line": 170,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 4236,
"end": 4258,
"loc": {
"start": {
"line": 167,
"column": 8
},
"end": {
"line": 167,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 4236,
"end": 4240,
"loc": {
"start": {
"line": 167,
"column": 8
},
"end": {
"line": 167,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 4241,
"end": 4258,
"loc": {
"start": {
"line": 167,
"column": 13
},
"end": {
"line": 167,
"column": 30
},
"identifierName": "saveThenGoToState"
},
"name": "saveThenGoToState"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 4259,
"end": 4277,
"loc": {
"start": {
"line": 167,
"column": 31
},
"end": {
"line": 167,
"column": 49
}
},
"extra": {
"rawValue": "KeybindingsState",
"raw": "\"KeybindingsState\""
},
"value": "KeybindingsState"
},
{
"type": "ObjectExpression",
"start": 4279,
"end": 4384,
"loc": {
"start": {
"line": 167,
"column": 51
},
"end": {
"line": 170,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 4294,
"end": 4317,
"loc": {
"start": {
"line": 168,
"column": 12
},
"end": {
"line": 168,
"column": 35
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4294,
"end": 4307,
"loc": {
"start": {
"line": 168,
"column": 12
},
"end": {
"line": 168,
"column": 25
},
"identifierName": "backToStateId"
},
"name": "backToStateId"
},
"value": {
"type": "MemberExpression",
"start": 4309,
"end": 4317,
"loc": {
"start": {
"line": 168,
"column": 27
},
"end": {
"line": 168,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 4309,
"end": 4313,
"loc": {
"start": {
"line": 168,
"column": 27
},
"end": {
"line": 168,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 4314,
"end": 4317,
"loc": {
"start": {
"line": 168,
"column": 32
},
"end": {
"line": 168,
"column": 35
},
"identifierName": "key"
},
"name": "key"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 4332,
"end": 4372,
"loc": {
"start": {
"line": 169,
"column": 12
},
"end": {
"line": 169,
"column": 52
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4332,
"end": 4350,
"loc": {
"start": {
"line": 169,
"column": 12
},
"end": {
"line": 169,
"column": 30
},
"identifierName": "backToStatePayload"
},
"name": "backToStatePayload"
},
"value": {
"type": "MemberExpression",
"start": 4352,
"end": 4372,
"loc": {
"start": {
"line": 169,
"column": 32
},
"end": {
"line": 169,
"column": 52
}
},
"object": {
"type": "ThisExpression",
"start": 4352,
"end": 4356,
"loc": {
"start": {
"line": 169,
"column": 32
},
"end": {
"line": 169,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 4357,
"end": 4372,
"loc": {
"start": {
"line": 169,
"column": 37
},
"end": {
"line": 169,
"column": 52
},
"identifierName": "creationPayload"
},
"name": "creationPayload"
},
"computed": false
}
}
]
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Goes back to the settings state\r\n ",
"start": 4149,
"end": 4201,
"loc": {
"start": {
"line": 163,
"column": 4
},
"end": {
"line": 165,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Moves to a state outside of the game\r\n * @param {string} stateId\r\n * @param {any=} payload\r\n ",
"start": 4401,
"end": 4520,
"loc": {
"start": {
"line": 173,
"column": 4
},
"end": {
"line": 177,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4526,
"end": 5076,
"loc": {
"start": {
"line": 178,
"column": 4
},
"end": {
"line": 194,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4526,
"end": 4543,
"loc": {
"start": {
"line": 178,
"column": 4
},
"end": {
"line": 178,
"column": 21
},
"identifierName": "saveThenGoToState"
},
"name": "saveThenGoToState",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4544,
"end": 4551,
"loc": {
"start": {
"line": 178,
"column": 22
},
"end": {
"line": 178,
"column": 29
},
"identifierName": "stateId"
},
"name": "stateId"
},
{
"type": "Identifier",
"start": 4553,
"end": 4560,
"loc": {
"start": {
"line": 178,
"column": 31
},
"end": {
"line": 178,
"column": 38
},
"identifierName": "payload"
},
"name": "payload"
}
],
"body": {
"type": "BlockStatement",
"start": 4562,
"end": 5076,
"loc": {
"start": {
"line": 178,
"column": 40
},
"end": {
"line": 194,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 4573,
"end": 4901,
"loc": {
"start": {
"line": 179,
"column": 8
},
"end": {
"line": 188,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 4577,
"end": 4641,
"loc": {
"start": {
"line": 179,
"column": 12
},
"end": {
"line": 179,
"column": 76
}
},
"left": {
"type": "BinaryExpression",
"start": 4577,
"end": 4606,
"loc": {
"start": {
"line": 179,
"column": 12
},
"end": {
"line": 179,
"column": 41
}
},
"left": {
"type": "MemberExpression",
"start": 4577,
"end": 4587,
"loc": {
"start": {
"line": 179,
"column": 12
},
"end": {
"line": 179,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 4577,
"end": 4581,
"loc": {
"start": {
"line": 179,
"column": 12
},
"end": {
"line": 179,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 4582,
"end": 4587,
"loc": {
"start": {
"line": 179,
"column": 17
},
"end": {
"line": 179,
"column": 22
},
"identifierName": "stage"
},
"name": "stage"
},
"computed": false
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 4592,
"end": 4606,
"loc": {
"start": {
"line": 179,
"column": 27
},
"end": {
"line": 179,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 4592,
"end": 4598,
"loc": {
"start": {
"line": 179,
"column": 27
},
"end": {
"line": 179,
"column": 33
},
"identifierName": "stages"
},
"name": "stages"
},
"property": {
"type": "Identifier",
"start": 4599,
"end": 4606,
"loc": {
"start": {
"line": 179,
"column": 34
},
"end": {
"line": 179,
"column": 41
},
"identifierName": "leaving"
},
"name": "leaving"
},
"computed": false
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 4610,
"end": 4641,
"loc": {
"start": {
"line": 179,
"column": 45
},
"end": {
"line": 179,
"column": 76
}
},
"left": {
"type": "MemberExpression",
"start": 4610,
"end": 4620,
"loc": {
"start": {
"line": 179,
"column": 45
},
"end": {
"line": 179,
"column": 55
}
},
"object": {
"type": "ThisExpression",
"start": 4610,
"end": 4614,
"loc": {
"start": {
"line": 179,
"column": 45
},
"end": {
"line": 179,
"column": 49
}
}
},
"property": {
"type": "Identifier",
"start": 4615,
"end": 4620,
"loc": {
"start": {
"line": 179,
"column": 50
},
"end": {
"line": 179,
"column": 55
},
"identifierName": "stage"
},
"name": "stage"
},
"computed": false
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 4625,
"end": 4641,
"loc": {
"start": {
"line": 179,
"column": 60
},
"end": {
"line": 179,
"column": 76
}
},
"object": {
"type": "Identifier",
"start": 4625,
"end": 4631,
"loc": {
"start": {
"line": 179,
"column": 60
},
"end": {
"line": 179,
"column": 66
},
"identifierName": "stages"
},
"name": "stages"
},
"property": {
"type": "Identifier",
"start": 4632,
"end": 4641,
"loc": {
"start": {
"line": 179,
"column": 67
},
"end": {
"line": 179,
"column": 76
},
"identifierName": "destroyed"
},
"name": "destroyed"
},
"computed": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 4643,
"end": 4901,
"loc": {
"start": {
"line": 179,
"column": 78
},
"end": {
"line": 188,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4658,
"end": 4869,
"loc": {
"start": {
"line": 180,
"column": 12
},
"end": {
"line": 186,
"column": 14
}
},
"expression": {
"type": "CallExpression",
"start": 4658,
"end": 4868,
"loc": {
"start": {
"line": 180,
"column": 12
},
"end": {
"line": 186,
"column": 13
}
},
"callee": {
"type": "MemberExpression",
"start": 4658,
"end": 4669,
"loc": {
"start": {
"line": 180,
"column": 12
},
"end": {
"line": 180,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 4658,
"end": 4664,
"loc": {
"start": {
"line": 180,
"column": 12
},
"end": {
"line": 180,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 4665,
"end": 4669,
"loc": {
"start": {
"line": 180,
"column": 19
},
"end": {
"line": 180,
"column": 23
},
"identifierName": "warn"
},
"name": "warn"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 4688,
"end": 4734,
"loc": {
"start": {
"line": 181,
"column": 16
},
"end": {
"line": 181,
"column": 62
}
},
"extra": {
"rawValue": "Tried to leave game twice or during destroy:",
"raw": "\"Tried to leave game twice or during destroy:\""
},
"value": "Tried to leave game twice or during destroy:"
},
{
"type": "MemberExpression",
"start": 4753,
"end": 4763,
"loc": {
"start": {
"line": 182,
"column": 16
},
"end": {
"line": 182,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 4753,
"end": 4757,
"loc": {
"start": {
"line": 182,
"column": 16
},
"end": {
"line": 182,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 4758,
"end": 4763,
"loc": {
"start": {
"line": 182,
"column": 21
},
"end": {
"line": 182,
"column": 26
},
"identifierName": "stage"
},
"name": "stage"
},
"computed": false
},
{
"type": "StringLiteral",
"start": 4782,
"end": 4805,
"loc": {
"start": {
"line": 183,
"column": 16
},
"end": {
"line": 183,
"column": 39
}
},
"extra": {
"rawValue": "(attempted to move to",
"raw": "\"(attempted to move to\""
},
"value": "(attempted to move to"
},
{
"type": "Identifier",
"start": 4824,
"end": 4831,
"loc": {
"start": {
"line": 184,
"column": 16
},
"end": {
"line": 184,
"column": 23
},
"identifierName": "stateId"
},
"name": "stateId"
},
{
"type": "StringLiteral",
"start": 4850,
"end": 4853,
"loc": {
"start": {
"line": 185,
"column": 16
},
"end": {
"line": 185,
"column": 19
}
},
"extra": {
"rawValue": ")",
"raw": "\")\""
},
"value": ")"
}
]
}
},
{
"type": "ReturnStatement",
"start": 4883,
"end": 4890,
"loc": {
"start": {
"line": 187,
"column": 12
},
"end": {
"line": 187,
"column": 19
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 4911,
"end": 4935,
"loc": {
"start": {
"line": 189,
"column": 8
},
"end": {
"line": 189,
"column": 32
}
},
"expression": {
"type": "CallExpression",
"start": 4911,
"end": 4934,
"loc": {
"start": {
"line": 189,
"column": 8
},
"end": {
"line": 189,
"column": 31
}
},
"callee": {
"type": "MemberExpression",
"start": 4911,
"end": 4932,
"loc": {
"start": {
"line": 189,
"column": 8
},
"end": {
"line": 189,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 4911,
"end": 4915,
"loc": {
"start": {
"line": 189,
"column": 8
},
"end": {
"line": 189,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 4916,
"end": 4932,
"loc": {
"start": {
"line": 189,
"column": 13
},
"end": {
"line": 189,
"column": 29
},
"identifierName": "stageLeavingGame"
},
"name": "stageLeavingGame"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 4945,
"end": 5069,
"loc": {
"start": {
"line": 190,
"column": 8
},
"end": {
"line": 193,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 4945,
"end": 5068,
"loc": {
"start": {
"line": 190,
"column": 8
},
"end": {
"line": 193,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 4945,
"end": 4963,
"loc": {
"start": {
"line": 190,
"column": 8
},
"end": {
"line": 190,
"column": 26
}
},
"object": {
"type": "CallExpression",
"start": 4945,
"end": 4958,
"loc": {
"start": {
"line": 190,
"column": 8
},
"end": {
"line": 190,
"column": 21
}
},
"callee": {
"type": "MemberExpression",
"start": 4945,
"end": 4956,
"loc": {
"start": {
"line": 190,
"column": 8
},
"end": {
"line": 190,
"column": 19
}
},
"object": {
"type": "ThisExpression",
"start": 4945,
"end": 4949,
"loc": {
"start": {
"line": 190,
"column": 8
},
"end": {
"line": 190,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 4950,
"end": 4956,
"loc": {
"start": {
"line": 190,
"column": 13
},
"end": {
"line": 190,
"column": 19
},
"identifierName": "doSave"
},
"name": "doSave"
},
"computed": false
},
"arguments": []
},
"property": {
"type": "Identifier",
"start": 4959,
"end": 4963,
"loc": {
"start": {
"line": 190,
"column": 22
},
"end": {
"line": 190,
"column": 26
},
"identifierName": "then"
},
"name": "then"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 4964,
"end": 5067,
"loc": {
"start": {
"line": 190,
"column": 27
},
"end": {
"line": 193,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 4970,
"end": 5067,
"loc": {
"start": {
"line": 190,
"column": 33
},
"end": {
"line": 193,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4985,
"end": 5007,
"loc": {
"start": {
"line": 191,
"column": 12
},
"end": {
"line": 191,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 4985,
"end": 5006,
"loc": {
"start": {
"line": 191,
"column": 12
},
"end": {
"line": 191,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 4985,
"end": 5004,
"loc": {
"start": {
"line": 191,
"column": 12
},
"end": {
"line": 191,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 4985,
"end": 4989,
"loc": {
"start": {
"line": 191,
"column": 12
},
"end": {
"line": 191,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 4990,
"end": 5004,
"loc": {
"start": {
"line": 191,
"column": 17
},
"end": {
"line": 191,
"column": 31
},
"identifierName": "stageDestroyed"
},
"name": "stageDestroyed"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 5021,
"end": 5056,
"loc": {
"start": {
"line": 192,
"column": 12
},
"end": {
"line": 192,
"column": 47
}
},
"expression": {
"type": "CallExpression",
"start": 5021,
"end": 5055,
"loc": {
"start": {
"line": 192,
"column": 12
},
"end": {
"line": 192,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 5021,
"end": 5037,
"loc": {
"start": {
"line": 192,
"column": 12
},
"end": {
"line": 192,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 5021,
"end": 5025,
"loc": {
"start": {
"line": 192,
"column": 12
},
"end": {
"line": 192,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 5026,
"end": 5037,
"loc": {
"start": {
"line": 192,
"column": 17
},
"end": {
"line": 192,
"column": 28
},
"identifierName": "moveToState"
},
"name": "moveToState"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 5038,
"end": 5045,
"loc": {
"start": {
"line": 192,
"column": 29
},
"end": {
"line": 192,
"column": 36
},
"identifierName": "stateId"
},
"name": "stateId"
},
{
"type": "Identifier",
"start": 5047,
"end": 5054,
"loc": {
"start": {
"line": 192,
"column": 38
},
"end": {
"line": 192,
"column": 45
},
"identifierName": "payload"
},
"name": "payload"
}
]
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Moves to a state outside of the game\r\n * @param {string} stateId\r\n * @param {any=} payload\r\n ",
"start": 4401,
"end": 4520,
"loc": {
"start": {
"line": 173,
"column": 4
},
"end": {
"line": 177,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5084,
"end": 5130,
"loc": {
"start": {
"line": 196,
"column": 4
},
"end": {
"line": 198,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5084,
"end": 5096,
"loc": {
"start": {
"line": 196,
"column": 4
},
"end": {
"line": 196,
"column": 16
},
"identifierName": "onBackButton"
},
"name": "onBackButton"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 5099,
"end": 5130,
"loc": {
"start": {
"line": 196,
"column": 19
},
"end": {
"line": 198,
"column": 5
}
},
"body": [],
"directives": [],
"leadingComments": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " do nothing",
"start": 5110,
"end": 5123,
"loc": {
"start": {
"line": 197,
"column": 8
},
"end": {
"line": 197,
"column": 21
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Called when the game somehow failed to initialize. Resets everything to basic state and\r\n * then goes to the main menu, showing the error\r\n * @param {string} err\r\n ",
"start": 5138,
"end": 5328,
"loc": {
"start": {
"line": 200,
"column": 4
},
"end": {
"line": 204,
"column": 7
}
}
}
]
}
},
{
"type": "ClassMethod",
"start": 5334,
"end": 5587,
"loc": {
"start": {
"line": 205,
"column": 4
},
"end": {
"line": 211,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5334,
"end": 5357,
"loc": {
"start": {
"line": 205,
"column": 4
},
"end": {
"line": 205,
"column": 27
},
"identifierName": "onInitializationFailure"
},
"name": "onInitializationFailure",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5358,
"end": 5361,
"loc": {
"start": {
"line": 205,
"column": 28
},
"end": {
"line": 205,
"column": 31
},
"identifierName": "err"
},
"name": "err"
}
],
"body": {
"type": "BlockStatement",
"start": 5363,
"end": 5587,
"loc": {
"start": {
"line": 205,
"column": 33
},
"end": {
"line": 211,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 5374,
"end": 5580,
"loc": {
"start": {
"line": 206,
"column": 8
},
"end": {
"line": 210,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 5378,
"end": 5413,
"loc": {
"start": {
"line": 206,
"column": 12
},
"end": {
"line": 206,
"column": 47
}
},
"callee": {
"type": "MemberExpression",
"start": 5378,
"end": 5394,
"loc": {
"start": {
"line": 206,
"column": 12
},
"end": {
"line": 206,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 5378,
"end": 5382,
"loc": {
"start": {
"line": 206,
"column": 12
},
"end": {
"line": 206,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 5383,
"end": 5394,
"loc": {
"start": {
"line": 206,
"column": 17
},
"end": {
"line": 206,
"column": 28
},
"identifierName": "switchStage"
},
"name": "switchStage"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5395,
"end": 5412,
"loc": {
"start": {
"line": 206,
"column": 29
},
"end": {
"line": 206,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 5395,
"end": 5401,
"loc": {
"start": {
"line": 206,
"column": 29
},
"end": {
"line": 206,
"column": 35
},
"identifierName": "stages"
},
"name": "stages"
},
"property": {
"type": "Identifier",
"start": 5402,
"end": 5412,
"loc": {
"start": {
"line": 206,
"column": 36
},
"end": {
"line": 206,
"column": 46
},
"identifierName": "initFailed"
},
"name": "initFailed"
},
"computed": false
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 5415,
"end": 5580,
"loc": {
"start": {
"line": 206,
"column": 49
},
"end": {
"line": 210,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5430,
"end": 5465,
"loc": {
"start": {
"line": 207,
"column": 12
},
"end": {
"line": 207,
"column": 47
}
},
"expression": {
"type": "CallExpression",
"start": 5430,
"end": 5464,
"loc": {
"start": {
"line": 207,
"column": 12
},
"end": {
"line": 207,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 5430,
"end": 5442,
"loc": {
"start": {
"line": 207,
"column": 12
},
"end": {
"line": 207,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 5430,
"end": 5436,
"loc": {
"start": {
"line": 207,
"column": 12
},
"end": {
"line": 207,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 5437,
"end": 5442,
"loc": {
"start": {
"line": 207,
"column": 19
},
"end": {
"line": 207,
"column": 24
},
"identifierName": "error"
},
"name": "error"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 5443,
"end": 5458,
"loc": {
"start": {
"line": 207,
"column": 25
},
"end": {
"line": 207,
"column": 40
}
},
"extra": {
"rawValue": "Init failure:",
"raw": "\"Init failure:\""
},
"value": "Init failure:"
},
{
"type": "Identifier",
"start": 5460,
"end": 5463,
"loc": {
"start": {
"line": 207,
"column": 42
},
"end": {
"line": 207,
"column": 45
},
"identifierName": "err"
},
"name": "err"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 5479,
"end": 5501,
"loc": {
"start": {
"line": 208,
"column": 12
},
"end": {
"line": 208,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 5479,
"end": 5500,
"loc": {
"start": {
"line": 208,
"column": 12
},
"end": {
"line": 208,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 5479,
"end": 5498,
"loc": {
"start": {
"line": 208,
"column": 12
},
"end": {
"line": 208,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 5479,
"end": 5483,
"loc": {
"start": {
"line": 208,
"column": 12
},
"end": {
"line": 208,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 5484,
"end": 5498,
"loc": {
"start": {
"line": 208,
"column": 17
},
"end": {
"line": 208,
"column": 31
},
"identifierName": "stageDestroyed"
},
"name": "stageDestroyed"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 5515,
"end": 5569,
"loc": {
"start": {
"line": 209,
"column": 12
},
"end": {
"line": 209,
"column": 66
}
},
"expression": {
"type": "CallExpression",
"start": 5515,
"end": 5568,
"loc": {
"start": {
"line": 209,
"column": 12
},
"end": {
"line": 209,
"column": 65
}
},
"callee": {
"type": "MemberExpression",
"start": 5515,
"end": 5531,
"loc": {
"start": {
"line": 209,
"column": 12
},
"end": {
"line": 209,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 5515,
"end": 5519,
"loc": {
"start": {
"line": 209,
"column": 12
},
"end": {
"line": 209,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 5520,
"end": 5531,
"loc": {
"start": {
"line": 209,
"column": 17
},
"end": {
"line": 209,
"column": 28
},
"identifierName": "moveToState"
},
"name": "moveToState"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 5532,
"end": 5547,
"loc": {
"start": {
"line": 209,
"column": 29
},
"end": {
"line": 209,
"column": 44
}
},
"extra": {
"rawValue": "MainMenuState",
"raw": "\"MainMenuState\""
},
"value": "MainMenuState"
},
{
"type": "ObjectExpression",
"start": 5549,
"end": 5567,
"loc": {
"start": {
"line": 209,
"column": 46
},
"end": {
"line": 209,
"column": 64
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 5551,
"end": 5565,
"loc": {
"start": {
"line": 209,
"column": 48
},
"end": {
"line": 209,
"column": 62
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5551,
"end": 5560,
"loc": {
"start": {
"line": 209,
"column": 48
},
"end": {
"line": 209,
"column": 57
},
"identifierName": "loadError"
},
"name": "loadError"
},
"value": {
"type": "Identifier",
"start": 5562,
"end": 5565,
"loc": {
"start": {
"line": 209,
"column": 59
},
"end": {
"line": 209,
"column": 62
},
"identifierName": "err"
},
"name": "err"
}
}
]
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Called when the game somehow failed to initialize. Resets everything to basic state and\r\n * then goes to the main menu, showing the error\r\n * @param {string} err\r\n ",
"start": 5138,
"end": 5328,
"loc": {
"start": {
"line": 200,
"column": 4
},
"end": {
"line": 204,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " STAGES",
"start": 5595,
"end": 5604,
"loc": {
"start": {
"line": 213,
"column": 4
},
"end": {
"line": 213,
"column": 13
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Creates the game core instance, and thus the root\r\n ",
"start": 5612,
"end": 5682,
"loc": {
"start": {
"line": 215,
"column": 4
},
"end": {
"line": 217,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5688,
"end": 6180,
"loc": {
"start": {
"line": 218,
"column": 4
},
"end": {
"line": 232,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5688,
"end": 5704,
"loc": {
"start": {
"line": 218,
"column": 4
},
"end": {
"line": 218,
"column": 20
},
"identifierName": "stage3CreateCore"
},
"name": "stage3CreateCore",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 5707,
"end": 6180,
"loc": {
"start": {
"line": 218,
"column": 23
},
"end": {
"line": 232,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 5718,
"end": 6173,
"loc": {
"start": {
"line": 219,
"column": 8
},
"end": {
"line": 231,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 5722,
"end": 5760,
"loc": {
"start": {
"line": 219,
"column": 12
},
"end": {
"line": 219,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 5722,
"end": 5738,
"loc": {
"start": {
"line": 219,
"column": 12
},
"end": {
"line": 219,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 5722,
"end": 5726,
"loc": {
"start": {
"line": 219,
"column": 12
},
"end": {
"line": 219,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 5727,
"end": 5738,
"loc": {
"start": {
"line": 219,
"column": 17
},
"end": {
"line": 219,
"column": 28
},
"identifierName": "switchStage"
},
"name": "switchStage"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5739,
"end": 5759,
"loc": {
"start": {
"line": 219,
"column": 29
},
"end": {
"line": 219,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 5739,
"end": 5745,
"loc": {
"start": {
"line": 219,
"column": 29
},
"end": {
"line": 219,
"column": 35
},
"identifierName": "stages"
},
"name": "stages"
},
"property": {
"type": "Identifier",
"start": 5746,
"end": 5759,
"loc": {
"start": {
"line": 219,
"column": 36
},
"end": {
"line": 219,
"column": 49
},
"identifierName": "s3_createCore"
},
"name": "s3_createCore"
},
"computed": false
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 5762,
"end": 6173,
"loc": {
"start": {
"line": 219,
"column": 52
},
"end": {
"line": 231,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5777,
"end": 5814,
"loc": {
"start": {
"line": 220,
"column": 12
},
"end": {
"line": 220,
"column": 49
}
},
"expression": {
"type": "CallExpression",
"start": 5777,
"end": 5813,
"loc": {
"start": {
"line": 220,
"column": 12
},
"end": {
"line": 220,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 5777,
"end": 5787,
"loc": {
"start": {
"line": 220,
"column": 12
},
"end": {
"line": 220,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 5777,
"end": 5783,
"loc": {
"start": {
"line": 220,
"column": 12
},
"end": {
"line": 220,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 5784,
"end": 5787,
"loc": {
"start": {
"line": 220,
"column": 19
},
"end": {
"line": 220,
"column": 22
},
"identifierName": "log"
},
"name": "log"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 5788,
"end": 5812,
"loc": {
"start": {
"line": 220,
"column": 23
},
"end": {
"line": 220,
"column": 47
}
},
"extra": {
"rawValue": "Creating new game core",
"raw": "\"Creating new game core\""
},
"value": "Creating new game core"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 5828,
"end": 5863,
"loc": {
"start": {
"line": 221,
"column": 12
},
"end": {
"line": 221,
"column": 47
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5828,
"end": 5862,
"loc": {
"start": {
"line": 221,
"column": 12
},
"end": {
"line": 221,
"column": 46
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 5828,
"end": 5837,
"loc": {
"start": {
"line": 221,
"column": 12
},
"end": {
"line": 221,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 5828,
"end": 5832,
"loc": {
"start": {
"line": 221,
"column": 12
},
"end": {
"line": 221,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 5833,
"end": 5837,
"loc": {
"start": {
"line": 221,
"column": 17
},
"end": {
"line": 221,
"column": 21
},
"identifierName": "core"
},
"name": "core"
},
"computed": false
},
"right": {
"type": "NewExpression",
"start": 5840,
"end": 5862,
"loc": {
"start": {
"line": 221,
"column": 24
},
"end": {
"line": 221,
"column": 46
}
},
"callee": {
"type": "Identifier",
"start": 5844,
"end": 5852,
"loc": {
"start": {
"line": 221,
"column": 28
},
"end": {
"line": 221,
"column": 36
},
"identifierName": "GameCore"
},
"name": "GameCore"
},
"arguments": [
{
"type": "MemberExpression",
"start": 5853,
"end": 5861,
"loc": {
"start": {
"line": 221,
"column": 37
},
"end": {
"line": 221,
"column": 45
}
},
"object": {
"type": "ThisExpression",
"start": 5853,
"end": 5857,
"loc": {
"start": {
"line": 221,
"column": 37
},
"end": {
"line": 221,
"column": 41
}
}
},
"property": {
"type": "Identifier",
"start": 5858,
"end": 5861,
"loc": {
"start": {
"line": 221,
"column": 42
},
"end": {
"line": 221,
"column": 45
},
"identifierName": "app"
},
"name": "app"
},
"computed": false
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 5879,
"end": 5925,
"loc": {
"start": {
"line": 223,
"column": 12
},
"end": {
"line": 223,
"column": 58
}
},
"expression": {
"type": "CallExpression",
"start": 5879,
"end": 5924,
"loc": {
"start": {
"line": 223,
"column": 12
},
"end": {
"line": 223,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 5879,
"end": 5903,
"loc": {
"start": {
"line": 223,
"column": 12
},
"end": {
"line": 223,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 5879,
"end": 5888,
"loc": {
"start": {
"line": 223,
"column": 12
},
"end": {
"line": 223,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 5879,
"end": 5883,
"loc": {
"start": {
"line": 223,
"column": 12
},
"end": {
"line": 223,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 5884,
"end": 5888,
"loc": {
"start": {
"line": 223,
"column": 17
},
"end": {
"line": 223,
"column": 21
},
"identifierName": "core"
},
"name": "core"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5889,
"end": 5903,
"loc": {
"start": {
"line": 223,
"column": 22
},
"end": {
"line": 223,
"column": 36
},
"identifierName": "initializeRoot"
},
"name": "initializeRoot"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 5904,
"end": 5908,
"loc": {
"start": {
"line": 223,
"column": 37
},
"end": {
"line": 223,
"column": 41
}
}
},
{
"type": "MemberExpression",
"start": 5910,
"end": 5923,
"loc": {
"start": {
"line": 223,
"column": 43
},
"end": {
"line": 223,
"column": 56
}
},
"object": {
"type": "ThisExpression",
"start": 5910,
"end": 5914,
"loc": {
"start": {
"line": 223,
"column": 43
},
"end": {
"line": 223,
"column": 47
}
}
},
"property": {
"type": "Identifier",
"start": 5915,
"end": 5923,
"loc": {
"start": {
"line": 223,
"column": 48
},
"end": {
"line": 223,
"column": 56
},
"identifierName": "savegame"
},
"name": "savegame"
},
"computed": false
}
]
}
},
{
"type": "IfStatement",
"start": 5941,
"end": 6162,
"loc": {
"start": {
"line": 225,
"column": 12
},
"end": {
"line": 230,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 5945,
"end": 5972,
"loc": {
"start": {
"line": 225,
"column": 16
},
"end": {
"line": 225,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 5945,
"end": 5970,
"loc": {
"start": {
"line": 225,
"column": 16
},
"end": {
"line": 225,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 5945,
"end": 5958,
"loc": {
"start": {
"line": 225,
"column": 16
},
"end": {
"line": 225,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 5945,
"end": 5949,
"loc": {
"start": {
"line": 225,
"column": 16
},
"end": {
"line": 225,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 5950,
"end": 5958,
"loc": {
"start": {
"line": 225,
"column": 21
},
"end": {
"line": 225,
"column": 29
},
"identifierName": "savegame"
},
"name": "savegame"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5959,
"end": 5970,
"loc": {
"start": {
"line": 225,
"column": 30
},
"end": {
"line": 225,
"column": 41
},
"identifierName": "hasGameDump"
},
"name": "hasGameDump"
},
"computed": false
},
"arguments": []
},
"consequent": {
"type": "BlockStatement",
"start": 5974,
"end": 6033,
"loc": {
"start": {
"line": 225,
"column": 45
},
"end": {
"line": 227,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5993,
"end": 6018,
"loc": {
"start": {
"line": 226,
"column": 16
},
"end": {
"line": 226,
"column": 41
}
},
"expression": {
"type": "CallExpression",
"start": 5993,
"end": 6017,
"loc": {
"start": {
"line": 226,
"column": 16
},
"end": {
"line": 226,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 5993,
"end": 6015,
"loc": {
"start": {
"line": 226,
"column": 16
},
"end": {
"line": 226,
"column": 38
}
},
"object": {
"type": "ThisExpression",
"start": 5993,
"end": 5997,
"loc": {
"start": {
"line": 226,
"column": 16
},
"end": {
"line": 226,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 5998,
"end": 6015,
"loc": {
"start": {
"line": 226,
"column": 21
},
"end": {
"line": 226,
"column": 38
},
"identifierName": "stage4bResumeGame"
},
"name": "stage4bResumeGame"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 6039,
"end": 6162,
"loc": {
"start": {
"line": 227,
"column": 19
},
"end": {
"line": 230,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6058,
"end": 6101,
"loc": {
"start": {
"line": 228,
"column": 16
},
"end": {
"line": 228,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 6058,
"end": 6100,
"loc": {
"start": {
"line": 228,
"column": 16
},
"end": {
"line": 228,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 6058,
"end": 6098,
"loc": {
"start": {
"line": 228,
"column": 16
},
"end": {
"line": 228,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 6058,
"end": 6080,
"loc": {
"start": {
"line": 228,
"column": 16
},
"end": {
"line": 228,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 6058,
"end": 6066,
"loc": {
"start": {
"line": 228,
"column": 16
},
"end": {
"line": 228,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 6058,
"end": 6062,
"loc": {
"start": {
"line": 228,
"column": 16
},
"end": {
"line": 228,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 6063,
"end": 6066,
"loc": {
"start": {
"line": 228,
"column": 21
},
"end": {
"line": 228,
"column": 24
},
"identifierName": "app"
},
"name": "app"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6067,
"end": 6080,
"loc": {
"start": {
"line": 228,
"column": 25
},
"end": {
"line": 228,
"column": 38
},
"identifierName": "gameAnalytics"
},
"name": "gameAnalytics"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6081,
"end": 6098,
"loc": {
"start": {
"line": 228,
"column": 39
},
"end": {
"line": 228,
"column": 56
},
"identifierName": "handleGameStarted"
},
"name": "handleGameStarted"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 6119,
"end": 6147,
"loc": {
"start": {
"line": 229,
"column": 16
},
"end": {
"line": 229,
"column": 44
}
},
"expression": {
"type": "CallExpression",
"start": 6119,
"end": 6146,
"loc": {
"start": {
"line": 229,
"column": 16
},
"end": {
"line": 229,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 6119,
"end": 6144,
"loc": {
"start": {
"line": 229,
"column": 16
},
"end": {
"line": 229,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 6119,
"end": 6123,
"loc": {
"start": {
"line": 229,
"column": 16
},
"end": {
"line": 229,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 6124,
"end": 6144,
"loc": {
"start": {
"line": 229,
"column": 21
},
"end": {
"line": 229,
"column": 41
},
"identifierName": "stage4aInitEmptyGame"
},
"name": "stage4aInitEmptyGame"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " STAGES",
"start": 5595,
"end": 5604,
"loc": {
"start": {
"line": 213,
"column": 4
},
"end": {
"line": 213,
"column": 13
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Creates the game core instance, and thus the root\r\n ",
"start": 5612,
"end": 5682,
"loc": {
"start": {
"line": 215,
"column": 4
},
"end": {
"line": 217,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Initializes a new empty game\r\n ",
"start": 6188,
"end": 6237,
"loc": {
"start": {
"line": 234,
"column": 4
},
"end": {
"line": 236,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 6243,
"end": 6422,
"loc": {
"start": {
"line": 237,
"column": 4
},
"end": {
"line": 242,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6243,
"end": 6263,
"loc": {
"start": {
"line": 237,
"column": 4
},
"end": {
"line": 237,
"column": 24
},
"identifierName": "stage4aInitEmptyGame"
},
"name": "stage4aInitEmptyGame",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 6266,
"end": 6422,
"loc": {
"start": {
"line": 237,
"column": 27
},
"end": {
"line": 242,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 6277,
"end": 6415,
"loc": {
"start": {
"line": 238,
"column": 8
},
"end": {
"line": 241,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 6281,
"end": 6324,
"loc": {
"start": {
"line": 238,
"column": 12
},
"end": {
"line": 238,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 6281,
"end": 6297,
"loc": {
"start": {
"line": 238,
"column": 12
},
"end": {
"line": 238,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 6281,
"end": 6285,
"loc": {
"start": {
"line": 238,
"column": 12
},
"end": {
"line": 238,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 6286,
"end": 6297,
"loc": {
"start": {
"line": 238,
"column": 17
},
"end": {
"line": 238,
"column": 28
},
"identifierName": "switchStage"
},
"name": "switchStage"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 6298,
"end": 6323,
"loc": {
"start": {
"line": 238,
"column": 29
},
"end": {
"line": 238,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 6298,
"end": 6304,
"loc": {
"start": {
"line": 238,
"column": 29
},
"end": {
"line": 238,
"column": 35
},
"identifierName": "stages"
},
"name": "stages"
},
"property": {
"type": "Identifier",
"start": 6305,
"end": 6323,
"loc": {
"start": {
"line": 238,
"column": 36
},
"end": {
"line": 238,
"column": 54
},
"identifierName": "s4_A_initEmptyGame"
},
"name": "s4_A_initEmptyGame"
},
"computed": false
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 6326,
"end": 6415,
"loc": {
"start": {
"line": 238,
"column": 57
},
"end": {
"line": 241,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6341,
"end": 6365,
"loc": {
"start": {
"line": 239,
"column": 12
},
"end": {
"line": 239,
"column": 36
}
},
"expression": {
"type": "CallExpression",
"start": 6341,
"end": 6364,
"loc": {
"start": {
"line": 239,
"column": 12
},
"end": {
"line": 239,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 6341,
"end": 6362,
"loc": {
"start": {
"line": 239,
"column": 12
},
"end": {
"line": 239,
"column": 33
}
},
"object": {
"type": "MemberExpression",
"start": 6341,
"end": 6350,
"loc": {
"start": {
"line": 239,
"column": 12
},
"end": {
"line": 239,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 6341,
"end": 6345,
"loc": {
"start": {
"line": 239,
"column": 12
},
"end": {
"line": 239,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 6346,
"end": 6350,
"loc": {
"start": {
"line": 239,
"column": 17
},
"end": {
"line": 239,
"column": 21
},
"identifierName": "core"
},
"name": "core"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6351,
"end": 6362,
"loc": {
"start": {
"line": 239,
"column": 22
},
"end": {
"line": 239,
"column": 33
},
"identifierName": "initNewGame"
},
"name": "initNewGame"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 6379,
"end": 6404,
"loc": {
"start": {
"line": 240,
"column": 12
},
"end": {
"line": 240,
"column": 37
}
},
"expression": {
"type": "CallExpression",
"start": 6379,
"end": 6403,
"loc": {
"start": {
"line": 240,
"column": 12
},
"end": {
"line": 240,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 6379,
"end": 6401,
"loc": {
"start": {
"line": 240,
"column": 12
},
"end": {
"line": 240,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 6379,
"end": 6383,
"loc": {
"start": {
"line": 240,
"column": 12
},
"end": {
"line": 240,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 6384,
"end": 6401,
"loc": {
"start": {
"line": 240,
"column": 17
},
"end": {
"line": 240,
"column": 34
},
"identifierName": "stage5FirstUpdate"
},
"name": "stage5FirstUpdate"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Initializes a new empty game\r\n ",
"start": 6188,
"end": 6237,
"loc": {
"start": {
"line": 234,
"column": 4
},
"end": {
"line": 236,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Resumes an existing game\r\n ",
"start": 6430,
"end": 6475,
"loc": {
"start": {
"line": 244,
"column": 4
},
"end": {
"line": 246,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 6481,
"end": 7565,
"loc": {
"start": {
"line": 247,
"column": 4
},
"end": {
"line": 268,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6481,
"end": 6498,
"loc": {
"start": {
"line": 247,
"column": 4
},
"end": {
"line": 247,
"column": 21
},
"identifierName": "stage4bResumeGame"
},
"name": "stage4bResumeGame",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 6501,
"end": 7565,
"loc": {
"start": {
"line": 247,
"column": 24
},
"end": {
"line": 268,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 6512,
"end": 7558,
"loc": {
"start": {
"line": 248,
"column": 8
},
"end": {
"line": 267,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 6516,
"end": 6556,
"loc": {
"start": {
"line": 248,
"column": 12
},
"end": {
"line": 248,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
"start": 6516,
"end": 6532,
"loc": {
"start": {
"line": 248,
"column": 12
},
"end": {
"line": 248,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 6516,
"end": 6520,
"loc": {
"start": {
"line": 248,
"column": 12
},
"end": {
"line": 248,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 6521,
"end": 6532,
"loc": {
"start": {
"line": 248,
"column": 17
},
"end": {
"line": 248,
"column": 28
},
"identifierName": "switchStage"
},
"name": "switchStage"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 6533,
"end": 6555,
"loc": {
"start": {
"line": 248,
"column": 29
},
"end": {
"line": 248,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 6533,
"end": 6539,
"loc": {
"start": {
"line": 248,
"column": 29
},
"end": {
"line": 248,
"column": 35
},
"identifierName": "stages"
},
"name": "stages"
},
"property": {
"type": "Identifier",
"start": 6540,
"end": 6555,
"loc": {
"start": {
"line": 248,
"column": 36
},
"end": {
"line": 248,
"column": 51
},
"identifierName": "s4_B_resumeGame"
},
"name": "s4_B_resumeGame"
},
"computed": false
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 6558,
"end": 7558,
"loc": {
"start": {
"line": 248,
"column": 54
},
"end": {
"line": 267,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 6573,
"end": 7451,
"loc": {
"start": {
"line": 249,
"column": 12
},
"end": {
"line": 264,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 6577,
"end": 6613,
"loc": {
"start": {
"line": 249,
"column": 16
},
"end": {
"line": 249,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
"start": 6577,
"end": 6611,
"loc": {
"start": {
"line": 249,
"column": 16
},
"end": {
"line": 249,
"column": 50
}
},
"object": {
"type": "CallExpression",
"start": 6577,
"end": 6605,
"loc": {
"start": {
"line": 249,
"column": 16
},
"end": {
"line": 249,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
"start": 6577,
"end": 6603,
"loc": {
"start": {
"line": 249,
"column": 16
},
"end": {
"line": 249,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 6577,
"end": 6586,
"loc": {
"start": {
"line": 249,
"column": 16
},
"end": {
"line": 249,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 6577,
"end": 6581,
"loc": {
"start": {
"line": 249,
"column": 16
},
"end": {
"line": 249,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 6582,
"end": 6586,
"loc": {
"start": {
"line": 249,
"column": 21
},
"end": {
"line": 249,
"column": 25
},
"identifierName": "core"
},
"name": "core"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6587,
"end": 6603,
"loc": {
"start": {
"line": 249,
"column": 26
},
"end": {
"line": 249,
"column": 42
},
"identifierName": "initExistingGame"
},
"name": "initExistingGame"
},
"computed": false
},
"arguments": []
},
"property": {
"type": "Identifier",
"start": 6606,
"end": 6611,
"loc": {
"start": {
"line": 249,
"column": 45
},
"end": {
"line": 249,
"column": 50
},
"identifierName": "isBad"
},
"name": "isBad"
},
"computed": false
},
"arguments": []
},
"consequent": {
"type": "BlockStatement",
"start": 6615,
"end": 7451,
"loc": {
"start": {
"line": 249,
"column": 54
},
"end": {
"line": 264,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 6634,
"end": 6686,
"loc": {
"start": {
"line": 250,
"column": 16
},
"end": {
"line": 250,
"column": 68
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6638,
"end": 6685,
"loc": {
"start": {
"line": 250,
"column": 20
},
"end": {
"line": 250,
"column": 67
}
},
"id": {
"type": "Identifier",
"start": 6638,
"end": 6647,
"loc": {
"start": {
"line": 250,
"column": 20
},
"end": {
"line": 250,
"column": 29
},
"identifierName": "errorJSON"
},
"name": "errorJSON"
},
"init": {
"type": "MemberExpression",
"start": 6650,
"end": 6685,
"loc": {
"start": {
"line": 250,
"column": 32
},
"end": {
"line": 250,
"column": 67
}
},
"object": {
"type": "CallExpression",
"start": 6650,
"end": 6678,
"loc": {
"start": {
"line": 250,
"column": 32
},
"end": {
"line": 250,
"column": 60
}
},
"callee": {
"type": "MemberExpression",
"start": 6650,
"end": 6676,
"loc": {
"start": {
"line": 250,
"column": 32
},
"end": {
"line": 250,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 6650,
"end": 6659,
"loc": {
"start": {
"line": 250,
"column": 32
},
"end": {
"line": 250,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 6650,
"end": 6654,
"loc": {
"start": {
"line": 250,
"column": 32
},
"end": {
"line": 250,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 6655,
"end": 6659,
"loc": {
"start": {
"line": 250,
"column": 37
},
"end": {
"line": 250,
"column": 41
},
"identifierName": "core"
},
"name": "core"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6660,
"end": 6676,
"loc": {
"start": {
"line": 250,
"column": 42
},
"end": {
"line": 250,
"column": 58
},
"identifierName": "initExistingGame"
},
"name": "initExistingGame"
},
"computed": false
},
"arguments": []
},
"property": {
"type": "Identifier",
"start": 6679,
"end": 6685,
"loc": {
"start": {
"line": 250,
"column": 61
},
"end": {
"line": 250,
"column": 67
},
"identifierName": "reason"
},
"name": "reason"
},
"computed": false
}
}
],
"kind": "var",
"trailingComments": [
{
"type": "CommentLine",
"value": " if (errorJSON.status) {",
"start": 6704,
"end": 6730,
"loc": {
"start": {
"line": 251,
"column": 16
},
"end": {
"line": 251,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " this.onInitializationFailure(\"Savegame is corrupt and can not be restored.\");",
"start": 6748,
"end": 6832,
"loc": {
"start": {
"line": 252,
"column": 16
},
"end": {
"line": 252,
"column": 100
}
}
},
{
"type": "CommentLine",
"value": " //TODO: load game without mod",
"start": 6850,
"end": 6886,
"loc": {
"start": {
"line": 253,
"column": 16
},
"end": {
"line": 253,
"column": 52
}
}
},
{
"type": "CommentLine",
"value": " // if (errorJSON.status === \"missing\")",
"start": 6904,
"end": 6949,
"loc": {
"start": {
"line": 254,
"column": 16
},
"end": {
"line": 254,
"column": 61
}
}
},
{
"type": "CommentLine",
"value": " // this.core.root.hud.parts.dialogs.showOptionChooser(",
"start": 6967,
"end": 7032,
"loc": {
"start": {
"line": 255,
"column": 16
},
"end": {
"line": 255,
"column": 81
}
}
},
{
"type": "CommentLine",
"value": " // \"Missing \" + errorJSON.type + \" with id \" + errorJSON.id, {",
"start": 7050,
"end": 7123,
"loc": {
"start": {
"line": 256,
"column": 16
},
"end": {
"line": 256,
"column": 89
}
}
},
{
"type": "CommentLine",
"value": " // options: [{ value: \"Test\", text: \"TEst\" }],",
"start": 7141,
"end": 7202,
"loc": {
"start": {
"line": 257,
"column": 16
},
"end": {
"line": 257,
"column": 77
}
}
},
{
"type": "CommentLine",
"value": " // }",
"start": 7220,
"end": 7235,
"loc": {
"start": {
"line": 258,
"column": 16
},
"end": {
"line": 258,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " // );",
"start": 7253,
"end": 7265,
"loc": {
"start": {
"line": 259,
"column": 16
},
"end": {
"line": 259,
"column": 28
}
}
},
{
"type": "CommentLine",
"value": " } else {",
"start": 7283,
"end": 7294,
"loc": {
"start": {
"line": 260,
"column": 16
},
"end": {
"line": 260,
"column": 27
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 7312,
"end": 7389,
"loc": {
"start": {
"line": 261,
"column": 16
},
"end": {
"line": 261,
"column": 93
}
},
"expression": {
"type": "CallExpression",
"start": 7312,
"end": 7388,
"loc": {
"start": {
"line": 261,
"column": 16
},
"end": {
"line": 261,
"column": 92
}
},
"callee": {
"type": "MemberExpression",
"start": 7312,
"end": 7340,
"loc": {
"start": {
"line": 261,
"column": 16
},
"end": {
"line": 261,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 7312,
"end": 7316,
"loc": {
"start": {
"line": 261,
"column": 16
},
"end": {
"line": 261,
"column": 20
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 7317,
"end": 7340,
"loc": {
"start": {
"line": 261,
"column": 21
},
"end": {
"line": 261,
"column": 44
},
"identifierName": "onInitializationFailure"
},
"name": "onInitializationFailure"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "StringLiteral",
"start": 7341,
"end": 7387,
"loc": {
"start": {
"line": 261,
"column": 45
},
"end": {
"line": 261,
"column": 91
}
},
"extra": {
"rawValue": "Savegame is corrupt and can not be restored.",
"raw": "\"Savegame is corrupt and can not be restored.\""
},
"value": "Savegame is corrupt and can not be restored."
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " if (errorJSON.status) {",
"start": 6704,
"end": 6730,
"loc": {
"start": {
"line": 251,
"column": 16
},
"end": {
"line": 251,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " this.onInitializationFailure(\"Savegame is corrupt and can not be restored.\");",
"start": 6748,
"end": 6832,
"loc": {
"start": {
"line": 252,
"column": 16
},
"end": {
"line": 252,
"column": 100
}
}
},
{
"type": "CommentLine",
"value": " //TODO: load game without mod",
"start": 6850,
"end": 6886,
"loc": {
"start": {
"line": 253,
"column": 16
},
"end": {
"line": 253,
"column": 52
}
}
},
{
"type": "CommentLine",
"value": " // if (errorJSON.status === \"missing\")",
"start": 6904,
"end": 6949,
"loc": {
"start": {
"line": 254,
"column": 16
},
"end": {
"line": 254,
"column": 61
}
}
},
{
"type": "CommentLine",
"value": " // this.core.root.hud.parts.dialogs.showOptionChooser(",
"start": 6967,
"end": 7032,
"loc": {
"start": {
"line": 255,
"column": 16
},
"end": {
"line": 255,
"column": 81
}
}
},
{
"type": "CommentLine",
"value": " // \"Missing \" + errorJSON.type + \" with id \" + errorJSON.id, {",
"start": 7050,
"end": 7123,
"loc": {
"start": {
"line": 256,
"column": 16
},
"end": {
"line": 256,
"column": 89
}
}
},
{
"type": "CommentLine",
"value": " // options: [{ value: \"Test\", text: \"TEst\" }],",
"start": 7141,
"end": 7202,
"loc": {
"start": {
"line": 257,
"column": 16
},
"end": {
"line": 257,
"column": 77
}
}
},
{
"type": "CommentLine",
"value": " // }",
"start": 7220,
"end": 7235,
"loc": {
"start": {
"line": 258,
"column": 16
},
"end": {
"line": 258,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " // );",
"start": 7253,
"end": 7265,
"loc": {
"start": {
"line": 259,
"column": 16
},
"end": {
"line": 259,
"column": 28
}
}
},
{
"type": "CommentLine",
"value": " } else {",
"start": 7283,
"end": 7294,
"loc": {
"start": {
"line": 260,
"column": 16
},
"end": {
"line": 260,
"column": 27
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " }",
"start": 7407,
"end": 7411,
"loc": {
"start": {
"line": 262,
"column": 16
},
"end": {
"line": 262,
"column": 20
}
}
}
]
},
{
"type": "ReturnStatement",
"start": 7429,
"end": 7436,
"loc": {
"start": {
"line": 263,
"column": 16
},
"end": {
"line": 263,
"column": 23
}
},
"argument": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " }",
"start": 7407,
"end": 7411,
"loc": {
"start": {
"line": 262,
"column": 16
},
"end": {
"line": 262,
"column": 20
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 7465,
"end": 7508,
"loc": {
"start": {
"line": 265,
"column": 12
},
"end": {
"line": 265,
"column": 55
}
},
"expression": {
"type": "CallExpression",
"start": 7465,
"end": 7507,
"loc": {
"start": {
"line": 265,
"column": 12
},
"end": {
"line": 265,
"column": 54
}
},
"callee": {
"type": "MemberExpression",
"start": 7465,
"end": 7505,
"loc": {
"start": {
"line": 265,
"column": 12
},
"end": {
"line": 265,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 7465,
"end": 7487,
"loc": {
"start": {
"line": 265,
"column": 12
},
"end": {
"line": 265,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 7465,
"end": 7473,
"loc": {
"start": {
"line": 265,
"column": 12
},
"end": {
"line": 265,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 7465,
"end": 7469,
"loc": {
"start": {
"line": 265,
"column": 12
},
"end": {
"line": 265,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 7470,
"end": 7473,
"loc": {
"start": {
"line": 265,
"column": 17
},
"end": {
"line": 265,
"column": 20
},
"identifierName": "app"
},
"name": "app"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7474,
"end": 7487,
"loc": {
"start": {
"line": 265,
"column": 21
},
"end": {
"line": 265,
"column": 34
},
"identifierName": "gameAnalytics"
},
"name": "gameAnalytics"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7488,
"end": 7505,
"loc": {
"start": {
"line": 265,
"column": 35
},
"end": {
"line": 265,
"column": 52
},
"identifierName": "handleGameResumed"
},
"name": "handleGameResumed"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 7522,
"end": 7547,
"loc": {
"start": {
"line": 266,
"column": 12
},
"end": {
"line": 266,
"column": 37
}
},
"expression": {
"type": "CallExpression",
"start": 7522,
"end": 7546,
"loc": {
"start": {
"line": 266,
"column": 12
},
"end": {
"line": 266,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 7522,
"end": 7544,
"loc": {
"start": {
"line": 266,
"column": 12
},
"end": {
"line": 266,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 7522,
"end": 7526,
"loc": {
"start": {
"line": 266,
"column": 12
},
"end": {
"line": 266,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 7527,
"end": 7544,
"loc": {
"start": {
"line": 266,
"column": 17
},
"end": {
"line": 266,
"column": 34
},
"identifierName": "stage5FirstUpdate"
},
"name": "stage5FirstUpdate"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Resumes an existing game\r\n ",
"start": 6430,
"end": 6475,
"loc": {
"start": {
"line": 244,
"column": 4
},
"end": {
"line": 246,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Performs the first game update on the game which initializes most caches\r\n ",
"start": 7573,
"end": 7666,
"loc": {
"start": {
"line": 270,
"column": 4
},
"end": {
"line": 272,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 7672,
"end": 8153,
"loc": {
"start": {
"line": 273,
"column": 4
},
"end": {
"line": 284,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 7672,
"end": 7689,
"loc": {
"start": {
"line": 273,
"column": 4
},
"end": {
"line": 273,
"column": 21
},
"identifierName": "stage5FirstUpdate"
},
"name": "stage5FirstUpdate",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 7692,
"end": 8153,
"loc": {
"start": {
"line": 273,
"column": 24
},
"end": {
"line": 284,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 7703,
"end": 8146,
"loc": {
"start": {
"line": 274,
"column": 8
},
"end": {
"line": 283,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 7707,
"end": 7746,
"loc": {
"start": {
"line": 274,
"column": 12
},
"end": {
"line": 274,
"column": 51
}
},
"callee": {
"type": "MemberExpression",
"start": 7707,
"end": 7723,
"loc": {
"start": {
"line": 274,
"column": 12
},
"end": {
"line": 274,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 7707,
"end": 7711,
"loc": {
"start": {
"line": 274,
"column": 12
},
"end": {
"line": 274,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 7712,
"end": 7723,
"loc": {
"start": {
"line": 274,
"column": 17
},
"end": {
"line": 274,
"column": 28
},
"identifierName": "switchStage"
},
"name": "switchStage"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 7724,
"end": 7745,
"loc": {
"start": {
"line": 274,
"column": 29
},
"end": {
"line": 274,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 7724,
"end": 7730,
"loc": {
"start": {
"line": 274,
"column": 29
},
"end": {
"line": 274,
"column": 35
},
"identifierName": "stages"
},
"name": "stages"
},
"property": {
"type": "Identifier",
"start": 7731,
"end": 7745,
"loc": {
"start": {
"line": 274,
"column": 36
},
"end": {
"line": 274,
"column": 50
},
"identifierName": "s5_firstUpdate"
},
"name": "s5_firstUpdate"
},
"computed": false
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 7748,
"end": 8146,
"loc": {
"start": {
"line": 274,
"column": 53
},
"end": {
"line": 283,
"column": 9
}
},
"body": [
{
"type": "ForStatement",
"start": 7800,
"end": 8004,
"loc": {
"start": {
"line": 276,
"column": 12
},
"end": {
"line": 279,
"column": 13
}
},
"init": {
"type": "VariableDeclaration",
"start": 7805,
"end": 7814,
"loc": {
"start": {
"line": 276,
"column": 17
},
"end": {
"line": 276,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7809,
"end": 7814,
"loc": {
"start": {
"line": 276,
"column": 21
},
"end": {
"line": 276,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 7809,
"end": 7810,
"loc": {
"start": {
"line": 276,
"column": 21
},
"end": {
"line": 276,
"column": 22
},
"identifierName": "i"
},
"name": "i",
"leadingComments": null
},
"init": {
"type": "NumericLiteral",
"start": 7813,
"end": 7814,
"loc": {
"start": {
"line": 276,
"column": 25
},
"end": {
"line": 276,
"column": 26
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": null
},
"test": {
"type": "BinaryExpression",
"start": 7816,
"end": 7845,
"loc": {
"start": {
"line": 276,
"column": 28
},
"end": {
"line": 276,
"column": 57
}
},
"left": {
"type": "Identifier",
"start": 7816,
"end": 7817,
"loc": {
"start": {
"line": 276,
"column": 28
},
"end": {
"line": 276,
"column": 29
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 7820,
"end": 7845,
"loc": {
"start": {
"line": 276,
"column": 32
},
"end": {
"line": 276,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 7820,
"end": 7838,
"loc": {
"start": {
"line": 276,
"column": 32
},
"end": {
"line": 276,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 7820,
"end": 7829,
"loc": {
"start": {
"line": 276,
"column": 32
},
"end": {
"line": 276,
"column": 41
},
"identifierName": "shapezAPI"
},
"name": "shapezAPI"
},
"property": {
"type": "Identifier",
"start": 7830,
"end": 7838,
"loc": {
"start": {
"line": 276,
"column": 42
},
"end": {
"line": 276,
"column": 50
},
"identifierName": "modOrder"
},
"name": "modOrder"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7839,
"end": 7845,
"loc": {
"start": {
"line": 276,
"column": 51
},
"end": {
"line": 276,
"column": 57
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 7847,
"end": 7850,
"loc": {
"start": {
"line": 276,
"column": 59
},
"end": {
"line": 276,
"column": 62
}
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"start": 7847,
"end": 7848,
"loc": {
"start": {
"line": 276,
"column": 59
},
"end": {
"line": 276,
"column": 60
},
"identifierName": "i"
},
"name": "i"
}
},
"body": {
"type": "BlockStatement",
"start": 7852,
"end": 8004,
"loc": {
"start": {
"line": 276,
"column": 64
},
"end": {
"line": 279,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 7871,
"end": 7907,
"loc": {
"start": {
"line": 277,
"column": 16
},
"end": {
"line": 277,
"column": 52
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7877,
"end": 7906,
"loc": {
"start": {
"line": 277,
"column": 22
},
"end": {
"line": 277,
"column": 51
}
},
"id": {
"type": "Identifier",
"start": 7877,
"end": 7882,
"loc": {
"start": {
"line": 277,
"column": 22
},
"end": {
"line": 277,
"column": 27
},
"identifierName": "modId"
},
"name": "modId"
},
"init": {
"type": "MemberExpression",
"start": 7885,
"end": 7906,
"loc": {
"start": {
"line": 277,
"column": 30
},
"end": {
"line": 277,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 7885,
"end": 7903,
"loc": {
"start": {
"line": 277,
"column": 30
},
"end": {
"line": 277,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 7885,
"end": 7894,
"loc": {
"start": {
"line": 277,
"column": 30
},
"end": {
"line": 277,
"column": 39
},
"identifierName": "shapezAPI"
},
"name": "shapezAPI"
},
"property": {
"type": "Identifier",
"start": 7895,
"end": 7903,
"loc": {
"start": {
"line": 277,
"column": 40
},
"end": {
"line": 277,
"column": 48
},
"identifierName": "modOrder"
},
"name": "modOrder"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7904,
"end": 7905,
"loc": {
"start": {
"line": 277,
"column": 49
},
"end": {
"line": 277,
"column": 50
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 7925,
"end": 7989,
"loc": {
"start": {
"line": 278,
"column": 16
},
"end": {
"line": 278,
"column": 80
}
},
"expression": {
"type": "CallExpression",
"start": 7925,
"end": 7988,
"loc": {
"start": {
"line": 278,
"column": 16
},
"end": {
"line": 278,
"column": 79
}
},
"callee": {
"type": "MemberExpression",
"start": 7925,
"end": 7972,
"loc": {
"start": {
"line": 278,
"column": 16
},
"end": {
"line": 278,
"column": 63
}
},
"object": {
"type": "CallExpression",
"start": 7925,
"end": 7950,
"loc": {
"start": {
"line": 278,
"column": 16
},
"end": {
"line": 278,
"column": 41
}
},
"callee": {
"type": "MemberExpression",
"start": 7925,
"end": 7943,
"loc": {
"start": {
"line": 278,
"column": 16
},
"end": {
"line": 278,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 7925,
"end": 7939,
"loc": {
"start": {
"line": 278,
"column": 16
},
"end": {
"line": 278,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 7925,
"end": 7934,
"loc": {
"start": {
"line": 278,
"column": 16
},
"end": {
"line": 278,
"column": 25
},
"identifierName": "shapezAPI"
},
"name": "shapezAPI"
},
"property": {
"type": "Identifier",
"start": 7935,
"end": 7939,
"loc": {
"start": {
"line": 278,
"column": 26
},
"end": {
"line": 278,
"column": 30
},
"identifierName": "mods"
},
"name": "mods"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7940,
"end": 7943,
"loc": {
"start": {
"line": 278,
"column": 31
},
"end": {
"line": 278,
"column": 34
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 7944,
"end": 7949,
"loc": {
"start": {
"line": 278,
"column": 35
},
"end": {
"line": 278,
"column": 40
},
"identifierName": "modId"
},
"name": "modId"
}
]
},
"property": {
"type": "Identifier",
"start": 7951,
"end": 7972,
"loc": {
"start": {
"line": 278,
"column": 42
},
"end": {
"line": 278,
"column": 63
},
"identifierName": "gameBeforeFirstUpdate"
},
"name": "gameBeforeFirstUpdate"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 7973,
"end": 7987,
"loc": {
"start": {
"line": 278,
"column": 64
},
"end": {
"line": 278,
"column": 78
}
},
"object": {
"type": "MemberExpression",
"start": 7973,
"end": 7982,
"loc": {
"start": {
"line": 278,
"column": 64
},
"end": {
"line": 278,
"column": 73
}
},
"object": {
"type": "ThisExpression",
"start": 7973,
"end": 7977,
"loc": {
"start": {
"line": 278,
"column": 64
},
"end": {
"line": 278,
"column": 68
}
}
},
"property": {
"type": "Identifier",
"start": 7978,
"end": 7982,
"loc": {
"start": {
"line": 278,
"column": 69
},
"end": {
"line": 278,
"column": 73
},
"identifierName": "core"
},
"name": "core"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7983,
"end": 7987,
"loc": {
"start": {
"line": 278,
"column": 74
},
"end": {
"line": 278,
"column": 78
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": "Call mod for gameload",
"start": 7763,
"end": 7786,
"loc": {
"start": {
"line": 275,
"column": 12
},
"end": {
"line": 275,
"column": 35
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 8018,
"end": 8057,
"loc": {
"start": {
"line": 280,
"column": 12
},
"end": {
"line": 280,
"column": 51
}
},
"expression": {
"type": "AssignmentExpression",
"start": 8018,
"end": 8056,
"loc": {
"start": {
"line": 280,
"column": 12
},
"end": {
"line": 280,
"column": 50
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 8018,
"end": 8049,
"loc": {
"start": {
"line": 280,
"column": 12
},
"end": {
"line": 280,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 8018,
"end": 8032,
"loc": {
"start": {
"line": 280,
"column": 12
},
"end": {
"line": 280,
"column": 26
}
},
"object": {
"type": "MemberExpression",
"start": 8018,
"end": 8027,
"loc": {
"start": {
"line": 280,
"column": 12
},
"end": {
"line": 280,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 8018,
"end": 8022,
"loc": {
"start": {
"line": 280,
"column": 12
},
"end": {
"line": 280,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 8023,
"end": 8027,
"loc": {
"start": {
"line": 280,
"column": 17
},
"end": {
"line": 280,
"column": 21
},
"identifierName": "core"
},
"name": "core"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8028,
"end": 8032,
"loc": {
"start": {
"line": 280,
"column": 22
},
"end": {
"line": 280,
"column": 26
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8033,
"end": 8049,
"loc": {
"start": {
"line": 280,
"column": 27
},
"end": {
"line": 280,
"column": 43
},
"identifierName": "logicInitialized"
},
"name": "logicInitialized"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 8052,
"end": 8056,
"loc": {
"start": {
"line": 280,
"column": 46
},
"end": {
"line": 280,
"column": 50
}
},
"value": true
}
}
},
{
"type": "ExpressionStatement",
"start": 8071,
"end": 8095,
"loc": {
"start": {
"line": 281,
"column": 12
},
"end": {
"line": 281,
"column": 36
}
},
"expression": {
"type": "CallExpression",
"start": 8071,
"end": 8094,
"loc": {
"start": {
"line": 281,
"column": 12
},
"end": {
"line": 281,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 8071,
"end": 8092,
"loc": {
"start": {
"line": 281,
"column": 12
},
"end": {
"line": 281,
"column": 33
}
},
"object": {
"type": "MemberExpression",
"start": 8071,
"end": 8080,
"loc": {
"start": {
"line": 281,
"column": 12
},
"end": {
"line": 281,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 8071,
"end": 8075,
"loc": {
"start": {
"line": 281,
"column": 12
},
"end": {
"line": 281,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 8076,
"end": 8080,
"loc": {
"start": {
"line": 281,
"column": 17
},
"end": {
"line": 281,
"column": 21
},
"identifierName": "core"
},
"name": "core"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8081,
"end": 8092,
"loc": {
"start": {
"line": 281,
"column": 22
},
"end": {
"line": 281,
"column": 33
},
"identifierName": "updateLogic"
},
"name": "updateLogic"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 8109,
"end": 8135,
"loc": {
"start": {
"line": 282,
"column": 12
},
"end": {
"line": 282,
"column": 38
}
},
"expression": {
"type": "CallExpression",
"start": 8109,
"end": 8134,
"loc": {
"start": {
"line": 282,
"column": 12
},
"end": {
"line": 282,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 8109,
"end": 8132,
"loc": {
"start": {
"line": 282,
"column": 12
},
"end": {
"line": 282,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 8109,
"end": 8113,
"loc": {
"start": {
"line": 282,
"column": 12
},
"end": {
"line": 282,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 8114,
"end": 8132,
"loc": {
"start": {
"line": 282,
"column": 17
},
"end": {
"line": 282,
"column": 35
},
"identifierName": "stage6PostLoadHook"
},
"name": "stage6PostLoadHook"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Performs the first game update on the game which initializes most caches\r\n ",
"start": 7573,
"end": 7666,
"loc": {
"start": {
"line": 270,
"column": 4
},
"end": {
"line": 272,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Call the post load hook, this means that we have loaded the game, and all systems\r\n * can operate and start to work now.\r\n ",
"start": 8161,
"end": 8306,
"loc": {
"start": {
"line": 286,
"column": 4
},
"end": {
"line": 289,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 8312,
"end": 8525,
"loc": {
"start": {
"line": 290,
"column": 4
},
"end": {
"line": 296,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 8312,
"end": 8330,
"loc": {
"start": {
"line": 290,
"column": 4
},
"end": {
"line": 290,
"column": 22
},
"identifierName": "stage6PostLoadHook"
},
"name": "stage6PostLoadHook",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 8333,
"end": 8525,
"loc": {
"start": {
"line": 290,
"column": 25
},
"end": {
"line": 296,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 8344,
"end": 8518,
"loc": {
"start": {
"line": 291,
"column": 8
},
"end": {
"line": 295,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 8348,
"end": 8388,
"loc": {
"start": {
"line": 291,
"column": 12
},
"end": {
"line": 291,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
"start": 8348,
"end": 8364,
"loc": {
"start": {
"line": 291,
"column": 12
},
"end": {
"line": 291,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 8348,
"end": 8352,
"loc": {
"start": {
"line": 291,
"column": 12
},
"end": {
"line": 291,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 8353,
"end": 8364,
"loc": {
"start": {
"line": 291,
"column": 17
},
"end": {
"line": 291,
"column": 28
},
"identifierName": "switchStage"
},
"name": "switchStage"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 8365,
"end": 8387,
"loc": {
"start": {
"line": 291,
"column": 29
},
"end": {
"line": 291,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 8365,
"end": 8371,
"loc": {
"start": {
"line": 291,
"column": 29
},
"end": {
"line": 291,
"column": 35
},
"identifierName": "stages"
},
"name": "stages"
},
"property": {
"type": "Identifier",
"start": 8372,
"end": 8387,
"loc": {
"start": {
"line": 291,
"column": 36
},
"end": {
"line": 291,
"column": 51
},
"identifierName": "s6_postLoadHook"
},
"name": "s6_postLoadHook"
},
"computed": false
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 8390,
"end": 8518,
"loc": {
"start": {
"line": 291,
"column": 54
},
"end": {
"line": 295,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 8405,
"end": 8434,
"loc": {
"start": {
"line": 292,
"column": 12
},
"end": {
"line": 292,
"column": 41
}
},
"expression": {
"type": "CallExpression",
"start": 8405,
"end": 8433,
"loc": {
"start": {
"line": 292,
"column": 12
},
"end": {
"line": 292,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 8405,
"end": 8415,
"loc": {
"start": {
"line": 292,
"column": 12
},
"end": {
"line": 292,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 8405,
"end": 8411,
"loc": {
"start": {
"line": 292,
"column": 12
},
"end": {
"line": 292,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 8412,
"end": 8415,
"loc": {
"start": {
"line": 292,
"column": 19
},
"end": {
"line": 292,
"column": 22
},
"identifierName": "log"
},
"name": "log"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 8416,
"end": 8432,
"loc": {
"start": {
"line": 292,
"column": 23
},
"end": {
"line": 292,
"column": 39
}
},
"extra": {
"rawValue": "Post load hook",
"raw": "\"Post load hook\""
},
"value": "Post load hook"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 8448,
"end": 8473,
"loc": {
"start": {
"line": 293,
"column": 12
},
"end": {
"line": 293,
"column": 37
}
},
"expression": {
"type": "CallExpression",
"start": 8448,
"end": 8472,
"loc": {
"start": {
"line": 293,
"column": 12
},
"end": {
"line": 293,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 8448,
"end": 8470,
"loc": {
"start": {
"line": 293,
"column": 12
},
"end": {
"line": 293,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 8448,
"end": 8457,
"loc": {
"start": {
"line": 293,
"column": 12
},
"end": {
"line": 293,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 8448,
"end": 8452,
"loc": {
"start": {
"line": 293,
"column": 12
},
"end": {
"line": 293,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 8453,
"end": 8457,
"loc": {
"start": {
"line": 293,
"column": 17
},
"end": {
"line": 293,
"column": 21
},
"identifierName": "core"
},
"name": "core"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8458,
"end": 8470,
"loc": {
"start": {
"line": 293,
"column": 22
},
"end": {
"line": 293,
"column": 34
},
"identifierName": "postLoadHook"
},
"name": "postLoadHook"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 8487,
"end": 8507,
"loc": {
"start": {
"line": 294,
"column": 12
},
"end": {
"line": 294,
"column": 32
}
},
"expression": {
"type": "CallExpression",
"start": 8487,
"end": 8506,
"loc": {
"start": {
"line": 294,
"column": 12
},
"end": {
"line": 294,
"column": 31
}
},
"callee": {
"type": "MemberExpression",
"start": 8487,
"end": 8504,
"loc": {
"start": {
"line": 294,
"column": 12
},
"end": {
"line": 294,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 8487,
"end": 8491,
"loc": {
"start": {
"line": 294,
"column": 12
},
"end": {
"line": 294,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 8492,
"end": 8504,
"loc": {
"start": {
"line": 294,
"column": 17
},
"end": {
"line": 294,
"column": 29
},
"identifierName": "stage7Warmup"
},
"name": "stage7Warmup"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Call the post load hook, this means that we have loaded the game, and all systems\r\n * can operate and start to work now.\r\n ",
"start": 8161,
"end": 8306,
"loc": {
"start": {
"line": 286,
"column": 4
},
"end": {
"line": 289,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * This makes the game idle and draw for a while, because we run most code this way\r\n * the V8 engine can already start to optimize it. Also this makes sure the resources\r\n * are in the VRAM and we have a smooth experience once we start.\r\n ",
"start": 8533,
"end": 8796,
"loc": {
"start": {
"line": 298,
"column": 4
},
"end": {
"line": 302,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 8802,
"end": 9134,
"loc": {
"start": {
"line": 303,
"column": 4
},
"end": {
"line": 311,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 8802,
"end": 8814,
"loc": {
"start": {
"line": 303,
"column": 4
},
"end": {
"line": 303,
"column": 16
},
"identifierName": "stage7Warmup"
},
"name": "stage7Warmup",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 8817,
"end": 9134,
"loc": {
"start": {
"line": 303,
"column": 19
},
"end": {
"line": 311,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 8828,
"end": 9127,
"loc": {
"start": {
"line": 304,
"column": 8
},
"end": {
"line": 310,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 8832,
"end": 8866,
"loc": {
"start": {
"line": 304,
"column": 12
},
"end": {
"line": 304,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 8832,
"end": 8848,
"loc": {
"start": {
"line": 304,
"column": 12
},
"end": {
"line": 304,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 8832,
"end": 8836,
"loc": {
"start": {
"line": 304,
"column": 12
},
"end": {
"line": 304,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 8837,
"end": 8848,
"loc": {
"start": {
"line": 304,
"column": 17
},
"end": {
"line": 304,
"column": 28
},
"identifierName": "switchStage"
},
"name": "switchStage"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 8849,
"end": 8865,
"loc": {
"start": {
"line": 304,
"column": 29
},
"end": {
"line": 304,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 8849,
"end": 8855,
"loc": {
"start": {
"line": 304,
"column": 29
},
"end": {
"line": 304,
"column": 35
},
"identifierName": "stages"
},
"name": "stages"
},
"property": {
"type": "Identifier",
"start": 8856,
"end": 8865,
"loc": {
"start": {
"line": 304,
"column": 36
},
"end": {
"line": 304,
"column": 45
},
"identifierName": "s7_warmup"
},
"name": "s7_warmup"
},
"computed": false
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 8868,
"end": 9127,
"loc": {
"start": {
"line": 304,
"column": 48
},
"end": {
"line": 310,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 8883,
"end": 9116,
"loc": {
"start": {
"line": 305,
"column": 12
},
"end": {
"line": 309,
"column": 13
}
},
"test": {
"type": "MemberExpression",
"start": 8887,
"end": 8917,
"loc": {
"start": {
"line": 305,
"column": 16
},
"end": {
"line": 305,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 8887,
"end": 8907,
"loc": {
"start": {
"line": 305,
"column": 16
},
"end": {
"line": 305,
"column": 36
}
},
"object": {
"type": "ThisExpression",
"start": 8887,
"end": 8891,
"loc": {
"start": {
"line": 305,
"column": 16
},
"end": {
"line": 305,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 8892,
"end": 8907,
"loc": {
"start": {
"line": 305,
"column": 21
},
"end": {
"line": 305,
"column": 36
},
"identifierName": "creationPayload"
},
"name": "creationPayload"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8908,
"end": 8917,
"loc": {
"start": {
"line": 305,
"column": 37
},
"end": {
"line": 305,
"column": 46
},
"identifierName": "fastEnter"
},
"name": "fastEnter"
},
"computed": false
},
"consequent": {
"type": "BlockStatement",
"start": 8919,
"end": 9013,
"loc": {
"start": {
"line": 305,
"column": 48
},
"end": {
"line": 307,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 8938,
"end": 8998,
"loc": {
"start": {
"line": 306,
"column": 16
},
"end": {
"line": 306,
"column": 76
}
},
"expression": {
"type": "AssignmentExpression",
"start": 8938,
"end": 8997,
"loc": {
"start": {
"line": 306,
"column": 16
},
"end": {
"line": 306,
"column": 75
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 8938,
"end": 8960,
"loc": {
"start": {
"line": 306,
"column": 16
},
"end": {
"line": 306,
"column": 38
}
},
"object": {
"type": "ThisExpression",
"start": 8938,
"end": 8942,
"loc": {
"start": {
"line": 306,
"column": 16
},
"end": {
"line": 306,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 8943,
"end": 8960,
"loc": {
"start": {
"line": 306,
"column": 21
},
"end": {
"line": 306,
"column": 38
},
"identifierName": "warmupTimeSeconds"
},
"name": "warmupTimeSeconds"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 8963,
"end": 8997,
"loc": {
"start": {
"line": 306,
"column": 41
},
"end": {
"line": 306,
"column": 75
}
},
"object": {
"type": "Identifier",
"start": 8963,
"end": 8975,
"loc": {
"start": {
"line": 306,
"column": 41
},
"end": {
"line": 306,
"column": 53
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 8976,
"end": 8997,
"loc": {
"start": {
"line": 306,
"column": 54
},
"end": {
"line": 306,
"column": 75
},
"identifierName": "warmupTimeSecondsFast"
},
"name": "warmupTimeSecondsFast"
},
"computed": false
}
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 9019,
"end": 9116,
"loc": {
"start": {
"line": 307,
"column": 19
},
"end": {
"line": 309,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 9038,
"end": 9101,
"loc": {
"start": {
"line": 308,
"column": 16
},
"end": {
"line": 308,
"column": 79
}
},
"expression": {
"type": "AssignmentExpression",
"start": 9038,
"end": 9100,
"loc": {
"start": {
"line": 308,
"column": 16
},
"end": {
"line": 308,
"column": 78
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 9038,
"end": 9060,
"loc": {
"start": {
"line": 308,
"column": 16
},
"end": {
"line": 308,
"column": 38
}
},
"object": {
"type": "ThisExpression",
"start": 9038,
"end": 9042,
"loc": {
"start": {
"line": 308,
"column": 16
},
"end": {
"line": 308,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 9043,
"end": 9060,
"loc": {
"start": {
"line": 308,
"column": 21
},
"end": {
"line": 308,
"column": 38
},
"identifierName": "warmupTimeSeconds"
},
"name": "warmupTimeSeconds"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 9063,
"end": 9100,
"loc": {
"start": {
"line": 308,
"column": 41
},
"end": {
"line": 308,
"column": 78
}
},
"object": {
"type": "Identifier",
"start": 9063,
"end": 9075,
"loc": {
"start": {
"line": 308,
"column": 41
},
"end": {
"line": 308,
"column": 53
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 9076,
"end": 9100,
"loc": {
"start": {
"line": 308,
"column": 54
},
"end": {
"line": 308,
"column": 78
},
"identifierName": "warmupTimeSecondsRegular"
},
"name": "warmupTimeSecondsRegular"
},
"computed": false
}
}
}
],
"directives": []
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * This makes the game idle and draw for a while, because we run most code this way\r\n * the V8 engine can already start to optimize it. Also this makes sure the resources\r\n * are in the VRAM and we have a smooth experience once we start.\r\n ",
"start": 8533,
"end": 8796,
"loc": {
"start": {
"line": 298,
"column": 4
},
"end": {
"line": 302,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * The final stage where this game is running and updating regulary.\r\n ",
"start": 9142,
"end": 9228,
"loc": {
"start": {
"line": 313,
"column": 4
},
"end": {
"line": 315,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 9234,
"end": 9610,
"loc": {
"start": {
"line": 316,
"column": 4
},
"end": {
"line": 325,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 9234,
"end": 9252,
"loc": {
"start": {
"line": 316,
"column": 4
},
"end": {
"line": 316,
"column": 22
},
"identifierName": "stage10GameRunning"
},
"name": "stage10GameRunning",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 9255,
"end": 9610,
"loc": {
"start": {
"line": 316,
"column": 25
},
"end": {
"line": 325,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 9266,
"end": 9603,
"loc": {
"start": {
"line": 317,
"column": 8
},
"end": {
"line": 324,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 9270,
"end": 9310,
"loc": {
"start": {
"line": 317,
"column": 12
},
"end": {
"line": 317,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
"start": 9270,
"end": 9286,
"loc": {
"start": {
"line": 317,
"column": 12
},
"end": {
"line": 317,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 9270,
"end": 9274,
"loc": {
"start": {
"line": 317,
"column": 12
},
"end": {
"line": 317,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 9275,
"end": 9286,
"loc": {
"start": {
"line": 317,
"column": 17
},
"end": {
"line": 317,
"column": 28
},
"identifierName": "switchStage"
},
"name": "switchStage"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 9287,
"end": 9309,
"loc": {
"start": {
"line": 317,
"column": 29
},
"end": {
"line": 317,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 9287,
"end": 9293,
"loc": {
"start": {
"line": 317,
"column": 29
},
"end": {
"line": 317,
"column": 35
},
"identifierName": "stages"
},
"name": "stages"
},
"property": {
"type": "Identifier",
"start": 9294,
"end": 9309,
"loc": {
"start": {
"line": 317,
"column": 36
},
"end": {
"line": 317,
"column": 51
},
"identifierName": "s10_gameRunning"
},
"name": "s10_gameRunning"
},
"computed": false
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 9312,
"end": 9603,
"loc": {
"start": {
"line": 317,
"column": 54
},
"end": {
"line": 324,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 9327,
"end": 9375,
"loc": {
"start": {
"line": 318,
"column": 12
},
"end": {
"line": 318,
"column": 60
}
},
"expression": {
"type": "CallExpression",
"start": 9327,
"end": 9374,
"loc": {
"start": {
"line": 318,
"column": 12
},
"end": {
"line": 318,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
"start": 9327,
"end": 9372,
"loc": {
"start": {
"line": 318,
"column": 12
},
"end": {
"line": 318,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 9327,
"end": 9363,
"loc": {
"start": {
"line": 318,
"column": 12
},
"end": {
"line": 318,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 9327,
"end": 9349,
"loc": {
"start": {
"line": 318,
"column": 12
},
"end": {
"line": 318,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 9327,
"end": 9341,
"loc": {
"start": {
"line": 318,
"column": 12
},
"end": {
"line": 318,
"column": 26
}
},
"object": {
"type": "MemberExpression",
"start": 9327,
"end": 9336,
"loc": {
"start": {
"line": 318,
"column": 12
},
"end": {
"line": 318,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 9327,
"end": 9331,
"loc": {
"start": {
"line": 318,
"column": 12
},
"end": {
"line": 318,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 9332,
"end": 9336,
"loc": {
"start": {
"line": 318,
"column": 17
},
"end": {
"line": 318,
"column": 21
},
"identifierName": "core"
},
"name": "core"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9337,
"end": 9341,
"loc": {
"start": {
"line": 318,
"column": 22
},
"end": {
"line": 318,
"column": 26
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9342,
"end": 9349,
"loc": {
"start": {
"line": 318,
"column": 27
},
"end": {
"line": 318,
"column": 34
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9350,
"end": 9363,
"loc": {
"start": {
"line": 318,
"column": 35
},
"end": {
"line": 318,
"column": 48
},
"identifierName": "readyToRender"
},
"name": "readyToRender"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9364,
"end": 9372,
"loc": {
"start": {
"line": 318,
"column": 49
},
"end": {
"line": 318,
"column": 57
},
"identifierName": "dispatch"
},
"name": "dispatch"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 9391,
"end": 9429,
"loc": {
"start": {
"line": 320,
"column": 12
},
"end": {
"line": 320,
"column": 50
}
},
"expression": {
"type": "CallExpression",
"start": 9391,
"end": 9428,
"loc": {
"start": {
"line": 320,
"column": 12
},
"end": {
"line": 320,
"column": 49
}
},
"callee": {
"type": "Identifier",
"start": 9391,
"end": 9401,
"loc": {
"start": {
"line": 320,
"column": 12
},
"end": {
"line": 320,
"column": 22
},
"identifierName": "logSection"
},
"name": "logSection"
},
"arguments": [
{
"type": "StringLiteral",
"start": 9402,
"end": 9416,
"loc": {
"start": {
"line": 320,
"column": 23
},
"end": {
"line": 320,
"column": 37
}
},
"extra": {
"rawValue": "GAME STARTED",
"raw": "\"GAME STARTED\""
},
"value": "GAME STARTED"
},
{
"type": "StringLiteral",
"start": 9418,
"end": 9427,
"loc": {
"start": {
"line": 320,
"column": 39
},
"end": {
"line": 320,
"column": 48
}
},
"extra": {
"rawValue": "#26a69a",
"raw": "\"#26a69a\""
},
"value": "#26a69a"
}
]
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Initial resize, might have changed during loading (this is possible)",
"start": 9445,
"end": 9516,
"loc": {
"start": {
"line": 322,
"column": 12
},
"end": {
"line": 322,
"column": 83
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 9530,
"end": 9592,
"loc": {
"start": {
"line": 323,
"column": 12
},
"end": {
"line": 323,
"column": 74
}
},
"expression": {
"type": "CallExpression",
"start": 9530,
"end": 9591,
"loc": {
"start": {
"line": 323,
"column": 12
},
"end": {
"line": 323,
"column": 73
}
},
"callee": {
"type": "MemberExpression",
"start": 9530,
"end": 9546,
"loc": {
"start": {
"line": 323,
"column": 12
},
"end": {
"line": 323,
"column": 28
}
},
"object": {
"type": "MemberExpression",
"start": 9530,
"end": 9539,
"loc": {
"start": {
"line": 323,
"column": 12
},
"end": {
"line": 323,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 9530,
"end": 9534,
"loc": {
"start": {
"line": 323,
"column": 12
},
"end": {
"line": 323,
"column": 16
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 9535,
"end": 9539,
"loc": {
"start": {
"line": 323,
"column": 17
},
"end": {
"line": 323,
"column": 21
},
"identifierName": "core"
},
"name": "core"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 9540,
"end": 9546,
"loc": {
"start": {
"line": 323,
"column": 22
},
"end": {
"line": 323,
"column": 28
},
"identifierName": "resize"
},
"name": "resize"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "MemberExpression",
"start": 9547,
"end": 9567,
"loc": {
"start": {
"line": 323,
"column": 29
},
"end": {
"line": 323,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 9547,
"end": 9555,
"loc": {
"start": {
"line": 323,
"column": 29
},
"end": {
"line": 323,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 9547,
"end": 9551,
"loc": {
"start": {
"line": 323,
"column": 29
},
"end": {
"line": 323,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"start": 9552,
"end": 9555,
"loc": {
"start": {
"line": 323,
"column": 34
},
"end": {
"line": 323,
"column": 37
},
"identifierName": "app"
},
"name": "app"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9556,
"end": 9567,
"loc": {
"start": {
"line": 323,
"column": 38
},
"end": {
"line": 323,
"column": 49
},
"identifierName": "screenWidth"
},
"name": "screenWidth"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 9569,
"end": 9590,
"loc": {
"start": {
"line": 323,
"column": 51
},
"end": {
"line": 323,
"column": 72
}
},
"object": {
"type": "MemberExpression",
"start": 9569,
"end": 9577,
"loc": {
"start": {
"line": 323,
"column": 51
},
"end": {
"line": 323,
"column": 59
}
},
"object": {
"type": "ThisExpression",
"start": 9569,
"end": 9573,
"loc": {
"start": {
"line": 323,
"column": 51
},
"end": {
"line": 323,
"column": 55
}
}
},
"property": {
"type": "Identifier",
"start": 9574,
"end": 9577,
"loc": {
"start": {
"line": 323,
"column": 56
},
"end": {
"line": 323,
"column": 59
},
"identifierName": "app"
},
"name": "app"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9578,
"end": 9590,
"loc": {
"start": {
"line": 323,
"column": 60
},
"end": {
"line": 323,
"column": 72
},
"identifierName": "screenHeight"
},
"name": "screenHeight"
},
"computed": false
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Initial resize, might have changed during loading (this is possible)",
"start": 9445,
"end": 9516,
"loc": {
"start": {
"line": 322,
"column": 12
},
"end": {
"line": 322,
"column": 83
}
}
}
]
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * The final stage where this game is running and updating regulary.\r\n ",
"start": 9142,
"end": 9228,
"loc": {
"start": {
"line": 313,
"column": 4
},
"end": {
"line": 315,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * This stage destroys the whole game, used to cleanup\r\n ",
"start": 9618,
"end": 9690,
"loc": {
"start": {
"line": 327,
"column": 4
},
"end": {
"line": 329,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 9696,
"end": 10146,
"loc": {
"start": {
"line": 330,
"column": 4
},
"end": {
"line": 346,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 9696,
"end": 9710,
"loc": {
"start": {
"line": 330,
"column": 4
},
"end": {
"line": 330,
"column": 18
},
"identifierName": "stageDestroyed"
},
"name": "stageDestroyed",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 9713,
"end": 10146,
"loc": {
"start": {
"line": 330,
"column": 21
},
"end": {
"line": 346,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 9724,
"end": 10139,
"loc": {
"start": {
"line": 331,
"column": 8
},
"end": {
"line": 345,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 9728,
"end": 9762,
"loc": {
"start": {
"line": 331,
"column": 12
},
"end": {
"line": 331,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 9728,
"end": 9744,
"loc": {
"start": {
"line": 331,
"column": 12
},
"end": {
"line": 331,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 9728,
"end": 9732,
"loc": {
"start": {
"line": 331,
"column": 12
},
"end": {
"line": 331,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 9733,
"end": 9744,
"loc": {
"start": {
"line": 331,
"column": 17
},
"end": {
"line": 331,
"column": 28
},
"identifierName": "switchStage"
},
"name": "switchStage"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 9745,
"end": 9761,
"loc": {
"start": {
"line": 331,
"column": 29
},
"end": {
"line": 331,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 9745,
"end": 9751,
"loc": {
"start": {
"line": 331,
"column": 29
},
"end": {
"line": 331,
"column": 35
},
"identifierName": "stages"
},
"name": "stages"
},
"property": {
"type": "Identifier",
"start": 9752,
"end": 9761,
"loc": {
"start": {
"line": 331,
"column": 36
},
"end": {
"line": 331,
"column": 45
},
"identifierName": "destroyed"
},
"name": "destroyed"
},
"computed": false
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 9764,
"end": 10139,
"loc": {
"start": {
"line": 331,
"column": 48
},
"end": {
"line": 345,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 9817,
"end": 9849,
"loc": {
"start": {
"line": 333,
"column": 12
},
"end": {
"line": 333,
"column": 44
}
},
"expression": {
"type": "CallExpression",
"start": 9817,
"end": 9848,
"loc": {
"start": {
"line": 333,
"column": 12
},
"end": {
"line": 333,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 9817,
"end": 9846,
"loc": {
"start": {
"line": 333,
"column": 12
},
"end": {
"line": 333,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 9817,
"end": 9821,
"loc": {
"start": {
"line": 333,
"column": 12
},
"end": {
"line": 333,
"column": 16
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 9822,
"end": 9846,
"loc": {
"start": {
"line": 333,
"column": 17
},
"end": {
"line": 333,
"column": 41
},
"identifierName": "cancelAllAsyncOperations"
},
"name": "cancelAllAsyncOperations"
},
"computed": false,
"leadingComments": null
},
"arguments": [],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Cleanup all api calls",
"start": 9779,
"end": 9803,
"loc": {
"start": {
"line": 332,
"column": 12
},
"end": {
"line": 332,
"column": 36
}
}
}
]
},
{
"type": "IfStatement",
"start": 9865,
"end": 9978,
"loc": {
"start": {
"line": 335,
"column": 12
},
"end": {
"line": 338,
"column": 13
}
},
"test": {
"type": "MemberExpression",
"start": 9869,
"end": 9880,
"loc": {
"start": {
"line": 335,
"column": 16
},
"end": {
"line": 335,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 9869,
"end": 9873,
"loc": {
"start": {
"line": 335,
"column": 16
},
"end": {
"line": 335,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 9874,
"end": 9880,
"loc": {
"start": {
"line": 335,
"column": 21
},
"end": {
"line": 335,
"column": 27
},
"identifierName": "syncer"
},
"name": "syncer"
},
"computed": false
},
"consequent": {
"type": "BlockStatement",
"start": 9882,
"end": 9978,
"loc": {
"start": {
"line": 335,
"column": 29
},
"end": {
"line": 338,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 9901,
"end": 9926,
"loc": {
"start": {
"line": 336,
"column": 16
},
"end": {
"line": 336,
"column": 41
}
},
"expression": {
"type": "CallExpression",
"start": 9901,
"end": 9925,
"loc": {
"start": {
"line": 336,
"column": 16
},
"end": {
"line": 336,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 9901,
"end": 9923,
"loc": {
"start": {
"line": 336,
"column": 16
},
"end": {
"line": 336,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 9901,
"end": 9912,
"loc": {
"start": {
"line": 336,
"column": 16
},
"end": {
"line": 336,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 9901,
"end": 9905,
"loc": {
"start": {
"line": 336,
"column": 16
},
"end": {
"line": 336,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 9906,
"end": 9912,
"loc": {
"start": {
"line": 336,
"column": 21
},
"end": {
"line": 336,
"column": 27
},
"identifierName": "syncer"
},
"name": "syncer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9913,
"end": 9923,
"loc": {
"start": {
"line": 336,
"column": 28
},
"end": {
"line": 336,
"column": 38
},
"identifierName": "cancelSync"
},
"name": "cancelSync"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 9944,
"end": 9963,
"loc": {
"start": {
"line": 337,
"column": 16
},
"end": {
"line": 337,
"column": 35
}
},
"expression": {
"type": "AssignmentExpression",
"start": 9944,
"end": 9962,
"loc": {
"start": {
"line": 337,
"column": 16
},
"end": {
"line": 337,
"column": 34
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 9944,
"end": 9955,
"loc": {
"start": {
"line": 337,
"column": 16
},
"end": {
"line": 337,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 9944,
"end": 9948,
"loc": {
"start": {
"line": 337,
"column": 16
},
"end": {
"line": 337,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 9949,
"end": 9955,
"loc": {
"start": {
"line": 337,
"column": 21
},
"end": {
"line": 337,
"column": 27
},
"identifierName": "syncer"
},
"name": "syncer"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 9958,
"end": 9962,
"loc": {
"start": {
"line": 337,
"column": 30
},
"end": {
"line": 337,
"column": 34
}
}
}
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Cleanup core",
"start": 9994,
"end": 10009,
"loc": {
"start": {
"line": 340,
"column": 12
},
"end": {
"line": 340,
"column": 27
}
}
}
]
},
{
"type": "IfStatement",
"start": 10023,
"end": 10128,
"loc": {
"start": {
"line": 341,
"column": 12
},
"end": {
"line": 344,
"column": 13
}
},
"test": {
"type": "MemberExpression",
"start": 10027,
"end": 10036,
"loc": {
"start": {
"line": 341,
"column": 16
},
"end": {
"line": 341,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 10027,
"end": 10031,
"loc": {
"start": {
"line": 341,
"column": 16
},
"end": {
"line": 341,
"column": 20
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 10032,
"end": 10036,
"loc": {
"start": {
"line": 341,
"column": 21
},
"end": {
"line": 341,
"column": 25
},
"identifierName": "core"
},
"name": "core"
},
"computed": false,
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 10038,
"end": 10128,
"loc": {
"start": {
"line": 341,
"column": 27
},
"end": {
"line": 344,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 10057,
"end": 10078,
"loc": {
"start": {
"line": 342,
"column": 16
},
"end": {
"line": 342,
"column": 37
}
},
"expression": {
"type": "CallExpression",
"start": 10057,
"end": 10077,
"loc": {
"start": {
"line": 342,
"column": 16
},
"end": {
"line": 342,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 10057,
"end": 10075,
"loc": {
"start": {
"line": 342,
"column": 16
},
"end": {
"line": 342,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 10057,
"end": 10066,
"loc": {
"start": {
"line": 342,
"column": 16
},
"end": {
"line": 342,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 10057,
"end": 10061,
"loc": {
"start": {
"line": 342,
"column": 16
},
"end": {
"line": 342,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 10062,
"end": 10066,
"loc": {
"start": {
"line": 342,
"column": 21
},
"end": {
"line": 342,
"column": 25
},
"identifierName": "core"
},
"name": "core"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10067,
"end": 10075,
"loc": {
"start": {
"line": 342,
"column": 26
},
"end": {
"line": 342,
"column": 34
},
"identifierName": "destruct"
},
"name": "destruct"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 10096,
"end": 10113,
"loc": {
"start": {
"line": 343,
"column": 16
},
"end": {
"line": 343,
"column": 33
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10096,
"end": 10112,
"loc": {
"start": {
"line": 343,
"column": 16
},
"end": {
"line": 343,
"column": 32
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10096,
"end": 10105,
"loc": {
"start": {
"line": 343,
"column": 16
},
"end": {
"line": 343,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 10096,
"end": 10100,
"loc": {
"start": {
"line": 343,
"column": 16
},
"end": {
"line": 343,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 10101,
"end": 10105,
"loc": {
"start": {
"line": 343,
"column": 21
},
"end": {
"line": 343,
"column": 25
},
"identifierName": "core"
},
"name": "core"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 10108,
"end": 10112,
"loc": {
"start": {
"line": 343,
"column": 28
},
"end": {
"line": 343,
"column": 32
}
}
}
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Cleanup core",
"start": 9994,
"end": 10009,
"loc": {
"start": {
"line": 340,
"column": 12
},
"end": {
"line": 340,
"column": 27
}
}
}
]
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * This stage destroys the whole game, used to cleanup\r\n ",
"start": 9618,
"end": 9690,
"loc": {
"start": {
"line": 327,
"column": 4
},
"end": {
"line": 329,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * When leaving the game\r\n ",
"start": 10154,
"end": 10196,
"loc": {
"start": {
"line": 348,
"column": 4
},
"end": {
"line": 350,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 10202,
"end": 10309,
"loc": {
"start": {
"line": 351,
"column": 4
},
"end": {
"line": 355,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 10202,
"end": 10218,
"loc": {
"start": {
"line": 351,
"column": 4
},
"end": {
"line": 351,
"column": 20
},
"identifierName": "stageLeavingGame"
},
"name": "stageLeavingGame",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 10221,
"end": 10309,
"loc": {
"start": {
"line": 351,
"column": 23
},
"end": {
"line": 355,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 10232,
"end": 10302,
"loc": {
"start": {
"line": 352,
"column": 8
},
"end": {
"line": 354,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 10236,
"end": 10268,
"loc": {
"start": {
"line": 352,
"column": 12
},
"end": {
"line": 352,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
"start": 10236,
"end": 10252,
"loc": {
"start": {
"line": 352,
"column": 12
},
"end": {
"line": 352,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 10236,
"end": 10240,
"loc": {
"start": {
"line": 352,
"column": 12
},
"end": {
"line": 352,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 10241,
"end": 10252,
"loc": {
"start": {
"line": 352,
"column": 17
},
"end": {
"line": 352,
"column": 28
},
"identifierName": "switchStage"
},
"name": "switchStage"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 10253,
"end": 10267,
"loc": {
"start": {
"line": 352,
"column": 29
},
"end": {
"line": 352,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 10253,
"end": 10259,
"loc": {
"start": {
"line": 352,
"column": 29
},
"end": {
"line": 352,
"column": 35
},
"identifierName": "stages"
},
"name": "stages"
},
"property": {
"type": "Identifier",
"start": 10260,
"end": 10267,
"loc": {
"start": {
"line": 352,
"column": 36
},
"end": {
"line": 352,
"column": 43
},
"identifierName": "leaving"
},
"name": "leaving"
},
"computed": false
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 10270,
"end": 10302,
"loc": {
"start": {
"line": 352,
"column": 46
},
"end": {
"line": 354,
"column": 9
}
},
"body": [],
"directives": [],
"leadingComments": null,
"innerComments": [
{
"type": "CommentLine",
"value": " ...",
"start": 10285,
"end": 10291,
"loc": {
"start": {
"line": 353,
"column": 12
},
"end": {
"line": 353,
"column": 18
}
}
}
]
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * When leaving the game\r\n ",
"start": 10154,
"end": 10196,
"loc": {
"start": {
"line": 348,
"column": 4
},
"end": {
"line": 350,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " END STAGES",
"start": 10317,
"end": 10330,
"loc": {
"start": {
"line": 357,
"column": 4
},
"end": {
"line": 357,
"column": 17
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Filters the input (keybindings)\r\n ",
"start": 10338,
"end": 10390,
"loc": {
"start": {
"line": 359,
"column": 4
},
"end": {
"line": 361,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 10396,
"end": 10473,
"loc": {
"start": {
"line": 362,
"column": 4
},
"end": {
"line": 364,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 10396,
"end": 10407,
"loc": {
"start": {
"line": 362,
"column": 4
},
"end": {
"line": 362,
"column": 15
},
"identifierName": "filterInput"
},
"name": "filterInput",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 10410,
"end": 10473,
"loc": {
"start": {
"line": 362,
"column": 18
},
"end": {
"line": 364,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 10421,
"end": 10466,
"loc": {
"start": {
"line": 363,
"column": 8
},
"end": {
"line": 363,
"column": 53
}
},
"argument": {
"type": "BinaryExpression",
"start": 10428,
"end": 10465,
"loc": {
"start": {
"line": 363,
"column": 15
},
"end": {
"line": 363,
"column": 52
}
},
"left": {
"type": "MemberExpression",
"start": 10428,
"end": 10438,
"loc": {
"start": {
"line": 363,
"column": 15
},
"end": {
"line": 363,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 10428,
"end": 10432,
"loc": {
"start": {
"line": 363,
"column": 15
},
"end": {
"line": 363,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 10433,
"end": 10438,
"loc": {
"start": {
"line": 363,
"column": 20
},
"end": {
"line": 363,
"column": 25
},
"identifierName": "stage"
},
"name": "stage"
},
"computed": false
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 10443,
"end": 10465,
"loc": {
"start": {
"line": 363,
"column": 30
},
"end": {
"line": 363,
"column": 52
}
},
"object": {
"type": "Identifier",
"start": 10443,
"end": 10449,
"loc": {
"start": {
"line": 363,
"column": 30
},
"end": {
"line": 363,
"column": 36
},
"identifierName": "stages"
},
"name": "stages"
},
"property": {
"type": "Identifier",
"start": 10450,
"end": 10465,
"loc": {
"start": {
"line": 363,
"column": 37
},
"end": {
"line": 363,
"column": 52
},
"identifierName": "s10_gameRunning"
},
"name": "s10_gameRunning"
},
"computed": false
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " END STAGES",
"start": 10317,
"end": 10330,
"loc": {
"start": {
"line": 357,
"column": 4
},
"end": {
"line": 357,
"column": 17
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Filters the input (keybindings)\r\n ",
"start": 10338,
"end": 10390,
"loc": {
"start": {
"line": 359,
"column": 4
},
"end": {
"line": 361,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameCreationPayload} payload\r\n ",
"start": 10481,
"end": 10538,
"loc": {
"start": {
"line": 366,
"column": 4
},
"end": {
"line": 368,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 10544,
"end": 11054,
"loc": {
"start": {
"line": 369,
"column": 4
},
"end": {
"line": 382,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 10544,
"end": 10551,
"loc": {
"start": {
"line": 369,
"column": 4
},
"end": {
"line": 369,
"column": 11
},
"identifierName": "onEnter"
},
"name": "onEnter",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 10552,
"end": 10559,
"loc": {
"start": {
"line": 369,
"column": 12
},
"end": {
"line": 369,
"column": 19
},
"identifierName": "payload"
},
"name": "payload"
}
],
"body": {
"type": "BlockStatement",
"start": 10561,
"end": 11054,
"loc": {
"start": {
"line": 369,
"column": 21
},
"end": {
"line": 382,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 10572,
"end": 10627,
"loc": {
"start": {
"line": 370,
"column": 8
},
"end": {
"line": 370,
"column": 63
}
},
"expression": {
"type": "CallExpression",
"start": 10572,
"end": 10626,
"loc": {
"start": {
"line": 370,
"column": 8
},
"end": {
"line": 370,
"column": 62
}
},
"callee": {
"type": "MemberExpression",
"start": 10572,
"end": 10603,
"loc": {
"start": {
"line": 370,
"column": 8
},
"end": {
"line": 370,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 10572,
"end": 10589,
"loc": {
"start": {
"line": 370,
"column": 8
},
"end": {
"line": 370,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 10572,
"end": 10580,
"loc": {
"start": {
"line": 370,
"column": 8
},
"end": {
"line": 370,
"column": 16
}
},
"object": {
"type": "ThisExpression",
"start": 10572,
"end": 10576,
"loc": {
"start": {
"line": 370,
"column": 8
},
"end": {
"line": 370,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 10577,
"end": 10580,
"loc": {
"start": {
"line": 370,
"column": 13
},
"end": {
"line": 370,
"column": 16
},
"identifierName": "app"
},
"name": "app"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10581,
"end": 10589,
"loc": {
"start": {
"line": 370,
"column": 17
},
"end": {
"line": 370,
"column": 25
},
"identifierName": "inputMgr"
},
"name": "inputMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10590,
"end": 10603,
"loc": {
"start": {
"line": 370,
"column": 26
},
"end": {
"line": 370,
"column": 39
},
"identifierName": "installFilter"
},
"name": "installFilter"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 10604,
"end": 10625,
"loc": {
"start": {
"line": 370,
"column": 40
},
"end": {
"line": 370,
"column": 61
}
},
"object": {
"type": "ThisExpression",
"start": 10604,
"end": 10608,
"loc": {
"start": {
"line": 370,
"column": 40
},
"end": {
"line": 370,
"column": 44
}
}
},
"property": {
"type": "Identifier",
"start": 10609,
"end": 10625,
"loc": {
"start": {
"line": 370,
"column": 45
},
"end": {
"line": 370,
"column": 61
},
"identifierName": "boundInputFilter"
},
"name": "boundInputFilter"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 10639,
"end": 10670,
"loc": {
"start": {
"line": 372,
"column": 8
},
"end": {
"line": 372,
"column": 39
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10639,
"end": 10669,
"loc": {
"start": {
"line": 372,
"column": 8
},
"end": {
"line": 372,
"column": 38
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10639,
"end": 10659,
"loc": {
"start": {
"line": 372,
"column": 8
},
"end": {
"line": 372,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 10639,
"end": 10643,
"loc": {
"start": {
"line": 372,
"column": 8
},
"end": {
"line": 372,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 10644,
"end": 10659,
"loc": {
"start": {
"line": 372,
"column": 13
},
"end": {
"line": 372,
"column": 28
},
"identifierName": "creationPayload"
},
"name": "creationPayload"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 10662,
"end": 10669,
"loc": {
"start": {
"line": 372,
"column": 31
},
"end": {
"line": 372,
"column": 38
},
"identifierName": "payload"
},
"name": "payload"
}
}
},
{
"type": "ExpressionStatement",
"start": 10680,
"end": 10713,
"loc": {
"start": {
"line": 373,
"column": 8
},
"end": {
"line": 373,
"column": 41
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10680,
"end": 10712,
"loc": {
"start": {
"line": 373,
"column": 8
},
"end": {
"line": 373,
"column": 40
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10680,
"end": 10693,
"loc": {
"start": {
"line": 373,
"column": 8
},
"end": {
"line": 373,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 10680,
"end": 10684,
"loc": {
"start": {
"line": 373,
"column": 8
},
"end": {
"line": 373,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 10685,
"end": 10693,
"loc": {
"start": {
"line": 373,
"column": 13
},
"end": {
"line": 373,
"column": 21
},
"identifierName": "savegame"
},
"name": "savegame"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 10696,
"end": 10712,
"loc": {
"start": {
"line": 373,
"column": 24
},
"end": {
"line": 373,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 10696,
"end": 10703,
"loc": {
"start": {
"line": 373,
"column": 24
},
"end": {
"line": 373,
"column": 31
},
"identifierName": "payload"
},
"name": "payload"
},
"property": {
"type": "Identifier",
"start": 10704,
"end": 10712,
"loc": {
"start": {
"line": 373,
"column": 32
},
"end": {
"line": 373,
"column": 40
},
"identifierName": "savegame"
},
"name": "savegame"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 10725,
"end": 10802,
"loc": {
"start": {
"line": 375,
"column": 8
},
"end": {
"line": 375,
"column": 85
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10725,
"end": 10801,
"loc": {
"start": {
"line": 375,
"column": 8
},
"end": {
"line": 375,
"column": 84
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10725,
"end": 10744,
"loc": {
"start": {
"line": 375,
"column": 8
},
"end": {
"line": 375,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 10725,
"end": 10729,
"loc": {
"start": {
"line": 375,
"column": 8
},
"end": {
"line": 375,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 10730,
"end": 10744,
"loc": {
"start": {
"line": 375,
"column": 13
},
"end": {
"line": 375,
"column": 27
},
"identifierName": "loadingOverlay"
},
"name": "loadingOverlay"
},
"computed": false
},
"right": {
"type": "NewExpression",
"start": 10747,
"end": 10801,
"loc": {
"start": {
"line": 375,
"column": 30
},
"end": {
"line": 375,
"column": 84
}
},
"callee": {
"type": "Identifier",
"start": 10751,
"end": 10769,
"loc": {
"start": {
"line": 375,
"column": 34
},
"end": {
"line": 375,
"column": 52
},
"identifierName": "GameLoadingOverlay"
},
"name": "GameLoadingOverlay"
},
"arguments": [
{
"type": "MemberExpression",
"start": 10770,
"end": 10778,
"loc": {
"start": {
"line": 375,
"column": 53
},
"end": {
"line": 375,
"column": 61
}
},
"object": {
"type": "ThisExpression",
"start": 10770,
"end": 10774,
"loc": {
"start": {
"line": 375,
"column": 53
},
"end": {
"line": 375,
"column": 57
}
}
},
"property": {
"type": "Identifier",
"start": 10775,
"end": 10778,
"loc": {
"start": {
"line": 375,
"column": 58
},
"end": {
"line": 375,
"column": 61
},
"identifierName": "app"
},
"name": "app"
},
"computed": false
},
{
"type": "CallExpression",
"start": 10780,
"end": 10800,
"loc": {
"start": {
"line": 375,
"column": 63
},
"end": {
"line": 375,
"column": 83
}
},
"callee": {
"type": "MemberExpression",
"start": 10780,
"end": 10798,
"loc": {
"start": {
"line": 375,
"column": 63
},
"end": {
"line": 375,
"column": 81
}
},
"object": {
"type": "ThisExpression",
"start": 10780,
"end": 10784,
"loc": {
"start": {
"line": 375,
"column": 63
},
"end": {
"line": 375,
"column": 67
}
}
},
"property": {
"type": "Identifier",
"start": 10785,
"end": 10798,
"loc": {
"start": {
"line": 375,
"column": 68
},
"end": {
"line": 375,
"column": 81
},
"identifierName": "getDivElement"
},
"name": "getDivElement"
},
"computed": false
},
"arguments": []
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 10812,
"end": 10844,
"loc": {
"start": {
"line": 376,
"column": 8
},
"end": {
"line": 376,
"column": 40
}
},
"expression": {
"type": "CallExpression",
"start": 10812,
"end": 10843,
"loc": {
"start": {
"line": 376,
"column": 8
},
"end": {
"line": 376,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 10812,
"end": 10841,
"loc": {
"start": {
"line": 376,
"column": 8
},
"end": {
"line": 376,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 10812,
"end": 10831,
"loc": {
"start": {
"line": 376,
"column": 8
},
"end": {
"line": 376,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 10812,
"end": 10816,
"loc": {
"start": {
"line": 376,
"column": 8
},
"end": {
"line": 376,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 10817,
"end": 10831,
"loc": {
"start": {
"line": 376,
"column": 13
},
"end": {
"line": 376,
"column": 27
},
"identifierName": "loadingOverlay"
},
"name": "loadingOverlay"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10832,
"end": 10841,
"loc": {
"start": {
"line": 376,
"column": 28
},
"end": {
"line": 376,
"column": 37
},
"identifierName": "showBasic"
},
"name": "showBasic"
},
"computed": false
},
"arguments": []
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Remove unneded default element",
"start": 10856,
"end": 10889,
"loc": {
"start": {
"line": 378,
"column": 8
},
"end": {
"line": 378,
"column": 41
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 10899,
"end": 10958,
"loc": {
"start": {
"line": 379,
"column": 8
},
"end": {
"line": 379,
"column": 67
}
},
"expression": {
"type": "CallExpression",
"start": 10899,
"end": 10957,
"loc": {
"start": {
"line": 379,
"column": 8
},
"end": {
"line": 379,
"column": 66
}
},
"callee": {
"type": "MemberExpression",
"start": 10899,
"end": 10955,
"loc": {
"start": {
"line": 379,
"column": 8
},
"end": {
"line": 379,
"column": 64
}
},
"object": {
"type": "CallExpression",
"start": 10899,
"end": 10948,
"loc": {
"start": {
"line": 379,
"column": 8
},
"end": {
"line": 379,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 10899,
"end": 10926,
"loc": {
"start": {
"line": 379,
"column": 8
},
"end": {
"line": 379,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 10899,
"end": 10912,
"loc": {
"start": {
"line": 379,
"column": 8
},
"end": {
"line": 379,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 10899,
"end": 10907,
"loc": {
"start": {
"line": 379,
"column": 8
},
"end": {
"line": 379,
"column": 16
},
"identifierName": "document"
},
"name": "document",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 10908,
"end": 10912,
"loc": {
"start": {
"line": 379,
"column": 17
},
"end": {
"line": 379,
"column": 21
},
"identifierName": "body"
},
"name": "body"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 10913,
"end": 10926,
"loc": {
"start": {
"line": 379,
"column": 22
},
"end": {
"line": 379,
"column": 35
},
"identifierName": "querySelector"
},
"name": "querySelector"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "StringLiteral",
"start": 10927,
"end": 10947,
"loc": {
"start": {
"line": 379,
"column": 36
},
"end": {
"line": 379,
"column": 56
}
},
"extra": {
"rawValue": ".modalDialogParent",
"raw": "\".modalDialogParent\""
},
"value": ".modalDialogParent"
}
],
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 10949,
"end": 10955,
"loc": {
"start": {
"line": 379,
"column": 58
},
"end": {
"line": 379,
"column": 64
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false,
"leadingComments": null
},
"arguments": [],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Remove unneded default element",
"start": 10856,
"end": 10889,
"loc": {
"start": {
"line": 378,
"column": 8
},
"end": {
"line": 378,
"column": 41
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 10970,
"end": 11047,
"loc": {
"start": {
"line": 381,
"column": 8
},
"end": {
"line": 381,
"column": 85
}
},
"expression": {
"type": "CallExpression",
"start": 10970,
"end": 11046,
"loc": {
"start": {
"line": 381,
"column": 8
},
"end": {
"line": 381,
"column": 84
}
},
"callee": {
"type": "MemberExpression",
"start": 10970,
"end": 11015,
"loc": {
"start": {
"line": 381,
"column": 8
},
"end": {
"line": 381,
"column": 53
}
},
"object": {
"type": "CallExpression",
"start": 10970,
"end": 11010,
"loc": {
"start": {
"line": 381,
"column": 8
},
"end": {
"line": 381,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 10970,
"end": 10993,
"loc": {
"start": {
"line": 381,
"column": 8
},
"end": {
"line": 381,
"column": 31
}
},
"object": {
"type": "MemberExpression",
"start": 10970,
"end": 10987,
"loc": {
"start": {
"line": 381,
"column": 8
},
"end": {
"line": 381,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 10970,
"end": 10974,
"loc": {
"start": {
"line": 381,
"column": 8
},
"end": {
"line": 381,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 10975,
"end": 10987,
"loc": {
"start": {
"line": 381,
"column": 13
},
"end": {
"line": 381,
"column": 25
},
"identifierName": "asyncChannel"
},
"name": "asyncChannel"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10988,
"end": 10993,
"loc": {
"start": {
"line": 381,
"column": 26
},
"end": {
"line": 381,
"column": 31
},
"identifierName": "watch"
},
"name": "watch"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 10994,
"end": 11009,
"loc": {
"start": {
"line": 381,
"column": 32
},
"end": {
"line": 381,
"column": 47
}
},
"callee": {
"type": "Identifier",
"start": 10994,
"end": 11007,
"loc": {
"start": {
"line": 381,
"column": 32
},
"end": {
"line": 381,
"column": 45
},
"identifierName": "waitNextFrame"
},
"name": "waitNextFrame"
},
"arguments": []
}
]
},
"property": {
"type": "Identifier",
"start": 11011,
"end": 11015,
"loc": {
"start": {
"line": 381,
"column": 49
},
"end": {
"line": 381,
"column": 53
},
"identifierName": "then"
},
"name": "then"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 11016,
"end": 11045,
"loc": {
"start": {
"line": 381,
"column": 54
},
"end": {
"line": 381,
"column": 83
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "CallExpression",
"start": 11022,
"end": 11045,
"loc": {
"start": {
"line": 381,
"column": 60
},
"end": {
"line": 381,
"column": 83
}
},
"callee": {
"type": "MemberExpression",
"start": 11022,
"end": 11043,
"loc": {
"start": {
"line": 381,
"column": 60
},
"end": {
"line": 381,
"column": 81
}
},
"object": {
"type": "ThisExpression",
"start": 11022,
"end": 11026,
"loc": {
"start": {
"line": 381,
"column": 60
},
"end": {
"line": 381,
"column": 64
}
}
},
"property": {
"type": "Identifier",
"start": 11027,
"end": 11043,
"loc": {
"start": {
"line": 381,
"column": 65
},
"end": {
"line": 381,
"column": 81
},
"identifierName": "stage3CreateCore"
},
"name": "stage3CreateCore"
},
"computed": false
},
"arguments": []
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameCreationPayload} payload\r\n ",
"start": 10481,
"end": 10538,
"loc": {
"start": {
"line": 366,
"column": 4
},
"end": {
"line": 368,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Render callback\r\n * @param {number} dt\r\n ",
"start": 11062,
"end": 11125,
"loc": {
"start": {
"line": 384,
"column": 4
},
"end": {
"line": 387,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 11131,
"end": 12183,
"loc": {
"start": {
"line": 388,
"column": 4
},
"end": {
"line": 420,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 11131,
"end": 11139,
"loc": {
"start": {
"line": 388,
"column": 4
},
"end": {
"line": 388,
"column": 12
},
"identifierName": "onRender"
},
"name": "onRender",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 11140,
"end": 11142,
"loc": {
"start": {
"line": 388,
"column": 13
},
"end": {
"line": 388,
"column": 15
},
"identifierName": "dt"
},
"name": "dt"
}
],
"body": {
"type": "BlockStatement",
"start": 11144,
"end": 12183,
"loc": {
"start": {
"line": 388,
"column": 17
},
"end": {
"line": 420,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 11155,
"end": 11283,
"loc": {
"start": {
"line": 389,
"column": 8
},
"end": {
"line": 392,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 11159,
"end": 11184,
"loc": {
"start": {
"line": 389,
"column": 12
},
"end": {
"line": 389,
"column": 37
},
"identifierName": "APPLICATION_ERROR_OCCURED"
},
"name": "APPLICATION_ERROR_OCCURED"
},
"consequent": {
"type": "BlockStatement",
"start": 11186,
"end": 11283,
"loc": {
"start": {
"line": 389,
"column": 39
},
"end": {
"line": 392,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 11265,
"end": 11272,
"loc": {
"start": {
"line": 391,
"column": 12
},
"end": {
"line": 391,
"column": 19
}
},
"argument": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Application somehow crashed, do not do anything",
"start": 11201,
"end": 11251,
"loc": {
"start": {
"line": 390,
"column": 12
},
"end": {
"line": 390,
"column": 62
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 11295,
"end": 11582,
"loc": {
"start": {
"line": 394,
"column": 8
},
"end": {
"line": 401,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 11299,
"end": 11330,
"loc": {
"start": {
"line": 394,
"column": 12
},
"end": {
"line": 394,
"column": 43
}
},
"left": {
"type": "MemberExpression",
"start": 11299,
"end": 11309,
"loc": {
"start": {
"line": 394,
"column": 12
},
"end": {
"line": 394,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 11299,
"end": 11303,
"loc": {
"start": {
"line": 394,
"column": 12
},
"end": {
"line": 394,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 11304,
"end": 11309,
"loc": {
"start": {
"line": 394,
"column": 17
},
"end": {
"line": 394,
"column": 22
},
"identifierName": "stage"
},
"name": "stage"
},
"computed": false
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 11314,
"end": 11330,
"loc": {
"start": {
"line": 394,
"column": 27
},
"end": {
"line": 394,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 11314,
"end": 11320,
"loc": {
"start": {
"line": 394,
"column": 27
},
"end": {
"line": 394,
"column": 33
},
"identifierName": "stages"
},
"name": "stages"
},
"property": {
"type": "Identifier",
"start": 11321,
"end": 11330,
"loc": {
"start": {
"line": 394,
"column": 34
},
"end": {
"line": 394,
"column": 43
},
"identifierName": "s7_warmup"
},
"name": "s7_warmup"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 11332,
"end": 11582,
"loc": {
"start": {
"line": 394,
"column": 45
},
"end": {
"line": 401,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 11347,
"end": 11364,
"loc": {
"start": {
"line": 395,
"column": 12
},
"end": {
"line": 395,
"column": 29
}
},
"expression": {
"type": "CallExpression",
"start": 11347,
"end": 11363,
"loc": {
"start": {
"line": 395,
"column": 12
},
"end": {
"line": 395,
"column": 28
}
},
"callee": {
"type": "MemberExpression",
"start": 11347,
"end": 11361,
"loc": {
"start": {
"line": 395,
"column": 12
},
"end": {
"line": 395,
"column": 26
}
},
"object": {
"type": "MemberExpression",
"start": 11347,
"end": 11356,
"loc": {
"start": {
"line": 395,
"column": 12
},
"end": {
"line": 395,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 11347,
"end": 11351,
"loc": {
"start": {
"line": 395,
"column": 12
},
"end": {
"line": 395,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 11352,
"end": 11356,
"loc": {
"start": {
"line": 395,
"column": 17
},
"end": {
"line": 395,
"column": 21
},
"identifierName": "core"
},
"name": "core"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 11357,
"end": 11361,
"loc": {
"start": {
"line": 395,
"column": 22
},
"end": {
"line": 395,
"column": 26
},
"identifierName": "draw"
},
"name": "draw"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 11378,
"end": 11416,
"loc": {
"start": {
"line": 396,
"column": 12
},
"end": {
"line": 396,
"column": 50
}
},
"expression": {
"type": "AssignmentExpression",
"start": 11378,
"end": 11415,
"loc": {
"start": {
"line": 396,
"column": 12
},
"end": {
"line": 396,
"column": 49
}
},
"operator": "-=",
"left": {
"type": "MemberExpression",
"start": 11378,
"end": 11400,
"loc": {
"start": {
"line": 396,
"column": 12
},
"end": {
"line": 396,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 11378,
"end": 11382,
"loc": {
"start": {
"line": 396,
"column": 12
},
"end": {
"line": 396,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 11383,
"end": 11400,
"loc": {
"start": {
"line": 396,
"column": 17
},
"end": {
"line": 396,
"column": 34
},
"identifierName": "warmupTimeSeconds"
},
"name": "warmupTimeSeconds"
},
"computed": false
},
"right": {
"type": "BinaryExpression",
"start": 11404,
"end": 11415,
"loc": {
"start": {
"line": 396,
"column": 38
},
"end": {
"line": 396,
"column": 49
}
},
"left": {
"type": "Identifier",
"start": 11404,
"end": 11406,
"loc": {
"start": {
"line": 396,
"column": 38
},
"end": {
"line": 396,
"column": 40
},
"identifierName": "dt"
},
"name": "dt"
},
"operator": "/",
"right": {
"type": "NumericLiteral",
"start": 11409,
"end": 11415,
"loc": {
"start": {
"line": 396,
"column": 43
},
"end": {
"line": 396,
"column": 49
}
},
"extra": {
"rawValue": 1000,
"raw": "1000.0"
},
"value": 1000
}
}
}
},
{
"type": "IfStatement",
"start": 11430,
"end": 11571,
"loc": {
"start": {
"line": 397,
"column": 12
},
"end": {
"line": 400,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 11434,
"end": 11460,
"loc": {
"start": {
"line": 397,
"column": 16
},
"end": {
"line": 397,
"column": 42
}
},
"left": {
"type": "MemberExpression",
"start": 11434,
"end": 11456,
"loc": {
"start": {
"line": 397,
"column": 16
},
"end": {
"line": 397,
"column": 38
}
},
"object": {
"type": "ThisExpression",
"start": 11434,
"end": 11438,
"loc": {
"start": {
"line": 397,
"column": 16
},
"end": {
"line": 397,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 11439,
"end": 11456,
"loc": {
"start": {
"line": 397,
"column": 21
},
"end": {
"line": 397,
"column": 38
},
"identifierName": "warmupTimeSeconds"
},
"name": "warmupTimeSeconds"
},
"computed": false
},
"operator": "<",
"right": {
"type": "NumericLiteral",
"start": 11459,
"end": 11460,
"loc": {
"start": {
"line": 397,
"column": 41
},
"end": {
"line": 397,
"column": 42
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
},
"consequent": {
"type": "BlockStatement",
"start": 11462,
"end": 11571,
"loc": {
"start": {
"line": 397,
"column": 44
},
"end": {
"line": 400,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 11481,
"end": 11512,
"loc": {
"start": {
"line": 398,
"column": 16
},
"end": {
"line": 398,
"column": 47
}
},
"expression": {
"type": "CallExpression",
"start": 11481,
"end": 11511,
"loc": {
"start": {
"line": 398,
"column": 16
},
"end": {
"line": 398,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 11481,
"end": 11491,
"loc": {
"start": {
"line": 398,
"column": 16
},
"end": {
"line": 398,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 11481,
"end": 11487,
"loc": {
"start": {
"line": 398,
"column": 16
},
"end": {
"line": 398,
"column": 22
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 11488,
"end": 11491,
"loc": {
"start": {
"line": 398,
"column": 23
},
"end": {
"line": 398,
"column": 26
},
"identifierName": "log"
},
"name": "log"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 11492,
"end": 11510,
"loc": {
"start": {
"line": 398,
"column": 27
},
"end": {
"line": 398,
"column": 45
}
},
"extra": {
"rawValue": "Warmup completed",
"raw": "\"Warmup completed\""
},
"value": "Warmup completed"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 11530,
"end": 11556,
"loc": {
"start": {
"line": 399,
"column": 16
},
"end": {
"line": 399,
"column": 42
}
},
"expression": {
"type": "CallExpression",
"start": 11530,
"end": 11555,
"loc": {
"start": {
"line": 399,
"column": 16
},
"end": {
"line": 399,
"column": 41
}
},
"callee": {
"type": "MemberExpression",
"start": 11530,
"end": 11553,
"loc": {
"start": {
"line": 399,
"column": 16
},
"end": {
"line": 399,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 11530,
"end": 11534,
"loc": {
"start": {
"line": 399,
"column": 16
},
"end": {
"line": 399,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 11535,
"end": 11553,
"loc": {
"start": {
"line": 399,
"column": 21
},
"end": {
"line": 399,
"column": 39
},
"identifierName": "stage10GameRunning"
},
"name": "stage10GameRunning"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 11594,
"end": 11682,
"loc": {
"start": {
"line": 403,
"column": 8
},
"end": {
"line": 405,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 11598,
"end": 11635,
"loc": {
"start": {
"line": 403,
"column": 12
},
"end": {
"line": 403,
"column": 49
}
},
"left": {
"type": "MemberExpression",
"start": 11598,
"end": 11608,
"loc": {
"start": {
"line": 403,
"column": 12
},
"end": {
"line": 403,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 11598,
"end": 11602,
"loc": {
"start": {
"line": 403,
"column": 12
},
"end": {
"line": 403,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 11603,
"end": 11608,
"loc": {
"start": {
"line": 403,
"column": 17
},
"end": {
"line": 403,
"column": 22
},
"identifierName": "stage"
},
"name": "stage"
},
"computed": false
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 11613,
"end": 11635,
"loc": {
"start": {
"line": 403,
"column": 27
},
"end": {
"line": 403,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 11613,
"end": 11619,
"loc": {
"start": {
"line": 403,
"column": 27
},
"end": {
"line": 403,
"column": 33
},
"identifierName": "stages"
},
"name": "stages"
},
"property": {
"type": "Identifier",
"start": 11620,
"end": 11635,
"loc": {
"start": {
"line": 403,
"column": 34
},
"end": {
"line": 403,
"column": 49
},
"identifierName": "s10_gameRunning"
},
"name": "s10_gameRunning"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 11637,
"end": 11682,
"loc": {
"start": {
"line": 403,
"column": 51
},
"end": {
"line": 405,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 11652,
"end": 11671,
"loc": {
"start": {
"line": 404,
"column": 12
},
"end": {
"line": 404,
"column": 31
}
},
"expression": {
"type": "CallExpression",
"start": 11652,
"end": 11670,
"loc": {
"start": {
"line": 404,
"column": 12
},
"end": {
"line": 404,
"column": 30
}
},
"callee": {
"type": "MemberExpression",
"start": 11652,
"end": 11666,
"loc": {
"start": {
"line": 404,
"column": 12
},
"end": {
"line": 404,
"column": 26
}
},
"object": {
"type": "MemberExpression",
"start": 11652,
"end": 11661,
"loc": {
"start": {
"line": 404,
"column": 12
},
"end": {
"line": 404,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 11652,
"end": 11656,
"loc": {
"start": {
"line": 404,
"column": 12
},
"end": {
"line": 404,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 11657,
"end": 11661,
"loc": {
"start": {
"line": 404,
"column": 17
},
"end": {
"line": 404,
"column": 21
},
"identifierName": "core"
},
"name": "core"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 11662,
"end": 11666,
"loc": {
"start": {
"line": 404,
"column": 22
},
"end": {
"line": 404,
"column": 26
},
"identifierName": "tick"
},
"name": "tick"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 11667,
"end": 11669,
"loc": {
"start": {
"line": 404,
"column": 27
},
"end": {
"line": 404,
"column": 29
},
"identifierName": "dt"
},
"name": "dt"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " If the stage is still active (This might not be the case if tick() moved us to game over)",
"start": 11694,
"end": 11786,
"loc": {
"start": {
"line": 407,
"column": 8
},
"end": {
"line": 407,
"column": 100
}
}
}
]
},
{
"type": "IfStatement",
"start": 11796,
"end": 12176,
"loc": {
"start": {
"line": 408,
"column": 8
},
"end": {
"line": 419,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 11800,
"end": 11837,
"loc": {
"start": {
"line": 408,
"column": 12
},
"end": {
"line": 408,
"column": 49
}
},
"left": {
"type": "MemberExpression",
"start": 11800,
"end": 11810,
"loc": {
"start": {
"line": 408,
"column": 12
},
"end": {
"line": 408,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 11800,
"end": 11804,
"loc": {
"start": {
"line": 408,
"column": 12
},
"end": {
"line": 408,
"column": 16
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 11805,
"end": 11810,
"loc": {
"start": {
"line": 408,
"column": 17
},
"end": {
"line": 408,
"column": 22
},
"identifierName": "stage"
},
"name": "stage"
},
"computed": false,
"leadingComments": null
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 11815,
"end": 11837,
"loc": {
"start": {
"line": 408,
"column": 27
},
"end": {
"line": 408,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 11815,
"end": 11821,
"loc": {
"start": {
"line": 408,
"column": 27
},
"end": {
"line": 408,
"column": 33
},
"identifierName": "stages"
},
"name": "stages"
},
"property": {
"type": "Identifier",
"start": 11822,
"end": 11837,
"loc": {
"start": {
"line": 408,
"column": 34
},
"end": {
"line": 408,
"column": 49
},
"identifierName": "s10_gameRunning"
},
"name": "s10_gameRunning"
},
"computed": false
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 11839,
"end": 12039,
"loc": {
"start": {
"line": 408,
"column": 51
},
"end": {
"line": 415,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 11896,
"end": 11973,
"loc": {
"start": {
"line": 410,
"column": 12
},
"end": {
"line": 412,
"column": 13
}
},
"test": {
"type": "MemberExpression",
"start": 11900,
"end": 11920,
"loc": {
"start": {
"line": 410,
"column": 16
},
"end": {
"line": 410,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 11900,
"end": 11908,
"loc": {
"start": {
"line": 410,
"column": 16
},
"end": {
"line": 410,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 11900,
"end": 11904,
"loc": {
"start": {
"line": 410,
"column": 16
},
"end": {
"line": 410,
"column": 20
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 11905,
"end": 11908,
"loc": {
"start": {
"line": 410,
"column": 21
},
"end": {
"line": 410,
"column": 24
},
"identifierName": "app"
},
"name": "app"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 11909,
"end": 11920,
"loc": {
"start": {
"line": 410,
"column": 25
},
"end": {
"line": 410,
"column": 36
},
"identifierName": "pageVisible"
},
"name": "pageVisible"
},
"computed": false,
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 11922,
"end": 11973,
"loc": {
"start": {
"line": 410,
"column": 38
},
"end": {
"line": 412,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 11941,
"end": 11958,
"loc": {
"start": {
"line": 411,
"column": 16
},
"end": {
"line": 411,
"column": 33
}
},
"expression": {
"type": "CallExpression",
"start": 11941,
"end": 11957,
"loc": {
"start": {
"line": 411,
"column": 16
},
"end": {
"line": 411,
"column": 32
}
},
"callee": {
"type": "MemberExpression",
"start": 11941,
"end": 11955,
"loc": {
"start": {
"line": 411,
"column": 16
},
"end": {
"line": 411,
"column": 30
}
},
"object": {
"type": "MemberExpression",
"start": 11941,
"end": 11950,
"loc": {
"start": {
"line": 411,
"column": 16
},
"end": {
"line": 411,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 11941,
"end": 11945,
"loc": {
"start": {
"line": 411,
"column": 16
},
"end": {
"line": 411,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 11946,
"end": 11950,
"loc": {
"start": {
"line": 411,
"column": 21
},
"end": {
"line": 411,
"column": 25
},
"identifierName": "core"
},
"name": "core"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 11951,
"end": 11955,
"loc": {
"start": {
"line": 411,
"column": 26
},
"end": {
"line": 411,
"column": 30
},
"identifierName": "draw"
},
"name": "draw"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Only draw if page visible",
"start": 11854,
"end": 11882,
"loc": {
"start": {
"line": 409,
"column": 12
},
"end": {
"line": 409,
"column": 40
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 11989,
"end": 12028,
"loc": {
"start": {
"line": 414,
"column": 12
},
"end": {
"line": 414,
"column": 51
}
},
"expression": {
"type": "CallExpression",
"start": 11989,
"end": 12027,
"loc": {
"start": {
"line": 414,
"column": 12
},
"end": {
"line": 414,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 11989,
"end": 12025,
"loc": {
"start": {
"line": 414,
"column": 12
},
"end": {
"line": 414,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 11989,
"end": 12008,
"loc": {
"start": {
"line": 414,
"column": 12
},
"end": {
"line": 414,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 11989,
"end": 11993,
"loc": {
"start": {
"line": 414,
"column": 12
},
"end": {
"line": 414,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 11994,
"end": 12008,
"loc": {
"start": {
"line": 414,
"column": 17
},
"end": {
"line": 414,
"column": 31
},
"identifierName": "loadingOverlay"
},
"name": "loadingOverlay"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 12009,
"end": 12025,
"loc": {
"start": {
"line": 414,
"column": 32
},
"end": {
"line": 414,
"column": 48
},
"identifierName": "removeIfAttached"
},
"name": "removeIfAttached"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 12045,
"end": 12176,
"loc": {
"start": {
"line": 415,
"column": 15
},
"end": {
"line": 419,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 12060,
"end": 12165,
"loc": {
"start": {
"line": 416,
"column": 12
},
"end": {
"line": 418,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 12064,
"end": 12097,
"loc": {
"start": {
"line": 416,
"column": 16
},
"end": {
"line": 416,
"column": 49
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 12065,
"end": 12097,
"loc": {
"start": {
"line": 416,
"column": 17
},
"end": {
"line": 416,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
"start": 12065,
"end": 12095,
"loc": {
"start": {
"line": 416,
"column": 17
},
"end": {
"line": 416,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 12065,
"end": 12084,
"loc": {
"start": {
"line": 416,
"column": 17
},
"end": {
"line": 416,
"column": 36
}
},
"object": {
"type": "ThisExpression",
"start": 12065,
"end": 12069,
"loc": {
"start": {
"line": 416,
"column": 17
},
"end": {
"line": 416,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 12070,
"end": 12084,
"loc": {
"start": {
"line": 416,
"column": 22
},
"end": {
"line": 416,
"column": 36
},
"identifierName": "loadingOverlay"
},
"name": "loadingOverlay"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 12085,
"end": 12095,
"loc": {
"start": {
"line": 416,
"column": 37
},
"end": {
"line": 416,
"column": 47
},
"identifierName": "isAttached"
},
"name": "isAttached"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 12099,
"end": 12165,
"loc": {
"start": {
"line": 416,
"column": 51
},
"end": {
"line": 418,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 12118,
"end": 12150,
"loc": {
"start": {
"line": 417,
"column": 16
},
"end": {
"line": 417,
"column": 48
}
},
"expression": {
"type": "CallExpression",
"start": 12118,
"end": 12149,
"loc": {
"start": {
"line": 417,
"column": 16
},
"end": {
"line": 417,
"column": 47
}
},
"callee": {
"type": "MemberExpression",
"start": 12118,
"end": 12147,
"loc": {
"start": {
"line": 417,
"column": 16
},
"end": {
"line": 417,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 12118,
"end": 12137,
"loc": {
"start": {
"line": 417,
"column": 16
},
"end": {
"line": 417,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 12118,
"end": 12122,
"loc": {
"start": {
"line": 417,
"column": 16
},
"end": {
"line": 417,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 12123,
"end": 12137,
"loc": {
"start": {
"line": 417,
"column": 21
},
"end": {
"line": 417,
"column": 35
},
"identifierName": "loadingOverlay"
},
"name": "loadingOverlay"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 12138,
"end": 12147,
"loc": {
"start": {
"line": 417,
"column": 36
},
"end": {
"line": 417,
"column": 45
},
"identifierName": "showBasic"
},
"name": "showBasic"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " If the stage is still active (This might not be the case if tick() moved us to game over)",
"start": 11694,
"end": 11786,
"loc": {
"start": {
"line": 407,
"column": 8
},
"end": {
"line": 407,
"column": 100
}
}
}
]
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Render callback\r\n * @param {number} dt\r\n ",
"start": 11062,
"end": 11125,
"loc": {
"start": {
"line": 384,
"column": 4
},
"end": {
"line": 387,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 12191,
"end": 12248,
"loc": {
"start": {
"line": 422,
"column": 4
},
"end": {
"line": 424,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 12191,
"end": 12207,
"loc": {
"start": {
"line": 422,
"column": 4
},
"end": {
"line": 422,
"column": 20
},
"identifierName": "onBackgroundTick"
},
"name": "onBackgroundTick"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 12208,
"end": 12210,
"loc": {
"start": {
"line": 422,
"column": 21
},
"end": {
"line": 422,
"column": 23
},
"identifierName": "dt"
},
"name": "dt"
}
],
"body": {
"type": "BlockStatement",
"start": 12212,
"end": 12248,
"loc": {
"start": {
"line": 422,
"column": 25
},
"end": {
"line": 424,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 12223,
"end": 12241,
"loc": {
"start": {
"line": 423,
"column": 8
},
"end": {
"line": 423,
"column": 26
}
},
"expression": {
"type": "CallExpression",
"start": 12223,
"end": 12240,
"loc": {
"start": {
"line": 423,
"column": 8
},
"end": {
"line": 423,
"column": 25
}
},
"callee": {
"type": "MemberExpression",
"start": 12223,
"end": 12236,
"loc": {
"start": {
"line": 423,
"column": 8
},
"end": {
"line": 423,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 12223,
"end": 12227,
"loc": {
"start": {
"line": 423,
"column": 8
},
"end": {
"line": 423,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 12228,
"end": 12236,
"loc": {
"start": {
"line": 423,
"column": 13
},
"end": {
"line": 423,
"column": 21
},
"identifierName": "onRender"
},
"name": "onRender"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 12237,
"end": 12239,
"loc": {
"start": {
"line": 423,
"column": 22
},
"end": {
"line": 423,
"column": 24
},
"identifierName": "dt"
},
"name": "dt"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Saves the game\r\n ",
"start": 12256,
"end": 12291,
"loc": {
"start": {
"line": 426,
"column": 4
},
"end": {
"line": 428,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 12299,
"end": 13657,
"loc": {
"start": {
"line": 430,
"column": 4
},
"end": {
"line": 470,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 12299,
"end": 12305,
"loc": {
"start": {
"line": 430,
"column": 4
},
"end": {
"line": 430,
"column": 10
},
"identifierName": "doSave"
},
"name": "doSave",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 12308,
"end": 13657,
"loc": {
"start": {
"line": 430,
"column": 13
},
"end": {
"line": 470,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 12319,
"end": 12421,
"loc": {
"start": {
"line": 431,
"column": 8
},
"end": {
"line": 433,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 12323,
"end": 12368,
"loc": {
"start": {
"line": 431,
"column": 12
},
"end": {
"line": 431,
"column": 57
}
},
"left": {
"type": "UnaryExpression",
"start": 12323,
"end": 12337,
"loc": {
"start": {
"line": 431,
"column": 12
},
"end": {
"line": 431,
"column": 26
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 12324,
"end": 12337,
"loc": {
"start": {
"line": 431,
"column": 13
},
"end": {
"line": 431,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 12324,
"end": 12328,
"loc": {
"start": {
"line": 431,
"column": 13
},
"end": {
"line": 431,
"column": 17
}
}
},
"property": {
"type": "Identifier",
"start": 12329,
"end": 12337,
"loc": {
"start": {
"line": 431,
"column": 18
},
"end": {
"line": 431,
"column": 26
},
"identifierName": "savegame"
},
"name": "savegame"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 12341,
"end": 12368,
"loc": {
"start": {
"line": 431,
"column": 30
},
"end": {
"line": 431,
"column": 57
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 12342,
"end": 12368,
"loc": {
"start": {
"line": 431,
"column": 31
},
"end": {
"line": 431,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 12342,
"end": 12366,
"loc": {
"start": {
"line": 431,
"column": 31
},
"end": {
"line": 431,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 12342,
"end": 12355,
"loc": {
"start": {
"line": 431,
"column": 31
},
"end": {
"line": 431,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 12342,
"end": 12346,
"loc": {
"start": {
"line": 431,
"column": 31
},
"end": {
"line": 431,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"start": 12347,
"end": 12355,
"loc": {
"start": {
"line": 431,
"column": 36
},
"end": {
"line": 431,
"column": 44
},
"identifierName": "savegame"
},
"name": "savegame"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 12356,
"end": 12366,
"loc": {
"start": {
"line": 431,
"column": 45
},
"end": {
"line": 431,
"column": 55
},
"identifierName": "isSaveable"
},
"name": "isSaveable"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 12370,
"end": 12421,
"loc": {
"start": {
"line": 431,
"column": 59
},
"end": {
"line": 433,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 12385,
"end": 12410,
"loc": {
"start": {
"line": 432,
"column": 12
},
"end": {
"line": 432,
"column": 37
}
},
"argument": {
"type": "CallExpression",
"start": 12392,
"end": 12409,
"loc": {
"start": {
"line": 432,
"column": 19
},
"end": {
"line": 432,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 12392,
"end": 12407,
"loc": {
"start": {
"line": 432,
"column": 19
},
"end": {
"line": 432,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 12392,
"end": 12399,
"loc": {
"start": {
"line": 432,
"column": 19
},
"end": {
"line": 432,
"column": 26
},
"identifierName": "Promise"
},
"name": "Promise"
},
"property": {
"type": "Identifier",
"start": 12400,
"end": 12407,
"loc": {
"start": {
"line": 432,
"column": 27
},
"end": {
"line": 432,
"column": 34
},
"identifierName": "resolve"
},
"name": "resolve"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 12433,
"end": 12586,
"loc": {
"start": {
"line": 435,
"column": 8
},
"end": {
"line": 438,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 12437,
"end": 12462,
"loc": {
"start": {
"line": 435,
"column": 12
},
"end": {
"line": 435,
"column": 37
},
"identifierName": "APPLICATION_ERROR_OCCURED"
},
"name": "APPLICATION_ERROR_OCCURED"
},
"consequent": {
"type": "BlockStatement",
"start": 12464,
"end": 12586,
"loc": {
"start": {
"line": 435,
"column": 39
},
"end": {
"line": 438,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 12479,
"end": 12536,
"loc": {
"start": {
"line": 436,
"column": 12
},
"end": {
"line": 436,
"column": 69
}
},
"expression": {
"type": "CallExpression",
"start": 12479,
"end": 12535,
"loc": {
"start": {
"line": 436,
"column": 12
},
"end": {
"line": 436,
"column": 68
}
},
"callee": {
"type": "MemberExpression",
"start": 12479,
"end": 12490,
"loc": {
"start": {
"line": 436,
"column": 12
},
"end": {
"line": 436,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 12479,
"end": 12485,
"loc": {
"start": {
"line": 436,
"column": 12
},
"end": {
"line": 436,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 12486,
"end": 12490,
"loc": {
"start": {
"line": 436,
"column": 19
},
"end": {
"line": 436,
"column": 23
},
"identifierName": "warn"
},
"name": "warn"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 12491,
"end": 12534,
"loc": {
"start": {
"line": 436,
"column": 24
},
"end": {
"line": 436,
"column": 67
}
},
"extra": {
"rawValue": "skipping save because application crashed",
"raw": "\"skipping save because application crashed\""
},
"value": "skipping save because application crashed"
}
]
}
},
{
"type": "ReturnStatement",
"start": 12550,
"end": 12575,
"loc": {
"start": {
"line": 437,
"column": 12
},
"end": {
"line": 437,
"column": 37
}
},
"argument": {
"type": "CallExpression",
"start": 12557,
"end": 12574,
"loc": {
"start": {
"line": 437,
"column": 19
},
"end": {
"line": 437,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 12557,
"end": 12572,
"loc": {
"start": {
"line": 437,
"column": 19
},
"end": {
"line": 437,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 12557,
"end": 12564,
"loc": {
"start": {
"line": 437,
"column": 19
},
"end": {
"line": 437,
"column": 26
},
"identifierName": "Promise"
},
"name": "Promise"
},
"property": {
"type": "Identifier",
"start": 12565,
"end": 12572,
"loc": {
"start": {
"line": 437,
"column": 27
},
"end": {
"line": 437,
"column": 34
},
"identifierName": "resolve"
},
"name": "resolve"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 12598,
"end": 12879,
"loc": {
"start": {
"line": 440,
"column": 8
},
"end": {
"line": 447,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 12616,
"end": 12747,
"loc": {
"start": {
"line": 441,
"column": 12
},
"end": {
"line": 443,
"column": 41
}
},
"left": {
"type": "LogicalExpression",
"start": 12616,
"end": 12701,
"loc": {
"start": {
"line": 441,
"column": 12
},
"end": {
"line": 442,
"column": 43
}
},
"left": {
"type": "BinaryExpression",
"start": 12616,
"end": 12653,
"loc": {
"start": {
"line": 441,
"column": 12
},
"end": {
"line": 441,
"column": 49
}
},
"left": {
"type": "MemberExpression",
"start": 12616,
"end": 12626,
"loc": {
"start": {
"line": 441,
"column": 12
},
"end": {
"line": 441,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 12616,
"end": 12620,
"loc": {
"start": {
"line": 441,
"column": 12
},
"end": {
"line": 441,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 12621,
"end": 12626,
"loc": {
"start": {
"line": 441,
"column": 17
},
"end": {
"line": 441,
"column": 22
},
"identifierName": "stage"
},
"name": "stage"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "MemberExpression",
"start": 12631,
"end": 12653,
"loc": {
"start": {
"line": 441,
"column": 27
},
"end": {
"line": 441,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 12631,
"end": 12637,
"loc": {
"start": {
"line": 441,
"column": 27
},
"end": {
"line": 441,
"column": 33
},
"identifierName": "stages"
},
"name": "stages"
},
"property": {
"type": "Identifier",
"start": 12638,
"end": 12653,
"loc": {
"start": {
"line": 441,
"column": 34
},
"end": {
"line": 441,
"column": 49
},
"identifierName": "s10_gameRunning"
},
"name": "s10_gameRunning"
},
"computed": false
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 12670,
"end": 12701,
"loc": {
"start": {
"line": 442,
"column": 12
},
"end": {
"line": 442,
"column": 43
}
},
"left": {
"type": "MemberExpression",
"start": 12670,
"end": 12680,
"loc": {
"start": {
"line": 442,
"column": 12
},
"end": {
"line": 442,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 12670,
"end": 12674,
"loc": {
"start": {
"line": 442,
"column": 12
},
"end": {
"line": 442,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 12675,
"end": 12680,
"loc": {
"start": {
"line": 442,
"column": 17
},
"end": {
"line": 442,
"column": 22
},
"identifierName": "stage"
},
"name": "stage"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "MemberExpression",
"start": 12685,
"end": 12701,
"loc": {
"start": {
"line": 442,
"column": 27
},
"end": {
"line": 442,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 12685,
"end": 12691,
"loc": {
"start": {
"line": 442,
"column": 27
},
"end": {
"line": 442,
"column": 33
},
"identifierName": "stages"
},
"name": "stages"
},
"property": {
"type": "Identifier",
"start": 12692,
"end": 12701,
"loc": {
"start": {
"line": 442,
"column": 34
},
"end": {
"line": 442,
"column": 43
},
"identifierName": "s7_warmup"
},
"name": "s7_warmup"
},
"computed": false
}
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 12718,
"end": 12747,
"loc": {
"start": {
"line": 443,
"column": 12
},
"end": {
"line": 443,
"column": 41
}
},
"left": {
"type": "MemberExpression",
"start": 12718,
"end": 12728,
"loc": {
"start": {
"line": 443,
"column": 12
},
"end": {
"line": 443,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 12718,
"end": 12722,
"loc": {
"start": {
"line": 443,
"column": 12
},
"end": {
"line": 443,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 12723,
"end": 12728,
"loc": {
"start": {
"line": 443,
"column": 17
},
"end": {
"line": 443,
"column": 22
},
"identifierName": "stage"
},
"name": "stage"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "MemberExpression",
"start": 12733,
"end": 12747,
"loc": {
"start": {
"line": 443,
"column": 27
},
"end": {
"line": 443,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 12733,
"end": 12739,
"loc": {
"start": {
"line": 443,
"column": 27
},
"end": {
"line": 443,
"column": 33
},
"identifierName": "stages"
},
"name": "stages"
},
"property": {
"type": "Identifier",
"start": 12740,
"end": 12747,
"loc": {
"start": {
"line": 443,
"column": 34
},
"end": {
"line": 443,
"column": 41
},
"identifierName": "leaving"
},
"name": "leaving"
},
"computed": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 12759,
"end": 12879,
"loc": {
"start": {
"line": 444,
"column": 10
},
"end": {
"line": 447,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 12774,
"end": 12829,
"loc": {
"start": {
"line": 445,
"column": 12
},
"end": {
"line": 445,
"column": 67
}
},
"expression": {
"type": "CallExpression",
"start": 12774,
"end": 12828,
"loc": {
"start": {
"line": 445,
"column": 12
},
"end": {
"line": 445,
"column": 66
}
},
"callee": {
"type": "MemberExpression",
"start": 12774,
"end": 12785,
"loc": {
"start": {
"line": 445,
"column": 12
},
"end": {
"line": 445,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 12774,
"end": 12780,
"loc": {
"start": {
"line": 445,
"column": 12
},
"end": {
"line": 445,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 12781,
"end": 12785,
"loc": {
"start": {
"line": 445,
"column": 19
},
"end": {
"line": 445,
"column": 23
},
"identifierName": "warn"
},
"name": "warn"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 12786,
"end": 12827,
"loc": {
"start": {
"line": 445,
"column": 24
},
"end": {
"line": 445,
"column": 65
}
},
"extra": {
"rawValue": "Skipping save because game is not ready",
"raw": "\"Skipping save because game is not ready\""
},
"value": "Skipping save because game is not ready"
}
]
}
},
{
"type": "ReturnStatement",
"start": 12843,
"end": 12868,
"loc": {
"start": {
"line": 446,
"column": 12
},
"end": {
"line": 446,
"column": 37
}
},
"argument": {
"type": "CallExpression",
"start": 12850,
"end": 12867,
"loc": {
"start": {
"line": 446,
"column": 19
},
"end": {
"line": 446,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 12850,
"end": 12865,
"loc": {
"start": {
"line": 446,
"column": 19
},
"end": {
"line": 446,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 12850,
"end": 12857,
"loc": {
"start": {
"line": 446,
"column": 19
},
"end": {
"line": 446,
"column": 26
},
"identifierName": "Promise"
},
"name": "Promise"
},
"property": {
"type": "Identifier",
"start": 12858,
"end": 12865,
"loc": {
"start": {
"line": 446,
"column": 27
},
"end": {
"line": 446,
"column": 34
},
"identifierName": "resolve"
},
"name": "resolve"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 12891,
"end": 13054,
"loc": {
"start": {
"line": 449,
"column": 8
},
"end": {
"line": 452,
"column": 9
}
},
"test": {
"type": "MemberExpression",
"start": 12895,
"end": 12918,
"loc": {
"start": {
"line": 449,
"column": 12
},
"end": {
"line": 449,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 12895,
"end": 12899,
"loc": {
"start": {
"line": 449,
"column": 12
},
"end": {
"line": 449,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 12900,
"end": 12918,
"loc": {
"start": {
"line": 449,
"column": 17
},
"end": {
"line": 449,
"column": 35
},
"identifierName": "currentSavePromise"
},
"name": "currentSavePromise"
},
"computed": false
},
"consequent": {
"type": "BlockStatement",
"start": 12920,
"end": 13054,
"loc": {
"start": {
"line": 449,
"column": 37
},
"end": {
"line": 452,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 12935,
"end": 12998,
"loc": {
"start": {
"line": 450,
"column": 12
},
"end": {
"line": 450,
"column": 75
}
},
"expression": {
"type": "CallExpression",
"start": 12935,
"end": 12997,
"loc": {
"start": {
"line": 450,
"column": 12
},
"end": {
"line": 450,
"column": 74
}
},
"callee": {
"type": "MemberExpression",
"start": 12935,
"end": 12946,
"loc": {
"start": {
"line": 450,
"column": 12
},
"end": {
"line": 450,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 12935,
"end": 12941,
"loc": {
"start": {
"line": 450,
"column": 12
},
"end": {
"line": 450,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 12942,
"end": 12946,
"loc": {
"start": {
"line": 450,
"column": 19
},
"end": {
"line": 450,
"column": 23
},
"identifierName": "warn"
},
"name": "warn"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 12947,
"end": 12996,
"loc": {
"start": {
"line": 450,
"column": 24
},
"end": {
"line": 450,
"column": 73
}
},
"extra": {
"rawValue": "Skipping double save and returning same promise",
"raw": "\"Skipping double save and returning same promise\""
},
"value": "Skipping double save and returning same promise"
}
]
}
},
{
"type": "ReturnStatement",
"start": 13012,
"end": 13043,
"loc": {
"start": {
"line": 451,
"column": 12
},
"end": {
"line": 451,
"column": 43
}
},
"argument": {
"type": "MemberExpression",
"start": 13019,
"end": 13042,
"loc": {
"start": {
"line": 451,
"column": 19
},
"end": {
"line": 451,
"column": 42
}
},
"object": {
"type": "ThisExpression",
"start": 13019,
"end": 13023,
"loc": {
"start": {
"line": 451,
"column": 19
},
"end": {
"line": 451,
"column": 23
}
}
},
"property": {
"type": "Identifier",
"start": 13024,
"end": 13042,
"loc": {
"start": {
"line": 451,
"column": 24
},
"end": {
"line": 451,
"column": 42
},
"identifierName": "currentSavePromise"
},
"name": "currentSavePromise"
},
"computed": false
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 13064,
"end": 13104,
"loc": {
"start": {
"line": 453,
"column": 8
},
"end": {
"line": 453,
"column": 48
}
},
"expression": {
"type": "CallExpression",
"start": 13064,
"end": 13103,
"loc": {
"start": {
"line": 453,
"column": 8
},
"end": {
"line": 453,
"column": 47
}
},
"callee": {
"type": "MemberExpression",
"start": 13064,
"end": 13074,
"loc": {
"start": {
"line": 453,
"column": 8
},
"end": {
"line": 453,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 13064,
"end": 13070,
"loc": {
"start": {
"line": 453,
"column": 8
},
"end": {
"line": 453,
"column": 14
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 13071,
"end": 13074,
"loc": {
"start": {
"line": 453,
"column": 15
},
"end": {
"line": 453,
"column": 18
},
"identifierName": "log"
},
"name": "log"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 13075,
"end": 13102,
"loc": {
"start": {
"line": 453,
"column": 19
},
"end": {
"line": 453,
"column": 46
}
},
"extra": {
"rawValue": "Starting to save game ...",
"raw": "\"Starting to save game ...\""
},
"value": "Starting to save game ..."
}
]
}
},
{
"type": "ExpressionStatement",
"start": 13114,
"end": 13155,
"loc": {
"start": {
"line": 454,
"column": 8
},
"end": {
"line": 454,
"column": 49
}
},
"expression": {
"type": "CallExpression",
"start": 13114,
"end": 13154,
"loc": {
"start": {
"line": 454,
"column": 8
},
"end": {
"line": 454,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 13114,
"end": 13138,
"loc": {
"start": {
"line": 454,
"column": 8
},
"end": {
"line": 454,
"column": 32
}
},
"object": {
"type": "MemberExpression",
"start": 13114,
"end": 13127,
"loc": {
"start": {
"line": 454,
"column": 8
},
"end": {
"line": 454,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 13114,
"end": 13118,
"loc": {
"start": {
"line": 454,
"column": 8
},
"end": {
"line": 454,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 13119,
"end": 13127,
"loc": {
"start": {
"line": 454,
"column": 13
},
"end": {
"line": 454,
"column": 21
},
"identifierName": "savegame"
},
"name": "savegame"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 13128,
"end": 13138,
"loc": {
"start": {
"line": 454,
"column": 22
},
"end": {
"line": 454,
"column": 32
},
"identifierName": "updateData"
},
"name": "updateData"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 13139,
"end": 13153,
"loc": {
"start": {
"line": 454,
"column": 33
},
"end": {
"line": 454,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 13139,
"end": 13148,
"loc": {
"start": {
"line": 454,
"column": 33
},
"end": {
"line": 454,
"column": 42
}
},
"object": {
"type": "ThisExpression",
"start": 13139,
"end": 13143,
"loc": {
"start": {
"line": 454,
"column": 33
},
"end": {
"line": 454,
"column": 37
}
}
},
"property": {
"type": "Identifier",
"start": 13144,
"end": 13148,
"loc": {
"start": {
"line": 454,
"column": 38
},
"end": {
"line": 454,
"column": 42
},
"identifierName": "core"
},
"name": "core"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 13149,
"end": 13153,
"loc": {
"start": {
"line": 454,
"column": 43
},
"end": {
"line": 454,
"column": 47
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 13167,
"end": 13607,
"loc": {
"start": {
"line": 456,
"column": 8
},
"end": {
"line": 467,
"column": 15
}
},
"expression": {
"type": "AssignmentExpression",
"start": 13167,
"end": 13606,
"loc": {
"start": {
"line": 456,
"column": 8
},
"end": {
"line": 467,
"column": 14
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 13167,
"end": 13190,
"loc": {
"start": {
"line": 456,
"column": 8
},
"end": {
"line": 456,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 13167,
"end": 13171,
"loc": {
"start": {
"line": 456,
"column": 8
},
"end": {
"line": 456,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 13172,
"end": 13190,
"loc": {
"start": {
"line": 456,
"column": 13
},
"end": {
"line": 456,
"column": 31
},
"identifierName": "currentSavePromise"
},
"name": "currentSavePromise"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 13193,
"end": 13606,
"loc": {
"start": {
"line": 456,
"column": 34
},
"end": {
"line": 467,
"column": 14
}
},
"callee": {
"type": "MemberExpression",
"start": 13193,
"end": 13398,
"loc": {
"start": {
"line": 456,
"column": 34
},
"end": {
"line": 462,
"column": 17
}
},
"object": {
"type": "CallExpression",
"start": 13193,
"end": 13379,
"loc": {
"start": {
"line": 456,
"column": 34
},
"end": {
"line": 461,
"column": 14
}
},
"callee": {
"type": "MemberExpression",
"start": 13193,
"end": 13267,
"loc": {
"start": {
"line": 456,
"column": 34
},
"end": {
"line": 458,
"column": 18
}
},
"object": {
"type": "CallExpression",
"start": 13193,
"end": 13247,
"loc": {
"start": {
"line": 456,
"column": 34
},
"end": {
"line": 457,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 13193,
"end": 13245,
"loc": {
"start": {
"line": 456,
"column": 34
},
"end": {
"line": 457,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 13193,
"end": 13206,
"loc": {
"start": {
"line": 456,
"column": 34
},
"end": {
"line": 456,
"column": 47
}
},
"object": {
"type": "ThisExpression",
"start": 13193,
"end": 13197,
"loc": {
"start": {
"line": 456,
"column": 34
},
"end": {
"line": 456,
"column": 38
}
}
},
"property": {
"type": "Identifier",
"start": 13198,
"end": 13206,
"loc": {
"start": {
"line": 456,
"column": 39
},
"end": {
"line": 456,
"column": 47
},
"identifierName": "savegame"
},
"name": "savegame"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 13221,
"end": 13245,
"loc": {
"start": {
"line": 457,
"column": 13
},
"end": {
"line": 457,
"column": 37
},
"identifierName": "writeSavegameAndMetadata"
},
"name": "writeSavegameAndMetadata"
},
"computed": false
},
"arguments": []
},
"property": {
"type": "Identifier",
"start": 13262,
"end": 13267,
"loc": {
"start": {
"line": 458,
"column": 13
},
"end": {
"line": 458,
"column": 18
},
"identifierName": "catch"
},
"name": "catch"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 13268,
"end": 13378,
"loc": {
"start": {
"line": 458,
"column": 19
},
"end": {
"line": 461,
"column": 13
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 13268,
"end": 13271,
"loc": {
"start": {
"line": 458,
"column": 19
},
"end": {
"line": 458,
"column": 22
},
"identifierName": "err"
},
"name": "err"
}
],
"body": {
"type": "BlockStatement",
"start": 13275,
"end": 13378,
"loc": {
"start": {
"line": 458,
"column": 26
},
"end": {
"line": 461,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 13327,
"end": 13363,
"loc": {
"start": {
"line": 460,
"column": 16
},
"end": {
"line": 460,
"column": 52
}
},
"expression": {
"type": "CallExpression",
"start": 13327,
"end": 13362,
"loc": {
"start": {
"line": 460,
"column": 16
},
"end": {
"line": 460,
"column": 51
}
},
"callee": {
"type": "MemberExpression",
"start": 13327,
"end": 13338,
"loc": {
"start": {
"line": 460,
"column": 16
},
"end": {
"line": 460,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 13327,
"end": 13333,
"loc": {
"start": {
"line": 460,
"column": 16
},
"end": {
"line": 460,
"column": 22
},
"identifierName": "logger"
},
"name": "logger",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 13334,
"end": 13338,
"loc": {
"start": {
"line": 460,
"column": 23
},
"end": {
"line": 460,
"column": 27
},
"identifierName": "warn"
},
"name": "warn"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "StringLiteral",
"start": 13339,
"end": 13356,
"loc": {
"start": {
"line": 460,
"column": 28
},
"end": {
"line": 460,
"column": 45
}
},
"extra": {
"rawValue": "Failed to save:",
"raw": "\"Failed to save:\""
},
"value": "Failed to save:"
},
{
"type": "Identifier",
"start": 13358,
"end": 13361,
"loc": {
"start": {
"line": 460,
"column": 47
},
"end": {
"line": 460,
"column": 50
},
"identifierName": "err"
},
"name": "err"
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Catch errors",
"start": 13294,
"end": 13309,
"loc": {
"start": {
"line": 459,
"column": 16
},
"end": {
"line": 459,
"column": 31
}
}
}
]
}
],
"directives": []
}
}
]
},
"property": {
"type": "Identifier",
"start": 13394,
"end": 13398,
"loc": {
"start": {
"line": 462,
"column": 13
},
"end": {
"line": 462,
"column": 17
},
"identifierName": "then"
},
"name": "then"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 13399,
"end": 13605,
"loc": {
"start": {
"line": 462,
"column": 18
},
"end": {
"line": 467,
"column": 13
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 13405,
"end": 13605,
"loc": {
"start": {
"line": 462,
"column": 24
},
"end": {
"line": 467,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 13458,
"end": 13479,
"loc": {
"start": {
"line": 464,
"column": 16
},
"end": {
"line": 464,
"column": 37
}
},
"expression": {
"type": "CallExpression",
"start": 13458,
"end": 13478,
"loc": {
"start": {
"line": 464,
"column": 16
},
"end": {
"line": 464,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 13458,
"end": 13468,
"loc": {
"start": {
"line": 464,
"column": 16
},
"end": {
"line": 464,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 13458,
"end": 13464,
"loc": {
"start": {
"line": 464,
"column": 16
},
"end": {
"line": 464,
"column": 22
},
"identifierName": "logger"
},
"name": "logger",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 13465,
"end": 13468,
"loc": {
"start": {
"line": 464,
"column": 23
},
"end": {
"line": 464,
"column": 26
},
"identifierName": "log"
},
"name": "log"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "StringLiteral",
"start": 13469,
"end": 13477,
"loc": {
"start": {
"line": 464,
"column": 27
},
"end": {
"line": 464,
"column": 35
}
},
"extra": {
"rawValue": "Saved!",
"raw": "\"Saved!\""
},
"value": "Saved!"
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Clear promise",
"start": 13424,
"end": 13440,
"loc": {
"start": {
"line": 463,
"column": 16
},
"end": {
"line": 463,
"column": 32
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 13497,
"end": 13541,
"loc": {
"start": {
"line": 465,
"column": 16
},
"end": {
"line": 465,
"column": 60
}
},
"expression": {
"type": "CallExpression",
"start": 13497,
"end": 13540,
"loc": {
"start": {
"line": 465,
"column": 16
},
"end": {
"line": 465,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
"start": 13497,
"end": 13538,
"loc": {
"start": {
"line": 465,
"column": 16
},
"end": {
"line": 465,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 13497,
"end": 13529,
"loc": {
"start": {
"line": 465,
"column": 16
},
"end": {
"line": 465,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 13497,
"end": 13519,
"loc": {
"start": {
"line": 465,
"column": 16
},
"end": {
"line": 465,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 13497,
"end": 13511,
"loc": {
"start": {
"line": 465,
"column": 16
},
"end": {
"line": 465,
"column": 30
}
},
"object": {
"type": "MemberExpression",
"start": 13497,
"end": 13506,
"loc": {
"start": {
"line": 465,
"column": 16
},
"end": {
"line": 465,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 13497,
"end": 13501,
"loc": {
"start": {
"line": 465,
"column": 16
},
"end": {
"line": 465,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 13502,
"end": 13506,
"loc": {
"start": {
"line": 465,
"column": 21
},
"end": {
"line": 465,
"column": 25
},
"identifierName": "core"
},
"name": "core"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 13507,
"end": 13511,
"loc": {
"start": {
"line": 465,
"column": 26
},
"end": {
"line": 465,
"column": 30
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 13512,
"end": 13519,
"loc": {
"start": {
"line": 465,
"column": 31
},
"end": {
"line": 465,
"column": 38
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 13520,
"end": 13529,
"loc": {
"start": {
"line": 465,
"column": 39
},
"end": {
"line": 465,
"column": 48
},
"identifierName": "gameSaved"
},
"name": "gameSaved"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 13530,
"end": 13538,
"loc": {
"start": {
"line": 465,
"column": 49
},
"end": {
"line": 465,
"column": 57
},
"identifierName": "dispatch"
},
"name": "dispatch"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 13559,
"end": 13590,
"loc": {
"start": {
"line": 466,
"column": 16
},
"end": {
"line": 466,
"column": 47
}
},
"expression": {
"type": "AssignmentExpression",
"start": 13559,
"end": 13589,
"loc": {
"start": {
"line": 466,
"column": 16
},
"end": {
"line": 466,
"column": 46
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 13559,
"end": 13582,
"loc": {
"start": {
"line": 466,
"column": 16
},
"end": {
"line": 466,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 13559,
"end": 13563,
"loc": {
"start": {
"line": 466,
"column": 16
},
"end": {
"line": 466,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 13564,
"end": 13582,
"loc": {
"start": {
"line": 466,
"column": 21
},
"end": {
"line": 466,
"column": 39
},
"identifierName": "currentSavePromise"
},
"name": "currentSavePromise"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 13585,
"end": 13589,
"loc": {
"start": {
"line": 466,
"column": 42
},
"end": {
"line": 466,
"column": 46
}
}
}
}
}
],
"directives": []
}
}
]
}
}
},
{
"type": "ReturnStatement",
"start": 13619,
"end": 13650,
"loc": {
"start": {
"line": 469,
"column": 8
},
"end": {
"line": 469,
"column": 39
}
},
"argument": {
"type": "MemberExpression",
"start": 13626,
"end": 13649,
"loc": {
"start": {
"line": 469,
"column": 15
},
"end": {
"line": 469,
"column": 38
}
},
"object": {
"type": "ThisExpression",
"start": 13626,
"end": 13630,
"loc": {
"start": {
"line": 469,
"column": 15
},
"end": {
"line": 469,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 13631,
"end": 13649,
"loc": {
"start": {
"line": 469,
"column": 20
},
"end": {
"line": 469,
"column": 38
},
"identifierName": "currentSavePromise"
},
"name": "currentSavePromise"
},
"computed": false
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Saves the game\r\n ",
"start": 12256,
"end": 12291,
"loc": {
"start": {
"line": 426,
"column": 4
},
"end": {
"line": 428,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentLine",
"value": " Different sub-states",
"start": 590,
"end": 613,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 23
}
}
},
{
"type": "CommentLine",
"value": " Typehints",
"start": 1231,
"end": 1243,
"loc": {
"start": {
"line": 36,
"column": 0
},
"end": {
"line": 36,
"column": 12
}
}
},
{
"type": "CommentBlock",
"value": "* @type {boolean|undefined} ",
"start": 1310,
"end": 1342,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 40
}
}
},
{
"type": "CommentBlock",
"value": "* @type {Savegame} ",
"start": 1379,
"end": 1402,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 31
}
}
},
{
"type": "CommentBlock",
"value": "* @type {GameCreationPayload} ",
"start": 1548,
"end": 1582,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " Stores current stage",
"start": 1632,
"end": 1655,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 31
}
}
},
{
"type": "CommentBlock",
"value": "* @type {GameCore} ",
"start": 1693,
"end": 1716,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 31
}
}
},
{
"type": "CommentBlock",
"value": "* @type {KeyActionMapper} ",
"start": 1755,
"end": 1785,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 38
}
}
},
{
"type": "CommentBlock",
"value": "* @type {GameLoadingOverlay} ",
"start": 1835,
"end": 1868,
"loc": {
"start": {
"line": 63,
"column": 8
},
"end": {
"line": 63,
"column": 41
}
}
},
{
"type": "CommentBlock",
"value": "* @type {Savegame} ",
"start": 1917,
"end": 1940,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 31
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Whether we are currently saving the game\r\n * @TODO: This doesn't realy fit here\r\n ",
"start": 2047,
"end": 2163,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 74,
"column": 11
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Switches the game into another sub-state\r\n * @param {string} stage\r\n ",
"start": 2219,
"end": 2310,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 81,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " log(this, \"Re entering\", stage);",
"start": 2544,
"end": 2579,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 47
}
}
},
{
"type": "CommentLine",
"value": " GameState implementation",
"start": 2632,
"end": 2659,
"loc": {
"start": {
"line": 94,
"column": 4
},
"end": {
"line": 94,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " logger.log(\"Saving before quitting\");",
"start": 2803,
"end": 2843,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 48
}
}
},
{
"type": "CommentLine",
"value": " return this.doSave().then(() => {",
"start": 2853,
"end": 2889,
"loc": {
"start": {
"line": 105,
"column": 8
},
"end": {
"line": 105,
"column": 44
}
}
},
{
"type": "CommentLine",
"value": " logger.log(this, \"Successfully saved\");",
"start": 2899,
"end": 2945,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 54
}
}
},
{
"type": "CommentLine",
"value": " // this.stageDestroyed();",
"start": 2955,
"end": 2987,
"loc": {
"start": {
"line": 107,
"column": 8
},
"end": {
"line": 107,
"column": 40
}
}
},
{
"type": "CommentLine",
"value": " });",
"start": 2997,
"end": 3003,
"loc": {
"start": {
"line": 108,
"column": 8
},
"end": {
"line": 108,
"column": 14
}
}
},
{
"type": "CommentLine",
"value": " if (this.stage === stages.s10_gameRunning) {",
"start": 3042,
"end": 3089,
"loc": {
"start": {
"line": 112,
"column": 8
},
"end": {
"line": 112,
"column": 55
}
}
},
{
"type": "CommentLine",
"value": " logger.log(\"Saving because app got paused\");",
"start": 3099,
"end": 3150,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 59
}
}
},
{
"type": "CommentLine",
"value": " this.doSave();",
"start": 3160,
"end": 3181,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 29
}
}
},
{
"type": "CommentLine",
"value": " }",
"start": 3191,
"end": 3195,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 115,
"column": 12
}
}
},
{
"type": "CommentLine",
"value": " ---- End of GameState implementation",
"start": 3721,
"end": 3760,
"loc": {
"start": {
"line": 144,
"column": 4
},
"end": {
"line": 144,
"column": 43
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Goes back to the menu state\r\n ",
"start": 3768,
"end": 3816,
"loc": {
"start": {
"line": 146,
"column": 4
},
"end": {
"line": 148,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Goes back to the settings state\r\n ",
"start": 3903,
"end": 3955,
"loc": {
"start": {
"line": 153,
"column": 4
},
"end": {
"line": 155,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Goes back to the settings state\r\n ",
"start": 4149,
"end": 4201,
"loc": {
"start": {
"line": 163,
"column": 4
},
"end": {
"line": 165,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Moves to a state outside of the game\r\n * @param {string} stateId\r\n * @param {any=} payload\r\n ",
"start": 4401,
"end": 4520,
"loc": {
"start": {
"line": 173,
"column": 4
},
"end": {
"line": 177,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " do nothing",
"start": 5110,
"end": 5123,
"loc": {
"start": {
"line": 197,
"column": 8
},
"end": {
"line": 197,
"column": 21
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Called when the game somehow failed to initialize. Resets everything to basic state and\r\n * then goes to the main menu, showing the error\r\n * @param {string} err\r\n ",
"start": 5138,
"end": 5328,
"loc": {
"start": {
"line": 200,
"column": 4
},
"end": {
"line": 204,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " STAGES",
"start": 5595,
"end": 5604,
"loc": {
"start": {
"line": 213,
"column": 4
},
"end": {
"line": 213,
"column": 13
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Creates the game core instance, and thus the root\r\n ",
"start": 5612,
"end": 5682,
"loc": {
"start": {
"line": 215,
"column": 4
},
"end": {
"line": 217,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Initializes a new empty game\r\n ",
"start": 6188,
"end": 6237,
"loc": {
"start": {
"line": 234,
"column": 4
},
"end": {
"line": 236,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Resumes an existing game\r\n ",
"start": 6430,
"end": 6475,
"loc": {
"start": {
"line": 244,
"column": 4
},
"end": {
"line": 246,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " if (errorJSON.status) {",
"start": 6704,
"end": 6730,
"loc": {
"start": {
"line": 251,
"column": 16
},
"end": {
"line": 251,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " this.onInitializationFailure(\"Savegame is corrupt and can not be restored.\");",
"start": 6748,
"end": 6832,
"loc": {
"start": {
"line": 252,
"column": 16
},
"end": {
"line": 252,
"column": 100
}
}
},
{
"type": "CommentLine",
"value": " //TODO: load game without mod",
"start": 6850,
"end": 6886,
"loc": {
"start": {
"line": 253,
"column": 16
},
"end": {
"line": 253,
"column": 52
}
}
},
{
"type": "CommentLine",
"value": " // if (errorJSON.status === \"missing\")",
"start": 6904,
"end": 6949,
"loc": {
"start": {
"line": 254,
"column": 16
},
"end": {
"line": 254,
"column": 61
}
}
},
{
"type": "CommentLine",
"value": " // this.core.root.hud.parts.dialogs.showOptionChooser(",
"start": 6967,
"end": 7032,
"loc": {
"start": {
"line": 255,
"column": 16
},
"end": {
"line": 255,
"column": 81
}
}
},
{
"type": "CommentLine",
"value": " // \"Missing \" + errorJSON.type + \" with id \" + errorJSON.id, {",
"start": 7050,
"end": 7123,
"loc": {
"start": {
"line": 256,
"column": 16
},
"end": {
"line": 256,
"column": 89
}
}
},
{
"type": "CommentLine",
"value": " // options: [{ value: \"Test\", text: \"TEst\" }],",
"start": 7141,
"end": 7202,
"loc": {
"start": {
"line": 257,
"column": 16
},
"end": {
"line": 257,
"column": 77
}
}
},
{
"type": "CommentLine",
"value": " // }",
"start": 7220,
"end": 7235,
"loc": {
"start": {
"line": 258,
"column": 16
},
"end": {
"line": 258,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " // );",
"start": 7253,
"end": 7265,
"loc": {
"start": {
"line": 259,
"column": 16
},
"end": {
"line": 259,
"column": 28
}
}
},
{
"type": "CommentLine",
"value": " } else {",
"start": 7283,
"end": 7294,
"loc": {
"start": {
"line": 260,
"column": 16
},
"end": {
"line": 260,
"column": 27
}
}
},
{
"type": "CommentLine",
"value": " }",
"start": 7407,
"end": 7411,
"loc": {
"start": {
"line": 262,
"column": 16
},
"end": {
"line": 262,
"column": 20
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Performs the first game update on the game which initializes most caches\r\n ",
"start": 7573,
"end": 7666,
"loc": {
"start": {
"line": 270,
"column": 4
},
"end": {
"line": 272,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": "Call mod for gameload",
"start": 7763,
"end": 7786,
"loc": {
"start": {
"line": 275,
"column": 12
},
"end": {
"line": 275,
"column": 35
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Call the post load hook, this means that we have loaded the game, and all systems\r\n * can operate and start to work now.\r\n ",
"start": 8161,
"end": 8306,
"loc": {
"start": {
"line": 286,
"column": 4
},
"end": {
"line": 289,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * This makes the game idle and draw for a while, because we run most code this way\r\n * the V8 engine can already start to optimize it. Also this makes sure the resources\r\n * are in the VRAM and we have a smooth experience once we start.\r\n ",
"start": 8533,
"end": 8796,
"loc": {
"start": {
"line": 298,
"column": 4
},
"end": {
"line": 302,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * The final stage where this game is running and updating regulary.\r\n ",
"start": 9142,
"end": 9228,
"loc": {
"start": {
"line": 313,
"column": 4
},
"end": {
"line": 315,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Initial resize, might have changed during loading (this is possible)",
"start": 9445,
"end": 9516,
"loc": {
"start": {
"line": 322,
"column": 12
},
"end": {
"line": 322,
"column": 83
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * This stage destroys the whole game, used to cleanup\r\n ",
"start": 9618,
"end": 9690,
"loc": {
"start": {
"line": 327,
"column": 4
},
"end": {
"line": 329,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Cleanup all api calls",
"start": 9779,
"end": 9803,
"loc": {
"start": {
"line": 332,
"column": 12
},
"end": {
"line": 332,
"column": 36
}
}
},
{
"type": "CommentLine",
"value": " Cleanup core",
"start": 9994,
"end": 10009,
"loc": {
"start": {
"line": 340,
"column": 12
},
"end": {
"line": 340,
"column": 27
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * When leaving the game\r\n ",
"start": 10154,
"end": 10196,
"loc": {
"start": {
"line": 348,
"column": 4
},
"end": {
"line": 350,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " ...",
"start": 10285,
"end": 10291,
"loc": {
"start": {
"line": 353,
"column": 12
},
"end": {
"line": 353,
"column": 18
}
}
},
{
"type": "CommentLine",
"value": " END STAGES",
"start": 10317,
"end": 10330,
"loc": {
"start": {
"line": 357,
"column": 4
},
"end": {
"line": 357,
"column": 17
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Filters the input (keybindings)\r\n ",
"start": 10338,
"end": 10390,
"loc": {
"start": {
"line": 359,
"column": 4
},
"end": {
"line": 361,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameCreationPayload} payload\r\n ",
"start": 10481,
"end": 10538,
"loc": {
"start": {
"line": 366,
"column": 4
},
"end": {
"line": 368,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Remove unneded default element",
"start": 10856,
"end": 10889,
"loc": {
"start": {
"line": 378,
"column": 8
},
"end": {
"line": 378,
"column": 41
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Render callback\r\n * @param {number} dt\r\n ",
"start": 11062,
"end": 11125,
"loc": {
"start": {
"line": 384,
"column": 4
},
"end": {
"line": 387,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Application somehow crashed, do not do anything",
"start": 11201,
"end": 11251,
"loc": {
"start": {
"line": 390,
"column": 12
},
"end": {
"line": 390,
"column": 62
}
}
},
{
"type": "CommentLine",
"value": " If the stage is still active (This might not be the case if tick() moved us to game over)",
"start": 11694,
"end": 11786,
"loc": {
"start": {
"line": 407,
"column": 8
},
"end": {
"line": 407,
"column": 100
}
}
},
{
"type": "CommentLine",
"value": " Only draw if page visible",
"start": 11854,
"end": 11882,
"loc": {
"start": {
"line": 409,
"column": 12
},
"end": {
"line": 409,
"column": 40
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Saves the game\r\n ",
"start": 12256,
"end": 12291,
"loc": {
"start": {
"line": 426,
"column": 4
},
"end": {
"line": 428,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Catch errors",
"start": 13294,
"end": 13309,
"loc": {
"start": {
"line": 459,
"column": 16
},
"end": {
"line": 459,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " Clear promise",
"start": 13424,
"end": 13440,
"loc": {
"start": {
"line": 463,
"column": 16
},
"end": {
"line": 463,
"column": 32
}
}
}
],
"tokens": [
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "APPLICATION_ERROR_OCCURED",
"start": 9,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 35,
"end": 36,
"loc": {
"start": {
"line": 1,
"column": 35
},
"end": {
"line": 1,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 37,
"end": 41,
"loc": {
"start": {
"line": 1,
"column": 37
},
"end": {
"line": 1,
"column": 41
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../core/error_handler",
"start": 42,
"end": 65,
"loc": {
"start": {
"line": 1,
"column": 42
},
"end": {
"line": 1,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 65,
"end": 66,
"loc": {
"start": {
"line": 1,
"column": 65
},
"end": {
"line": 1,
"column": 66
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 68,
"end": 74,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 75,
"end": 76,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GameState",
"start": 77,
"end": 86,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 87,
"end": 88,
"loc": {
"start": {
"line": 2,
"column": 19
},
"end": {
"line": 2,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 89,
"end": 93,
"loc": {
"start": {
"line": 2,
"column": 21
},
"end": {
"line": 2,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../core/game_state",
"start": 94,
"end": 114,
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 114,
"end": 115,
"loc": {
"start": {
"line": 2,
"column": 46
},
"end": {
"line": 2,
"column": 47
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 117,
"end": 123,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 124,
"end": 125,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logSection",
"start": 126,
"end": 136,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 136,
"end": 137,
"loc": {
"start": {
"line": 3,
"column": 19
},
"end": {
"line": 3,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createLogger",
"start": 138,
"end": 150,
"loc": {
"start": {
"line": 3,
"column": 21
},
"end": {
"line": 3,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 151,
"end": 152,
"loc": {
"start": {
"line": 3,
"column": 34
},
"end": {
"line": 3,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 153,
"end": 157,
"loc": {
"start": {
"line": 3,
"column": 36
},
"end": {
"line": 3,
"column": 40
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../core/logging",
"start": 158,
"end": 175,
"loc": {
"start": {
"line": 3,
"column": 41
},
"end": {
"line": 3,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 175,
"end": 176,
"loc": {
"start": {
"line": 3,
"column": 58
},
"end": {
"line": 3,
"column": 59
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 178,
"end": 184,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 185,
"end": 186,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "waitNextFrame",
"start": 187,
"end": 200,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 201,
"end": 202,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 4,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 203,
"end": 207,
"loc": {
"start": {
"line": 4,
"column": 25
},
"end": {
"line": 4,
"column": 29
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../core/utils",
"start": 208,
"end": 223,
"loc": {
"start": {
"line": 4,
"column": 30
},
"end": {
"line": 4,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 223,
"end": 224,
"loc": {
"start": {
"line": 4,
"column": 45
},
"end": {
"line": 4,
"column": 46
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 226,
"end": 232,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 233,
"end": 234,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 235,
"end": 247,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 248,
"end": 249,
"loc": {
"start": {
"line": 5,
"column": 22
},
"end": {
"line": 5,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 250,
"end": 254,
"loc": {
"start": {
"line": 5,
"column": 24
},
"end": {
"line": 5,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../core/config",
"start": 255,
"end": 271,
"loc": {
"start": {
"line": 5,
"column": 29
},
"end": {
"line": 5,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 271,
"end": 272,
"loc": {
"start": {
"line": 5,
"column": 45
},
"end": {
"line": 5,
"column": 46
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 274,
"end": 280,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 281,
"end": 282,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GameLoadingOverlay",
"start": 283,
"end": 301,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 302,
"end": 303,
"loc": {
"start": {
"line": 6,
"column": 28
},
"end": {
"line": 6,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 304,
"end": 308,
"loc": {
"start": {
"line": 6,
"column": 30
},
"end": {
"line": 6,
"column": 34
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../game/game_loading_overlay",
"start": 309,
"end": 339,
"loc": {
"start": {
"line": 6,
"column": 35
},
"end": {
"line": 6,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 339,
"end": 340,
"loc": {
"start": {
"line": 6,
"column": 65
},
"end": {
"line": 6,
"column": 66
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 342,
"end": 348,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 349,
"end": 350,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "KeyActionMapper",
"start": 351,
"end": 366,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 367,
"end": 368,
"loc": {
"start": {
"line": 7,
"column": 25
},
"end": {
"line": 7,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 369,
"end": 373,
"loc": {
"start": {
"line": 7,
"column": 27
},
"end": {
"line": 7,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../game/key_action_mapper",
"start": 374,
"end": 401,
"loc": {
"start": {
"line": 7,
"column": 32
},
"end": {
"line": 7,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 401,
"end": 402,
"loc": {
"start": {
"line": 7,
"column": 59
},
"end": {
"line": 7,
"column": 60
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 404,
"end": 410,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 411,
"end": 412,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Savegame",
"start": 413,
"end": 421,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 422,
"end": 423,
"loc": {
"start": {
"line": 8,
"column": 18
},
"end": {
"line": 8,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 424,
"end": 428,
"loc": {
"start": {
"line": 8,
"column": 20
},
"end": {
"line": 8,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../savegame/savegame",
"start": 429,
"end": 451,
"loc": {
"start": {
"line": 8,
"column": 25
},
"end": {
"line": 8,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 451,
"end": 452,
"loc": {
"start": {
"line": 8,
"column": 47
},
"end": {
"line": 8,
"column": 48
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 454,
"end": 460,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 461,
"end": 462,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GameCore",
"start": 463,
"end": 471,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 472,
"end": 473,
"loc": {
"start": {
"line": 9,
"column": 18
},
"end": {
"line": 9,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 474,
"end": 478,
"loc": {
"start": {
"line": 9,
"column": 20
},
"end": {
"line": 9,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../game/core",
"start": 479,
"end": 493,
"loc": {
"start": {
"line": 9,
"column": 25
},
"end": {
"line": 9,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 493,
"end": 494,
"loc": {
"start": {
"line": 9,
"column": 39
},
"end": {
"line": 9,
"column": 40
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 496,
"end": 502,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 503,
"end": 504,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MUSIC",
"start": 505,
"end": 510,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 14
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 511,
"end": 512,
"loc": {
"start": {
"line": 10,
"column": 15
},
"end": {
"line": 10,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 513,
"end": 517,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 21
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../platform/sound",
"start": 518,
"end": 537,
"loc": {
"start": {
"line": 10,
"column": 22
},
"end": {
"line": 10,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 537,
"end": 538,
"loc": {
"start": {
"line": 10,
"column": 41
},
"end": {
"line": 10,
"column": 42
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 542,
"end": 547,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 548,
"end": 554,
"loc": {
"start": {
"line": 12,
"column": 6
},
"end": {
"line": 12,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 555,
"end": 556,
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 12,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createLogger",
"start": 557,
"end": 569,
"loc": {
"start": {
"line": 12,
"column": 15
},
"end": {
"line": 12,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 569,
"end": 570,
"loc": {
"start": {
"line": 12,
"column": 27
},
"end": {
"line": 12,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "state/ingame",
"start": 570,
"end": 584,
"loc": {
"start": {
"line": 12,
"column": 28
},
"end": {
"line": 12,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 584,
"end": 585,
"loc": {
"start": {
"line": 12,
"column": 42
},
"end": {
"line": 12,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 585,
"end": 586,
"loc": {
"start": {
"line": 12,
"column": 43
},
"end": {
"line": 12,
"column": 44
}
}
},
{
"type": "CommentLine",
"value": " Different sub-states",
"start": 590,
"end": 613,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 23
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 615,
"end": 620,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 621,
"end": 627,
"loc": {
"start": {
"line": 15,
"column": 6
},
"end": {
"line": 15,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 628,
"end": 629,
"loc": {
"start": {
"line": 15,
"column": 13
},
"end": {
"line": 15,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 630,
"end": 631,
"loc": {
"start": {
"line": 15,
"column": 15
},
"end": {
"line": 15,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s3_createCore",
"start": 637,
"end": 650,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 17
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 650,
"end": 651,
"loc": {
"start": {
"line": 16,
"column": 17
},
"end": {
"line": 16,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "🌈 3: Create core",
"start": 652,
"end": 671,
"loc": {
"start": {
"line": 16,
"column": 19
},
"end": {
"line": 16,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 671,
"end": 672,
"loc": {
"start": {
"line": 16,
"column": 38
},
"end": {
"line": 16,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s4_A_initEmptyGame",
"start": 678,
"end": 696,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 22
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 696,
"end": 697,
"loc": {
"start": {
"line": 17,
"column": 22
},
"end": {
"line": 17,
"column": 23
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "🌈 4/A: Init empty game",
"start": 698,
"end": 723,
"loc": {
"start": {
"line": 17,
"column": 24
},
"end": {
"line": 17,
"column": 49
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 723,
"end": 724,
"loc": {
"start": {
"line": 17,
"column": 49
},
"end": {
"line": 17,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s4_B_resumeGame",
"start": 730,
"end": 745,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 19
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 745,
"end": 746,
"loc": {
"start": {
"line": 18,
"column": 19
},
"end": {
"line": 18,
"column": 20
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "🌈 4/B: Resume game",
"start": 747,
"end": 768,
"loc": {
"start": {
"line": 18,
"column": 21
},
"end": {
"line": 18,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 768,
"end": 769,
"loc": {
"start": {
"line": 18,
"column": 42
},
"end": {
"line": 18,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s5_firstUpdate",
"start": 777,
"end": 791,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 18
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 791,
"end": 792,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 19
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "🌈 5: First game update",
"start": 793,
"end": 818,
"loc": {
"start": {
"line": 20,
"column": 20
},
"end": {
"line": 20,
"column": 45
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 818,
"end": 819,
"loc": {
"start": {
"line": 20,
"column": 45
},
"end": {
"line": 20,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s6_postLoadHook",
"start": 825,
"end": 840,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 19
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 840,
"end": 841,
"loc": {
"start": {
"line": 21,
"column": 19
},
"end": {
"line": 21,
"column": 20
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "🌈 6: Post load hook",
"start": 842,
"end": 864,
"loc": {
"start": {
"line": 21,
"column": 21
},
"end": {
"line": 21,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 864,
"end": 865,
"loc": {
"start": {
"line": 21,
"column": 43
},
"end": {
"line": 21,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s7_warmup",
"start": 871,
"end": 880,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 13
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 880,
"end": 881,
"loc": {
"start": {
"line": 22,
"column": 13
},
"end": {
"line": 22,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "🌈 7: Warmup",
"start": 882,
"end": 896,
"loc": {
"start": {
"line": 22,
"column": 15
},
"end": {
"line": 22,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 896,
"end": 897,
"loc": {
"start": {
"line": 22,
"column": 29
},
"end": {
"line": 22,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s10_gameRunning",
"start": 905,
"end": 920,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 19
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 920,
"end": 921,
"loc": {
"start": {
"line": 24,
"column": 19
},
"end": {
"line": 24,
"column": 20
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "🌈 10: Game finally running",
"start": 922,
"end": 951,
"loc": {
"start": {
"line": 24,
"column": 21
},
"end": {
"line": 24,
"column": 50
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 951,
"end": 952,
"loc": {
"start": {
"line": 24,
"column": 50
},
"end": {
"line": 24,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "leaving",
"start": 960,
"end": 967,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 26,
"column": 11
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 967,
"end": 968,
"loc": {
"start": {
"line": 26,
"column": 11
},
"end": {
"line": 26,
"column": 12
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "🌈 Saving, then leaving the game",
"start": 969,
"end": 1003,
"loc": {
"start": {
"line": 26,
"column": 13
},
"end": {
"line": 26,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1003,
"end": 1004,
"loc": {
"start": {
"line": 26,
"column": 47
},
"end": {
"line": 26,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destroyed",
"start": 1010,
"end": 1019,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 13
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1019,
"end": 1020,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "🌈 DESTROYED: Core is empty and waits for state leave",
"start": 1021,
"end": 1076,
"loc": {
"start": {
"line": 27,
"column": 15
},
"end": {
"line": 27,
"column": 70
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1076,
"end": 1077,
"loc": {
"start": {
"line": 27,
"column": 70
},
"end": {
"line": 27,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "initFailed",
"start": 1083,
"end": 1093,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 28,
"column": 14
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1093,
"end": 1094,
"loc": {
"start": {
"line": 28,
"column": 14
},
"end": {
"line": 28,
"column": 15
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "🌈 ERROR: Initialization failed!",
"start": 1095,
"end": 1129,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 50
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1129,
"end": 1130,
"loc": {
"start": {
"line": 28,
"column": 50
},
"end": {
"line": 28,
"column": 51
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1132,
"end": 1133,
"loc": {
"start": {
"line": 29,
"column": 0
},
"end": {
"line": 29,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1133,
"end": 1134,
"loc": {
"start": {
"line": 29,
"column": 1
},
"end": {
"line": 29,
"column": 2
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 1138,
"end": 1144,
"loc": {
"start": {
"line": 31,
"column": 0
},
"end": {
"line": 31,
"column": 6
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1145,
"end": 1150,
"loc": {
"start": {
"line": 31,
"column": 7
},
"end": {
"line": 31,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gameCreationAction",
"start": 1151,
"end": 1169,
"loc": {
"start": {
"line": 31,
"column": 13
},
"end": {
"line": 31,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1170,
"end": 1171,
"loc": {
"start": {
"line": 31,
"column": 32
},
"end": {
"line": 31,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1172,
"end": 1173,
"loc": {
"start": {
"line": 31,
"column": 34
},
"end": {
"line": 31,
"column": 35
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 1179,
"end": 1182,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 7
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1182,
"end": 1183,
"loc": {
"start": {
"line": 32,
"column": 7
},
"end": {
"line": 32,
"column": 8
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new-game",
"start": 1184,
"end": 1194,
"loc": {
"start": {
"line": 32,
"column": 9
},
"end": {
"line": 32,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1194,
"end": 1195,
"loc": {
"start": {
"line": 32,
"column": 19
},
"end": {
"line": 32,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resume",
"start": 1201,
"end": 1207,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 10
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1207,
"end": 1208,
"loc": {
"start": {
"line": 33,
"column": 10
},
"end": {
"line": 33,
"column": 11
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "resume-game",
"start": 1209,
"end": 1222,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1222,
"end": 1223,
"loc": {
"start": {
"line": 33,
"column": 25
},
"end": {
"line": 33,
"column": 26
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1225,
"end": 1226,
"loc": {
"start": {
"line": 34,
"column": 0
},
"end": {
"line": 34,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1226,
"end": 1227,
"loc": {
"start": {
"line": 34,
"column": 1
},
"end": {
"line": 34,
"column": 2
}
}
},
{
"type": "CommentLine",
"value": " Typehints",
"start": 1231,
"end": 1243,
"loc": {
"start": {
"line": 36,
"column": 0
},
"end": {
"line": 36,
"column": 12
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 1245,
"end": 1251,
"loc": {
"start": {
"line": 37,
"column": 0
},
"end": {
"line": 37,
"column": 6
}
}
},
{
"type": {
"label": "class",
"keyword": "class",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "class",
"start": 1252,
"end": 1257,
"loc": {
"start": {
"line": 37,
"column": 7
},
"end": {
"line": 37,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GameCreationPayload",
"start": 1258,
"end": 1277,
"loc": {
"start": {
"line": 37,
"column": 13
},
"end": {
"line": 37,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1278,
"end": 1279,
"loc": {
"start": {
"line": 37,
"column": 33
},
"end": {
"line": 37,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 1285,
"end": 1296,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 38,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1296,
"end": 1297,
"loc": {
"start": {
"line": 38,
"column": 15
},
"end": {
"line": 38,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1297,
"end": 1298,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1299,
"end": 1300,
"loc": {
"start": {
"line": 38,
"column": 18
},
"end": {
"line": 38,
"column": 19
}
}
},
{
"type": "CommentBlock",
"value": "* @type {boolean|undefined} ",
"start": 1310,
"end": 1342,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 40
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1352,
"end": 1356,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1356,
"end": 1357,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fastEnter",
"start": 1357,
"end": 1366,
"loc": {
"start": {
"line": 40,
"column": 13
},
"end": {
"line": 40,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1366,
"end": 1367,
"loc": {
"start": {
"line": 40,
"column": 22
},
"end": {
"line": 40,
"column": 23
}
}
},
{
"type": "CommentBlock",
"value": "* @type {Savegame} ",
"start": 1379,
"end": 1402,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1412,
"end": 1416,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1416,
"end": 1417,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 1417,
"end": 1425,
"loc": {
"start": {
"line": 43,
"column": 13
},
"end": {
"line": 43,
"column": 21
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1425,
"end": 1426,
"loc": {
"start": {
"line": 43,
"column": 21
},
"end": {
"line": 43,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1432,
"end": 1433,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1435,
"end": 1436,
"loc": {
"start": {
"line": 45,
"column": 0
},
"end": {
"line": 45,
"column": 1
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 1440,
"end": 1446,
"loc": {
"start": {
"line": 47,
"column": 0
},
"end": {
"line": 47,
"column": 6
}
}
},
{
"type": {
"label": "class",
"keyword": "class",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "class",
"start": 1447,
"end": 1452,
"loc": {
"start": {
"line": 47,
"column": 7
},
"end": {
"line": 47,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "InGameState",
"start": 1453,
"end": 1464,
"loc": {
"start": {
"line": 47,
"column": 13
},
"end": {
"line": 47,
"column": 24
}
}
},
{
"type": {
"label": "extends",
"keyword": "extends",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "extends",
"start": 1465,
"end": 1472,
"loc": {
"start": {
"line": 47,
"column": 25
},
"end": {
"line": 47,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GameState",
"start": 1473,
"end": 1482,
"loc": {
"start": {
"line": 47,
"column": 33
},
"end": {
"line": 47,
"column": 42
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1483,
"end": 1484,
"loc": {
"start": {
"line": 47,
"column": 43
},
"end": {
"line": 47,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 1490,
"end": 1501,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 48,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1501,
"end": 1502,
"loc": {
"start": {
"line": 48,
"column": 15
},
"end": {
"line": 48,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1502,
"end": 1503,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1504,
"end": 1505,
"loc": {
"start": {
"line": 48,
"column": 18
},
"end": {
"line": 48,
"column": 19
}
}
},
{
"type": {
"label": "super",
"keyword": "super",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "super",
"start": 1515,
"end": 1520,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1520,
"end": 1521,
"loc": {
"start": {
"line": 49,
"column": 13
},
"end": {
"line": 49,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "InGameState",
"start": 1521,
"end": 1534,
"loc": {
"start": {
"line": 49,
"column": 14
},
"end": {
"line": 49,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1534,
"end": 1535,
"loc": {
"start": {
"line": 49,
"column": 27
},
"end": {
"line": 49,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1535,
"end": 1536,
"loc": {
"start": {
"line": 49,
"column": 28
},
"end": {
"line": 49,
"column": 29
}
}
},
{
"type": "CommentBlock",
"value": "* @type {GameCreationPayload} ",
"start": 1548,
"end": 1582,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 42
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1592,
"end": 1596,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1596,
"end": 1597,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "creationPayload",
"start": 1597,
"end": 1612,
"loc": {
"start": {
"line": 52,
"column": 13
},
"end": {
"line": 52,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1613,
"end": 1614,
"loc": {
"start": {
"line": 52,
"column": 29
},
"end": {
"line": 52,
"column": 30
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1615,
"end": 1619,
"loc": {
"start": {
"line": 52,
"column": 31
},
"end": {
"line": 52,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1619,
"end": 1620,
"loc": {
"start": {
"line": 52,
"column": 35
},
"end": {
"line": 52,
"column": 36
}
}
},
{
"type": "CommentLine",
"value": " Stores current stage",
"start": 1632,
"end": 1655,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1665,
"end": 1669,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1669,
"end": 1670,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage",
"start": 1670,
"end": 1675,
"loc": {
"start": {
"line": 55,
"column": 13
},
"end": {
"line": 55,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1676,
"end": 1677,
"loc": {
"start": {
"line": 55,
"column": 19
},
"end": {
"line": 55,
"column": 20
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "",
"start": 1678,
"end": 1680,
"loc": {
"start": {
"line": 55,
"column": 21
},
"end": {
"line": 55,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1680,
"end": 1681,
"loc": {
"start": {
"line": 55,
"column": 23
},
"end": {
"line": 55,
"column": 24
}
}
},
{
"type": "CommentBlock",
"value": "* @type {GameCore} ",
"start": 1693,
"end": 1716,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1726,
"end": 1730,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1730,
"end": 1731,
"loc": {
"start": {
"line": 58,
"column": 12
},
"end": {
"line": 58,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 1731,
"end": 1735,
"loc": {
"start": {
"line": 58,
"column": 13
},
"end": {
"line": 58,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1736,
"end": 1737,
"loc": {
"start": {
"line": 58,
"column": 18
},
"end": {
"line": 58,
"column": 19
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1738,
"end": 1742,
"loc": {
"start": {
"line": 58,
"column": 20
},
"end": {
"line": 58,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1742,
"end": 1743,
"loc": {
"start": {
"line": 58,
"column": 24
},
"end": {
"line": 58,
"column": 25
}
}
},
{
"type": "CommentBlock",
"value": "* @type {KeyActionMapper} ",
"start": 1755,
"end": 1785,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 38
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1795,
"end": 1799,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1799,
"end": 1800,
"loc": {
"start": {
"line": 61,
"column": 12
},
"end": {
"line": 61,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "keyActionMapper",
"start": 1800,
"end": 1815,
"loc": {
"start": {
"line": 61,
"column": 13
},
"end": {
"line": 61,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1816,
"end": 1817,
"loc": {
"start": {
"line": 61,
"column": 29
},
"end": {
"line": 61,
"column": 30
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1818,
"end": 1822,
"loc": {
"start": {
"line": 61,
"column": 31
},
"end": {
"line": 61,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1822,
"end": 1823,
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 36
}
}
},
{
"type": "CommentBlock",
"value": "* @type {GameLoadingOverlay} ",
"start": 1835,
"end": 1868,
"loc": {
"start": {
"line": 63,
"column": 8
},
"end": {
"line": 63,
"column": 41
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1878,
"end": 1882,
"loc": {
"start": {
"line": 64,
"column": 8
},
"end": {
"line": 64,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1882,
"end": 1883,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "loadingOverlay",
"start": 1883,
"end": 1897,
"loc": {
"start": {
"line": 64,
"column": 13
},
"end": {
"line": 64,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1898,
"end": 1899,
"loc": {
"start": {
"line": 64,
"column": 28
},
"end": {
"line": 64,
"column": 29
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1900,
"end": 1904,
"loc": {
"start": {
"line": 64,
"column": 30
},
"end": {
"line": 64,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1904,
"end": 1905,
"loc": {
"start": {
"line": 64,
"column": 34
},
"end": {
"line": 64,
"column": 35
}
}
},
{
"type": "CommentBlock",
"value": "* @type {Savegame} ",
"start": 1917,
"end": 1940,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1950,
"end": 1954,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1954,
"end": 1955,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 1955,
"end": 1963,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1964,
"end": 1965,
"loc": {
"start": {
"line": 67,
"column": 22
},
"end": {
"line": 67,
"column": 23
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1966,
"end": 1970,
"loc": {
"start": {
"line": 67,
"column": 24
},
"end": {
"line": 67,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1970,
"end": 1971,
"loc": {
"start": {
"line": 67,
"column": 28
},
"end": {
"line": 67,
"column": 29
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1983,
"end": 1987,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1987,
"end": 1988,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "boundInputFilter",
"start": 1988,
"end": 2004,
"loc": {
"start": {
"line": 69,
"column": 13
},
"end": {
"line": 69,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2005,
"end": 2006,
"loc": {
"start": {
"line": 69,
"column": 30
},
"end": {
"line": 69,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2007,
"end": 2011,
"loc": {
"start": {
"line": 69,
"column": 32
},
"end": {
"line": 69,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2011,
"end": 2012,
"loc": {
"start": {
"line": 69,
"column": 36
},
"end": {
"line": 69,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filterInput",
"start": 2012,
"end": 2023,
"loc": {
"start": {
"line": 69,
"column": 37
},
"end": {
"line": 69,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2023,
"end": 2024,
"loc": {
"start": {
"line": 69,
"column": 48
},
"end": {
"line": 69,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 2024,
"end": 2028,
"loc": {
"start": {
"line": 69,
"column": 49
},
"end": {
"line": 69,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2028,
"end": 2029,
"loc": {
"start": {
"line": 69,
"column": 53
},
"end": {
"line": 69,
"column": 54
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2029,
"end": 2033,
"loc": {
"start": {
"line": 69,
"column": 54
},
"end": {
"line": 69,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2033,
"end": 2034,
"loc": {
"start": {
"line": 69,
"column": 58
},
"end": {
"line": 69,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2034,
"end": 2035,
"loc": {
"start": {
"line": 69,
"column": 59
},
"end": {
"line": 69,
"column": 60
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Whether we are currently saving the game\r\n * @TODO: This doesn't realy fit here\r\n ",
"start": 2047,
"end": 2163,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 74,
"column": 11
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2173,
"end": 2177,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2177,
"end": 2178,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentSavePromise",
"start": 2178,
"end": 2196,
"loc": {
"start": {
"line": 75,
"column": 13
},
"end": {
"line": 75,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2197,
"end": 2198,
"loc": {
"start": {
"line": 75,
"column": 32
},
"end": {
"line": 75,
"column": 33
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 2199,
"end": 2203,
"loc": {
"start": {
"line": 75,
"column": 34
},
"end": {
"line": 75,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2203,
"end": 2204,
"loc": {
"start": {
"line": 75,
"column": 38
},
"end": {
"line": 75,
"column": 39
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2210,
"end": 2211,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Switches the game into another sub-state\r\n * @param {string} stage\r\n ",
"start": 2219,
"end": 2310,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 81,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "switchStage",
"start": 2316,
"end": 2327,
"loc": {
"start": {
"line": 82,
"column": 4
},
"end": {
"line": 82,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2327,
"end": 2328,
"loc": {
"start": {
"line": 82,
"column": 15
},
"end": {
"line": 82,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage",
"start": 2328,
"end": 2333,
"loc": {
"start": {
"line": 82,
"column": 16
},
"end": {
"line": 82,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2333,
"end": 2334,
"loc": {
"start": {
"line": 82,
"column": 21
},
"end": {
"line": 82,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2335,
"end": 2336,
"loc": {
"start": {
"line": 82,
"column": 23
},
"end": {
"line": 82,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 2346,
"end": 2352,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2352,
"end": 2353,
"loc": {
"start": {
"line": 83,
"column": 14
},
"end": {
"line": 83,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage",
"start": 2353,
"end": 2358,
"loc": {
"start": {
"line": 83,
"column": 15
},
"end": {
"line": 83,
"column": 20
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2358,
"end": 2359,
"loc": {
"start": {
"line": 83,
"column": 20
},
"end": {
"line": 83,
"column": 21
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Got empty stage",
"start": 2360,
"end": 2377,
"loc": {
"start": {
"line": 83,
"column": 22
},
"end": {
"line": 83,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2377,
"end": 2378,
"loc": {
"start": {
"line": 83,
"column": 39
},
"end": {
"line": 83,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2378,
"end": 2379,
"loc": {
"start": {
"line": 83,
"column": 40
},
"end": {
"line": 83,
"column": 41
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 2389,
"end": 2391,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2392,
"end": 2393,
"loc": {
"start": {
"line": 84,
"column": 11
},
"end": {
"line": 84,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage",
"start": 2393,
"end": 2398,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 17
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 2399,
"end": 2402,
"loc": {
"start": {
"line": 84,
"column": 18
},
"end": {
"line": 84,
"column": 21
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2403,
"end": 2407,
"loc": {
"start": {
"line": 84,
"column": 22
},
"end": {
"line": 84,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2407,
"end": 2408,
"loc": {
"start": {
"line": 84,
"column": 26
},
"end": {
"line": 84,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage",
"start": 2408,
"end": 2413,
"loc": {
"start": {
"line": 84,
"column": 27
},
"end": {
"line": 84,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2413,
"end": 2414,
"loc": {
"start": {
"line": 84,
"column": 32
},
"end": {
"line": 84,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2415,
"end": 2416,
"loc": {
"start": {
"line": 84,
"column": 34
},
"end": {
"line": 84,
"column": 35
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2430,
"end": 2434,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2434,
"end": 2435,
"loc": {
"start": {
"line": 85,
"column": 16
},
"end": {
"line": 85,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage",
"start": 2435,
"end": 2440,
"loc": {
"start": {
"line": 85,
"column": 17
},
"end": {
"line": 85,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2441,
"end": 2442,
"loc": {
"start": {
"line": 85,
"column": 23
},
"end": {
"line": 85,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage",
"start": 2443,
"end": 2448,
"loc": {
"start": {
"line": 85,
"column": 25
},
"end": {
"line": 85,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2448,
"end": 2449,
"loc": {
"start": {
"line": 85,
"column": 30
},
"end": {
"line": 85,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 2463,
"end": 2469,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2469,
"end": 2470,
"loc": {
"start": {
"line": 86,
"column": 18
},
"end": {
"line": 86,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "log",
"start": 2470,
"end": 2473,
"loc": {
"start": {
"line": 86,
"column": 19
},
"end": {
"line": 86,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2473,
"end": 2474,
"loc": {
"start": {
"line": 86,
"column": 22
},
"end": {
"line": 86,
"column": 23
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2474,
"end": 2478,
"loc": {
"start": {
"line": 86,
"column": 23
},
"end": {
"line": 86,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2478,
"end": 2479,
"loc": {
"start": {
"line": 86,
"column": 27
},
"end": {
"line": 86,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage",
"start": 2479,
"end": 2484,
"loc": {
"start": {
"line": 86,
"column": 28
},
"end": {
"line": 86,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2484,
"end": 2485,
"loc": {
"start": {
"line": 86,
"column": 33
},
"end": {
"line": 86,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2485,
"end": 2486,
"loc": {
"start": {
"line": 86,
"column": 34
},
"end": {
"line": 86,
"column": 35
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 2500,
"end": 2506,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 18
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 2507,
"end": 2511,
"loc": {
"start": {
"line": 87,
"column": 19
},
"end": {
"line": 87,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2511,
"end": 2512,
"loc": {
"start": {
"line": 87,
"column": 23
},
"end": {
"line": 87,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2522,
"end": 2523,
"loc": {
"start": {
"line": 88,
"column": 8
},
"end": {
"line": 88,
"column": 9
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 2524,
"end": 2528,
"loc": {
"start": {
"line": 88,
"column": 10
},
"end": {
"line": 88,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2529,
"end": 2530,
"loc": {
"start": {
"line": 88,
"column": 15
},
"end": {
"line": 88,
"column": 16
}
}
},
{
"type": "CommentLine",
"value": " log(this, \"Re entering\", stage);",
"start": 2544,
"end": 2579,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 47
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 2593,
"end": 2599,
"loc": {
"start": {
"line": 90,
"column": 12
},
"end": {
"line": 90,
"column": 18
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 2600,
"end": 2605,
"loc": {
"start": {
"line": 90,
"column": 19
},
"end": {
"line": 90,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2605,
"end": 2606,
"loc": {
"start": {
"line": 90,
"column": 24
},
"end": {
"line": 90,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2616,
"end": 2617,
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 91,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2623,
"end": 2624,
"loc": {
"start": {
"line": 92,
"column": 4
},
"end": {
"line": 92,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " GameState implementation",
"start": 2632,
"end": 2659,
"loc": {
"start": {
"line": 94,
"column": 4
},
"end": {
"line": 94,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getInnerHTML",
"start": 2665,
"end": 2677,
"loc": {
"start": {
"line": 95,
"column": 4
},
"end": {
"line": 95,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2677,
"end": 2678,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2678,
"end": 2679,
"loc": {
"start": {
"line": 95,
"column": 17
},
"end": {
"line": 95,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2680,
"end": 2681,
"loc": {
"start": {
"line": 95,
"column": 19
},
"end": {
"line": 95,
"column": 20
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 2691,
"end": 2697,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 96,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "",
"start": 2698,
"end": 2700,
"loc": {
"start": {
"line": 96,
"column": 15
},
"end": {
"line": 96,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2700,
"end": 2701,
"loc": {
"start": {
"line": 96,
"column": 17
},
"end": {
"line": 96,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2707,
"end": 2708,
"loc": {
"start": {
"line": 97,
"column": 4
},
"end": {
"line": 97,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getThemeMusic",
"start": 2716,
"end": 2729,
"loc": {
"start": {
"line": 99,
"column": 4
},
"end": {
"line": 99,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2729,
"end": 2730,
"loc": {
"start": {
"line": 99,
"column": 17
},
"end": {
"line": 99,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2730,
"end": 2731,
"loc": {
"start": {
"line": 99,
"column": 18
},
"end": {
"line": 99,
"column": 19
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2732,
"end": 2733,
"loc": {
"start": {
"line": 99,
"column": 20
},
"end": {
"line": 99,
"column": 21
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 2743,
"end": 2749,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MUSIC",
"start": 2750,
"end": 2755,
"loc": {
"start": {
"line": 100,
"column": 15
},
"end": {
"line": 100,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2755,
"end": 2756,
"loc": {
"start": {
"line": 100,
"column": 20
},
"end": {
"line": 100,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "theme",
"start": 2756,
"end": 2761,
"loc": {
"start": {
"line": 100,
"column": 21
},
"end": {
"line": 100,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2761,
"end": 2762,
"loc": {
"start": {
"line": 100,
"column": 26
},
"end": {
"line": 100,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2768,
"end": 2769,
"loc": {
"start": {
"line": 101,
"column": 4
},
"end": {
"line": 101,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onBeforeExit",
"start": 2777,
"end": 2789,
"loc": {
"start": {
"line": 103,
"column": 4
},
"end": {
"line": 103,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2789,
"end": 2790,
"loc": {
"start": {
"line": 103,
"column": 16
},
"end": {
"line": 103,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2790,
"end": 2791,
"loc": {
"start": {
"line": 103,
"column": 17
},
"end": {
"line": 103,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2792,
"end": 2793,
"loc": {
"start": {
"line": 103,
"column": 19
},
"end": {
"line": 103,
"column": 20
}
}
},
{
"type": "CommentLine",
"value": " logger.log(\"Saving before quitting\");",
"start": 2803,
"end": 2843,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 48
}
}
},
{
"type": "CommentLine",
"value": " return this.doSave().then(() => {",
"start": 2853,
"end": 2889,
"loc": {
"start": {
"line": 105,
"column": 8
},
"end": {
"line": 105,
"column": 44
}
}
},
{
"type": "CommentLine",
"value": " logger.log(this, \"Successfully saved\");",
"start": 2899,
"end": 2945,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 54
}
}
},
{
"type": "CommentLine",
"value": " // this.stageDestroyed();",
"start": 2955,
"end": 2987,
"loc": {
"start": {
"line": 107,
"column": 8
},
"end": {
"line": 107,
"column": 40
}
}
},
{
"type": "CommentLine",
"value": " });",
"start": 2997,
"end": 3003,
"loc": {
"start": {
"line": 108,
"column": 8
},
"end": {
"line": 108,
"column": 14
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3009,
"end": 3010,
"loc": {
"start": {
"line": 109,
"column": 4
},
"end": {
"line": 109,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onAppPause",
"start": 3018,
"end": 3028,
"loc": {
"start": {
"line": 111,
"column": 4
},
"end": {
"line": 111,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3028,
"end": 3029,
"loc": {
"start": {
"line": 111,
"column": 14
},
"end": {
"line": 111,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3029,
"end": 3030,
"loc": {
"start": {
"line": 111,
"column": 15
},
"end": {
"line": 111,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3031,
"end": 3032,
"loc": {
"start": {
"line": 111,
"column": 17
},
"end": {
"line": 111,
"column": 18
}
}
},
{
"type": "CommentLine",
"value": " if (this.stage === stages.s10_gameRunning) {",
"start": 3042,
"end": 3089,
"loc": {
"start": {
"line": 112,
"column": 8
},
"end": {
"line": 112,
"column": 55
}
}
},
{
"type": "CommentLine",
"value": " logger.log(\"Saving because app got paused\");",
"start": 3099,
"end": 3150,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 59
}
}
},
{
"type": "CommentLine",
"value": " this.doSave();",
"start": 3160,
"end": 3181,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 29
}
}
},
{
"type": "CommentLine",
"value": " }",
"start": 3191,
"end": 3195,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 115,
"column": 12
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3201,
"end": 3202,
"loc": {
"start": {
"line": 116,
"column": 4
},
"end": {
"line": 116,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getHasFadeIn",
"start": 3210,
"end": 3222,
"loc": {
"start": {
"line": 118,
"column": 4
},
"end": {
"line": 118,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3222,
"end": 3223,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 118,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3223,
"end": 3224,
"loc": {
"start": {
"line": 118,
"column": 17
},
"end": {
"line": 118,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3225,
"end": 3226,
"loc": {
"start": {
"line": 118,
"column": 19
},
"end": {
"line": 118,
"column": 20
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 3236,
"end": 3242,
"loc": {
"start": {
"line": 119,
"column": 8
},
"end": {
"line": 119,
"column": 14
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 3243,
"end": 3248,
"loc": {
"start": {
"line": 119,
"column": 15
},
"end": {
"line": 119,
"column": 20
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3248,
"end": 3249,
"loc": {
"start": {
"line": 119,
"column": 20
},
"end": {
"line": 119,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3255,
"end": 3256,
"loc": {
"start": {
"line": 120,
"column": 4
},
"end": {
"line": 120,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getPauseOnFocusLost",
"start": 3264,
"end": 3283,
"loc": {
"start": {
"line": 122,
"column": 4
},
"end": {
"line": 122,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3283,
"end": 3284,
"loc": {
"start": {
"line": 122,
"column": 23
},
"end": {
"line": 122,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3284,
"end": 3285,
"loc": {
"start": {
"line": 122,
"column": 24
},
"end": {
"line": 122,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3286,
"end": 3287,
"loc": {
"start": {
"line": 122,
"column": 26
},
"end": {
"line": 122,
"column": 27
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 3297,
"end": 3303,
"loc": {
"start": {
"line": 123,
"column": 8
},
"end": {
"line": 123,
"column": 14
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 3304,
"end": 3309,
"loc": {
"start": {
"line": 123,
"column": 15
},
"end": {
"line": 123,
"column": 20
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3309,
"end": 3310,
"loc": {
"start": {
"line": 123,
"column": 20
},
"end": {
"line": 123,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3316,
"end": 3317,
"loc": {
"start": {
"line": 124,
"column": 4
},
"end": {
"line": 124,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getHasUnloadConfirmation",
"start": 3325,
"end": 3349,
"loc": {
"start": {
"line": 126,
"column": 4
},
"end": {
"line": 126,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3349,
"end": 3350,
"loc": {
"start": {
"line": 126,
"column": 28
},
"end": {
"line": 126,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3350,
"end": 3351,
"loc": {
"start": {
"line": 126,
"column": 29
},
"end": {
"line": 126,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3352,
"end": 3353,
"loc": {
"start": {
"line": 126,
"column": 31
},
"end": {
"line": 126,
"column": 32
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 3363,
"end": 3369,
"loc": {
"start": {
"line": 127,
"column": 8
},
"end": {
"line": 127,
"column": 14
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 3370,
"end": 3374,
"loc": {
"start": {
"line": 127,
"column": 15
},
"end": {
"line": 127,
"column": 19
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3374,
"end": 3375,
"loc": {
"start": {
"line": 127,
"column": 19
},
"end": {
"line": 127,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3381,
"end": 3382,
"loc": {
"start": {
"line": 128,
"column": 4
},
"end": {
"line": 128,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onLeave",
"start": 3390,
"end": 3397,
"loc": {
"start": {
"line": 130,
"column": 4
},
"end": {
"line": 130,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3397,
"end": 3398,
"loc": {
"start": {
"line": 130,
"column": 11
},
"end": {
"line": 130,
"column": 12
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3398,
"end": 3399,
"loc": {
"start": {
"line": 130,
"column": 12
},
"end": {
"line": 130,
"column": 13
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3400,
"end": 3401,
"loc": {
"start": {
"line": 130,
"column": 14
},
"end": {
"line": 130,
"column": 15
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 3411,
"end": 3413,
"loc": {
"start": {
"line": 131,
"column": 8
},
"end": {
"line": 131,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3414,
"end": 3415,
"loc": {
"start": {
"line": 131,
"column": 11
},
"end": {
"line": 131,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3415,
"end": 3419,
"loc": {
"start": {
"line": 131,
"column": 12
},
"end": {
"line": 131,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3419,
"end": 3420,
"loc": {
"start": {
"line": 131,
"column": 16
},
"end": {
"line": 131,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 3420,
"end": 3424,
"loc": {
"start": {
"line": 131,
"column": 17
},
"end": {
"line": 131,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3424,
"end": 3425,
"loc": {
"start": {
"line": 131,
"column": 21
},
"end": {
"line": 131,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3426,
"end": 3427,
"loc": {
"start": {
"line": 131,
"column": 23
},
"end": {
"line": 131,
"column": 24
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3441,
"end": 3445,
"loc": {
"start": {
"line": 132,
"column": 12
},
"end": {
"line": 132,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3445,
"end": 3446,
"loc": {
"start": {
"line": 132,
"column": 16
},
"end": {
"line": 132,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stageDestroyed",
"start": 3446,
"end": 3460,
"loc": {
"start": {
"line": 132,
"column": 17
},
"end": {
"line": 132,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3460,
"end": 3461,
"loc": {
"start": {
"line": 132,
"column": 31
},
"end": {
"line": 132,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3461,
"end": 3462,
"loc": {
"start": {
"line": 132,
"column": 32
},
"end": {
"line": 132,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3462,
"end": 3463,
"loc": {
"start": {
"line": 132,
"column": 33
},
"end": {
"line": 132,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3473,
"end": 3474,
"loc": {
"start": {
"line": 133,
"column": 8
},
"end": {
"line": 133,
"column": 9
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3484,
"end": 3488,
"loc": {
"start": {
"line": 134,
"column": 8
},
"end": {
"line": 134,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3488,
"end": 3489,
"loc": {
"start": {
"line": 134,
"column": 12
},
"end": {
"line": 134,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "app",
"start": 3489,
"end": 3492,
"loc": {
"start": {
"line": 134,
"column": 13
},
"end": {
"line": 134,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3492,
"end": 3493,
"loc": {
"start": {
"line": 134,
"column": 16
},
"end": {
"line": 134,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "inputMgr",
"start": 3493,
"end": 3501,
"loc": {
"start": {
"line": 134,
"column": 17
},
"end": {
"line": 134,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3501,
"end": 3502,
"loc": {
"start": {
"line": 134,
"column": 25
},
"end": {
"line": 134,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dismountFilter",
"start": 3502,
"end": 3516,
"loc": {
"start": {
"line": 134,
"column": 26
},
"end": {
"line": 134,
"column": 40
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3516,
"end": 3517,
"loc": {
"start": {
"line": 134,
"column": 40
},
"end": {
"line": 134,
"column": 41
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3517,
"end": 3521,
"loc": {
"start": {
"line": 134,
"column": 41
},
"end": {
"line": 134,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3521,
"end": 3522,
"loc": {
"start": {
"line": 134,
"column": 45
},
"end": {
"line": 134,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "boundInputFilter",
"start": 3522,
"end": 3538,
"loc": {
"start": {
"line": 134,
"column": 46
},
"end": {
"line": 134,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3538,
"end": 3539,
"loc": {
"start": {
"line": 134,
"column": 62
},
"end": {
"line": 134,
"column": 63
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3539,
"end": 3540,
"loc": {
"start": {
"line": 134,
"column": 63
},
"end": {
"line": 134,
"column": 64
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3546,
"end": 3547,
"loc": {
"start": {
"line": 135,
"column": 4
},
"end": {
"line": 135,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onResized",
"start": 3555,
"end": 3564,
"loc": {
"start": {
"line": 137,
"column": 4
},
"end": {
"line": 137,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3564,
"end": 3565,
"loc": {
"start": {
"line": 137,
"column": 13
},
"end": {
"line": 137,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 3565,
"end": 3566,
"loc": {
"start": {
"line": 137,
"column": 14
},
"end": {
"line": 137,
"column": 15
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3566,
"end": 3567,
"loc": {
"start": {
"line": 137,
"column": 15
},
"end": {
"line": 137,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 3568,
"end": 3569,
"loc": {
"start": {
"line": 137,
"column": 17
},
"end": {
"line": 137,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3569,
"end": 3570,
"loc": {
"start": {
"line": 137,
"column": 18
},
"end": {
"line": 137,
"column": 19
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3571,
"end": 3572,
"loc": {
"start": {
"line": 137,
"column": 20
},
"end": {
"line": 137,
"column": 21
}
}
},
{
"type": {
"label": "super",
"keyword": "super",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "super",
"start": 3582,
"end": 3587,
"loc": {
"start": {
"line": 138,
"column": 8
},
"end": {
"line": 138,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3587,
"end": 3588,
"loc": {
"start": {
"line": 138,
"column": 13
},
"end": {
"line": 138,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onResized",
"start": 3588,
"end": 3597,
"loc": {
"start": {
"line": 138,
"column": 14
},
"end": {
"line": 138,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3597,
"end": 3598,
"loc": {
"start": {
"line": 138,
"column": 23
},
"end": {
"line": 138,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 3598,
"end": 3599,
"loc": {
"start": {
"line": 138,
"column": 24
},
"end": {
"line": 138,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3599,
"end": 3600,
"loc": {
"start": {
"line": 138,
"column": 25
},
"end": {
"line": 138,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 3601,
"end": 3602,
"loc": {
"start": {
"line": 138,
"column": 27
},
"end": {
"line": 138,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3602,
"end": 3603,
"loc": {
"start": {
"line": 138,
"column": 28
},
"end": {
"line": 138,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3603,
"end": 3604,
"loc": {
"start": {
"line": 138,
"column": 29
},
"end": {
"line": 138,
"column": 30
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 3614,
"end": 3616,
"loc": {
"start": {
"line": 139,
"column": 8
},
"end": {
"line": 139,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3617,
"end": 3618,
"loc": {
"start": {
"line": 139,
"column": 11
},
"end": {
"line": 139,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3618,
"end": 3622,
"loc": {
"start": {
"line": 139,
"column": 12
},
"end": {
"line": 139,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3622,
"end": 3623,
"loc": {
"start": {
"line": 139,
"column": 16
},
"end": {
"line": 139,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage",
"start": 3623,
"end": 3628,
"loc": {
"start": {
"line": 139,
"column": 17
},
"end": {
"line": 139,
"column": 22
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 3629,
"end": 3632,
"loc": {
"start": {
"line": 139,
"column": 23
},
"end": {
"line": 139,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 3633,
"end": 3639,
"loc": {
"start": {
"line": 139,
"column": 27
},
"end": {
"line": 139,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3639,
"end": 3640,
"loc": {
"start": {
"line": 139,
"column": 33
},
"end": {
"line": 139,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s10_gameRunning",
"start": 3640,
"end": 3655,
"loc": {
"start": {
"line": 139,
"column": 34
},
"end": {
"line": 139,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3655,
"end": 3656,
"loc": {
"start": {
"line": 139,
"column": 49
},
"end": {
"line": 139,
"column": 50
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3657,
"end": 3658,
"loc": {
"start": {
"line": 139,
"column": 51
},
"end": {
"line": 139,
"column": 52
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3672,
"end": 3676,
"loc": {
"start": {
"line": 140,
"column": 12
},
"end": {
"line": 140,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3676,
"end": 3677,
"loc": {
"start": {
"line": 140,
"column": 16
},
"end": {
"line": 140,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 3677,
"end": 3681,
"loc": {
"start": {
"line": 140,
"column": 17
},
"end": {
"line": 140,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3681,
"end": 3682,
"loc": {
"start": {
"line": 140,
"column": 21
},
"end": {
"line": 140,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resize",
"start": 3682,
"end": 3688,
"loc": {
"start": {
"line": 140,
"column": 22
},
"end": {
"line": 140,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3688,
"end": 3689,
"loc": {
"start": {
"line": 140,
"column": 28
},
"end": {
"line": 140,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 3689,
"end": 3690,
"loc": {
"start": {
"line": 140,
"column": 29
},
"end": {
"line": 140,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3690,
"end": 3691,
"loc": {
"start": {
"line": 140,
"column": 30
},
"end": {
"line": 140,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 3692,
"end": 3693,
"loc": {
"start": {
"line": 140,
"column": 32
},
"end": {
"line": 140,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3693,
"end": 3694,
"loc": {
"start": {
"line": 140,
"column": 33
},
"end": {
"line": 140,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3694,
"end": 3695,
"loc": {
"start": {
"line": 140,
"column": 34
},
"end": {
"line": 140,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3705,
"end": 3706,
"loc": {
"start": {
"line": 141,
"column": 8
},
"end": {
"line": 141,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3712,
"end": 3713,
"loc": {
"start": {
"line": 142,
"column": 4
},
"end": {
"line": 142,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " ---- End of GameState implementation",
"start": 3721,
"end": 3760,
"loc": {
"start": {
"line": 144,
"column": 4
},
"end": {
"line": 144,
"column": 43
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Goes back to the menu state\r\n ",
"start": 3768,
"end": 3816,
"loc": {
"start": {
"line": 146,
"column": 4
},
"end": {
"line": 148,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "goBackToMenu",
"start": 3822,
"end": 3834,
"loc": {
"start": {
"line": 149,
"column": 4
},
"end": {
"line": 149,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3834,
"end": 3835,
"loc": {
"start": {
"line": 149,
"column": 16
},
"end": {
"line": 149,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3835,
"end": 3836,
"loc": {
"start": {
"line": 149,
"column": 17
},
"end": {
"line": 149,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3837,
"end": 3838,
"loc": {
"start": {
"line": 149,
"column": 19
},
"end": {
"line": 149,
"column": 20
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3848,
"end": 3852,
"loc": {
"start": {
"line": 150,
"column": 8
},
"end": {
"line": 150,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3852,
"end": 3853,
"loc": {
"start": {
"line": 150,
"column": 12
},
"end": {
"line": 150,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "saveThenGoToState",
"start": 3853,
"end": 3870,
"loc": {
"start": {
"line": 150,
"column": 13
},
"end": {
"line": 150,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3870,
"end": 3871,
"loc": {
"start": {
"line": 150,
"column": 30
},
"end": {
"line": 150,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "MainMenuState",
"start": 3871,
"end": 3886,
"loc": {
"start": {
"line": 150,
"column": 31
},
"end": {
"line": 150,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3886,
"end": 3887,
"loc": {
"start": {
"line": 150,
"column": 46
},
"end": {
"line": 150,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3887,
"end": 3888,
"loc": {
"start": {
"line": 150,
"column": 47
},
"end": {
"line": 150,
"column": 48
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3894,
"end": 3895,
"loc": {
"start": {
"line": 151,
"column": 4
},
"end": {
"line": 151,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Goes back to the settings state\r\n ",
"start": 3903,
"end": 3955,
"loc": {
"start": {
"line": 153,
"column": 4
},
"end": {
"line": 155,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "goToSettings",
"start": 3961,
"end": 3973,
"loc": {
"start": {
"line": 156,
"column": 4
},
"end": {
"line": 156,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3973,
"end": 3974,
"loc": {
"start": {
"line": 156,
"column": 16
},
"end": {
"line": 156,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3974,
"end": 3975,
"loc": {
"start": {
"line": 156,
"column": 17
},
"end": {
"line": 156,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3976,
"end": 3977,
"loc": {
"start": {
"line": 156,
"column": 19
},
"end": {
"line": 156,
"column": 20
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3987,
"end": 3991,
"loc": {
"start": {
"line": 157,
"column": 8
},
"end": {
"line": 157,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3991,
"end": 3992,
"loc": {
"start": {
"line": 157,
"column": 12
},
"end": {
"line": 157,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "saveThenGoToState",
"start": 3992,
"end": 4009,
"loc": {
"start": {
"line": 157,
"column": 13
},
"end": {
"line": 157,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4009,
"end": 4010,
"loc": {
"start": {
"line": 157,
"column": 30
},
"end": {
"line": 157,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "SettingsState",
"start": 4010,
"end": 4025,
"loc": {
"start": {
"line": 157,
"column": 31
},
"end": {
"line": 157,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4025,
"end": 4026,
"loc": {
"start": {
"line": 157,
"column": 46
},
"end": {
"line": 157,
"column": 47
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4027,
"end": 4028,
"loc": {
"start": {
"line": 157,
"column": 48
},
"end": {
"line": 157,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "backToStateId",
"start": 4042,
"end": 4055,
"loc": {
"start": {
"line": 158,
"column": 12
},
"end": {
"line": 158,
"column": 25
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4055,
"end": 4056,
"loc": {
"start": {
"line": 158,
"column": 25
},
"end": {
"line": 158,
"column": 26
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4057,
"end": 4061,
"loc": {
"start": {
"line": 158,
"column": 27
},
"end": {
"line": 158,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4061,
"end": 4062,
"loc": {
"start": {
"line": 158,
"column": 31
},
"end": {
"line": 158,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 4062,
"end": 4065,
"loc": {
"start": {
"line": 158,
"column": 32
},
"end": {
"line": 158,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4065,
"end": 4066,
"loc": {
"start": {
"line": 158,
"column": 35
},
"end": {
"line": 158,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "backToStatePayload",
"start": 4080,
"end": 4098,
"loc": {
"start": {
"line": 159,
"column": 12
},
"end": {
"line": 159,
"column": 30
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4098,
"end": 4099,
"loc": {
"start": {
"line": 159,
"column": 30
},
"end": {
"line": 159,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4100,
"end": 4104,
"loc": {
"start": {
"line": 159,
"column": 32
},
"end": {
"line": 159,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4104,
"end": 4105,
"loc": {
"start": {
"line": 159,
"column": 36
},
"end": {
"line": 159,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "creationPayload",
"start": 4105,
"end": 4120,
"loc": {
"start": {
"line": 159,
"column": 37
},
"end": {
"line": 159,
"column": 52
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4120,
"end": 4121,
"loc": {
"start": {
"line": 159,
"column": 52
},
"end": {
"line": 159,
"column": 53
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4131,
"end": 4132,
"loc": {
"start": {
"line": 160,
"column": 8
},
"end": {
"line": 160,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4132,
"end": 4133,
"loc": {
"start": {
"line": 160,
"column": 9
},
"end": {
"line": 160,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4133,
"end": 4134,
"loc": {
"start": {
"line": 160,
"column": 10
},
"end": {
"line": 160,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4140,
"end": 4141,
"loc": {
"start": {
"line": 161,
"column": 4
},
"end": {
"line": 161,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Goes back to the settings state\r\n ",
"start": 4149,
"end": 4201,
"loc": {
"start": {
"line": 163,
"column": 4
},
"end": {
"line": 165,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "goToKeybindings",
"start": 4207,
"end": 4222,
"loc": {
"start": {
"line": 166,
"column": 4
},
"end": {
"line": 166,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4222,
"end": 4223,
"loc": {
"start": {
"line": 166,
"column": 19
},
"end": {
"line": 166,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4223,
"end": 4224,
"loc": {
"start": {
"line": 166,
"column": 20
},
"end": {
"line": 166,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4225,
"end": 4226,
"loc": {
"start": {
"line": 166,
"column": 22
},
"end": {
"line": 166,
"column": 23
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4236,
"end": 4240,
"loc": {
"start": {
"line": 167,
"column": 8
},
"end": {
"line": 167,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4240,
"end": 4241,
"loc": {
"start": {
"line": 167,
"column": 12
},
"end": {
"line": 167,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "saveThenGoToState",
"start": 4241,
"end": 4258,
"loc": {
"start": {
"line": 167,
"column": 13
},
"end": {
"line": 167,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4258,
"end": 4259,
"loc": {
"start": {
"line": 167,
"column": 30
},
"end": {
"line": 167,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "KeybindingsState",
"start": 4259,
"end": 4277,
"loc": {
"start": {
"line": 167,
"column": 31
},
"end": {
"line": 167,
"column": 49
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4277,
"end": 4278,
"loc": {
"start": {
"line": 167,
"column": 49
},
"end": {
"line": 167,
"column": 50
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4279,
"end": 4280,
"loc": {
"start": {
"line": 167,
"column": 51
},
"end": {
"line": 167,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "backToStateId",
"start": 4294,
"end": 4307,
"loc": {
"start": {
"line": 168,
"column": 12
},
"end": {
"line": 168,
"column": 25
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4307,
"end": 4308,
"loc": {
"start": {
"line": 168,
"column": 25
},
"end": {
"line": 168,
"column": 26
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4309,
"end": 4313,
"loc": {
"start": {
"line": 168,
"column": 27
},
"end": {
"line": 168,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4313,
"end": 4314,
"loc": {
"start": {
"line": 168,
"column": 31
},
"end": {
"line": 168,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 4314,
"end": 4317,
"loc": {
"start": {
"line": 168,
"column": 32
},
"end": {
"line": 168,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4317,
"end": 4318,
"loc": {
"start": {
"line": 168,
"column": 35
},
"end": {
"line": 168,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "backToStatePayload",
"start": 4332,
"end": 4350,
"loc": {
"start": {
"line": 169,
"column": 12
},
"end": {
"line": 169,
"column": 30
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4350,
"end": 4351,
"loc": {
"start": {
"line": 169,
"column": 30
},
"end": {
"line": 169,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4352,
"end": 4356,
"loc": {
"start": {
"line": 169,
"column": 32
},
"end": {
"line": 169,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4356,
"end": 4357,
"loc": {
"start": {
"line": 169,
"column": 36
},
"end": {
"line": 169,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "creationPayload",
"start": 4357,
"end": 4372,
"loc": {
"start": {
"line": 169,
"column": 37
},
"end": {
"line": 169,
"column": 52
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4372,
"end": 4373,
"loc": {
"start": {
"line": 169,
"column": 52
},
"end": {
"line": 169,
"column": 53
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4383,
"end": 4384,
"loc": {
"start": {
"line": 170,
"column": 8
},
"end": {
"line": 170,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4384,
"end": 4385,
"loc": {
"start": {
"line": 170,
"column": 9
},
"end": {
"line": 170,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4385,
"end": 4386,
"loc": {
"start": {
"line": 170,
"column": 10
},
"end": {
"line": 170,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4392,
"end": 4393,
"loc": {
"start": {
"line": 171,
"column": 4
},
"end": {
"line": 171,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Moves to a state outside of the game\r\n * @param {string} stateId\r\n * @param {any=} payload\r\n ",
"start": 4401,
"end": 4520,
"loc": {
"start": {
"line": 173,
"column": 4
},
"end": {
"line": 177,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "saveThenGoToState",
"start": 4526,
"end": 4543,
"loc": {
"start": {
"line": 178,
"column": 4
},
"end": {
"line": 178,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4543,
"end": 4544,
"loc": {
"start": {
"line": 178,
"column": 21
},
"end": {
"line": 178,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stateId",
"start": 4544,
"end": 4551,
"loc": {
"start": {
"line": 178,
"column": 22
},
"end": {
"line": 178,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4551,
"end": 4552,
"loc": {
"start": {
"line": 178,
"column": 29
},
"end": {
"line": 178,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "payload",
"start": 4553,
"end": 4560,
"loc": {
"start": {
"line": 178,
"column": 31
},
"end": {
"line": 178,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4560,
"end": 4561,
"loc": {
"start": {
"line": 178,
"column": 38
},
"end": {
"line": 178,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4562,
"end": 4563,
"loc": {
"start": {
"line": 178,
"column": 40
},
"end": {
"line": 178,
"column": 41
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 4573,
"end": 4575,
"loc": {
"start": {
"line": 179,
"column": 8
},
"end": {
"line": 179,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4576,
"end": 4577,
"loc": {
"start": {
"line": 179,
"column": 11
},
"end": {
"line": 179,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4577,
"end": 4581,
"loc": {
"start": {
"line": 179,
"column": 12
},
"end": {
"line": 179,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4581,
"end": 4582,
"loc": {
"start": {
"line": 179,
"column": 16
},
"end": {
"line": 179,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage",
"start": 4582,
"end": 4587,
"loc": {
"start": {
"line": 179,
"column": 17
},
"end": {
"line": 179,
"column": 22
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 4588,
"end": 4591,
"loc": {
"start": {
"line": 179,
"column": 23
},
"end": {
"line": 179,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 4592,
"end": 4598,
"loc": {
"start": {
"line": 179,
"column": 27
},
"end": {
"line": 179,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4598,
"end": 4599,
"loc": {
"start": {
"line": 179,
"column": 33
},
"end": {
"line": 179,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "leaving",
"start": 4599,
"end": 4606,
"loc": {
"start": {
"line": 179,
"column": 34
},
"end": {
"line": 179,
"column": 41
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 4607,
"end": 4609,
"loc": {
"start": {
"line": 179,
"column": 42
},
"end": {
"line": 179,
"column": 44
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4610,
"end": 4614,
"loc": {
"start": {
"line": 179,
"column": 45
},
"end": {
"line": 179,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4614,
"end": 4615,
"loc": {
"start": {
"line": 179,
"column": 49
},
"end": {
"line": 179,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage",
"start": 4615,
"end": 4620,
"loc": {
"start": {
"line": 179,
"column": 50
},
"end": {
"line": 179,
"column": 55
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 4621,
"end": 4624,
"loc": {
"start": {
"line": 179,
"column": 56
},
"end": {
"line": 179,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 4625,
"end": 4631,
"loc": {
"start": {
"line": 179,
"column": 60
},
"end": {
"line": 179,
"column": 66
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4631,
"end": 4632,
"loc": {
"start": {
"line": 179,
"column": 66
},
"end": {
"line": 179,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destroyed",
"start": 4632,
"end": 4641,
"loc": {
"start": {
"line": 179,
"column": 67
},
"end": {
"line": 179,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4641,
"end": 4642,
"loc": {
"start": {
"line": 179,
"column": 76
},
"end": {
"line": 179,
"column": 77
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4643,
"end": 4644,
"loc": {
"start": {
"line": 179,
"column": 78
},
"end": {
"line": 179,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 4658,
"end": 4664,
"loc": {
"start": {
"line": 180,
"column": 12
},
"end": {
"line": 180,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4664,
"end": 4665,
"loc": {
"start": {
"line": 180,
"column": 18
},
"end": {
"line": 180,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "warn",
"start": 4665,
"end": 4669,
"loc": {
"start": {
"line": 180,
"column": 19
},
"end": {
"line": 180,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4669,
"end": 4670,
"loc": {
"start": {
"line": 180,
"column": 23
},
"end": {
"line": 180,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Tried to leave game twice or during destroy:",
"start": 4688,
"end": 4734,
"loc": {
"start": {
"line": 181,
"column": 16
},
"end": {
"line": 181,
"column": 62
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4734,
"end": 4735,
"loc": {
"start": {
"line": 181,
"column": 62
},
"end": {
"line": 181,
"column": 63
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4753,
"end": 4757,
"loc": {
"start": {
"line": 182,
"column": 16
},
"end": {
"line": 182,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4757,
"end": 4758,
"loc": {
"start": {
"line": 182,
"column": 20
},
"end": {
"line": 182,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage",
"start": 4758,
"end": 4763,
"loc": {
"start": {
"line": 182,
"column": 21
},
"end": {
"line": 182,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4763,
"end": 4764,
"loc": {
"start": {
"line": 182,
"column": 26
},
"end": {
"line": 182,
"column": 27
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "(attempted to move to",
"start": 4782,
"end": 4805,
"loc": {
"start": {
"line": 183,
"column": 16
},
"end": {
"line": 183,
"column": 39
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4805,
"end": 4806,
"loc": {
"start": {
"line": 183,
"column": 39
},
"end": {
"line": 183,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stateId",
"start": 4824,
"end": 4831,
"loc": {
"start": {
"line": 184,
"column": 16
},
"end": {
"line": 184,
"column": 23
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4831,
"end": 4832,
"loc": {
"start": {
"line": 184,
"column": 23
},
"end": {
"line": 184,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ")",
"start": 4850,
"end": 4853,
"loc": {
"start": {
"line": 185,
"column": 16
},
"end": {
"line": 185,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4867,
"end": 4868,
"loc": {
"start": {
"line": 186,
"column": 12
},
"end": {
"line": 186,
"column": 13
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4868,
"end": 4869,
"loc": {
"start": {
"line": 186,
"column": 13
},
"end": {
"line": 186,
"column": 14
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 4883,
"end": 4889,
"loc": {
"start": {
"line": 187,
"column": 12
},
"end": {
"line": 187,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4889,
"end": 4890,
"loc": {
"start": {
"line": 187,
"column": 18
},
"end": {
"line": 187,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4900,
"end": 4901,
"loc": {
"start": {
"line": 188,
"column": 8
},
"end": {
"line": 188,
"column": 9
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4911,
"end": 4915,
"loc": {
"start": {
"line": 189,
"column": 8
},
"end": {
"line": 189,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4915,
"end": 4916,
"loc": {
"start": {
"line": 189,
"column": 12
},
"end": {
"line": 189,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stageLeavingGame",
"start": 4916,
"end": 4932,
"loc": {
"start": {
"line": 189,
"column": 13
},
"end": {
"line": 189,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4932,
"end": 4933,
"loc": {
"start": {
"line": 189,
"column": 29
},
"end": {
"line": 189,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4933,
"end": 4934,
"loc": {
"start": {
"line": 189,
"column": 30
},
"end": {
"line": 189,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4934,
"end": 4935,
"loc": {
"start": {
"line": 189,
"column": 31
},
"end": {
"line": 189,
"column": 32
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4945,
"end": 4949,
"loc": {
"start": {
"line": 190,
"column": 8
},
"end": {
"line": 190,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4949,
"end": 4950,
"loc": {
"start": {
"line": 190,
"column": 12
},
"end": {
"line": 190,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "doSave",
"start": 4950,
"end": 4956,
"loc": {
"start": {
"line": 190,
"column": 13
},
"end": {
"line": 190,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4956,
"end": 4957,
"loc": {
"start": {
"line": 190,
"column": 19
},
"end": {
"line": 190,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4957,
"end": 4958,
"loc": {
"start": {
"line": 190,
"column": 20
},
"end": {
"line": 190,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4958,
"end": 4959,
"loc": {
"start": {
"line": 190,
"column": 21
},
"end": {
"line": 190,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "then",
"start": 4959,
"end": 4963,
"loc": {
"start": {
"line": 190,
"column": 22
},
"end": {
"line": 190,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4963,
"end": 4964,
"loc": {
"start": {
"line": 190,
"column": 26
},
"end": {
"line": 190,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4964,
"end": 4965,
"loc": {
"start": {
"line": 190,
"column": 27
},
"end": {
"line": 190,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4965,
"end": 4966,
"loc": {
"start": {
"line": 190,
"column": 28
},
"end": {
"line": 190,
"column": 29
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4967,
"end": 4969,
"loc": {
"start": {
"line": 190,
"column": 30
},
"end": {
"line": 190,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4970,
"end": 4971,
"loc": {
"start": {
"line": 190,
"column": 33
},
"end": {
"line": 190,
"column": 34
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4985,
"end": 4989,
"loc": {
"start": {
"line": 191,
"column": 12
},
"end": {
"line": 191,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4989,
"end": 4990,
"loc": {
"start": {
"line": 191,
"column": 16
},
"end": {
"line": 191,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stageDestroyed",
"start": 4990,
"end": 5004,
"loc": {
"start": {
"line": 191,
"column": 17
},
"end": {
"line": 191,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5004,
"end": 5005,
"loc": {
"start": {
"line": 191,
"column": 31
},
"end": {
"line": 191,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5005,
"end": 5006,
"loc": {
"start": {
"line": 191,
"column": 32
},
"end": {
"line": 191,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5006,
"end": 5007,
"loc": {
"start": {
"line": 191,
"column": 33
},
"end": {
"line": 191,
"column": 34
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5021,
"end": 5025,
"loc": {
"start": {
"line": 192,
"column": 12
},
"end": {
"line": 192,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5025,
"end": 5026,
"loc": {
"start": {
"line": 192,
"column": 16
},
"end": {
"line": 192,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "moveToState",
"start": 5026,
"end": 5037,
"loc": {
"start": {
"line": 192,
"column": 17
},
"end": {
"line": 192,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5037,
"end": 5038,
"loc": {
"start": {
"line": 192,
"column": 28
},
"end": {
"line": 192,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stateId",
"start": 5038,
"end": 5045,
"loc": {
"start": {
"line": 192,
"column": 29
},
"end": {
"line": 192,
"column": 36
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5045,
"end": 5046,
"loc": {
"start": {
"line": 192,
"column": 36
},
"end": {
"line": 192,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "payload",
"start": 5047,
"end": 5054,
"loc": {
"start": {
"line": 192,
"column": 38
},
"end": {
"line": 192,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5054,
"end": 5055,
"loc": {
"start": {
"line": 192,
"column": 45
},
"end": {
"line": 192,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5055,
"end": 5056,
"loc": {
"start": {
"line": 192,
"column": 46
},
"end": {
"line": 192,
"column": 47
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5066,
"end": 5067,
"loc": {
"start": {
"line": 193,
"column": 8
},
"end": {
"line": 193,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5067,
"end": 5068,
"loc": {
"start": {
"line": 193,
"column": 9
},
"end": {
"line": 193,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5068,
"end": 5069,
"loc": {
"start": {
"line": 193,
"column": 10
},
"end": {
"line": 193,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5075,
"end": 5076,
"loc": {
"start": {
"line": 194,
"column": 4
},
"end": {
"line": 194,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onBackButton",
"start": 5084,
"end": 5096,
"loc": {
"start": {
"line": 196,
"column": 4
},
"end": {
"line": 196,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5096,
"end": 5097,
"loc": {
"start": {
"line": 196,
"column": 16
},
"end": {
"line": 196,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5097,
"end": 5098,
"loc": {
"start": {
"line": 196,
"column": 17
},
"end": {
"line": 196,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5099,
"end": 5100,
"loc": {
"start": {
"line": 196,
"column": 19
},
"end": {
"line": 196,
"column": 20
}
}
},
{
"type": "CommentLine",
"value": " do nothing",
"start": 5110,
"end": 5123,
"loc": {
"start": {
"line": 197,
"column": 8
},
"end": {
"line": 197,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5129,
"end": 5130,
"loc": {
"start": {
"line": 198,
"column": 4
},
"end": {
"line": 198,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Called when the game somehow failed to initialize. Resets everything to basic state and\r\n * then goes to the main menu, showing the error\r\n * @param {string} err\r\n ",
"start": 5138,
"end": 5328,
"loc": {
"start": {
"line": 200,
"column": 4
},
"end": {
"line": 204,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onInitializationFailure",
"start": 5334,
"end": 5357,
"loc": {
"start": {
"line": 205,
"column": 4
},
"end": {
"line": 205,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5357,
"end": 5358,
"loc": {
"start": {
"line": 205,
"column": 27
},
"end": {
"line": 205,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "err",
"start": 5358,
"end": 5361,
"loc": {
"start": {
"line": 205,
"column": 28
},
"end": {
"line": 205,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5361,
"end": 5362,
"loc": {
"start": {
"line": 205,
"column": 31
},
"end": {
"line": 205,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5363,
"end": 5364,
"loc": {
"start": {
"line": 205,
"column": 33
},
"end": {
"line": 205,
"column": 34
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 5374,
"end": 5376,
"loc": {
"start": {
"line": 206,
"column": 8
},
"end": {
"line": 206,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5377,
"end": 5378,
"loc": {
"start": {
"line": 206,
"column": 11
},
"end": {
"line": 206,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5378,
"end": 5382,
"loc": {
"start": {
"line": 206,
"column": 12
},
"end": {
"line": 206,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5382,
"end": 5383,
"loc": {
"start": {
"line": 206,
"column": 16
},
"end": {
"line": 206,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "switchStage",
"start": 5383,
"end": 5394,
"loc": {
"start": {
"line": 206,
"column": 17
},
"end": {
"line": 206,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5394,
"end": 5395,
"loc": {
"start": {
"line": 206,
"column": 28
},
"end": {
"line": 206,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 5395,
"end": 5401,
"loc": {
"start": {
"line": 206,
"column": 29
},
"end": {
"line": 206,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5401,
"end": 5402,
"loc": {
"start": {
"line": 206,
"column": 35
},
"end": {
"line": 206,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "initFailed",
"start": 5402,
"end": 5412,
"loc": {
"start": {
"line": 206,
"column": 36
},
"end": {
"line": 206,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5412,
"end": 5413,
"loc": {
"start": {
"line": 206,
"column": 46
},
"end": {
"line": 206,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5413,
"end": 5414,
"loc": {
"start": {
"line": 206,
"column": 47
},
"end": {
"line": 206,
"column": 48
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5415,
"end": 5416,
"loc": {
"start": {
"line": 206,
"column": 49
},
"end": {
"line": 206,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 5430,
"end": 5436,
"loc": {
"start": {
"line": 207,
"column": 12
},
"end": {
"line": 207,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5436,
"end": 5437,
"loc": {
"start": {
"line": 207,
"column": 18
},
"end": {
"line": 207,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "error",
"start": 5437,
"end": 5442,
"loc": {
"start": {
"line": 207,
"column": 19
},
"end": {
"line": 207,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5442,
"end": 5443,
"loc": {
"start": {
"line": 207,
"column": 24
},
"end": {
"line": 207,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Init failure:",
"start": 5443,
"end": 5458,
"loc": {
"start": {
"line": 207,
"column": 25
},
"end": {
"line": 207,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5458,
"end": 5459,
"loc": {
"start": {
"line": 207,
"column": 40
},
"end": {
"line": 207,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "err",
"start": 5460,
"end": 5463,
"loc": {
"start": {
"line": 207,
"column": 42
},
"end": {
"line": 207,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5463,
"end": 5464,
"loc": {
"start": {
"line": 207,
"column": 45
},
"end": {
"line": 207,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5464,
"end": 5465,
"loc": {
"start": {
"line": 207,
"column": 46
},
"end": {
"line": 207,
"column": 47
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5479,
"end": 5483,
"loc": {
"start": {
"line": 208,
"column": 12
},
"end": {
"line": 208,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5483,
"end": 5484,
"loc": {
"start": {
"line": 208,
"column": 16
},
"end": {
"line": 208,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stageDestroyed",
"start": 5484,
"end": 5498,
"loc": {
"start": {
"line": 208,
"column": 17
},
"end": {
"line": 208,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5498,
"end": 5499,
"loc": {
"start": {
"line": 208,
"column": 31
},
"end": {
"line": 208,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5499,
"end": 5500,
"loc": {
"start": {
"line": 208,
"column": 32
},
"end": {
"line": 208,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5500,
"end": 5501,
"loc": {
"start": {
"line": 208,
"column": 33
},
"end": {
"line": 208,
"column": 34
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5515,
"end": 5519,
"loc": {
"start": {
"line": 209,
"column": 12
},
"end": {
"line": 209,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5519,
"end": 5520,
"loc": {
"start": {
"line": 209,
"column": 16
},
"end": {
"line": 209,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "moveToState",
"start": 5520,
"end": 5531,
"loc": {
"start": {
"line": 209,
"column": 17
},
"end": {
"line": 209,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5531,
"end": 5532,
"loc": {
"start": {
"line": 209,
"column": 28
},
"end": {
"line": 209,
"column": 29
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "MainMenuState",
"start": 5532,
"end": 5547,
"loc": {
"start": {
"line": 209,
"column": 29
},
"end": {
"line": 209,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5547,
"end": 5548,
"loc": {
"start": {
"line": 209,
"column": 44
},
"end": {
"line": 209,
"column": 45
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5549,
"end": 5550,
"loc": {
"start": {
"line": 209,
"column": 46
},
"end": {
"line": 209,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "loadError",
"start": 5551,
"end": 5560,
"loc": {
"start": {
"line": 209,
"column": 48
},
"end": {
"line": 209,
"column": 57
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5560,
"end": 5561,
"loc": {
"start": {
"line": 209,
"column": 57
},
"end": {
"line": 209,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "err",
"start": 5562,
"end": 5565,
"loc": {
"start": {
"line": 209,
"column": 59
},
"end": {
"line": 209,
"column": 62
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5566,
"end": 5567,
"loc": {
"start": {
"line": 209,
"column": 63
},
"end": {
"line": 209,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5567,
"end": 5568,
"loc": {
"start": {
"line": 209,
"column": 64
},
"end": {
"line": 209,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5568,
"end": 5569,
"loc": {
"start": {
"line": 209,
"column": 65
},
"end": {
"line": 209,
"column": 66
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5579,
"end": 5580,
"loc": {
"start": {
"line": 210,
"column": 8
},
"end": {
"line": 210,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5586,
"end": 5587,
"loc": {
"start": {
"line": 211,
"column": 4
},
"end": {
"line": 211,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " STAGES",
"start": 5595,
"end": 5604,
"loc": {
"start": {
"line": 213,
"column": 4
},
"end": {
"line": 213,
"column": 13
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Creates the game core instance, and thus the root\r\n ",
"start": 5612,
"end": 5682,
"loc": {
"start": {
"line": 215,
"column": 4
},
"end": {
"line": 217,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage3CreateCore",
"start": 5688,
"end": 5704,
"loc": {
"start": {
"line": 218,
"column": 4
},
"end": {
"line": 218,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5704,
"end": 5705,
"loc": {
"start": {
"line": 218,
"column": 20
},
"end": {
"line": 218,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5705,
"end": 5706,
"loc": {
"start": {
"line": 218,
"column": 21
},
"end": {
"line": 218,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5707,
"end": 5708,
"loc": {
"start": {
"line": 218,
"column": 23
},
"end": {
"line": 218,
"column": 24
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 5718,
"end": 5720,
"loc": {
"start": {
"line": 219,
"column": 8
},
"end": {
"line": 219,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5721,
"end": 5722,
"loc": {
"start": {
"line": 219,
"column": 11
},
"end": {
"line": 219,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5722,
"end": 5726,
"loc": {
"start": {
"line": 219,
"column": 12
},
"end": {
"line": 219,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5726,
"end": 5727,
"loc": {
"start": {
"line": 219,
"column": 16
},
"end": {
"line": 219,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "switchStage",
"start": 5727,
"end": 5738,
"loc": {
"start": {
"line": 219,
"column": 17
},
"end": {
"line": 219,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5738,
"end": 5739,
"loc": {
"start": {
"line": 219,
"column": 28
},
"end": {
"line": 219,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 5739,
"end": 5745,
"loc": {
"start": {
"line": 219,
"column": 29
},
"end": {
"line": 219,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5745,
"end": 5746,
"loc": {
"start": {
"line": 219,
"column": 35
},
"end": {
"line": 219,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s3_createCore",
"start": 5746,
"end": 5759,
"loc": {
"start": {
"line": 219,
"column": 36
},
"end": {
"line": 219,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5759,
"end": 5760,
"loc": {
"start": {
"line": 219,
"column": 49
},
"end": {
"line": 219,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5760,
"end": 5761,
"loc": {
"start": {
"line": 219,
"column": 50
},
"end": {
"line": 219,
"column": 51
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5762,
"end": 5763,
"loc": {
"start": {
"line": 219,
"column": 52
},
"end": {
"line": 219,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 5777,
"end": 5783,
"loc": {
"start": {
"line": 220,
"column": 12
},
"end": {
"line": 220,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5783,
"end": 5784,
"loc": {
"start": {
"line": 220,
"column": 18
},
"end": {
"line": 220,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "log",
"start": 5784,
"end": 5787,
"loc": {
"start": {
"line": 220,
"column": 19
},
"end": {
"line": 220,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5787,
"end": 5788,
"loc": {
"start": {
"line": 220,
"column": 22
},
"end": {
"line": 220,
"column": 23
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Creating new game core",
"start": 5788,
"end": 5812,
"loc": {
"start": {
"line": 220,
"column": 23
},
"end": {
"line": 220,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5812,
"end": 5813,
"loc": {
"start": {
"line": 220,
"column": 47
},
"end": {
"line": 220,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5813,
"end": 5814,
"loc": {
"start": {
"line": 220,
"column": 48
},
"end": {
"line": 220,
"column": 49
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5828,
"end": 5832,
"loc": {
"start": {
"line": 221,
"column": 12
},
"end": {
"line": 221,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5832,
"end": 5833,
"loc": {
"start": {
"line": 221,
"column": 16
},
"end": {
"line": 221,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 5833,
"end": 5837,
"loc": {
"start": {
"line": 221,
"column": 17
},
"end": {
"line": 221,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5838,
"end": 5839,
"loc": {
"start": {
"line": 221,
"column": 22
},
"end": {
"line": 221,
"column": 23
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 5840,
"end": 5843,
"loc": {
"start": {
"line": 221,
"column": 24
},
"end": {
"line": 221,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GameCore",
"start": 5844,
"end": 5852,
"loc": {
"start": {
"line": 221,
"column": 28
},
"end": {
"line": 221,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5852,
"end": 5853,
"loc": {
"start": {
"line": 221,
"column": 36
},
"end": {
"line": 221,
"column": 37
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5853,
"end": 5857,
"loc": {
"start": {
"line": 221,
"column": 37
},
"end": {
"line": 221,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5857,
"end": 5858,
"loc": {
"start": {
"line": 221,
"column": 41
},
"end": {
"line": 221,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "app",
"start": 5858,
"end": 5861,
"loc": {
"start": {
"line": 221,
"column": 42
},
"end": {
"line": 221,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5861,
"end": 5862,
"loc": {
"start": {
"line": 221,
"column": 45
},
"end": {
"line": 221,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5862,
"end": 5863,
"loc": {
"start": {
"line": 221,
"column": 46
},
"end": {
"line": 221,
"column": 47
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5879,
"end": 5883,
"loc": {
"start": {
"line": 223,
"column": 12
},
"end": {
"line": 223,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5883,
"end": 5884,
"loc": {
"start": {
"line": 223,
"column": 16
},
"end": {
"line": 223,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 5884,
"end": 5888,
"loc": {
"start": {
"line": 223,
"column": 17
},
"end": {
"line": 223,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5888,
"end": 5889,
"loc": {
"start": {
"line": 223,
"column": 21
},
"end": {
"line": 223,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "initializeRoot",
"start": 5889,
"end": 5903,
"loc": {
"start": {
"line": 223,
"column": 22
},
"end": {
"line": 223,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5903,
"end": 5904,
"loc": {
"start": {
"line": 223,
"column": 36
},
"end": {
"line": 223,
"column": 37
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5904,
"end": 5908,
"loc": {
"start": {
"line": 223,
"column": 37
},
"end": {
"line": 223,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5908,
"end": 5909,
"loc": {
"start": {
"line": 223,
"column": 41
},
"end": {
"line": 223,
"column": 42
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5910,
"end": 5914,
"loc": {
"start": {
"line": 223,
"column": 43
},
"end": {
"line": 223,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5914,
"end": 5915,
"loc": {
"start": {
"line": 223,
"column": 47
},
"end": {
"line": 223,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 5915,
"end": 5923,
"loc": {
"start": {
"line": 223,
"column": 48
},
"end": {
"line": 223,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5923,
"end": 5924,
"loc": {
"start": {
"line": 223,
"column": 56
},
"end": {
"line": 223,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5924,
"end": 5925,
"loc": {
"start": {
"line": 223,
"column": 57
},
"end": {
"line": 223,
"column": 58
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 5941,
"end": 5943,
"loc": {
"start": {
"line": 225,
"column": 12
},
"end": {
"line": 225,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5944,
"end": 5945,
"loc": {
"start": {
"line": 225,
"column": 15
},
"end": {
"line": 225,
"column": 16
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5945,
"end": 5949,
"loc": {
"start": {
"line": 225,
"column": 16
},
"end": {
"line": 225,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5949,
"end": 5950,
"loc": {
"start": {
"line": 225,
"column": 20
},
"end": {
"line": 225,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 5950,
"end": 5958,
"loc": {
"start": {
"line": 225,
"column": 21
},
"end": {
"line": 225,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5958,
"end": 5959,
"loc": {
"start": {
"line": 225,
"column": 29
},
"end": {
"line": 225,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasGameDump",
"start": 5959,
"end": 5970,
"loc": {
"start": {
"line": 225,
"column": 30
},
"end": {
"line": 225,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5970,
"end": 5971,
"loc": {
"start": {
"line": 225,
"column": 41
},
"end": {
"line": 225,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5971,
"end": 5972,
"loc": {
"start": {
"line": 225,
"column": 42
},
"end": {
"line": 225,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5972,
"end": 5973,
"loc": {
"start": {
"line": 225,
"column": 43
},
"end": {
"line": 225,
"column": 44
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5974,
"end": 5975,
"loc": {
"start": {
"line": 225,
"column": 45
},
"end": {
"line": 225,
"column": 46
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5993,
"end": 5997,
"loc": {
"start": {
"line": 226,
"column": 16
},
"end": {
"line": 226,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5997,
"end": 5998,
"loc": {
"start": {
"line": 226,
"column": 20
},
"end": {
"line": 226,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage4bResumeGame",
"start": 5998,
"end": 6015,
"loc": {
"start": {
"line": 226,
"column": 21
},
"end": {
"line": 226,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6015,
"end": 6016,
"loc": {
"start": {
"line": 226,
"column": 38
},
"end": {
"line": 226,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6016,
"end": 6017,
"loc": {
"start": {
"line": 226,
"column": 39
},
"end": {
"line": 226,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6017,
"end": 6018,
"loc": {
"start": {
"line": 226,
"column": 40
},
"end": {
"line": 226,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6032,
"end": 6033,
"loc": {
"start": {
"line": 227,
"column": 12
},
"end": {
"line": 227,
"column": 13
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 6034,
"end": 6038,
"loc": {
"start": {
"line": 227,
"column": 14
},
"end": {
"line": 227,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6039,
"end": 6040,
"loc": {
"start": {
"line": 227,
"column": 19
},
"end": {
"line": 227,
"column": 20
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6058,
"end": 6062,
"loc": {
"start": {
"line": 228,
"column": 16
},
"end": {
"line": 228,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6062,
"end": 6063,
"loc": {
"start": {
"line": 228,
"column": 20
},
"end": {
"line": 228,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "app",
"start": 6063,
"end": 6066,
"loc": {
"start": {
"line": 228,
"column": 21
},
"end": {
"line": 228,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6066,
"end": 6067,
"loc": {
"start": {
"line": 228,
"column": 24
},
"end": {
"line": 228,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gameAnalytics",
"start": 6067,
"end": 6080,
"loc": {
"start": {
"line": 228,
"column": 25
},
"end": {
"line": 228,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6080,
"end": 6081,
"loc": {
"start": {
"line": 228,
"column": 38
},
"end": {
"line": 228,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handleGameStarted",
"start": 6081,
"end": 6098,
"loc": {
"start": {
"line": 228,
"column": 39
},
"end": {
"line": 228,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6098,
"end": 6099,
"loc": {
"start": {
"line": 228,
"column": 56
},
"end": {
"line": 228,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6099,
"end": 6100,
"loc": {
"start": {
"line": 228,
"column": 57
},
"end": {
"line": 228,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6100,
"end": 6101,
"loc": {
"start": {
"line": 228,
"column": 58
},
"end": {
"line": 228,
"column": 59
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6119,
"end": 6123,
"loc": {
"start": {
"line": 229,
"column": 16
},
"end": {
"line": 229,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6123,
"end": 6124,
"loc": {
"start": {
"line": 229,
"column": 20
},
"end": {
"line": 229,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage4aInitEmptyGame",
"start": 6124,
"end": 6144,
"loc": {
"start": {
"line": 229,
"column": 21
},
"end": {
"line": 229,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6144,
"end": 6145,
"loc": {
"start": {
"line": 229,
"column": 41
},
"end": {
"line": 229,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6145,
"end": 6146,
"loc": {
"start": {
"line": 229,
"column": 42
},
"end": {
"line": 229,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6146,
"end": 6147,
"loc": {
"start": {
"line": 229,
"column": 43
},
"end": {
"line": 229,
"column": 44
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6161,
"end": 6162,
"loc": {
"start": {
"line": 230,
"column": 12
},
"end": {
"line": 230,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6172,
"end": 6173,
"loc": {
"start": {
"line": 231,
"column": 8
},
"end": {
"line": 231,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6179,
"end": 6180,
"loc": {
"start": {
"line": 232,
"column": 4
},
"end": {
"line": 232,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Initializes a new empty game\r\n ",
"start": 6188,
"end": 6237,
"loc": {
"start": {
"line": 234,
"column": 4
},
"end": {
"line": 236,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage4aInitEmptyGame",
"start": 6243,
"end": 6263,
"loc": {
"start": {
"line": 237,
"column": 4
},
"end": {
"line": 237,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6263,
"end": 6264,
"loc": {
"start": {
"line": 237,
"column": 24
},
"end": {
"line": 237,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6264,
"end": 6265,
"loc": {
"start": {
"line": 237,
"column": 25
},
"end": {
"line": 237,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6266,
"end": 6267,
"loc": {
"start": {
"line": 237,
"column": 27
},
"end": {
"line": 237,
"column": 28
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 6277,
"end": 6279,
"loc": {
"start": {
"line": 238,
"column": 8
},
"end": {
"line": 238,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6280,
"end": 6281,
"loc": {
"start": {
"line": 238,
"column": 11
},
"end": {
"line": 238,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6281,
"end": 6285,
"loc": {
"start": {
"line": 238,
"column": 12
},
"end": {
"line": 238,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6285,
"end": 6286,
"loc": {
"start": {
"line": 238,
"column": 16
},
"end": {
"line": 238,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "switchStage",
"start": 6286,
"end": 6297,
"loc": {
"start": {
"line": 238,
"column": 17
},
"end": {
"line": 238,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6297,
"end": 6298,
"loc": {
"start": {
"line": 238,
"column": 28
},
"end": {
"line": 238,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 6298,
"end": 6304,
"loc": {
"start": {
"line": 238,
"column": 29
},
"end": {
"line": 238,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6304,
"end": 6305,
"loc": {
"start": {
"line": 238,
"column": 35
},
"end": {
"line": 238,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s4_A_initEmptyGame",
"start": 6305,
"end": 6323,
"loc": {
"start": {
"line": 238,
"column": 36
},
"end": {
"line": 238,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6323,
"end": 6324,
"loc": {
"start": {
"line": 238,
"column": 54
},
"end": {
"line": 238,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6324,
"end": 6325,
"loc": {
"start": {
"line": 238,
"column": 55
},
"end": {
"line": 238,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6326,
"end": 6327,
"loc": {
"start": {
"line": 238,
"column": 57
},
"end": {
"line": 238,
"column": 58
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6341,
"end": 6345,
"loc": {
"start": {
"line": 239,
"column": 12
},
"end": {
"line": 239,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6345,
"end": 6346,
"loc": {
"start": {
"line": 239,
"column": 16
},
"end": {
"line": 239,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 6346,
"end": 6350,
"loc": {
"start": {
"line": 239,
"column": 17
},
"end": {
"line": 239,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6350,
"end": 6351,
"loc": {
"start": {
"line": 239,
"column": 21
},
"end": {
"line": 239,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "initNewGame",
"start": 6351,
"end": 6362,
"loc": {
"start": {
"line": 239,
"column": 22
},
"end": {
"line": 239,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6362,
"end": 6363,
"loc": {
"start": {
"line": 239,
"column": 33
},
"end": {
"line": 239,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6363,
"end": 6364,
"loc": {
"start": {
"line": 239,
"column": 34
},
"end": {
"line": 239,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6364,
"end": 6365,
"loc": {
"start": {
"line": 239,
"column": 35
},
"end": {
"line": 239,
"column": 36
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6379,
"end": 6383,
"loc": {
"start": {
"line": 240,
"column": 12
},
"end": {
"line": 240,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6383,
"end": 6384,
"loc": {
"start": {
"line": 240,
"column": 16
},
"end": {
"line": 240,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage5FirstUpdate",
"start": 6384,
"end": 6401,
"loc": {
"start": {
"line": 240,
"column": 17
},
"end": {
"line": 240,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6401,
"end": 6402,
"loc": {
"start": {
"line": 240,
"column": 34
},
"end": {
"line": 240,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6402,
"end": 6403,
"loc": {
"start": {
"line": 240,
"column": 35
},
"end": {
"line": 240,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6403,
"end": 6404,
"loc": {
"start": {
"line": 240,
"column": 36
},
"end": {
"line": 240,
"column": 37
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6414,
"end": 6415,
"loc": {
"start": {
"line": 241,
"column": 8
},
"end": {
"line": 241,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6421,
"end": 6422,
"loc": {
"start": {
"line": 242,
"column": 4
},
"end": {
"line": 242,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Resumes an existing game\r\n ",
"start": 6430,
"end": 6475,
"loc": {
"start": {
"line": 244,
"column": 4
},
"end": {
"line": 246,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage4bResumeGame",
"start": 6481,
"end": 6498,
"loc": {
"start": {
"line": 247,
"column": 4
},
"end": {
"line": 247,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6498,
"end": 6499,
"loc": {
"start": {
"line": 247,
"column": 21
},
"end": {
"line": 247,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6499,
"end": 6500,
"loc": {
"start": {
"line": 247,
"column": 22
},
"end": {
"line": 247,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6501,
"end": 6502,
"loc": {
"start": {
"line": 247,
"column": 24
},
"end": {
"line": 247,
"column": 25
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 6512,
"end": 6514,
"loc": {
"start": {
"line": 248,
"column": 8
},
"end": {
"line": 248,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6515,
"end": 6516,
"loc": {
"start": {
"line": 248,
"column": 11
},
"end": {
"line": 248,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6516,
"end": 6520,
"loc": {
"start": {
"line": 248,
"column": 12
},
"end": {
"line": 248,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6520,
"end": 6521,
"loc": {
"start": {
"line": 248,
"column": 16
},
"end": {
"line": 248,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "switchStage",
"start": 6521,
"end": 6532,
"loc": {
"start": {
"line": 248,
"column": 17
},
"end": {
"line": 248,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6532,
"end": 6533,
"loc": {
"start": {
"line": 248,
"column": 28
},
"end": {
"line": 248,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 6533,
"end": 6539,
"loc": {
"start": {
"line": 248,
"column": 29
},
"end": {
"line": 248,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6539,
"end": 6540,
"loc": {
"start": {
"line": 248,
"column": 35
},
"end": {
"line": 248,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s4_B_resumeGame",
"start": 6540,
"end": 6555,
"loc": {
"start": {
"line": 248,
"column": 36
},
"end": {
"line": 248,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6555,
"end": 6556,
"loc": {
"start": {
"line": 248,
"column": 51
},
"end": {
"line": 248,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6556,
"end": 6557,
"loc": {
"start": {
"line": 248,
"column": 52
},
"end": {
"line": 248,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6558,
"end": 6559,
"loc": {
"start": {
"line": 248,
"column": 54
},
"end": {
"line": 248,
"column": 55
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 6573,
"end": 6575,
"loc": {
"start": {
"line": 249,
"column": 12
},
"end": {
"line": 249,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6576,
"end": 6577,
"loc": {
"start": {
"line": 249,
"column": 15
},
"end": {
"line": 249,
"column": 16
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6577,
"end": 6581,
"loc": {
"start": {
"line": 249,
"column": 16
},
"end": {
"line": 249,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6581,
"end": 6582,
"loc": {
"start": {
"line": 249,
"column": 20
},
"end": {
"line": 249,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 6582,
"end": 6586,
"loc": {
"start": {
"line": 249,
"column": 21
},
"end": {
"line": 249,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6586,
"end": 6587,
"loc": {
"start": {
"line": 249,
"column": 25
},
"end": {
"line": 249,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "initExistingGame",
"start": 6587,
"end": 6603,
"loc": {
"start": {
"line": 249,
"column": 26
},
"end": {
"line": 249,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6603,
"end": 6604,
"loc": {
"start": {
"line": 249,
"column": 42
},
"end": {
"line": 249,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6604,
"end": 6605,
"loc": {
"start": {
"line": 249,
"column": 43
},
"end": {
"line": 249,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6605,
"end": 6606,
"loc": {
"start": {
"line": 249,
"column": 44
},
"end": {
"line": 249,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isBad",
"start": 6606,
"end": 6611,
"loc": {
"start": {
"line": 249,
"column": 45
},
"end": {
"line": 249,
"column": 50
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6611,
"end": 6612,
"loc": {
"start": {
"line": 249,
"column": 50
},
"end": {
"line": 249,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6612,
"end": 6613,
"loc": {
"start": {
"line": 249,
"column": 51
},
"end": {
"line": 249,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6613,
"end": 6614,
"loc": {
"start": {
"line": 249,
"column": 52
},
"end": {
"line": 249,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6615,
"end": 6616,
"loc": {
"start": {
"line": 249,
"column": 54
},
"end": {
"line": 249,
"column": 55
}
}
},
{
"type": {
"label": "var",
"keyword": "var",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "var",
"start": 6634,
"end": 6637,
"loc": {
"start": {
"line": 250,
"column": 16
},
"end": {
"line": 250,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorJSON",
"start": 6638,
"end": 6647,
"loc": {
"start": {
"line": 250,
"column": 20
},
"end": {
"line": 250,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6648,
"end": 6649,
"loc": {
"start": {
"line": 250,
"column": 30
},
"end": {
"line": 250,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6650,
"end": 6654,
"loc": {
"start": {
"line": 250,
"column": 32
},
"end": {
"line": 250,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6654,
"end": 6655,
"loc": {
"start": {
"line": 250,
"column": 36
},
"end": {
"line": 250,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 6655,
"end": 6659,
"loc": {
"start": {
"line": 250,
"column": 37
},
"end": {
"line": 250,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6659,
"end": 6660,
"loc": {
"start": {
"line": 250,
"column": 41
},
"end": {
"line": 250,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "initExistingGame",
"start": 6660,
"end": 6676,
"loc": {
"start": {
"line": 250,
"column": 42
},
"end": {
"line": 250,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6676,
"end": 6677,
"loc": {
"start": {
"line": 250,
"column": 58
},
"end": {
"line": 250,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6677,
"end": 6678,
"loc": {
"start": {
"line": 250,
"column": 59
},
"end": {
"line": 250,
"column": 60
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6678,
"end": 6679,
"loc": {
"start": {
"line": 250,
"column": 60
},
"end": {
"line": 250,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "reason",
"start": 6679,
"end": 6685,
"loc": {
"start": {
"line": 250,
"column": 61
},
"end": {
"line": 250,
"column": 67
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6685,
"end": 6686,
"loc": {
"start": {
"line": 250,
"column": 67
},
"end": {
"line": 250,
"column": 68
}
}
},
{
"type": "CommentLine",
"value": " if (errorJSON.status) {",
"start": 6704,
"end": 6730,
"loc": {
"start": {
"line": 251,
"column": 16
},
"end": {
"line": 251,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " this.onInitializationFailure(\"Savegame is corrupt and can not be restored.\");",
"start": 6748,
"end": 6832,
"loc": {
"start": {
"line": 252,
"column": 16
},
"end": {
"line": 252,
"column": 100
}
}
},
{
"type": "CommentLine",
"value": " //TODO: load game without mod",
"start": 6850,
"end": 6886,
"loc": {
"start": {
"line": 253,
"column": 16
},
"end": {
"line": 253,
"column": 52
}
}
},
{
"type": "CommentLine",
"value": " // if (errorJSON.status === \"missing\")",
"start": 6904,
"end": 6949,
"loc": {
"start": {
"line": 254,
"column": 16
},
"end": {
"line": 254,
"column": 61
}
}
},
{
"type": "CommentLine",
"value": " // this.core.root.hud.parts.dialogs.showOptionChooser(",
"start": 6967,
"end": 7032,
"loc": {
"start": {
"line": 255,
"column": 16
},
"end": {
"line": 255,
"column": 81
}
}
},
{
"type": "CommentLine",
"value": " // \"Missing \" + errorJSON.type + \" with id \" + errorJSON.id, {",
"start": 7050,
"end": 7123,
"loc": {
"start": {
"line": 256,
"column": 16
},
"end": {
"line": 256,
"column": 89
}
}
},
{
"type": "CommentLine",
"value": " // options: [{ value: \"Test\", text: \"TEst\" }],",
"start": 7141,
"end": 7202,
"loc": {
"start": {
"line": 257,
"column": 16
},
"end": {
"line": 257,
"column": 77
}
}
},
{
"type": "CommentLine",
"value": " // }",
"start": 7220,
"end": 7235,
"loc": {
"start": {
"line": 258,
"column": 16
},
"end": {
"line": 258,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " // );",
"start": 7253,
"end": 7265,
"loc": {
"start": {
"line": 259,
"column": 16
},
"end": {
"line": 259,
"column": 28
}
}
},
{
"type": "CommentLine",
"value": " } else {",
"start": 7283,
"end": 7294,
"loc": {
"start": {
"line": 260,
"column": 16
},
"end": {
"line": 260,
"column": 27
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 7312,
"end": 7316,
"loc": {
"start": {
"line": 261,
"column": 16
},
"end": {
"line": 261,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7316,
"end": 7317,
"loc": {
"start": {
"line": 261,
"column": 20
},
"end": {
"line": 261,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onInitializationFailure",
"start": 7317,
"end": 7340,
"loc": {
"start": {
"line": 261,
"column": 21
},
"end": {
"line": 261,
"column": 44
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7340,
"end": 7341,
"loc": {
"start": {
"line": 261,
"column": 44
},
"end": {
"line": 261,
"column": 45
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Savegame is corrupt and can not be restored.",
"start": 7341,
"end": 7387,
"loc": {
"start": {
"line": 261,
"column": 45
},
"end": {
"line": 261,
"column": 91
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7387,
"end": 7388,
"loc": {
"start": {
"line": 261,
"column": 91
},
"end": {
"line": 261,
"column": 92
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7388,
"end": 7389,
"loc": {
"start": {
"line": 261,
"column": 92
},
"end": {
"line": 261,
"column": 93
}
}
},
{
"type": "CommentLine",
"value": " }",
"start": 7407,
"end": 7411,
"loc": {
"start": {
"line": 262,
"column": 16
},
"end": {
"line": 262,
"column": 20
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 7429,
"end": 7435,
"loc": {
"start": {
"line": 263,
"column": 16
},
"end": {
"line": 263,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7435,
"end": 7436,
"loc": {
"start": {
"line": 263,
"column": 22
},
"end": {
"line": 263,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7450,
"end": 7451,
"loc": {
"start": {
"line": 264,
"column": 12
},
"end": {
"line": 264,
"column": 13
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 7465,
"end": 7469,
"loc": {
"start": {
"line": 265,
"column": 12
},
"end": {
"line": 265,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7469,
"end": 7470,
"loc": {
"start": {
"line": 265,
"column": 16
},
"end": {
"line": 265,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "app",
"start": 7470,
"end": 7473,
"loc": {
"start": {
"line": 265,
"column": 17
},
"end": {
"line": 265,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7473,
"end": 7474,
"loc": {
"start": {
"line": 265,
"column": 20
},
"end": {
"line": 265,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gameAnalytics",
"start": 7474,
"end": 7487,
"loc": {
"start": {
"line": 265,
"column": 21
},
"end": {
"line": 265,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7487,
"end": 7488,
"loc": {
"start": {
"line": 265,
"column": 34
},
"end": {
"line": 265,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "handleGameResumed",
"start": 7488,
"end": 7505,
"loc": {
"start": {
"line": 265,
"column": 35
},
"end": {
"line": 265,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7505,
"end": 7506,
"loc": {
"start": {
"line": 265,
"column": 52
},
"end": {
"line": 265,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7506,
"end": 7507,
"loc": {
"start": {
"line": 265,
"column": 53
},
"end": {
"line": 265,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7507,
"end": 7508,
"loc": {
"start": {
"line": 265,
"column": 54
},
"end": {
"line": 265,
"column": 55
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 7522,
"end": 7526,
"loc": {
"start": {
"line": 266,
"column": 12
},
"end": {
"line": 266,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7526,
"end": 7527,
"loc": {
"start": {
"line": 266,
"column": 16
},
"end": {
"line": 266,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage5FirstUpdate",
"start": 7527,
"end": 7544,
"loc": {
"start": {
"line": 266,
"column": 17
},
"end": {
"line": 266,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7544,
"end": 7545,
"loc": {
"start": {
"line": 266,
"column": 34
},
"end": {
"line": 266,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7545,
"end": 7546,
"loc": {
"start": {
"line": 266,
"column": 35
},
"end": {
"line": 266,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7546,
"end": 7547,
"loc": {
"start": {
"line": 266,
"column": 36
},
"end": {
"line": 266,
"column": 37
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7557,
"end": 7558,
"loc": {
"start": {
"line": 267,
"column": 8
},
"end": {
"line": 267,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7564,
"end": 7565,
"loc": {
"start": {
"line": 268,
"column": 4
},
"end": {
"line": 268,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Performs the first game update on the game which initializes most caches\r\n ",
"start": 7573,
"end": 7666,
"loc": {
"start": {
"line": 270,
"column": 4
},
"end": {
"line": 272,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage5FirstUpdate",
"start": 7672,
"end": 7689,
"loc": {
"start": {
"line": 273,
"column": 4
},
"end": {
"line": 273,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7689,
"end": 7690,
"loc": {
"start": {
"line": 273,
"column": 21
},
"end": {
"line": 273,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7690,
"end": 7691,
"loc": {
"start": {
"line": 273,
"column": 22
},
"end": {
"line": 273,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7692,
"end": 7693,
"loc": {
"start": {
"line": 273,
"column": 24
},
"end": {
"line": 273,
"column": 25
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 7703,
"end": 7705,
"loc": {
"start": {
"line": 274,
"column": 8
},
"end": {
"line": 274,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7706,
"end": 7707,
"loc": {
"start": {
"line": 274,
"column": 11
},
"end": {
"line": 274,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 7707,
"end": 7711,
"loc": {
"start": {
"line": 274,
"column": 12
},
"end": {
"line": 274,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7711,
"end": 7712,
"loc": {
"start": {
"line": 274,
"column": 16
},
"end": {
"line": 274,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "switchStage",
"start": 7712,
"end": 7723,
"loc": {
"start": {
"line": 274,
"column": 17
},
"end": {
"line": 274,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7723,
"end": 7724,
"loc": {
"start": {
"line": 274,
"column": 28
},
"end": {
"line": 274,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 7724,
"end": 7730,
"loc": {
"start": {
"line": 274,
"column": 29
},
"end": {
"line": 274,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7730,
"end": 7731,
"loc": {
"start": {
"line": 274,
"column": 35
},
"end": {
"line": 274,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s5_firstUpdate",
"start": 7731,
"end": 7745,
"loc": {
"start": {
"line": 274,
"column": 36
},
"end": {
"line": 274,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7745,
"end": 7746,
"loc": {
"start": {
"line": 274,
"column": 50
},
"end": {
"line": 274,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7746,
"end": 7747,
"loc": {
"start": {
"line": 274,
"column": 51
},
"end": {
"line": 274,
"column": 52
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7748,
"end": 7749,
"loc": {
"start": {
"line": 274,
"column": 53
},
"end": {
"line": 274,
"column": 54
}
}
},
{
"type": "CommentLine",
"value": "Call mod for gameload",
"start": 7763,
"end": 7786,
"loc": {
"start": {
"line": 275,
"column": 12
},
"end": {
"line": 275,
"column": 35
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 7800,
"end": 7803,
"loc": {
"start": {
"line": 276,
"column": 12
},
"end": {
"line": 276,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7804,
"end": 7805,
"loc": {
"start": {
"line": 276,
"column": 16
},
"end": {
"line": 276,
"column": 17
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 7805,
"end": 7808,
"loc": {
"start": {
"line": 276,
"column": 17
},
"end": {
"line": 276,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 7809,
"end": 7810,
"loc": {
"start": {
"line": 276,
"column": 21
},
"end": {
"line": 276,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7811,
"end": 7812,
"loc": {
"start": {
"line": 276,
"column": 23
},
"end": {
"line": 276,
"column": 24
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 7813,
"end": 7814,
"loc": {
"start": {
"line": 276,
"column": 25
},
"end": {
"line": 276,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7814,
"end": 7815,
"loc": {
"start": {
"line": 276,
"column": 26
},
"end": {
"line": 276,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 7816,
"end": 7817,
"loc": {
"start": {
"line": 276,
"column": 28
},
"end": {
"line": 276,
"column": 29
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 7818,
"end": 7819,
"loc": {
"start": {
"line": 276,
"column": 30
},
"end": {
"line": 276,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapezAPI",
"start": 7820,
"end": 7829,
"loc": {
"start": {
"line": 276,
"column": 32
},
"end": {
"line": 276,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7829,
"end": 7830,
"loc": {
"start": {
"line": 276,
"column": 41
},
"end": {
"line": 276,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modOrder",
"start": 7830,
"end": 7838,
"loc": {
"start": {
"line": 276,
"column": 42
},
"end": {
"line": 276,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7838,
"end": 7839,
"loc": {
"start": {
"line": 276,
"column": 50
},
"end": {
"line": 276,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 7839,
"end": 7845,
"loc": {
"start": {
"line": 276,
"column": 51
},
"end": {
"line": 276,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7845,
"end": 7846,
"loc": {
"start": {
"line": 276,
"column": 57
},
"end": {
"line": 276,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 7847,
"end": 7848,
"loc": {
"start": {
"line": 276,
"column": 59
},
"end": {
"line": 276,
"column": 60
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 7848,
"end": 7850,
"loc": {
"start": {
"line": 276,
"column": 60
},
"end": {
"line": 276,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7850,
"end": 7851,
"loc": {
"start": {
"line": 276,
"column": 62
},
"end": {
"line": 276,
"column": 63
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7852,
"end": 7853,
"loc": {
"start": {
"line": 276,
"column": 64
},
"end": {
"line": 276,
"column": 65
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 7871,
"end": 7876,
"loc": {
"start": {
"line": 277,
"column": 16
},
"end": {
"line": 277,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modId",
"start": 7877,
"end": 7882,
"loc": {
"start": {
"line": 277,
"column": 22
},
"end": {
"line": 277,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7883,
"end": 7884,
"loc": {
"start": {
"line": 277,
"column": 28
},
"end": {
"line": 277,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapezAPI",
"start": 7885,
"end": 7894,
"loc": {
"start": {
"line": 277,
"column": 30
},
"end": {
"line": 277,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7894,
"end": 7895,
"loc": {
"start": {
"line": 277,
"column": 39
},
"end": {
"line": 277,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modOrder",
"start": 7895,
"end": 7903,
"loc": {
"start": {
"line": 277,
"column": 40
},
"end": {
"line": 277,
"column": 48
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7903,
"end": 7904,
"loc": {
"start": {
"line": 277,
"column": 48
},
"end": {
"line": 277,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 7904,
"end": 7905,
"loc": {
"start": {
"line": 277,
"column": 49
},
"end": {
"line": 277,
"column": 50
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7905,
"end": 7906,
"loc": {
"start": {
"line": 277,
"column": 50
},
"end": {
"line": 277,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7906,
"end": 7907,
"loc": {
"start": {
"line": 277,
"column": 51
},
"end": {
"line": 277,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapezAPI",
"start": 7925,
"end": 7934,
"loc": {
"start": {
"line": 278,
"column": 16
},
"end": {
"line": 278,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7934,
"end": 7935,
"loc": {
"start": {
"line": 278,
"column": 25
},
"end": {
"line": 278,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mods",
"start": 7935,
"end": 7939,
"loc": {
"start": {
"line": 278,
"column": 26
},
"end": {
"line": 278,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7939,
"end": 7940,
"loc": {
"start": {
"line": 278,
"column": 30
},
"end": {
"line": 278,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 7940,
"end": 7943,
"loc": {
"start": {
"line": 278,
"column": 31
},
"end": {
"line": 278,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7943,
"end": 7944,
"loc": {
"start": {
"line": 278,
"column": 34
},
"end": {
"line": 278,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "modId",
"start": 7944,
"end": 7949,
"loc": {
"start": {
"line": 278,
"column": 35
},
"end": {
"line": 278,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7949,
"end": 7950,
"loc": {
"start": {
"line": 278,
"column": 40
},
"end": {
"line": 278,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7950,
"end": 7951,
"loc": {
"start": {
"line": 278,
"column": 41
},
"end": {
"line": 278,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gameBeforeFirstUpdate",
"start": 7951,
"end": 7972,
"loc": {
"start": {
"line": 278,
"column": 42
},
"end": {
"line": 278,
"column": 63
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7972,
"end": 7973,
"loc": {
"start": {
"line": 278,
"column": 63
},
"end": {
"line": 278,
"column": 64
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 7973,
"end": 7977,
"loc": {
"start": {
"line": 278,
"column": 64
},
"end": {
"line": 278,
"column": 68
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7977,
"end": 7978,
"loc": {
"start": {
"line": 278,
"column": 68
},
"end": {
"line": 278,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 7978,
"end": 7982,
"loc": {
"start": {
"line": 278,
"column": 69
},
"end": {
"line": 278,
"column": 73
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7982,
"end": 7983,
"loc": {
"start": {
"line": 278,
"column": 73
},
"end": {
"line": 278,
"column": 74
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 7983,
"end": 7987,
"loc": {
"start": {
"line": 278,
"column": 74
},
"end": {
"line": 278,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7987,
"end": 7988,
"loc": {
"start": {
"line": 278,
"column": 78
},
"end": {
"line": 278,
"column": 79
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7988,
"end": 7989,
"loc": {
"start": {
"line": 278,
"column": 79
},
"end": {
"line": 278,
"column": 80
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8003,
"end": 8004,
"loc": {
"start": {
"line": 279,
"column": 12
},
"end": {
"line": 279,
"column": 13
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 8018,
"end": 8022,
"loc": {
"start": {
"line": 280,
"column": 12
},
"end": {
"line": 280,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8022,
"end": 8023,
"loc": {
"start": {
"line": 280,
"column": 16
},
"end": {
"line": 280,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 8023,
"end": 8027,
"loc": {
"start": {
"line": 280,
"column": 17
},
"end": {
"line": 280,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8027,
"end": 8028,
"loc": {
"start": {
"line": 280,
"column": 21
},
"end": {
"line": 280,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 8028,
"end": 8032,
"loc": {
"start": {
"line": 280,
"column": 22
},
"end": {
"line": 280,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8032,
"end": 8033,
"loc": {
"start": {
"line": 280,
"column": 26
},
"end": {
"line": 280,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logicInitialized",
"start": 8033,
"end": 8049,
"loc": {
"start": {
"line": 280,
"column": 27
},
"end": {
"line": 280,
"column": 43
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8050,
"end": 8051,
"loc": {
"start": {
"line": 280,
"column": 44
},
"end": {
"line": 280,
"column": 45
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 8052,
"end": 8056,
"loc": {
"start": {
"line": 280,
"column": 46
},
"end": {
"line": 280,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8056,
"end": 8057,
"loc": {
"start": {
"line": 280,
"column": 50
},
"end": {
"line": 280,
"column": 51
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 8071,
"end": 8075,
"loc": {
"start": {
"line": 281,
"column": 12
},
"end": {
"line": 281,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8075,
"end": 8076,
"loc": {
"start": {
"line": 281,
"column": 16
},
"end": {
"line": 281,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 8076,
"end": 8080,
"loc": {
"start": {
"line": 281,
"column": 17
},
"end": {
"line": 281,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8080,
"end": 8081,
"loc": {
"start": {
"line": 281,
"column": 21
},
"end": {
"line": 281,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "updateLogic",
"start": 8081,
"end": 8092,
"loc": {
"start": {
"line": 281,
"column": 22
},
"end": {
"line": 281,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8092,
"end": 8093,
"loc": {
"start": {
"line": 281,
"column": 33
},
"end": {
"line": 281,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8093,
"end": 8094,
"loc": {
"start": {
"line": 281,
"column": 34
},
"end": {
"line": 281,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8094,
"end": 8095,
"loc": {
"start": {
"line": 281,
"column": 35
},
"end": {
"line": 281,
"column": 36
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 8109,
"end": 8113,
"loc": {
"start": {
"line": 282,
"column": 12
},
"end": {
"line": 282,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8113,
"end": 8114,
"loc": {
"start": {
"line": 282,
"column": 16
},
"end": {
"line": 282,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage6PostLoadHook",
"start": 8114,
"end": 8132,
"loc": {
"start": {
"line": 282,
"column": 17
},
"end": {
"line": 282,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8132,
"end": 8133,
"loc": {
"start": {
"line": 282,
"column": 35
},
"end": {
"line": 282,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8133,
"end": 8134,
"loc": {
"start": {
"line": 282,
"column": 36
},
"end": {
"line": 282,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8134,
"end": 8135,
"loc": {
"start": {
"line": 282,
"column": 37
},
"end": {
"line": 282,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8145,
"end": 8146,
"loc": {
"start": {
"line": 283,
"column": 8
},
"end": {
"line": 283,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8152,
"end": 8153,
"loc": {
"start": {
"line": 284,
"column": 4
},
"end": {
"line": 284,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Call the post load hook, this means that we have loaded the game, and all systems\r\n * can operate and start to work now.\r\n ",
"start": 8161,
"end": 8306,
"loc": {
"start": {
"line": 286,
"column": 4
},
"end": {
"line": 289,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage6PostLoadHook",
"start": 8312,
"end": 8330,
"loc": {
"start": {
"line": 290,
"column": 4
},
"end": {
"line": 290,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8330,
"end": 8331,
"loc": {
"start": {
"line": 290,
"column": 22
},
"end": {
"line": 290,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8331,
"end": 8332,
"loc": {
"start": {
"line": 290,
"column": 23
},
"end": {
"line": 290,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8333,
"end": 8334,
"loc": {
"start": {
"line": 290,
"column": 25
},
"end": {
"line": 290,
"column": 26
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 8344,
"end": 8346,
"loc": {
"start": {
"line": 291,
"column": 8
},
"end": {
"line": 291,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8347,
"end": 8348,
"loc": {
"start": {
"line": 291,
"column": 11
},
"end": {
"line": 291,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 8348,
"end": 8352,
"loc": {
"start": {
"line": 291,
"column": 12
},
"end": {
"line": 291,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8352,
"end": 8353,
"loc": {
"start": {
"line": 291,
"column": 16
},
"end": {
"line": 291,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "switchStage",
"start": 8353,
"end": 8364,
"loc": {
"start": {
"line": 291,
"column": 17
},
"end": {
"line": 291,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8364,
"end": 8365,
"loc": {
"start": {
"line": 291,
"column": 28
},
"end": {
"line": 291,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 8365,
"end": 8371,
"loc": {
"start": {
"line": 291,
"column": 29
},
"end": {
"line": 291,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8371,
"end": 8372,
"loc": {
"start": {
"line": 291,
"column": 35
},
"end": {
"line": 291,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s6_postLoadHook",
"start": 8372,
"end": 8387,
"loc": {
"start": {
"line": 291,
"column": 36
},
"end": {
"line": 291,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8387,
"end": 8388,
"loc": {
"start": {
"line": 291,
"column": 51
},
"end": {
"line": 291,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8388,
"end": 8389,
"loc": {
"start": {
"line": 291,
"column": 52
},
"end": {
"line": 291,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8390,
"end": 8391,
"loc": {
"start": {
"line": 291,
"column": 54
},
"end": {
"line": 291,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 8405,
"end": 8411,
"loc": {
"start": {
"line": 292,
"column": 12
},
"end": {
"line": 292,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8411,
"end": 8412,
"loc": {
"start": {
"line": 292,
"column": 18
},
"end": {
"line": 292,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "log",
"start": 8412,
"end": 8415,
"loc": {
"start": {
"line": 292,
"column": 19
},
"end": {
"line": 292,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8415,
"end": 8416,
"loc": {
"start": {
"line": 292,
"column": 22
},
"end": {
"line": 292,
"column": 23
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Post load hook",
"start": 8416,
"end": 8432,
"loc": {
"start": {
"line": 292,
"column": 23
},
"end": {
"line": 292,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8432,
"end": 8433,
"loc": {
"start": {
"line": 292,
"column": 39
},
"end": {
"line": 292,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8433,
"end": 8434,
"loc": {
"start": {
"line": 292,
"column": 40
},
"end": {
"line": 292,
"column": 41
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 8448,
"end": 8452,
"loc": {
"start": {
"line": 293,
"column": 12
},
"end": {
"line": 293,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8452,
"end": 8453,
"loc": {
"start": {
"line": 293,
"column": 16
},
"end": {
"line": 293,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 8453,
"end": 8457,
"loc": {
"start": {
"line": 293,
"column": 17
},
"end": {
"line": 293,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8457,
"end": 8458,
"loc": {
"start": {
"line": 293,
"column": 21
},
"end": {
"line": 293,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "postLoadHook",
"start": 8458,
"end": 8470,
"loc": {
"start": {
"line": 293,
"column": 22
},
"end": {
"line": 293,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8470,
"end": 8471,
"loc": {
"start": {
"line": 293,
"column": 34
},
"end": {
"line": 293,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8471,
"end": 8472,
"loc": {
"start": {
"line": 293,
"column": 35
},
"end": {
"line": 293,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8472,
"end": 8473,
"loc": {
"start": {
"line": 293,
"column": 36
},
"end": {
"line": 293,
"column": 37
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 8487,
"end": 8491,
"loc": {
"start": {
"line": 294,
"column": 12
},
"end": {
"line": 294,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8491,
"end": 8492,
"loc": {
"start": {
"line": 294,
"column": 16
},
"end": {
"line": 294,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage7Warmup",
"start": 8492,
"end": 8504,
"loc": {
"start": {
"line": 294,
"column": 17
},
"end": {
"line": 294,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8504,
"end": 8505,
"loc": {
"start": {
"line": 294,
"column": 29
},
"end": {
"line": 294,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8505,
"end": 8506,
"loc": {
"start": {
"line": 294,
"column": 30
},
"end": {
"line": 294,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8506,
"end": 8507,
"loc": {
"start": {
"line": 294,
"column": 31
},
"end": {
"line": 294,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8517,
"end": 8518,
"loc": {
"start": {
"line": 295,
"column": 8
},
"end": {
"line": 295,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8524,
"end": 8525,
"loc": {
"start": {
"line": 296,
"column": 4
},
"end": {
"line": 296,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * This makes the game idle and draw for a while, because we run most code this way\r\n * the V8 engine can already start to optimize it. Also this makes sure the resources\r\n * are in the VRAM and we have a smooth experience once we start.\r\n ",
"start": 8533,
"end": 8796,
"loc": {
"start": {
"line": 298,
"column": 4
},
"end": {
"line": 302,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage7Warmup",
"start": 8802,
"end": 8814,
"loc": {
"start": {
"line": 303,
"column": 4
},
"end": {
"line": 303,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8814,
"end": 8815,
"loc": {
"start": {
"line": 303,
"column": 16
},
"end": {
"line": 303,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8815,
"end": 8816,
"loc": {
"start": {
"line": 303,
"column": 17
},
"end": {
"line": 303,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8817,
"end": 8818,
"loc": {
"start": {
"line": 303,
"column": 19
},
"end": {
"line": 303,
"column": 20
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 8828,
"end": 8830,
"loc": {
"start": {
"line": 304,
"column": 8
},
"end": {
"line": 304,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8831,
"end": 8832,
"loc": {
"start": {
"line": 304,
"column": 11
},
"end": {
"line": 304,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 8832,
"end": 8836,
"loc": {
"start": {
"line": 304,
"column": 12
},
"end": {
"line": 304,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8836,
"end": 8837,
"loc": {
"start": {
"line": 304,
"column": 16
},
"end": {
"line": 304,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "switchStage",
"start": 8837,
"end": 8848,
"loc": {
"start": {
"line": 304,
"column": 17
},
"end": {
"line": 304,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8848,
"end": 8849,
"loc": {
"start": {
"line": 304,
"column": 28
},
"end": {
"line": 304,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 8849,
"end": 8855,
"loc": {
"start": {
"line": 304,
"column": 29
},
"end": {
"line": 304,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8855,
"end": 8856,
"loc": {
"start": {
"line": 304,
"column": 35
},
"end": {
"line": 304,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s7_warmup",
"start": 8856,
"end": 8865,
"loc": {
"start": {
"line": 304,
"column": 36
},
"end": {
"line": 304,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8865,
"end": 8866,
"loc": {
"start": {
"line": 304,
"column": 45
},
"end": {
"line": 304,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8866,
"end": 8867,
"loc": {
"start": {
"line": 304,
"column": 46
},
"end": {
"line": 304,
"column": 47
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8868,
"end": 8869,
"loc": {
"start": {
"line": 304,
"column": 48
},
"end": {
"line": 304,
"column": 49
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 8883,
"end": 8885,
"loc": {
"start": {
"line": 305,
"column": 12
},
"end": {
"line": 305,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8886,
"end": 8887,
"loc": {
"start": {
"line": 305,
"column": 15
},
"end": {
"line": 305,
"column": 16
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 8887,
"end": 8891,
"loc": {
"start": {
"line": 305,
"column": 16
},
"end": {
"line": 305,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8891,
"end": 8892,
"loc": {
"start": {
"line": 305,
"column": 20
},
"end": {
"line": 305,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "creationPayload",
"start": 8892,
"end": 8907,
"loc": {
"start": {
"line": 305,
"column": 21
},
"end": {
"line": 305,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8907,
"end": 8908,
"loc": {
"start": {
"line": 305,
"column": 36
},
"end": {
"line": 305,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fastEnter",
"start": 8908,
"end": 8917,
"loc": {
"start": {
"line": 305,
"column": 37
},
"end": {
"line": 305,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8917,
"end": 8918,
"loc": {
"start": {
"line": 305,
"column": 46
},
"end": {
"line": 305,
"column": 47
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8919,
"end": 8920,
"loc": {
"start": {
"line": 305,
"column": 48
},
"end": {
"line": 305,
"column": 49
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 8938,
"end": 8942,
"loc": {
"start": {
"line": 306,
"column": 16
},
"end": {
"line": 306,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8942,
"end": 8943,
"loc": {
"start": {
"line": 306,
"column": 20
},
"end": {
"line": 306,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "warmupTimeSeconds",
"start": 8943,
"end": 8960,
"loc": {
"start": {
"line": 306,
"column": 21
},
"end": {
"line": 306,
"column": 38
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8961,
"end": 8962,
"loc": {
"start": {
"line": 306,
"column": 39
},
"end": {
"line": 306,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 8963,
"end": 8975,
"loc": {
"start": {
"line": 306,
"column": 41
},
"end": {
"line": 306,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8975,
"end": 8976,
"loc": {
"start": {
"line": 306,
"column": 53
},
"end": {
"line": 306,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "warmupTimeSecondsFast",
"start": 8976,
"end": 8997,
"loc": {
"start": {
"line": 306,
"column": 54
},
"end": {
"line": 306,
"column": 75
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8997,
"end": 8998,
"loc": {
"start": {
"line": 306,
"column": 75
},
"end": {
"line": 306,
"column": 76
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9012,
"end": 9013,
"loc": {
"start": {
"line": 307,
"column": 12
},
"end": {
"line": 307,
"column": 13
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 9014,
"end": 9018,
"loc": {
"start": {
"line": 307,
"column": 14
},
"end": {
"line": 307,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9019,
"end": 9020,
"loc": {
"start": {
"line": 307,
"column": 19
},
"end": {
"line": 307,
"column": 20
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 9038,
"end": 9042,
"loc": {
"start": {
"line": 308,
"column": 16
},
"end": {
"line": 308,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9042,
"end": 9043,
"loc": {
"start": {
"line": 308,
"column": 20
},
"end": {
"line": 308,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "warmupTimeSeconds",
"start": 9043,
"end": 9060,
"loc": {
"start": {
"line": 308,
"column": 21
},
"end": {
"line": 308,
"column": 38
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9061,
"end": 9062,
"loc": {
"start": {
"line": 308,
"column": 39
},
"end": {
"line": 308,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 9063,
"end": 9075,
"loc": {
"start": {
"line": 308,
"column": 41
},
"end": {
"line": 308,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9075,
"end": 9076,
"loc": {
"start": {
"line": 308,
"column": 53
},
"end": {
"line": 308,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "warmupTimeSecondsRegular",
"start": 9076,
"end": 9100,
"loc": {
"start": {
"line": 308,
"column": 54
},
"end": {
"line": 308,
"column": 78
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9100,
"end": 9101,
"loc": {
"start": {
"line": 308,
"column": 78
},
"end": {
"line": 308,
"column": 79
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9115,
"end": 9116,
"loc": {
"start": {
"line": 309,
"column": 12
},
"end": {
"line": 309,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9126,
"end": 9127,
"loc": {
"start": {
"line": 310,
"column": 8
},
"end": {
"line": 310,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9133,
"end": 9134,
"loc": {
"start": {
"line": 311,
"column": 4
},
"end": {
"line": 311,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * The final stage where this game is running and updating regulary.\r\n ",
"start": 9142,
"end": 9228,
"loc": {
"start": {
"line": 313,
"column": 4
},
"end": {
"line": 315,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage10GameRunning",
"start": 9234,
"end": 9252,
"loc": {
"start": {
"line": 316,
"column": 4
},
"end": {
"line": 316,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9252,
"end": 9253,
"loc": {
"start": {
"line": 316,
"column": 22
},
"end": {
"line": 316,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9253,
"end": 9254,
"loc": {
"start": {
"line": 316,
"column": 23
},
"end": {
"line": 316,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9255,
"end": 9256,
"loc": {
"start": {
"line": 316,
"column": 25
},
"end": {
"line": 316,
"column": 26
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 9266,
"end": 9268,
"loc": {
"start": {
"line": 317,
"column": 8
},
"end": {
"line": 317,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9269,
"end": 9270,
"loc": {
"start": {
"line": 317,
"column": 11
},
"end": {
"line": 317,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 9270,
"end": 9274,
"loc": {
"start": {
"line": 317,
"column": 12
},
"end": {
"line": 317,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9274,
"end": 9275,
"loc": {
"start": {
"line": 317,
"column": 16
},
"end": {
"line": 317,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "switchStage",
"start": 9275,
"end": 9286,
"loc": {
"start": {
"line": 317,
"column": 17
},
"end": {
"line": 317,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9286,
"end": 9287,
"loc": {
"start": {
"line": 317,
"column": 28
},
"end": {
"line": 317,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 9287,
"end": 9293,
"loc": {
"start": {
"line": 317,
"column": 29
},
"end": {
"line": 317,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9293,
"end": 9294,
"loc": {
"start": {
"line": 317,
"column": 35
},
"end": {
"line": 317,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s10_gameRunning",
"start": 9294,
"end": 9309,
"loc": {
"start": {
"line": 317,
"column": 36
},
"end": {
"line": 317,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9309,
"end": 9310,
"loc": {
"start": {
"line": 317,
"column": 51
},
"end": {
"line": 317,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9310,
"end": 9311,
"loc": {
"start": {
"line": 317,
"column": 52
},
"end": {
"line": 317,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9312,
"end": 9313,
"loc": {
"start": {
"line": 317,
"column": 54
},
"end": {
"line": 317,
"column": 55
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 9327,
"end": 9331,
"loc": {
"start": {
"line": 318,
"column": 12
},
"end": {
"line": 318,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9331,
"end": 9332,
"loc": {
"start": {
"line": 318,
"column": 16
},
"end": {
"line": 318,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 9332,
"end": 9336,
"loc": {
"start": {
"line": 318,
"column": 17
},
"end": {
"line": 318,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9336,
"end": 9337,
"loc": {
"start": {
"line": 318,
"column": 21
},
"end": {
"line": 318,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 9337,
"end": 9341,
"loc": {
"start": {
"line": 318,
"column": 22
},
"end": {
"line": 318,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9341,
"end": 9342,
"loc": {
"start": {
"line": 318,
"column": 26
},
"end": {
"line": 318,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 9342,
"end": 9349,
"loc": {
"start": {
"line": 318,
"column": 27
},
"end": {
"line": 318,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9349,
"end": 9350,
"loc": {
"start": {
"line": 318,
"column": 34
},
"end": {
"line": 318,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readyToRender",
"start": 9350,
"end": 9363,
"loc": {
"start": {
"line": 318,
"column": 35
},
"end": {
"line": 318,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9363,
"end": 9364,
"loc": {
"start": {
"line": 318,
"column": 48
},
"end": {
"line": 318,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dispatch",
"start": 9364,
"end": 9372,
"loc": {
"start": {
"line": 318,
"column": 49
},
"end": {
"line": 318,
"column": 57
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9372,
"end": 9373,
"loc": {
"start": {
"line": 318,
"column": 57
},
"end": {
"line": 318,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9373,
"end": 9374,
"loc": {
"start": {
"line": 318,
"column": 58
},
"end": {
"line": 318,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9374,
"end": 9375,
"loc": {
"start": {
"line": 318,
"column": 59
},
"end": {
"line": 318,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logSection",
"start": 9391,
"end": 9401,
"loc": {
"start": {
"line": 320,
"column": 12
},
"end": {
"line": 320,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9401,
"end": 9402,
"loc": {
"start": {
"line": 320,
"column": 22
},
"end": {
"line": 320,
"column": 23
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "GAME STARTED",
"start": 9402,
"end": 9416,
"loc": {
"start": {
"line": 320,
"column": 23
},
"end": {
"line": 320,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9416,
"end": 9417,
"loc": {
"start": {
"line": 320,
"column": 37
},
"end": {
"line": 320,
"column": 38
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "#26a69a",
"start": 9418,
"end": 9427,
"loc": {
"start": {
"line": 320,
"column": 39
},
"end": {
"line": 320,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9427,
"end": 9428,
"loc": {
"start": {
"line": 320,
"column": 48
},
"end": {
"line": 320,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9428,
"end": 9429,
"loc": {
"start": {
"line": 320,
"column": 49
},
"end": {
"line": 320,
"column": 50
}
}
},
{
"type": "CommentLine",
"value": " Initial resize, might have changed during loading (this is possible)",
"start": 9445,
"end": 9516,
"loc": {
"start": {
"line": 322,
"column": 12
},
"end": {
"line": 322,
"column": 83
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 9530,
"end": 9534,
"loc": {
"start": {
"line": 323,
"column": 12
},
"end": {
"line": 323,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9534,
"end": 9535,
"loc": {
"start": {
"line": 323,
"column": 16
},
"end": {
"line": 323,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 9535,
"end": 9539,
"loc": {
"start": {
"line": 323,
"column": 17
},
"end": {
"line": 323,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9539,
"end": 9540,
"loc": {
"start": {
"line": 323,
"column": 21
},
"end": {
"line": 323,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resize",
"start": 9540,
"end": 9546,
"loc": {
"start": {
"line": 323,
"column": 22
},
"end": {
"line": 323,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9546,
"end": 9547,
"loc": {
"start": {
"line": 323,
"column": 28
},
"end": {
"line": 323,
"column": 29
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 9547,
"end": 9551,
"loc": {
"start": {
"line": 323,
"column": 29
},
"end": {
"line": 323,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9551,
"end": 9552,
"loc": {
"start": {
"line": 323,
"column": 33
},
"end": {
"line": 323,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "app",
"start": 9552,
"end": 9555,
"loc": {
"start": {
"line": 323,
"column": 34
},
"end": {
"line": 323,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9555,
"end": 9556,
"loc": {
"start": {
"line": 323,
"column": 37
},
"end": {
"line": 323,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "screenWidth",
"start": 9556,
"end": 9567,
"loc": {
"start": {
"line": 323,
"column": 38
},
"end": {
"line": 323,
"column": 49
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9567,
"end": 9568,
"loc": {
"start": {
"line": 323,
"column": 49
},
"end": {
"line": 323,
"column": 50
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 9569,
"end": 9573,
"loc": {
"start": {
"line": 323,
"column": 51
},
"end": {
"line": 323,
"column": 55
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9573,
"end": 9574,
"loc": {
"start": {
"line": 323,
"column": 55
},
"end": {
"line": 323,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "app",
"start": 9574,
"end": 9577,
"loc": {
"start": {
"line": 323,
"column": 56
},
"end": {
"line": 323,
"column": 59
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9577,
"end": 9578,
"loc": {
"start": {
"line": 323,
"column": 59
},
"end": {
"line": 323,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "screenHeight",
"start": 9578,
"end": 9590,
"loc": {
"start": {
"line": 323,
"column": 60
},
"end": {
"line": 323,
"column": 72
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9590,
"end": 9591,
"loc": {
"start": {
"line": 323,
"column": 72
},
"end": {
"line": 323,
"column": 73
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9591,
"end": 9592,
"loc": {
"start": {
"line": 323,
"column": 73
},
"end": {
"line": 323,
"column": 74
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9602,
"end": 9603,
"loc": {
"start": {
"line": 324,
"column": 8
},
"end": {
"line": 324,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9609,
"end": 9610,
"loc": {
"start": {
"line": 325,
"column": 4
},
"end": {
"line": 325,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * This stage destroys the whole game, used to cleanup\r\n ",
"start": 9618,
"end": 9690,
"loc": {
"start": {
"line": 327,
"column": 4
},
"end": {
"line": 329,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stageDestroyed",
"start": 9696,
"end": 9710,
"loc": {
"start": {
"line": 330,
"column": 4
},
"end": {
"line": 330,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9710,
"end": 9711,
"loc": {
"start": {
"line": 330,
"column": 18
},
"end": {
"line": 330,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9711,
"end": 9712,
"loc": {
"start": {
"line": 330,
"column": 19
},
"end": {
"line": 330,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9713,
"end": 9714,
"loc": {
"start": {
"line": 330,
"column": 21
},
"end": {
"line": 330,
"column": 22
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 9724,
"end": 9726,
"loc": {
"start": {
"line": 331,
"column": 8
},
"end": {
"line": 331,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9727,
"end": 9728,
"loc": {
"start": {
"line": 331,
"column": 11
},
"end": {
"line": 331,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 9728,
"end": 9732,
"loc": {
"start": {
"line": 331,
"column": 12
},
"end": {
"line": 331,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9732,
"end": 9733,
"loc": {
"start": {
"line": 331,
"column": 16
},
"end": {
"line": 331,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "switchStage",
"start": 9733,
"end": 9744,
"loc": {
"start": {
"line": 331,
"column": 17
},
"end": {
"line": 331,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9744,
"end": 9745,
"loc": {
"start": {
"line": 331,
"column": 28
},
"end": {
"line": 331,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 9745,
"end": 9751,
"loc": {
"start": {
"line": 331,
"column": 29
},
"end": {
"line": 331,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9751,
"end": 9752,
"loc": {
"start": {
"line": 331,
"column": 35
},
"end": {
"line": 331,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destroyed",
"start": 9752,
"end": 9761,
"loc": {
"start": {
"line": 331,
"column": 36
},
"end": {
"line": 331,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9761,
"end": 9762,
"loc": {
"start": {
"line": 331,
"column": 45
},
"end": {
"line": 331,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9762,
"end": 9763,
"loc": {
"start": {
"line": 331,
"column": 46
},
"end": {
"line": 331,
"column": 47
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9764,
"end": 9765,
"loc": {
"start": {
"line": 331,
"column": 48
},
"end": {
"line": 331,
"column": 49
}
}
},
{
"type": "CommentLine",
"value": " Cleanup all api calls",
"start": 9779,
"end": 9803,
"loc": {
"start": {
"line": 332,
"column": 12
},
"end": {
"line": 332,
"column": 36
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 9817,
"end": 9821,
"loc": {
"start": {
"line": 333,
"column": 12
},
"end": {
"line": 333,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9821,
"end": 9822,
"loc": {
"start": {
"line": 333,
"column": 16
},
"end": {
"line": 333,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cancelAllAsyncOperations",
"start": 9822,
"end": 9846,
"loc": {
"start": {
"line": 333,
"column": 17
},
"end": {
"line": 333,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9846,
"end": 9847,
"loc": {
"start": {
"line": 333,
"column": 41
},
"end": {
"line": 333,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9847,
"end": 9848,
"loc": {
"start": {
"line": 333,
"column": 42
},
"end": {
"line": 333,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9848,
"end": 9849,
"loc": {
"start": {
"line": 333,
"column": 43
},
"end": {
"line": 333,
"column": 44
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 9865,
"end": 9867,
"loc": {
"start": {
"line": 335,
"column": 12
},
"end": {
"line": 335,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9868,
"end": 9869,
"loc": {
"start": {
"line": 335,
"column": 15
},
"end": {
"line": 335,
"column": 16
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 9869,
"end": 9873,
"loc": {
"start": {
"line": 335,
"column": 16
},
"end": {
"line": 335,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9873,
"end": 9874,
"loc": {
"start": {
"line": 335,
"column": 20
},
"end": {
"line": 335,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "syncer",
"start": 9874,
"end": 9880,
"loc": {
"start": {
"line": 335,
"column": 21
},
"end": {
"line": 335,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9880,
"end": 9881,
"loc": {
"start": {
"line": 335,
"column": 27
},
"end": {
"line": 335,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9882,
"end": 9883,
"loc": {
"start": {
"line": 335,
"column": 29
},
"end": {
"line": 335,
"column": 30
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 9901,
"end": 9905,
"loc": {
"start": {
"line": 336,
"column": 16
},
"end": {
"line": 336,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9905,
"end": 9906,
"loc": {
"start": {
"line": 336,
"column": 20
},
"end": {
"line": 336,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "syncer",
"start": 9906,
"end": 9912,
"loc": {
"start": {
"line": 336,
"column": 21
},
"end": {
"line": 336,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9912,
"end": 9913,
"loc": {
"start": {
"line": 336,
"column": 27
},
"end": {
"line": 336,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cancelSync",
"start": 9913,
"end": 9923,
"loc": {
"start": {
"line": 336,
"column": 28
},
"end": {
"line": 336,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9923,
"end": 9924,
"loc": {
"start": {
"line": 336,
"column": 38
},
"end": {
"line": 336,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9924,
"end": 9925,
"loc": {
"start": {
"line": 336,
"column": 39
},
"end": {
"line": 336,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9925,
"end": 9926,
"loc": {
"start": {
"line": 336,
"column": 40
},
"end": {
"line": 336,
"column": 41
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 9944,
"end": 9948,
"loc": {
"start": {
"line": 337,
"column": 16
},
"end": {
"line": 337,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9948,
"end": 9949,
"loc": {
"start": {
"line": 337,
"column": 20
},
"end": {
"line": 337,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "syncer",
"start": 9949,
"end": 9955,
"loc": {
"start": {
"line": 337,
"column": 21
},
"end": {
"line": 337,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9956,
"end": 9957,
"loc": {
"start": {
"line": 337,
"column": 28
},
"end": {
"line": 337,
"column": 29
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 9958,
"end": 9962,
"loc": {
"start": {
"line": 337,
"column": 30
},
"end": {
"line": 337,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9962,
"end": 9963,
"loc": {
"start": {
"line": 337,
"column": 34
},
"end": {
"line": 337,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9977,
"end": 9978,
"loc": {
"start": {
"line": 338,
"column": 12
},
"end": {
"line": 338,
"column": 13
}
}
},
{
"type": "CommentLine",
"value": " Cleanup core",
"start": 9994,
"end": 10009,
"loc": {
"start": {
"line": 340,
"column": 12
},
"end": {
"line": 340,
"column": 27
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 10023,
"end": 10025,
"loc": {
"start": {
"line": 341,
"column": 12
},
"end": {
"line": 341,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10026,
"end": 10027,
"loc": {
"start": {
"line": 341,
"column": 15
},
"end": {
"line": 341,
"column": 16
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10027,
"end": 10031,
"loc": {
"start": {
"line": 341,
"column": 16
},
"end": {
"line": 341,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10031,
"end": 10032,
"loc": {
"start": {
"line": 341,
"column": 20
},
"end": {
"line": 341,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 10032,
"end": 10036,
"loc": {
"start": {
"line": 341,
"column": 21
},
"end": {
"line": 341,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10036,
"end": 10037,
"loc": {
"start": {
"line": 341,
"column": 25
},
"end": {
"line": 341,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10038,
"end": 10039,
"loc": {
"start": {
"line": 341,
"column": 27
},
"end": {
"line": 341,
"column": 28
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10057,
"end": 10061,
"loc": {
"start": {
"line": 342,
"column": 16
},
"end": {
"line": 342,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10061,
"end": 10062,
"loc": {
"start": {
"line": 342,
"column": 20
},
"end": {
"line": 342,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 10062,
"end": 10066,
"loc": {
"start": {
"line": 342,
"column": 21
},
"end": {
"line": 342,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10066,
"end": 10067,
"loc": {
"start": {
"line": 342,
"column": 25
},
"end": {
"line": 342,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destruct",
"start": 10067,
"end": 10075,
"loc": {
"start": {
"line": 342,
"column": 26
},
"end": {
"line": 342,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10075,
"end": 10076,
"loc": {
"start": {
"line": 342,
"column": 34
},
"end": {
"line": 342,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10076,
"end": 10077,
"loc": {
"start": {
"line": 342,
"column": 35
},
"end": {
"line": 342,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10077,
"end": 10078,
"loc": {
"start": {
"line": 342,
"column": 36
},
"end": {
"line": 342,
"column": 37
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10096,
"end": 10100,
"loc": {
"start": {
"line": 343,
"column": 16
},
"end": {
"line": 343,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10100,
"end": 10101,
"loc": {
"start": {
"line": 343,
"column": 20
},
"end": {
"line": 343,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 10101,
"end": 10105,
"loc": {
"start": {
"line": 343,
"column": 21
},
"end": {
"line": 343,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10106,
"end": 10107,
"loc": {
"start": {
"line": 343,
"column": 26
},
"end": {
"line": 343,
"column": 27
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 10108,
"end": 10112,
"loc": {
"start": {
"line": 343,
"column": 28
},
"end": {
"line": 343,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10112,
"end": 10113,
"loc": {
"start": {
"line": 343,
"column": 32
},
"end": {
"line": 343,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10127,
"end": 10128,
"loc": {
"start": {
"line": 344,
"column": 12
},
"end": {
"line": 344,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10138,
"end": 10139,
"loc": {
"start": {
"line": 345,
"column": 8
},
"end": {
"line": 345,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10145,
"end": 10146,
"loc": {
"start": {
"line": 346,
"column": 4
},
"end": {
"line": 346,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * When leaving the game\r\n ",
"start": 10154,
"end": 10196,
"loc": {
"start": {
"line": 348,
"column": 4
},
"end": {
"line": 350,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stageLeavingGame",
"start": 10202,
"end": 10218,
"loc": {
"start": {
"line": 351,
"column": 4
},
"end": {
"line": 351,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10218,
"end": 10219,
"loc": {
"start": {
"line": 351,
"column": 20
},
"end": {
"line": 351,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10219,
"end": 10220,
"loc": {
"start": {
"line": 351,
"column": 21
},
"end": {
"line": 351,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10221,
"end": 10222,
"loc": {
"start": {
"line": 351,
"column": 23
},
"end": {
"line": 351,
"column": 24
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 10232,
"end": 10234,
"loc": {
"start": {
"line": 352,
"column": 8
},
"end": {
"line": 352,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10235,
"end": 10236,
"loc": {
"start": {
"line": 352,
"column": 11
},
"end": {
"line": 352,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10236,
"end": 10240,
"loc": {
"start": {
"line": 352,
"column": 12
},
"end": {
"line": 352,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10240,
"end": 10241,
"loc": {
"start": {
"line": 352,
"column": 16
},
"end": {
"line": 352,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "switchStage",
"start": 10241,
"end": 10252,
"loc": {
"start": {
"line": 352,
"column": 17
},
"end": {
"line": 352,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10252,
"end": 10253,
"loc": {
"start": {
"line": 352,
"column": 28
},
"end": {
"line": 352,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 10253,
"end": 10259,
"loc": {
"start": {
"line": 352,
"column": 29
},
"end": {
"line": 352,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10259,
"end": 10260,
"loc": {
"start": {
"line": 352,
"column": 35
},
"end": {
"line": 352,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "leaving",
"start": 10260,
"end": 10267,
"loc": {
"start": {
"line": 352,
"column": 36
},
"end": {
"line": 352,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10267,
"end": 10268,
"loc": {
"start": {
"line": 352,
"column": 43
},
"end": {
"line": 352,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10268,
"end": 10269,
"loc": {
"start": {
"line": 352,
"column": 44
},
"end": {
"line": 352,
"column": 45
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10270,
"end": 10271,
"loc": {
"start": {
"line": 352,
"column": 46
},
"end": {
"line": 352,
"column": 47
}
}
},
{
"type": "CommentLine",
"value": " ...",
"start": 10285,
"end": 10291,
"loc": {
"start": {
"line": 353,
"column": 12
},
"end": {
"line": 353,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10301,
"end": 10302,
"loc": {
"start": {
"line": 354,
"column": 8
},
"end": {
"line": 354,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10308,
"end": 10309,
"loc": {
"start": {
"line": 355,
"column": 4
},
"end": {
"line": 355,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " END STAGES",
"start": 10317,
"end": 10330,
"loc": {
"start": {
"line": 357,
"column": 4
},
"end": {
"line": 357,
"column": 17
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Filters the input (keybindings)\r\n ",
"start": 10338,
"end": 10390,
"loc": {
"start": {
"line": 359,
"column": 4
},
"end": {
"line": 361,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filterInput",
"start": 10396,
"end": 10407,
"loc": {
"start": {
"line": 362,
"column": 4
},
"end": {
"line": 362,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10407,
"end": 10408,
"loc": {
"start": {
"line": 362,
"column": 15
},
"end": {
"line": 362,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10408,
"end": 10409,
"loc": {
"start": {
"line": 362,
"column": 16
},
"end": {
"line": 362,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10410,
"end": 10411,
"loc": {
"start": {
"line": 362,
"column": 18
},
"end": {
"line": 362,
"column": 19
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 10421,
"end": 10427,
"loc": {
"start": {
"line": 363,
"column": 8
},
"end": {
"line": 363,
"column": 14
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10428,
"end": 10432,
"loc": {
"start": {
"line": 363,
"column": 15
},
"end": {
"line": 363,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10432,
"end": 10433,
"loc": {
"start": {
"line": 363,
"column": 19
},
"end": {
"line": 363,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage",
"start": 10433,
"end": 10438,
"loc": {
"start": {
"line": 363,
"column": 20
},
"end": {
"line": 363,
"column": 25
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 10439,
"end": 10442,
"loc": {
"start": {
"line": 363,
"column": 26
},
"end": {
"line": 363,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 10443,
"end": 10449,
"loc": {
"start": {
"line": 363,
"column": 30
},
"end": {
"line": 363,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10449,
"end": 10450,
"loc": {
"start": {
"line": 363,
"column": 36
},
"end": {
"line": 363,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s10_gameRunning",
"start": 10450,
"end": 10465,
"loc": {
"start": {
"line": 363,
"column": 37
},
"end": {
"line": 363,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10465,
"end": 10466,
"loc": {
"start": {
"line": 363,
"column": 52
},
"end": {
"line": 363,
"column": 53
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10472,
"end": 10473,
"loc": {
"start": {
"line": 364,
"column": 4
},
"end": {
"line": 364,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameCreationPayload} payload\r\n ",
"start": 10481,
"end": 10538,
"loc": {
"start": {
"line": 366,
"column": 4
},
"end": {
"line": 368,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onEnter",
"start": 10544,
"end": 10551,
"loc": {
"start": {
"line": 369,
"column": 4
},
"end": {
"line": 369,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10551,
"end": 10552,
"loc": {
"start": {
"line": 369,
"column": 11
},
"end": {
"line": 369,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "payload",
"start": 10552,
"end": 10559,
"loc": {
"start": {
"line": 369,
"column": 12
},
"end": {
"line": 369,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10559,
"end": 10560,
"loc": {
"start": {
"line": 369,
"column": 19
},
"end": {
"line": 369,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10561,
"end": 10562,
"loc": {
"start": {
"line": 369,
"column": 21
},
"end": {
"line": 369,
"column": 22
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10572,
"end": 10576,
"loc": {
"start": {
"line": 370,
"column": 8
},
"end": {
"line": 370,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10576,
"end": 10577,
"loc": {
"start": {
"line": 370,
"column": 12
},
"end": {
"line": 370,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "app",
"start": 10577,
"end": 10580,
"loc": {
"start": {
"line": 370,
"column": 13
},
"end": {
"line": 370,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10580,
"end": 10581,
"loc": {
"start": {
"line": 370,
"column": 16
},
"end": {
"line": 370,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "inputMgr",
"start": 10581,
"end": 10589,
"loc": {
"start": {
"line": 370,
"column": 17
},
"end": {
"line": 370,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10589,
"end": 10590,
"loc": {
"start": {
"line": 370,
"column": 25
},
"end": {
"line": 370,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "installFilter",
"start": 10590,
"end": 10603,
"loc": {
"start": {
"line": 370,
"column": 26
},
"end": {
"line": 370,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10603,
"end": 10604,
"loc": {
"start": {
"line": 370,
"column": 39
},
"end": {
"line": 370,
"column": 40
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10604,
"end": 10608,
"loc": {
"start": {
"line": 370,
"column": 40
},
"end": {
"line": 370,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10608,
"end": 10609,
"loc": {
"start": {
"line": 370,
"column": 44
},
"end": {
"line": 370,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "boundInputFilter",
"start": 10609,
"end": 10625,
"loc": {
"start": {
"line": 370,
"column": 45
},
"end": {
"line": 370,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10625,
"end": 10626,
"loc": {
"start": {
"line": 370,
"column": 61
},
"end": {
"line": 370,
"column": 62
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10626,
"end": 10627,
"loc": {
"start": {
"line": 370,
"column": 62
},
"end": {
"line": 370,
"column": 63
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10639,
"end": 10643,
"loc": {
"start": {
"line": 372,
"column": 8
},
"end": {
"line": 372,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10643,
"end": 10644,
"loc": {
"start": {
"line": 372,
"column": 12
},
"end": {
"line": 372,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "creationPayload",
"start": 10644,
"end": 10659,
"loc": {
"start": {
"line": 372,
"column": 13
},
"end": {
"line": 372,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10660,
"end": 10661,
"loc": {
"start": {
"line": 372,
"column": 29
},
"end": {
"line": 372,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "payload",
"start": 10662,
"end": 10669,
"loc": {
"start": {
"line": 372,
"column": 31
},
"end": {
"line": 372,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10669,
"end": 10670,
"loc": {
"start": {
"line": 372,
"column": 38
},
"end": {
"line": 372,
"column": 39
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10680,
"end": 10684,
"loc": {
"start": {
"line": 373,
"column": 8
},
"end": {
"line": 373,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10684,
"end": 10685,
"loc": {
"start": {
"line": 373,
"column": 12
},
"end": {
"line": 373,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 10685,
"end": 10693,
"loc": {
"start": {
"line": 373,
"column": 13
},
"end": {
"line": 373,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10694,
"end": 10695,
"loc": {
"start": {
"line": 373,
"column": 22
},
"end": {
"line": 373,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "payload",
"start": 10696,
"end": 10703,
"loc": {
"start": {
"line": 373,
"column": 24
},
"end": {
"line": 373,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10703,
"end": 10704,
"loc": {
"start": {
"line": 373,
"column": 31
},
"end": {
"line": 373,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 10704,
"end": 10712,
"loc": {
"start": {
"line": 373,
"column": 32
},
"end": {
"line": 373,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10712,
"end": 10713,
"loc": {
"start": {
"line": 373,
"column": 40
},
"end": {
"line": 373,
"column": 41
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10725,
"end": 10729,
"loc": {
"start": {
"line": 375,
"column": 8
},
"end": {
"line": 375,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10729,
"end": 10730,
"loc": {
"start": {
"line": 375,
"column": 12
},
"end": {
"line": 375,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "loadingOverlay",
"start": 10730,
"end": 10744,
"loc": {
"start": {
"line": 375,
"column": 13
},
"end": {
"line": 375,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10745,
"end": 10746,
"loc": {
"start": {
"line": 375,
"column": 28
},
"end": {
"line": 375,
"column": 29
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 10747,
"end": 10750,
"loc": {
"start": {
"line": 375,
"column": 30
},
"end": {
"line": 375,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GameLoadingOverlay",
"start": 10751,
"end": 10769,
"loc": {
"start": {
"line": 375,
"column": 34
},
"end": {
"line": 375,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10769,
"end": 10770,
"loc": {
"start": {
"line": 375,
"column": 52
},
"end": {
"line": 375,
"column": 53
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10770,
"end": 10774,
"loc": {
"start": {
"line": 375,
"column": 53
},
"end": {
"line": 375,
"column": 57
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10774,
"end": 10775,
"loc": {
"start": {
"line": 375,
"column": 57
},
"end": {
"line": 375,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "app",
"start": 10775,
"end": 10778,
"loc": {
"start": {
"line": 375,
"column": 58
},
"end": {
"line": 375,
"column": 61
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10778,
"end": 10779,
"loc": {
"start": {
"line": 375,
"column": 61
},
"end": {
"line": 375,
"column": 62
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10780,
"end": 10784,
"loc": {
"start": {
"line": 375,
"column": 63
},
"end": {
"line": 375,
"column": 67
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10784,
"end": 10785,
"loc": {
"start": {
"line": 375,
"column": 67
},
"end": {
"line": 375,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getDivElement",
"start": 10785,
"end": 10798,
"loc": {
"start": {
"line": 375,
"column": 68
},
"end": {
"line": 375,
"column": 81
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10798,
"end": 10799,
"loc": {
"start": {
"line": 375,
"column": 81
},
"end": {
"line": 375,
"column": 82
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10799,
"end": 10800,
"loc": {
"start": {
"line": 375,
"column": 82
},
"end": {
"line": 375,
"column": 83
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10800,
"end": 10801,
"loc": {
"start": {
"line": 375,
"column": 83
},
"end": {
"line": 375,
"column": 84
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10801,
"end": 10802,
"loc": {
"start": {
"line": 375,
"column": 84
},
"end": {
"line": 375,
"column": 85
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10812,
"end": 10816,
"loc": {
"start": {
"line": 376,
"column": 8
},
"end": {
"line": 376,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10816,
"end": 10817,
"loc": {
"start": {
"line": 376,
"column": 12
},
"end": {
"line": 376,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "loadingOverlay",
"start": 10817,
"end": 10831,
"loc": {
"start": {
"line": 376,
"column": 13
},
"end": {
"line": 376,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10831,
"end": 10832,
"loc": {
"start": {
"line": 376,
"column": 27
},
"end": {
"line": 376,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "showBasic",
"start": 10832,
"end": 10841,
"loc": {
"start": {
"line": 376,
"column": 28
},
"end": {
"line": 376,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10841,
"end": 10842,
"loc": {
"start": {
"line": 376,
"column": 37
},
"end": {
"line": 376,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10842,
"end": 10843,
"loc": {
"start": {
"line": 376,
"column": 38
},
"end": {
"line": 376,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10843,
"end": 10844,
"loc": {
"start": {
"line": 376,
"column": 39
},
"end": {
"line": 376,
"column": 40
}
}
},
{
"type": "CommentLine",
"value": " Remove unneded default element",
"start": 10856,
"end": 10889,
"loc": {
"start": {
"line": 378,
"column": 8
},
"end": {
"line": 378,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "document",
"start": 10899,
"end": 10907,
"loc": {
"start": {
"line": 379,
"column": 8
},
"end": {
"line": 379,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10907,
"end": 10908,
"loc": {
"start": {
"line": 379,
"column": 16
},
"end": {
"line": 379,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "body",
"start": 10908,
"end": 10912,
"loc": {
"start": {
"line": 379,
"column": 17
},
"end": {
"line": 379,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10912,
"end": 10913,
"loc": {
"start": {
"line": 379,
"column": 21
},
"end": {
"line": 379,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "querySelector",
"start": 10913,
"end": 10926,
"loc": {
"start": {
"line": 379,
"column": 22
},
"end": {
"line": 379,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10926,
"end": 10927,
"loc": {
"start": {
"line": 379,
"column": 35
},
"end": {
"line": 379,
"column": 36
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ".modalDialogParent",
"start": 10927,
"end": 10947,
"loc": {
"start": {
"line": 379,
"column": 36
},
"end": {
"line": 379,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10947,
"end": 10948,
"loc": {
"start": {
"line": 379,
"column": 56
},
"end": {
"line": 379,
"column": 57
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10948,
"end": 10949,
"loc": {
"start": {
"line": 379,
"column": 57
},
"end": {
"line": 379,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 10949,
"end": 10955,
"loc": {
"start": {
"line": 379,
"column": 58
},
"end": {
"line": 379,
"column": 64
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10955,
"end": 10956,
"loc": {
"start": {
"line": 379,
"column": 64
},
"end": {
"line": 379,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10956,
"end": 10957,
"loc": {
"start": {
"line": 379,
"column": 65
},
"end": {
"line": 379,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10957,
"end": 10958,
"loc": {
"start": {
"line": 379,
"column": 66
},
"end": {
"line": 379,
"column": 67
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10970,
"end": 10974,
"loc": {
"start": {
"line": 381,
"column": 8
},
"end": {
"line": 381,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10974,
"end": 10975,
"loc": {
"start": {
"line": 381,
"column": 12
},
"end": {
"line": 381,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "asyncChannel",
"start": 10975,
"end": 10987,
"loc": {
"start": {
"line": 381,
"column": 13
},
"end": {
"line": 381,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10987,
"end": 10988,
"loc": {
"start": {
"line": 381,
"column": 25
},
"end": {
"line": 381,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "watch",
"start": 10988,
"end": 10993,
"loc": {
"start": {
"line": 381,
"column": 26
},
"end": {
"line": 381,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10993,
"end": 10994,
"loc": {
"start": {
"line": 381,
"column": 31
},
"end": {
"line": 381,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "waitNextFrame",
"start": 10994,
"end": 11007,
"loc": {
"start": {
"line": 381,
"column": 32
},
"end": {
"line": 381,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11007,
"end": 11008,
"loc": {
"start": {
"line": 381,
"column": 45
},
"end": {
"line": 381,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11008,
"end": 11009,
"loc": {
"start": {
"line": 381,
"column": 46
},
"end": {
"line": 381,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11009,
"end": 11010,
"loc": {
"start": {
"line": 381,
"column": 47
},
"end": {
"line": 381,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11010,
"end": 11011,
"loc": {
"start": {
"line": 381,
"column": 48
},
"end": {
"line": 381,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "then",
"start": 11011,
"end": 11015,
"loc": {
"start": {
"line": 381,
"column": 49
},
"end": {
"line": 381,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11015,
"end": 11016,
"loc": {
"start": {
"line": 381,
"column": 53
},
"end": {
"line": 381,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11016,
"end": 11017,
"loc": {
"start": {
"line": 381,
"column": 54
},
"end": {
"line": 381,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11017,
"end": 11018,
"loc": {
"start": {
"line": 381,
"column": 55
},
"end": {
"line": 381,
"column": 56
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11019,
"end": 11021,
"loc": {
"start": {
"line": 381,
"column": 57
},
"end": {
"line": 381,
"column": 59
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 11022,
"end": 11026,
"loc": {
"start": {
"line": 381,
"column": 60
},
"end": {
"line": 381,
"column": 64
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11026,
"end": 11027,
"loc": {
"start": {
"line": 381,
"column": 64
},
"end": {
"line": 381,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage3CreateCore",
"start": 11027,
"end": 11043,
"loc": {
"start": {
"line": 381,
"column": 65
},
"end": {
"line": 381,
"column": 81
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11043,
"end": 11044,
"loc": {
"start": {
"line": 381,
"column": 81
},
"end": {
"line": 381,
"column": 82
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11044,
"end": 11045,
"loc": {
"start": {
"line": 381,
"column": 82
},
"end": {
"line": 381,
"column": 83
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11045,
"end": 11046,
"loc": {
"start": {
"line": 381,
"column": 83
},
"end": {
"line": 381,
"column": 84
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11046,
"end": 11047,
"loc": {
"start": {
"line": 381,
"column": 84
},
"end": {
"line": 381,
"column": 85
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11053,
"end": 11054,
"loc": {
"start": {
"line": 382,
"column": 4
},
"end": {
"line": 382,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Render callback\r\n * @param {number} dt\r\n ",
"start": 11062,
"end": 11125,
"loc": {
"start": {
"line": 384,
"column": 4
},
"end": {
"line": 387,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onRender",
"start": 11131,
"end": 11139,
"loc": {
"start": {
"line": 388,
"column": 4
},
"end": {
"line": 388,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11139,
"end": 11140,
"loc": {
"start": {
"line": 388,
"column": 12
},
"end": {
"line": 388,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dt",
"start": 11140,
"end": 11142,
"loc": {
"start": {
"line": 388,
"column": 13
},
"end": {
"line": 388,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11142,
"end": 11143,
"loc": {
"start": {
"line": 388,
"column": 15
},
"end": {
"line": 388,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11144,
"end": 11145,
"loc": {
"start": {
"line": 388,
"column": 17
},
"end": {
"line": 388,
"column": 18
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 11155,
"end": 11157,
"loc": {
"start": {
"line": 389,
"column": 8
},
"end": {
"line": 389,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11158,
"end": 11159,
"loc": {
"start": {
"line": 389,
"column": 11
},
"end": {
"line": 389,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "APPLICATION_ERROR_OCCURED",
"start": 11159,
"end": 11184,
"loc": {
"start": {
"line": 389,
"column": 12
},
"end": {
"line": 389,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11184,
"end": 11185,
"loc": {
"start": {
"line": 389,
"column": 37
},
"end": {
"line": 389,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11186,
"end": 11187,
"loc": {
"start": {
"line": 389,
"column": 39
},
"end": {
"line": 389,
"column": 40
}
}
},
{
"type": "CommentLine",
"value": " Application somehow crashed, do not do anything",
"start": 11201,
"end": 11251,
"loc": {
"start": {
"line": 390,
"column": 12
},
"end": {
"line": 390,
"column": 62
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 11265,
"end": 11271,
"loc": {
"start": {
"line": 391,
"column": 12
},
"end": {
"line": 391,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11271,
"end": 11272,
"loc": {
"start": {
"line": 391,
"column": 18
},
"end": {
"line": 391,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11282,
"end": 11283,
"loc": {
"start": {
"line": 392,
"column": 8
},
"end": {
"line": 392,
"column": 9
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 11295,
"end": 11297,
"loc": {
"start": {
"line": 394,
"column": 8
},
"end": {
"line": 394,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11298,
"end": 11299,
"loc": {
"start": {
"line": 394,
"column": 11
},
"end": {
"line": 394,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 11299,
"end": 11303,
"loc": {
"start": {
"line": 394,
"column": 12
},
"end": {
"line": 394,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11303,
"end": 11304,
"loc": {
"start": {
"line": 394,
"column": 16
},
"end": {
"line": 394,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage",
"start": 11304,
"end": 11309,
"loc": {
"start": {
"line": 394,
"column": 17
},
"end": {
"line": 394,
"column": 22
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 11310,
"end": 11313,
"loc": {
"start": {
"line": 394,
"column": 23
},
"end": {
"line": 394,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 11314,
"end": 11320,
"loc": {
"start": {
"line": 394,
"column": 27
},
"end": {
"line": 394,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11320,
"end": 11321,
"loc": {
"start": {
"line": 394,
"column": 33
},
"end": {
"line": 394,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s7_warmup",
"start": 11321,
"end": 11330,
"loc": {
"start": {
"line": 394,
"column": 34
},
"end": {
"line": 394,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11330,
"end": 11331,
"loc": {
"start": {
"line": 394,
"column": 43
},
"end": {
"line": 394,
"column": 44
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11332,
"end": 11333,
"loc": {
"start": {
"line": 394,
"column": 45
},
"end": {
"line": 394,
"column": 46
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 11347,
"end": 11351,
"loc": {
"start": {
"line": 395,
"column": 12
},
"end": {
"line": 395,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11351,
"end": 11352,
"loc": {
"start": {
"line": 395,
"column": 16
},
"end": {
"line": 395,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 11352,
"end": 11356,
"loc": {
"start": {
"line": 395,
"column": 17
},
"end": {
"line": 395,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11356,
"end": 11357,
"loc": {
"start": {
"line": 395,
"column": 21
},
"end": {
"line": 395,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "draw",
"start": 11357,
"end": 11361,
"loc": {
"start": {
"line": 395,
"column": 22
},
"end": {
"line": 395,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11361,
"end": 11362,
"loc": {
"start": {
"line": 395,
"column": 26
},
"end": {
"line": 395,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11362,
"end": 11363,
"loc": {
"start": {
"line": 395,
"column": 27
},
"end": {
"line": 395,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11363,
"end": 11364,
"loc": {
"start": {
"line": 395,
"column": 28
},
"end": {
"line": 395,
"column": 29
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 11378,
"end": 11382,
"loc": {
"start": {
"line": 396,
"column": 12
},
"end": {
"line": 396,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11382,
"end": 11383,
"loc": {
"start": {
"line": 396,
"column": 16
},
"end": {
"line": 396,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "warmupTimeSeconds",
"start": 11383,
"end": 11400,
"loc": {
"start": {
"line": 396,
"column": 17
},
"end": {
"line": 396,
"column": 34
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "-=",
"start": 11401,
"end": 11403,
"loc": {
"start": {
"line": 396,
"column": 35
},
"end": {
"line": 396,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dt",
"start": 11404,
"end": 11406,
"loc": {
"start": {
"line": 396,
"column": 38
},
"end": {
"line": 396,
"column": 40
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 11407,
"end": 11408,
"loc": {
"start": {
"line": 396,
"column": 41
},
"end": {
"line": 396,
"column": 42
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1000,
"start": 11409,
"end": 11415,
"loc": {
"start": {
"line": 396,
"column": 43
},
"end": {
"line": 396,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11415,
"end": 11416,
"loc": {
"start": {
"line": 396,
"column": 49
},
"end": {
"line": 396,
"column": 50
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 11430,
"end": 11432,
"loc": {
"start": {
"line": 397,
"column": 12
},
"end": {
"line": 397,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11433,
"end": 11434,
"loc": {
"start": {
"line": 397,
"column": 15
},
"end": {
"line": 397,
"column": 16
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 11434,
"end": 11438,
"loc": {
"start": {
"line": 397,
"column": 16
},
"end": {
"line": 397,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11438,
"end": 11439,
"loc": {
"start": {
"line": 397,
"column": 20
},
"end": {
"line": 397,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "warmupTimeSeconds",
"start": 11439,
"end": 11456,
"loc": {
"start": {
"line": 397,
"column": 21
},
"end": {
"line": 397,
"column": 38
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 11457,
"end": 11458,
"loc": {
"start": {
"line": 397,
"column": 39
},
"end": {
"line": 397,
"column": 40
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 11459,
"end": 11460,
"loc": {
"start": {
"line": 397,
"column": 41
},
"end": {
"line": 397,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11460,
"end": 11461,
"loc": {
"start": {
"line": 397,
"column": 42
},
"end": {
"line": 397,
"column": 43
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11462,
"end": 11463,
"loc": {
"start": {
"line": 397,
"column": 44
},
"end": {
"line": 397,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 11481,
"end": 11487,
"loc": {
"start": {
"line": 398,
"column": 16
},
"end": {
"line": 398,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11487,
"end": 11488,
"loc": {
"start": {
"line": 398,
"column": 22
},
"end": {
"line": 398,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "log",
"start": 11488,
"end": 11491,
"loc": {
"start": {
"line": 398,
"column": 23
},
"end": {
"line": 398,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11491,
"end": 11492,
"loc": {
"start": {
"line": 398,
"column": 26
},
"end": {
"line": 398,
"column": 27
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Warmup completed",
"start": 11492,
"end": 11510,
"loc": {
"start": {
"line": 398,
"column": 27
},
"end": {
"line": 398,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11510,
"end": 11511,
"loc": {
"start": {
"line": 398,
"column": 45
},
"end": {
"line": 398,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11511,
"end": 11512,
"loc": {
"start": {
"line": 398,
"column": 46
},
"end": {
"line": 398,
"column": 47
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 11530,
"end": 11534,
"loc": {
"start": {
"line": 399,
"column": 16
},
"end": {
"line": 399,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11534,
"end": 11535,
"loc": {
"start": {
"line": 399,
"column": 20
},
"end": {
"line": 399,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage10GameRunning",
"start": 11535,
"end": 11553,
"loc": {
"start": {
"line": 399,
"column": 21
},
"end": {
"line": 399,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11553,
"end": 11554,
"loc": {
"start": {
"line": 399,
"column": 39
},
"end": {
"line": 399,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11554,
"end": 11555,
"loc": {
"start": {
"line": 399,
"column": 40
},
"end": {
"line": 399,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11555,
"end": 11556,
"loc": {
"start": {
"line": 399,
"column": 41
},
"end": {
"line": 399,
"column": 42
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11570,
"end": 11571,
"loc": {
"start": {
"line": 400,
"column": 12
},
"end": {
"line": 400,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11581,
"end": 11582,
"loc": {
"start": {
"line": 401,
"column": 8
},
"end": {
"line": 401,
"column": 9
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 11594,
"end": 11596,
"loc": {
"start": {
"line": 403,
"column": 8
},
"end": {
"line": 403,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11597,
"end": 11598,
"loc": {
"start": {
"line": 403,
"column": 11
},
"end": {
"line": 403,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 11598,
"end": 11602,
"loc": {
"start": {
"line": 403,
"column": 12
},
"end": {
"line": 403,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11602,
"end": 11603,
"loc": {
"start": {
"line": 403,
"column": 16
},
"end": {
"line": 403,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage",
"start": 11603,
"end": 11608,
"loc": {
"start": {
"line": 403,
"column": 17
},
"end": {
"line": 403,
"column": 22
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 11609,
"end": 11612,
"loc": {
"start": {
"line": 403,
"column": 23
},
"end": {
"line": 403,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 11613,
"end": 11619,
"loc": {
"start": {
"line": 403,
"column": 27
},
"end": {
"line": 403,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11619,
"end": 11620,
"loc": {
"start": {
"line": 403,
"column": 33
},
"end": {
"line": 403,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s10_gameRunning",
"start": 11620,
"end": 11635,
"loc": {
"start": {
"line": 403,
"column": 34
},
"end": {
"line": 403,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11635,
"end": 11636,
"loc": {
"start": {
"line": 403,
"column": 49
},
"end": {
"line": 403,
"column": 50
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11637,
"end": 11638,
"loc": {
"start": {
"line": 403,
"column": 51
},
"end": {
"line": 403,
"column": 52
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 11652,
"end": 11656,
"loc": {
"start": {
"line": 404,
"column": 12
},
"end": {
"line": 404,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11656,
"end": 11657,
"loc": {
"start": {
"line": 404,
"column": 16
},
"end": {
"line": 404,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 11657,
"end": 11661,
"loc": {
"start": {
"line": 404,
"column": 17
},
"end": {
"line": 404,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11661,
"end": 11662,
"loc": {
"start": {
"line": 404,
"column": 21
},
"end": {
"line": 404,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tick",
"start": 11662,
"end": 11666,
"loc": {
"start": {
"line": 404,
"column": 22
},
"end": {
"line": 404,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11666,
"end": 11667,
"loc": {
"start": {
"line": 404,
"column": 26
},
"end": {
"line": 404,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dt",
"start": 11667,
"end": 11669,
"loc": {
"start": {
"line": 404,
"column": 27
},
"end": {
"line": 404,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11669,
"end": 11670,
"loc": {
"start": {
"line": 404,
"column": 29
},
"end": {
"line": 404,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11670,
"end": 11671,
"loc": {
"start": {
"line": 404,
"column": 30
},
"end": {
"line": 404,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11681,
"end": 11682,
"loc": {
"start": {
"line": 405,
"column": 8
},
"end": {
"line": 405,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " If the stage is still active (This might not be the case if tick() moved us to game over)",
"start": 11694,
"end": 11786,
"loc": {
"start": {
"line": 407,
"column": 8
},
"end": {
"line": 407,
"column": 100
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 11796,
"end": 11798,
"loc": {
"start": {
"line": 408,
"column": 8
},
"end": {
"line": 408,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11799,
"end": 11800,
"loc": {
"start": {
"line": 408,
"column": 11
},
"end": {
"line": 408,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 11800,
"end": 11804,
"loc": {
"start": {
"line": 408,
"column": 12
},
"end": {
"line": 408,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11804,
"end": 11805,
"loc": {
"start": {
"line": 408,
"column": 16
},
"end": {
"line": 408,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage",
"start": 11805,
"end": 11810,
"loc": {
"start": {
"line": 408,
"column": 17
},
"end": {
"line": 408,
"column": 22
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 11811,
"end": 11814,
"loc": {
"start": {
"line": 408,
"column": 23
},
"end": {
"line": 408,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 11815,
"end": 11821,
"loc": {
"start": {
"line": 408,
"column": 27
},
"end": {
"line": 408,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11821,
"end": 11822,
"loc": {
"start": {
"line": 408,
"column": 33
},
"end": {
"line": 408,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s10_gameRunning",
"start": 11822,
"end": 11837,
"loc": {
"start": {
"line": 408,
"column": 34
},
"end": {
"line": 408,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11837,
"end": 11838,
"loc": {
"start": {
"line": 408,
"column": 49
},
"end": {
"line": 408,
"column": 50
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11839,
"end": 11840,
"loc": {
"start": {
"line": 408,
"column": 51
},
"end": {
"line": 408,
"column": 52
}
}
},
{
"type": "CommentLine",
"value": " Only draw if page visible",
"start": 11854,
"end": 11882,
"loc": {
"start": {
"line": 409,
"column": 12
},
"end": {
"line": 409,
"column": 40
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 11896,
"end": 11898,
"loc": {
"start": {
"line": 410,
"column": 12
},
"end": {
"line": 410,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11899,
"end": 11900,
"loc": {
"start": {
"line": 410,
"column": 15
},
"end": {
"line": 410,
"column": 16
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 11900,
"end": 11904,
"loc": {
"start": {
"line": 410,
"column": 16
},
"end": {
"line": 410,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11904,
"end": 11905,
"loc": {
"start": {
"line": 410,
"column": 20
},
"end": {
"line": 410,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "app",
"start": 11905,
"end": 11908,
"loc": {
"start": {
"line": 410,
"column": 21
},
"end": {
"line": 410,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11908,
"end": 11909,
"loc": {
"start": {
"line": 410,
"column": 24
},
"end": {
"line": 410,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pageVisible",
"start": 11909,
"end": 11920,
"loc": {
"start": {
"line": 410,
"column": 25
},
"end": {
"line": 410,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11920,
"end": 11921,
"loc": {
"start": {
"line": 410,
"column": 36
},
"end": {
"line": 410,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11922,
"end": 11923,
"loc": {
"start": {
"line": 410,
"column": 38
},
"end": {
"line": 410,
"column": 39
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 11941,
"end": 11945,
"loc": {
"start": {
"line": 411,
"column": 16
},
"end": {
"line": 411,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11945,
"end": 11946,
"loc": {
"start": {
"line": 411,
"column": 20
},
"end": {
"line": 411,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 11946,
"end": 11950,
"loc": {
"start": {
"line": 411,
"column": 21
},
"end": {
"line": 411,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11950,
"end": 11951,
"loc": {
"start": {
"line": 411,
"column": 25
},
"end": {
"line": 411,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "draw",
"start": 11951,
"end": 11955,
"loc": {
"start": {
"line": 411,
"column": 26
},
"end": {
"line": 411,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11955,
"end": 11956,
"loc": {
"start": {
"line": 411,
"column": 30
},
"end": {
"line": 411,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11956,
"end": 11957,
"loc": {
"start": {
"line": 411,
"column": 31
},
"end": {
"line": 411,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11957,
"end": 11958,
"loc": {
"start": {
"line": 411,
"column": 32
},
"end": {
"line": 411,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11972,
"end": 11973,
"loc": {
"start": {
"line": 412,
"column": 12
},
"end": {
"line": 412,
"column": 13
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 11989,
"end": 11993,
"loc": {
"start": {
"line": 414,
"column": 12
},
"end": {
"line": 414,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11993,
"end": 11994,
"loc": {
"start": {
"line": 414,
"column": 16
},
"end": {
"line": 414,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "loadingOverlay",
"start": 11994,
"end": 12008,
"loc": {
"start": {
"line": 414,
"column": 17
},
"end": {
"line": 414,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12008,
"end": 12009,
"loc": {
"start": {
"line": 414,
"column": 31
},
"end": {
"line": 414,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "removeIfAttached",
"start": 12009,
"end": 12025,
"loc": {
"start": {
"line": 414,
"column": 32
},
"end": {
"line": 414,
"column": 48
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12025,
"end": 12026,
"loc": {
"start": {
"line": 414,
"column": 48
},
"end": {
"line": 414,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12026,
"end": 12027,
"loc": {
"start": {
"line": 414,
"column": 49
},
"end": {
"line": 414,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12027,
"end": 12028,
"loc": {
"start": {
"line": 414,
"column": 50
},
"end": {
"line": 414,
"column": 51
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12038,
"end": 12039,
"loc": {
"start": {
"line": 415,
"column": 8
},
"end": {
"line": 415,
"column": 9
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 12040,
"end": 12044,
"loc": {
"start": {
"line": 415,
"column": 10
},
"end": {
"line": 415,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12045,
"end": 12046,
"loc": {
"start": {
"line": 415,
"column": 15
},
"end": {
"line": 415,
"column": 16
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 12060,
"end": 12062,
"loc": {
"start": {
"line": 416,
"column": 12
},
"end": {
"line": 416,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12063,
"end": 12064,
"loc": {
"start": {
"line": 416,
"column": 15
},
"end": {
"line": 416,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 12064,
"end": 12065,
"loc": {
"start": {
"line": 416,
"column": 16
},
"end": {
"line": 416,
"column": 17
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 12065,
"end": 12069,
"loc": {
"start": {
"line": 416,
"column": 17
},
"end": {
"line": 416,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12069,
"end": 12070,
"loc": {
"start": {
"line": 416,
"column": 21
},
"end": {
"line": 416,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "loadingOverlay",
"start": 12070,
"end": 12084,
"loc": {
"start": {
"line": 416,
"column": 22
},
"end": {
"line": 416,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12084,
"end": 12085,
"loc": {
"start": {
"line": 416,
"column": 36
},
"end": {
"line": 416,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isAttached",
"start": 12085,
"end": 12095,
"loc": {
"start": {
"line": 416,
"column": 37
},
"end": {
"line": 416,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12095,
"end": 12096,
"loc": {
"start": {
"line": 416,
"column": 47
},
"end": {
"line": 416,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12096,
"end": 12097,
"loc": {
"start": {
"line": 416,
"column": 48
},
"end": {
"line": 416,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12097,
"end": 12098,
"loc": {
"start": {
"line": 416,
"column": 49
},
"end": {
"line": 416,
"column": 50
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12099,
"end": 12100,
"loc": {
"start": {
"line": 416,
"column": 51
},
"end": {
"line": 416,
"column": 52
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 12118,
"end": 12122,
"loc": {
"start": {
"line": 417,
"column": 16
},
"end": {
"line": 417,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12122,
"end": 12123,
"loc": {
"start": {
"line": 417,
"column": 20
},
"end": {
"line": 417,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "loadingOverlay",
"start": 12123,
"end": 12137,
"loc": {
"start": {
"line": 417,
"column": 21
},
"end": {
"line": 417,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12137,
"end": 12138,
"loc": {
"start": {
"line": 417,
"column": 35
},
"end": {
"line": 417,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "showBasic",
"start": 12138,
"end": 12147,
"loc": {
"start": {
"line": 417,
"column": 36
},
"end": {
"line": 417,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12147,
"end": 12148,
"loc": {
"start": {
"line": 417,
"column": 45
},
"end": {
"line": 417,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12148,
"end": 12149,
"loc": {
"start": {
"line": 417,
"column": 46
},
"end": {
"line": 417,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12149,
"end": 12150,
"loc": {
"start": {
"line": 417,
"column": 47
},
"end": {
"line": 417,
"column": 48
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12164,
"end": 12165,
"loc": {
"start": {
"line": 418,
"column": 12
},
"end": {
"line": 418,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12175,
"end": 12176,
"loc": {
"start": {
"line": 419,
"column": 8
},
"end": {
"line": 419,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12182,
"end": 12183,
"loc": {
"start": {
"line": 420,
"column": 4
},
"end": {
"line": 420,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onBackgroundTick",
"start": 12191,
"end": 12207,
"loc": {
"start": {
"line": 422,
"column": 4
},
"end": {
"line": 422,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12207,
"end": 12208,
"loc": {
"start": {
"line": 422,
"column": 20
},
"end": {
"line": 422,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dt",
"start": 12208,
"end": 12210,
"loc": {
"start": {
"line": 422,
"column": 21
},
"end": {
"line": 422,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12210,
"end": 12211,
"loc": {
"start": {
"line": 422,
"column": 23
},
"end": {
"line": 422,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12212,
"end": 12213,
"loc": {
"start": {
"line": 422,
"column": 25
},
"end": {
"line": 422,
"column": 26
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 12223,
"end": 12227,
"loc": {
"start": {
"line": 423,
"column": 8
},
"end": {
"line": 423,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12227,
"end": 12228,
"loc": {
"start": {
"line": 423,
"column": 12
},
"end": {
"line": 423,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onRender",
"start": 12228,
"end": 12236,
"loc": {
"start": {
"line": 423,
"column": 13
},
"end": {
"line": 423,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12236,
"end": 12237,
"loc": {
"start": {
"line": 423,
"column": 21
},
"end": {
"line": 423,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dt",
"start": 12237,
"end": 12239,
"loc": {
"start": {
"line": 423,
"column": 22
},
"end": {
"line": 423,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12239,
"end": 12240,
"loc": {
"start": {
"line": 423,
"column": 24
},
"end": {
"line": 423,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12240,
"end": 12241,
"loc": {
"start": {
"line": 423,
"column": 25
},
"end": {
"line": 423,
"column": 26
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12247,
"end": 12248,
"loc": {
"start": {
"line": 424,
"column": 4
},
"end": {
"line": 424,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Saves the game\r\n ",
"start": 12256,
"end": 12291,
"loc": {
"start": {
"line": 426,
"column": 4
},
"end": {
"line": 428,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "doSave",
"start": 12299,
"end": 12305,
"loc": {
"start": {
"line": 430,
"column": 4
},
"end": {
"line": 430,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12305,
"end": 12306,
"loc": {
"start": {
"line": 430,
"column": 10
},
"end": {
"line": 430,
"column": 11
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12306,
"end": 12307,
"loc": {
"start": {
"line": 430,
"column": 11
},
"end": {
"line": 430,
"column": 12
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12308,
"end": 12309,
"loc": {
"start": {
"line": 430,
"column": 13
},
"end": {
"line": 430,
"column": 14
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 12319,
"end": 12321,
"loc": {
"start": {
"line": 431,
"column": 8
},
"end": {
"line": 431,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12322,
"end": 12323,
"loc": {
"start": {
"line": 431,
"column": 11
},
"end": {
"line": 431,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 12323,
"end": 12324,
"loc": {
"start": {
"line": 431,
"column": 12
},
"end": {
"line": 431,
"column": 13
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 12324,
"end": 12328,
"loc": {
"start": {
"line": 431,
"column": 13
},
"end": {
"line": 431,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12328,
"end": 12329,
"loc": {
"start": {
"line": 431,
"column": 17
},
"end": {
"line": 431,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 12329,
"end": 12337,
"loc": {
"start": {
"line": 431,
"column": 18
},
"end": {
"line": 431,
"column": 26
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 12338,
"end": 12340,
"loc": {
"start": {
"line": 431,
"column": 27
},
"end": {
"line": 431,
"column": 29
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 12341,
"end": 12342,
"loc": {
"start": {
"line": 431,
"column": 30
},
"end": {
"line": 431,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 12342,
"end": 12346,
"loc": {
"start": {
"line": 431,
"column": 31
},
"end": {
"line": 431,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12346,
"end": 12347,
"loc": {
"start": {
"line": 431,
"column": 35
},
"end": {
"line": 431,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 12347,
"end": 12355,
"loc": {
"start": {
"line": 431,
"column": 36
},
"end": {
"line": 431,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12355,
"end": 12356,
"loc": {
"start": {
"line": 431,
"column": 44
},
"end": {
"line": 431,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isSaveable",
"start": 12356,
"end": 12366,
"loc": {
"start": {
"line": 431,
"column": 45
},
"end": {
"line": 431,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12366,
"end": 12367,
"loc": {
"start": {
"line": 431,
"column": 55
},
"end": {
"line": 431,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12367,
"end": 12368,
"loc": {
"start": {
"line": 431,
"column": 56
},
"end": {
"line": 431,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12368,
"end": 12369,
"loc": {
"start": {
"line": 431,
"column": 57
},
"end": {
"line": 431,
"column": 58
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12370,
"end": 12371,
"loc": {
"start": {
"line": 431,
"column": 59
},
"end": {
"line": 431,
"column": 60
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 12385,
"end": 12391,
"loc": {
"start": {
"line": 432,
"column": 12
},
"end": {
"line": 432,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Promise",
"start": 12392,
"end": 12399,
"loc": {
"start": {
"line": 432,
"column": 19
},
"end": {
"line": 432,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12399,
"end": 12400,
"loc": {
"start": {
"line": 432,
"column": 26
},
"end": {
"line": 432,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resolve",
"start": 12400,
"end": 12407,
"loc": {
"start": {
"line": 432,
"column": 27
},
"end": {
"line": 432,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12407,
"end": 12408,
"loc": {
"start": {
"line": 432,
"column": 34
},
"end": {
"line": 432,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12408,
"end": 12409,
"loc": {
"start": {
"line": 432,
"column": 35
},
"end": {
"line": 432,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12409,
"end": 12410,
"loc": {
"start": {
"line": 432,
"column": 36
},
"end": {
"line": 432,
"column": 37
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12420,
"end": 12421,
"loc": {
"start": {
"line": 433,
"column": 8
},
"end": {
"line": 433,
"column": 9
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 12433,
"end": 12435,
"loc": {
"start": {
"line": 435,
"column": 8
},
"end": {
"line": 435,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12436,
"end": 12437,
"loc": {
"start": {
"line": 435,
"column": 11
},
"end": {
"line": 435,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "APPLICATION_ERROR_OCCURED",
"start": 12437,
"end": 12462,
"loc": {
"start": {
"line": 435,
"column": 12
},
"end": {
"line": 435,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12462,
"end": 12463,
"loc": {
"start": {
"line": 435,
"column": 37
},
"end": {
"line": 435,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12464,
"end": 12465,
"loc": {
"start": {
"line": 435,
"column": 39
},
"end": {
"line": 435,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 12479,
"end": 12485,
"loc": {
"start": {
"line": 436,
"column": 12
},
"end": {
"line": 436,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12485,
"end": 12486,
"loc": {
"start": {
"line": 436,
"column": 18
},
"end": {
"line": 436,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "warn",
"start": 12486,
"end": 12490,
"loc": {
"start": {
"line": 436,
"column": 19
},
"end": {
"line": 436,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12490,
"end": 12491,
"loc": {
"start": {
"line": 436,
"column": 23
},
"end": {
"line": 436,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "skipping save because application crashed",
"start": 12491,
"end": 12534,
"loc": {
"start": {
"line": 436,
"column": 24
},
"end": {
"line": 436,
"column": 67
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12534,
"end": 12535,
"loc": {
"start": {
"line": 436,
"column": 67
},
"end": {
"line": 436,
"column": 68
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12535,
"end": 12536,
"loc": {
"start": {
"line": 436,
"column": 68
},
"end": {
"line": 436,
"column": 69
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 12550,
"end": 12556,
"loc": {
"start": {
"line": 437,
"column": 12
},
"end": {
"line": 437,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Promise",
"start": 12557,
"end": 12564,
"loc": {
"start": {
"line": 437,
"column": 19
},
"end": {
"line": 437,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12564,
"end": 12565,
"loc": {
"start": {
"line": 437,
"column": 26
},
"end": {
"line": 437,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resolve",
"start": 12565,
"end": 12572,
"loc": {
"start": {
"line": 437,
"column": 27
},
"end": {
"line": 437,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12572,
"end": 12573,
"loc": {
"start": {
"line": 437,
"column": 34
},
"end": {
"line": 437,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12573,
"end": 12574,
"loc": {
"start": {
"line": 437,
"column": 35
},
"end": {
"line": 437,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12574,
"end": 12575,
"loc": {
"start": {
"line": 437,
"column": 36
},
"end": {
"line": 437,
"column": 37
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12585,
"end": 12586,
"loc": {
"start": {
"line": 438,
"column": 8
},
"end": {
"line": 438,
"column": 9
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 12598,
"end": 12600,
"loc": {
"start": {
"line": 440,
"column": 8
},
"end": {
"line": 440,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12601,
"end": 12602,
"loc": {
"start": {
"line": 440,
"column": 11
},
"end": {
"line": 440,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 12616,
"end": 12620,
"loc": {
"start": {
"line": 441,
"column": 12
},
"end": {
"line": 441,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12620,
"end": 12621,
"loc": {
"start": {
"line": 441,
"column": 16
},
"end": {
"line": 441,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage",
"start": 12621,
"end": 12626,
"loc": {
"start": {
"line": 441,
"column": 17
},
"end": {
"line": 441,
"column": 22
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 12627,
"end": 12630,
"loc": {
"start": {
"line": 441,
"column": 23
},
"end": {
"line": 441,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 12631,
"end": 12637,
"loc": {
"start": {
"line": 441,
"column": 27
},
"end": {
"line": 441,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12637,
"end": 12638,
"loc": {
"start": {
"line": 441,
"column": 33
},
"end": {
"line": 441,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s10_gameRunning",
"start": 12638,
"end": 12653,
"loc": {
"start": {
"line": 441,
"column": 34
},
"end": {
"line": 441,
"column": 49
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 12654,
"end": 12656,
"loc": {
"start": {
"line": 441,
"column": 50
},
"end": {
"line": 441,
"column": 52
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 12670,
"end": 12674,
"loc": {
"start": {
"line": 442,
"column": 12
},
"end": {
"line": 442,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12674,
"end": 12675,
"loc": {
"start": {
"line": 442,
"column": 16
},
"end": {
"line": 442,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage",
"start": 12675,
"end": 12680,
"loc": {
"start": {
"line": 442,
"column": 17
},
"end": {
"line": 442,
"column": 22
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 12681,
"end": 12684,
"loc": {
"start": {
"line": 442,
"column": 23
},
"end": {
"line": 442,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 12685,
"end": 12691,
"loc": {
"start": {
"line": 442,
"column": 27
},
"end": {
"line": 442,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12691,
"end": 12692,
"loc": {
"start": {
"line": 442,
"column": 33
},
"end": {
"line": 442,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "s7_warmup",
"start": 12692,
"end": 12701,
"loc": {
"start": {
"line": 442,
"column": 34
},
"end": {
"line": 442,
"column": 43
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 12702,
"end": 12704,
"loc": {
"start": {
"line": 442,
"column": 44
},
"end": {
"line": 442,
"column": 46
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 12718,
"end": 12722,
"loc": {
"start": {
"line": 443,
"column": 12
},
"end": {
"line": 443,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12722,
"end": 12723,
"loc": {
"start": {
"line": 443,
"column": 16
},
"end": {
"line": 443,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stage",
"start": 12723,
"end": 12728,
"loc": {
"start": {
"line": 443,
"column": 17
},
"end": {
"line": 443,
"column": 22
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 12729,
"end": 12732,
"loc": {
"start": {
"line": 443,
"column": 23
},
"end": {
"line": 443,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stages",
"start": 12733,
"end": 12739,
"loc": {
"start": {
"line": 443,
"column": 27
},
"end": {
"line": 443,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12739,
"end": 12740,
"loc": {
"start": {
"line": 443,
"column": 33
},
"end": {
"line": 443,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "leaving",
"start": 12740,
"end": 12747,
"loc": {
"start": {
"line": 443,
"column": 34
},
"end": {
"line": 443,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12757,
"end": 12758,
"loc": {
"start": {
"line": 444,
"column": 8
},
"end": {
"line": 444,
"column": 9
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12759,
"end": 12760,
"loc": {
"start": {
"line": 444,
"column": 10
},
"end": {
"line": 444,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 12774,
"end": 12780,
"loc": {
"start": {
"line": 445,
"column": 12
},
"end": {
"line": 445,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12780,
"end": 12781,
"loc": {
"start": {
"line": 445,
"column": 18
},
"end": {
"line": 445,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "warn",
"start": 12781,
"end": 12785,
"loc": {
"start": {
"line": 445,
"column": 19
},
"end": {
"line": 445,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12785,
"end": 12786,
"loc": {
"start": {
"line": 445,
"column": 23
},
"end": {
"line": 445,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Skipping save because game is not ready",
"start": 12786,
"end": 12827,
"loc": {
"start": {
"line": 445,
"column": 24
},
"end": {
"line": 445,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12827,
"end": 12828,
"loc": {
"start": {
"line": 445,
"column": 65
},
"end": {
"line": 445,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12828,
"end": 12829,
"loc": {
"start": {
"line": 445,
"column": 66
},
"end": {
"line": 445,
"column": 67
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 12843,
"end": 12849,
"loc": {
"start": {
"line": 446,
"column": 12
},
"end": {
"line": 446,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Promise",
"start": 12850,
"end": 12857,
"loc": {
"start": {
"line": 446,
"column": 19
},
"end": {
"line": 446,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12857,
"end": 12858,
"loc": {
"start": {
"line": 446,
"column": 26
},
"end": {
"line": 446,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resolve",
"start": 12858,
"end": 12865,
"loc": {
"start": {
"line": 446,
"column": 27
},
"end": {
"line": 446,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12865,
"end": 12866,
"loc": {
"start": {
"line": 446,
"column": 34
},
"end": {
"line": 446,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12866,
"end": 12867,
"loc": {
"start": {
"line": 446,
"column": 35
},
"end": {
"line": 446,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12867,
"end": 12868,
"loc": {
"start": {
"line": 446,
"column": 36
},
"end": {
"line": 446,
"column": 37
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12878,
"end": 12879,
"loc": {
"start": {
"line": 447,
"column": 8
},
"end": {
"line": 447,
"column": 9
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 12891,
"end": 12893,
"loc": {
"start": {
"line": 449,
"column": 8
},
"end": {
"line": 449,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12894,
"end": 12895,
"loc": {
"start": {
"line": 449,
"column": 11
},
"end": {
"line": 449,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 12895,
"end": 12899,
"loc": {
"start": {
"line": 449,
"column": 12
},
"end": {
"line": 449,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12899,
"end": 12900,
"loc": {
"start": {
"line": 449,
"column": 16
},
"end": {
"line": 449,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentSavePromise",
"start": 12900,
"end": 12918,
"loc": {
"start": {
"line": 449,
"column": 17
},
"end": {
"line": 449,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12918,
"end": 12919,
"loc": {
"start": {
"line": 449,
"column": 35
},
"end": {
"line": 449,
"column": 36
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12920,
"end": 12921,
"loc": {
"start": {
"line": 449,
"column": 37
},
"end": {
"line": 449,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 12935,
"end": 12941,
"loc": {
"start": {
"line": 450,
"column": 12
},
"end": {
"line": 450,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12941,
"end": 12942,
"loc": {
"start": {
"line": 450,
"column": 18
},
"end": {
"line": 450,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "warn",
"start": 12942,
"end": 12946,
"loc": {
"start": {
"line": 450,
"column": 19
},
"end": {
"line": 450,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12946,
"end": 12947,
"loc": {
"start": {
"line": 450,
"column": 23
},
"end": {
"line": 450,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Skipping double save and returning same promise",
"start": 12947,
"end": 12996,
"loc": {
"start": {
"line": 450,
"column": 24
},
"end": {
"line": 450,
"column": 73
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12996,
"end": 12997,
"loc": {
"start": {
"line": 450,
"column": 73
},
"end": {
"line": 450,
"column": 74
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12997,
"end": 12998,
"loc": {
"start": {
"line": 450,
"column": 74
},
"end": {
"line": 450,
"column": 75
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 13012,
"end": 13018,
"loc": {
"start": {
"line": 451,
"column": 12
},
"end": {
"line": 451,
"column": 18
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 13019,
"end": 13023,
"loc": {
"start": {
"line": 451,
"column": 19
},
"end": {
"line": 451,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13023,
"end": 13024,
"loc": {
"start": {
"line": 451,
"column": 23
},
"end": {
"line": 451,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentSavePromise",
"start": 13024,
"end": 13042,
"loc": {
"start": {
"line": 451,
"column": 24
},
"end": {
"line": 451,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13042,
"end": 13043,
"loc": {
"start": {
"line": 451,
"column": 42
},
"end": {
"line": 451,
"column": 43
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13053,
"end": 13054,
"loc": {
"start": {
"line": 452,
"column": 8
},
"end": {
"line": 452,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 13064,
"end": 13070,
"loc": {
"start": {
"line": 453,
"column": 8
},
"end": {
"line": 453,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13070,
"end": 13071,
"loc": {
"start": {
"line": 453,
"column": 14
},
"end": {
"line": 453,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "log",
"start": 13071,
"end": 13074,
"loc": {
"start": {
"line": 453,
"column": 15
},
"end": {
"line": 453,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13074,
"end": 13075,
"loc": {
"start": {
"line": 453,
"column": 18
},
"end": {
"line": 453,
"column": 19
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Starting to save game ...",
"start": 13075,
"end": 13102,
"loc": {
"start": {
"line": 453,
"column": 19
},
"end": {
"line": 453,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13102,
"end": 13103,
"loc": {
"start": {
"line": 453,
"column": 46
},
"end": {
"line": 453,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13103,
"end": 13104,
"loc": {
"start": {
"line": 453,
"column": 47
},
"end": {
"line": 453,
"column": 48
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 13114,
"end": 13118,
"loc": {
"start": {
"line": 454,
"column": 8
},
"end": {
"line": 454,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13118,
"end": 13119,
"loc": {
"start": {
"line": 454,
"column": 12
},
"end": {
"line": 454,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 13119,
"end": 13127,
"loc": {
"start": {
"line": 454,
"column": 13
},
"end": {
"line": 454,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13127,
"end": 13128,
"loc": {
"start": {
"line": 454,
"column": 21
},
"end": {
"line": 454,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "updateData",
"start": 13128,
"end": 13138,
"loc": {
"start": {
"line": 454,
"column": 22
},
"end": {
"line": 454,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13138,
"end": 13139,
"loc": {
"start": {
"line": 454,
"column": 32
},
"end": {
"line": 454,
"column": 33
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 13139,
"end": 13143,
"loc": {
"start": {
"line": 454,
"column": 33
},
"end": {
"line": 454,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13143,
"end": 13144,
"loc": {
"start": {
"line": 454,
"column": 37
},
"end": {
"line": 454,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 13144,
"end": 13148,
"loc": {
"start": {
"line": 454,
"column": 38
},
"end": {
"line": 454,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13148,
"end": 13149,
"loc": {
"start": {
"line": 454,
"column": 42
},
"end": {
"line": 454,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 13149,
"end": 13153,
"loc": {
"start": {
"line": 454,
"column": 43
},
"end": {
"line": 454,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13153,
"end": 13154,
"loc": {
"start": {
"line": 454,
"column": 47
},
"end": {
"line": 454,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13154,
"end": 13155,
"loc": {
"start": {
"line": 454,
"column": 48
},
"end": {
"line": 454,
"column": 49
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 13167,
"end": 13171,
"loc": {
"start": {
"line": 456,
"column": 8
},
"end": {
"line": 456,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13171,
"end": 13172,
"loc": {
"start": {
"line": 456,
"column": 12
},
"end": {
"line": 456,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentSavePromise",
"start": 13172,
"end": 13190,
"loc": {
"start": {
"line": 456,
"column": 13
},
"end": {
"line": 456,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 13191,
"end": 13192,
"loc": {
"start": {
"line": 456,
"column": 32
},
"end": {
"line": 456,
"column": 33
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 13193,
"end": 13197,
"loc": {
"start": {
"line": 456,
"column": 34
},
"end": {
"line": 456,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13197,
"end": 13198,
"loc": {
"start": {
"line": 456,
"column": 38
},
"end": {
"line": 456,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "savegame",
"start": 13198,
"end": 13206,
"loc": {
"start": {
"line": 456,
"column": 39
},
"end": {
"line": 456,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13220,
"end": 13221,
"loc": {
"start": {
"line": 457,
"column": 12
},
"end": {
"line": 457,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeSavegameAndMetadata",
"start": 13221,
"end": 13245,
"loc": {
"start": {
"line": 457,
"column": 13
},
"end": {
"line": 457,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13245,
"end": 13246,
"loc": {
"start": {
"line": 457,
"column": 37
},
"end": {
"line": 457,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13246,
"end": 13247,
"loc": {
"start": {
"line": 457,
"column": 38
},
"end": {
"line": 457,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13261,
"end": 13262,
"loc": {
"start": {
"line": 458,
"column": 12
},
"end": {
"line": 458,
"column": 13
}
}
},
{
"type": {
"label": "catch",
"keyword": "catch",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "catch",
"start": 13262,
"end": 13267,
"loc": {
"start": {
"line": 458,
"column": 13
},
"end": {
"line": 458,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13267,
"end": 13268,
"loc": {
"start": {
"line": 458,
"column": 18
},
"end": {
"line": 458,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "err",
"start": 13268,
"end": 13271,
"loc": {
"start": {
"line": 458,
"column": 19
},
"end": {
"line": 458,
"column": 22
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13272,
"end": 13274,
"loc": {
"start": {
"line": 458,
"column": 23
},
"end": {
"line": 458,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13275,
"end": 13276,
"loc": {
"start": {
"line": 458,
"column": 26
},
"end": {
"line": 458,
"column": 27
}
}
},
{
"type": "CommentLine",
"value": " Catch errors",
"start": 13294,
"end": 13309,
"loc": {
"start": {
"line": 459,
"column": 16
},
"end": {
"line": 459,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 13327,
"end": 13333,
"loc": {
"start": {
"line": 460,
"column": 16
},
"end": {
"line": 460,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13333,
"end": 13334,
"loc": {
"start": {
"line": 460,
"column": 22
},
"end": {
"line": 460,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "warn",
"start": 13334,
"end": 13338,
"loc": {
"start": {
"line": 460,
"column": 23
},
"end": {
"line": 460,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13338,
"end": 13339,
"loc": {
"start": {
"line": 460,
"column": 27
},
"end": {
"line": 460,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Failed to save:",
"start": 13339,
"end": 13356,
"loc": {
"start": {
"line": 460,
"column": 28
},
"end": {
"line": 460,
"column": 45
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13356,
"end": 13357,
"loc": {
"start": {
"line": 460,
"column": 45
},
"end": {
"line": 460,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "err",
"start": 13358,
"end": 13361,
"loc": {
"start": {
"line": 460,
"column": 47
},
"end": {
"line": 460,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13361,
"end": 13362,
"loc": {
"start": {
"line": 460,
"column": 50
},
"end": {
"line": 460,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13362,
"end": 13363,
"loc": {
"start": {
"line": 460,
"column": 51
},
"end": {
"line": 460,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13377,
"end": 13378,
"loc": {
"start": {
"line": 461,
"column": 12
},
"end": {
"line": 461,
"column": 13
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13378,
"end": 13379,
"loc": {
"start": {
"line": 461,
"column": 13
},
"end": {
"line": 461,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13393,
"end": 13394,
"loc": {
"start": {
"line": 462,
"column": 12
},
"end": {
"line": 462,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "then",
"start": 13394,
"end": 13398,
"loc": {
"start": {
"line": 462,
"column": 13
},
"end": {
"line": 462,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13398,
"end": 13399,
"loc": {
"start": {
"line": 462,
"column": 17
},
"end": {
"line": 462,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13399,
"end": 13400,
"loc": {
"start": {
"line": 462,
"column": 18
},
"end": {
"line": 462,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13400,
"end": 13401,
"loc": {
"start": {
"line": 462,
"column": 19
},
"end": {
"line": 462,
"column": 20
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13402,
"end": 13404,
"loc": {
"start": {
"line": 462,
"column": 21
},
"end": {
"line": 462,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13405,
"end": 13406,
"loc": {
"start": {
"line": 462,
"column": 24
},
"end": {
"line": 462,
"column": 25
}
}
},
{
"type": "CommentLine",
"value": " Clear promise",
"start": 13424,
"end": 13440,
"loc": {
"start": {
"line": 463,
"column": 16
},
"end": {
"line": 463,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 13458,
"end": 13464,
"loc": {
"start": {
"line": 464,
"column": 16
},
"end": {
"line": 464,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13464,
"end": 13465,
"loc": {
"start": {
"line": 464,
"column": 22
},
"end": {
"line": 464,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "log",
"start": 13465,
"end": 13468,
"loc": {
"start": {
"line": 464,
"column": 23
},
"end": {
"line": 464,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13468,
"end": 13469,
"loc": {
"start": {
"line": 464,
"column": 26
},
"end": {
"line": 464,
"column": 27
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Saved!",
"start": 13469,
"end": 13477,
"loc": {
"start": {
"line": 464,
"column": 27
},
"end": {
"line": 464,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13477,
"end": 13478,
"loc": {
"start": {
"line": 464,
"column": 35
},
"end": {
"line": 464,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13478,
"end": 13479,
"loc": {
"start": {
"line": 464,
"column": 36
},
"end": {
"line": 464,
"column": 37
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 13497,
"end": 13501,
"loc": {
"start": {
"line": 465,
"column": 16
},
"end": {
"line": 465,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13501,
"end": 13502,
"loc": {
"start": {
"line": 465,
"column": 20
},
"end": {
"line": 465,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "core",
"start": 13502,
"end": 13506,
"loc": {
"start": {
"line": 465,
"column": 21
},
"end": {
"line": 465,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13506,
"end": 13507,
"loc": {
"start": {
"line": 465,
"column": 25
},
"end": {
"line": 465,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 13507,
"end": 13511,
"loc": {
"start": {
"line": 465,
"column": 26
},
"end": {
"line": 465,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13511,
"end": 13512,
"loc": {
"start": {
"line": 465,
"column": 30
},
"end": {
"line": 465,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 13512,
"end": 13519,
"loc": {
"start": {
"line": 465,
"column": 31
},
"end": {
"line": 465,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13519,
"end": 13520,
"loc": {
"start": {
"line": 465,
"column": 38
},
"end": {
"line": 465,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gameSaved",
"start": 13520,
"end": 13529,
"loc": {
"start": {
"line": 465,
"column": 39
},
"end": {
"line": 465,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13529,
"end": 13530,
"loc": {
"start": {
"line": 465,
"column": 48
},
"end": {
"line": 465,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dispatch",
"start": 13530,
"end": 13538,
"loc": {
"start": {
"line": 465,
"column": 49
},
"end": {
"line": 465,
"column": 57
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13538,
"end": 13539,
"loc": {
"start": {
"line": 465,
"column": 57
},
"end": {
"line": 465,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13539,
"end": 13540,
"loc": {
"start": {
"line": 465,
"column": 58
},
"end": {
"line": 465,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13540,
"end": 13541,
"loc": {
"start": {
"line": 465,
"column": 59
},
"end": {
"line": 465,
"column": 60
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 13559,
"end": 13563,
"loc": {
"start": {
"line": 466,
"column": 16
},
"end": {
"line": 466,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13563,
"end": 13564,
"loc": {
"start": {
"line": 466,
"column": 20
},
"end": {
"line": 466,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentSavePromise",
"start": 13564,
"end": 13582,
"loc": {
"start": {
"line": 466,
"column": 21
},
"end": {
"line": 466,
"column": 39
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 13583,
"end": 13584,
"loc": {
"start": {
"line": 466,
"column": 40
},
"end": {
"line": 466,
"column": 41
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 13585,
"end": 13589,
"loc": {
"start": {
"line": 466,
"column": 42
},
"end": {
"line": 466,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13589,
"end": 13590,
"loc": {
"start": {
"line": 466,
"column": 46
},
"end": {
"line": 466,
"column": 47
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13604,
"end": 13605,
"loc": {
"start": {
"line": 467,
"column": 12
},
"end": {
"line": 467,
"column": 13
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13605,
"end": 13606,
"loc": {
"start": {
"line": 467,
"column": 13
},
"end": {
"line": 467,
"column": 14
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13606,
"end": 13607,
"loc": {
"start": {
"line": 467,
"column": 14
},
"end": {
"line": 467,
"column": 15
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 13619,
"end": 13625,
"loc": {
"start": {
"line": 469,
"column": 8
},
"end": {
"line": 469,
"column": 14
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 13626,
"end": 13630,
"loc": {
"start": {
"line": 469,
"column": 15
},
"end": {
"line": 469,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13630,
"end": 13631,
"loc": {
"start": {
"line": 469,
"column": 19
},
"end": {
"line": 469,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentSavePromise",
"start": 13631,
"end": 13649,
"loc": {
"start": {
"line": 469,
"column": 20
},
"end": {
"line": 469,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13649,
"end": 13650,
"loc": {
"start": {
"line": 469,
"column": 38
},
"end": {
"line": 469,
"column": 39
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13656,
"end": 13657,
"loc": {
"start": {
"line": 470,
"column": 4
},
"end": {
"line": 470,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13659,
"end": 13660,
"loc": {
"start": {
"line": 471,
"column": 0
},
"end": {
"line": 471,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13660,
"end": 13660,
"loc": {
"start": {
"line": 471,
"column": 1
},
"end": {
"line": 471,
"column": 1
}
}
}
]
}