1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00
tobspr_shapez.io/docs/ast/source/game/time/game_time.js.json
2021-02-26 15:20:37 +01:00

28532 lines
742 KiB
JSON

{
"type": "File",
"start": 0,
"end": 6089,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 200,
"column": 1
}
},
"program": {
"type": "Program",
"start": 0,
"end": 6089,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 200,
"column": 1
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 23,
"end": 58,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 35
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 32,
"end": 40,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 17
}
},
"imported": {
"type": "Identifier",
"start": 32,
"end": 40,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 17
},
"identifierName": "GameRoot"
},
"name": "GameRoot",
"leadingComments": null
},
"local": {
"type": "Identifier",
"start": 32,
"end": 40,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 17
},
"identifierName": "GameRoot"
},
"name": "GameRoot"
},
"leadingComments": null
}
],
"source": {
"type": "StringLiteral",
"start": 48,
"end": 57,
"loc": {
"start": {
"line": 2,
"column": 25
},
"end": {
"line": 2,
"column": 34
}
},
"extra": {
"rawValue": "../root",
"raw": "\"../root\""
},
"value": "../root"
},
"leadingComments": [
{
"type": "CommentBlock",
"value": " typehints:start ",
"start": 0,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 21
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": " typehints:end ",
"start": 60,
"end": 79,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 19
}
}
}
]
},
{
"type": "ImportDeclaration",
"start": 83,
"end": 161,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 78
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 92,
"end": 97,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 14
}
},
"imported": {
"type": "Identifier",
"start": 92,
"end": 97,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 14
},
"identifierName": "types"
},
"name": "types",
"leadingComments": null
},
"local": {
"type": "Identifier",
"start": 92,
"end": 97,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 14
},
"identifierName": "types"
},
"name": "types"
},
"leadingComments": null
},
{
"type": "ImportSpecifier",
"start": 99,
"end": 122,
"loc": {
"start": {
"line": 5,
"column": 16
},
"end": {
"line": 5,
"column": 39
}
},
"imported": {
"type": "Identifier",
"start": 99,
"end": 122,
"loc": {
"start": {
"line": 5,
"column": 16
},
"end": {
"line": 5,
"column": 39
},
"identifierName": "BasicSerializableObject"
},
"name": "BasicSerializableObject"
},
"local": {
"type": "Identifier",
"start": 99,
"end": 122,
"loc": {
"start": {
"line": 5,
"column": 16
},
"end": {
"line": 5,
"column": 39
},
"identifierName": "BasicSerializableObject"
},
"name": "BasicSerializableObject"
}
}
],
"source": {
"type": "StringLiteral",
"start": 130,
"end": 160,
"loc": {
"start": {
"line": 5,
"column": 47
},
"end": {
"line": 5,
"column": 77
}
},
"extra": {
"rawValue": "../../savegame/serialization",
"raw": "\"../../savegame/serialization\""
},
"value": "../../savegame/serialization"
},
"leadingComments": [
{
"type": "CommentBlock",
"value": " typehints:end ",
"start": 60,
"end": 79,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 19
}
}
}
]
},
{
"type": "ImportDeclaration",
"start": 163,
"end": 219,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 56
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 172,
"end": 188,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 25
}
},
"imported": {
"type": "Identifier",
"start": 172,
"end": 188,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 25
},
"identifierName": "RegularGameSpeed"
},
"name": "RegularGameSpeed"
},
"local": {
"type": "Identifier",
"start": 172,
"end": 188,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 25
},
"identifierName": "RegularGameSpeed"
},
"name": "RegularGameSpeed"
}
}
],
"source": {
"type": "StringLiteral",
"start": 196,
"end": 218,
"loc": {
"start": {
"line": 6,
"column": 33
},
"end": {
"line": 6,
"column": 55
}
},
"extra": {
"rawValue": "./regular_game_speed",
"raw": "\"./regular_game_speed\""
},
"value": "./regular_game_speed"
}
},
{
"type": "ImportDeclaration",
"start": 221,
"end": 271,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 50
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 230,
"end": 243,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 22
}
},
"imported": {
"type": "Identifier",
"start": 230,
"end": 243,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 22
},
"identifierName": "BaseGameSpeed"
},
"name": "BaseGameSpeed"
},
"local": {
"type": "Identifier",
"start": 230,
"end": 243,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 22
},
"identifierName": "BaseGameSpeed"
},
"name": "BaseGameSpeed"
}
}
],
"source": {
"type": "StringLiteral",
"start": 251,
"end": 270,
"loc": {
"start": {
"line": 7,
"column": 30
},
"end": {
"line": 7,
"column": 49
}
},
"extra": {
"rawValue": "./base_game_speed",
"raw": "\"./base_game_speed\""
},
"value": "./base_game_speed"
}
},
{
"type": "ImportDeclaration",
"start": 273,
"end": 327,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 54
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 282,
"end": 297,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 282,
"end": 297,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 24
},
"identifierName": "PausedGameSpeed"
},
"name": "PausedGameSpeed"
},
"local": {
"type": "Identifier",
"start": 282,
"end": 297,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 24
},
"identifierName": "PausedGameSpeed"
},
"name": "PausedGameSpeed"
}
}
],
"source": {
"type": "StringLiteral",
"start": 305,
"end": 326,
"loc": {
"start": {
"line": 8,
"column": 32
},
"end": {
"line": 8,
"column": 53
}
},
"extra": {
"rawValue": "./paused_game_speed",
"raw": "\"./paused_game_speed\""
},
"value": "./paused_game_speed"
}
},
{
"type": "ImportDeclaration",
"start": 329,
"end": 395,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 66
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 338,
"end": 356,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 27
}
},
"imported": {
"type": "Identifier",
"start": 338,
"end": 356,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 27
},
"identifierName": "gGameSpeedRegistry"
},
"name": "gGameSpeedRegistry"
},
"local": {
"type": "Identifier",
"start": 338,
"end": 356,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 27
},
"identifierName": "gGameSpeedRegistry"
},
"name": "gGameSpeedRegistry"
}
}
],
"source": {
"type": "StringLiteral",
"start": 364,
"end": 394,
"loc": {
"start": {
"line": 9,
"column": 35
},
"end": {
"line": 9,
"column": 65
}
},
"extra": {
"rawValue": "../../core/global_registries",
"raw": "\"../../core/global_registries\""
},
"value": "../../core/global_registries"
}
},
{
"type": "ImportDeclaration",
"start": 397,
"end": 446,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 49
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 406,
"end": 418,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 406,
"end": 418,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 21
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"local": {
"type": "Identifier",
"start": 406,
"end": 418,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 21
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
}
}
],
"source": {
"type": "StringLiteral",
"start": 426,
"end": 445,
"loc": {
"start": {
"line": 10,
"column": 29
},
"end": {
"line": 10,
"column": 48
}
},
"extra": {
"rawValue": "../../core/config",
"raw": "\"../../core/config\""
},
"value": "../../core/config"
}
},
{
"type": "ImportDeclaration",
"start": 448,
"end": 498,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 50
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 457,
"end": 469,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 457,
"end": 469,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 21
},
"identifierName": "createLogger"
},
"name": "createLogger"
},
"local": {
"type": "Identifier",
"start": 457,
"end": 469,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 21
},
"identifierName": "createLogger"
},
"name": "createLogger"
}
}
],
"source": {
"type": "StringLiteral",
"start": 477,
"end": 497,
"loc": {
"start": {
"line": 11,
"column": 29
},
"end": {
"line": 11,
"column": 49
}
},
"extra": {
"rawValue": "../../core/logging",
"raw": "\"../../core/logging\""
},
"value": "../../core/logging"
}
},
{
"type": "VariableDeclaration",
"start": 502,
"end": 543,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 41
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 508,
"end": 542,
"loc": {
"start": {
"line": 13,
"column": 6
},
"end": {
"line": 13,
"column": 40
}
},
"id": {
"type": "Identifier",
"start": 508,
"end": 514,
"loc": {
"start": {
"line": 13,
"column": 6
},
"end": {
"line": 13,
"column": 12
},
"identifierName": "logger"
},
"name": "logger"
},
"init": {
"type": "CallExpression",
"start": 517,
"end": 542,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 40
}
},
"callee": {
"type": "Identifier",
"start": 517,
"end": 529,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 27
},
"identifierName": "createLogger"
},
"name": "createLogger"
},
"arguments": [
{
"type": "StringLiteral",
"start": 530,
"end": 541,
"loc": {
"start": {
"line": 13,
"column": 28
},
"end": {
"line": 13,
"column": 39
}
},
"extra": {
"rawValue": "game_time",
"raw": "\"game_time\""
},
"value": "game_time"
}
]
}
}
],
"kind": "const"
},
{
"type": "ExportNamedDeclaration",
"start": 547,
"end": 6089,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 200,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 554,
"end": 6089,
"loc": {
"start": {
"line": 15,
"column": 7
},
"end": {
"line": 200,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 560,
"end": 568,
"loc": {
"start": {
"line": 15,
"column": 13
},
"end": {
"line": 15,
"column": 21
},
"identifierName": "GameTime"
},
"name": "GameTime"
},
"superClass": {
"type": "Identifier",
"start": 577,
"end": 600,
"loc": {
"start": {
"line": 15,
"column": 30
},
"end": {
"line": 15,
"column": 53
},
"identifierName": "BasicSerializableObject"
},
"name": "BasicSerializableObject"
},
"body": {
"type": "ClassBody",
"start": 601,
"end": 6089,
"loc": {
"start": {
"line": 15,
"column": 54
},
"end": {
"line": 200,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 657,
"end": 1286,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 37,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 657,
"end": 668,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor",
"leadingComments": null
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 669,
"end": 673,
"loc": {
"start": {
"line": 19,
"column": 16
},
"end": {
"line": 19,
"column": 20
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "BlockStatement",
"start": 675,
"end": 1286,
"loc": {
"start": {
"line": 19,
"column": 22
},
"end": {
"line": 37,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 686,
"end": 694,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 16
}
},
"expression": {
"type": "CallExpression",
"start": 686,
"end": 693,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 15
}
},
"callee": {
"type": "Super",
"start": 686,
"end": 691,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 13
}
}
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 704,
"end": 721,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 704,
"end": 720,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 24
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 704,
"end": 713,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 704,
"end": 708,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 709,
"end": 713,
"loc": {
"start": {
"line": 21,
"column": 13
},
"end": {
"line": 21,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 716,
"end": 720,
"loc": {
"start": {
"line": 21,
"column": 20
},
"end": {
"line": 21,
"column": 24
},
"identifierName": "root"
},
"name": "root"
}
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Current ingame time seconds, not incremented while paused",
"start": 733,
"end": 793,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 68
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 803,
"end": 824,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 803,
"end": 823,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 28
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 803,
"end": 819,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 803,
"end": 807,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 808,
"end": 819,
"loc": {
"start": {
"line": 24,
"column": 13
},
"end": {
"line": 24,
"column": 24
},
"identifierName": "timeSeconds"
},
"name": "timeSeconds"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NumericLiteral",
"start": 822,
"end": 823,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"column": 28
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Current ingame time seconds, not incremented while paused",
"start": 733,
"end": 793,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 68
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Current \"realtime\", a timer which always is incremented no matter whether the game is paused or no",
"start": 836,
"end": 937,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 109
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 947,
"end": 972,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 33
}
},
"expression": {
"type": "AssignmentExpression",
"start": 947,
"end": 971,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 32
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 947,
"end": 967,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 947,
"end": 951,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 952,
"end": 967,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 28
},
"identifierName": "realtimeSeconds"
},
"name": "realtimeSeconds"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NumericLiteral",
"start": 970,
"end": 971,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 32
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Current \"realtime\", a timer which always is incremented no matter whether the game is paused or no",
"start": 836,
"end": 937,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 109
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " The adjustment, used when loading savegames so we can continue where we were",
"start": 984,
"end": 1063,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 87
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1073,
"end": 1097,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 32
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1073,
"end": 1096,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 31
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1073,
"end": 1092,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 1073,
"end": 1077,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1078,
"end": 1092,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 27
},
"identifierName": "realtimeAdjust"
},
"name": "realtimeAdjust"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NumericLiteral",
"start": 1095,
"end": 1096,
"loc": {
"start": {
"line": 30,
"column": 30
},
"end": {
"line": 30,
"column": 31
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " The adjustment, used when loading savegames so we can continue where we were",
"start": 984,
"end": 1063,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 87
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @type {BaseGameSpeed} ",
"start": 1109,
"end": 1137,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 36
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1147,
"end": 1192,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 53
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1147,
"end": 1191,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 52
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1147,
"end": 1157,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 1147,
"end": 1151,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1152,
"end": 1157,
"loc": {
"start": {
"line": 33,
"column": 13
},
"end": {
"line": 33,
"column": 18
},
"identifierName": "speed"
},
"name": "speed"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NewExpression",
"start": 1160,
"end": 1191,
"loc": {
"start": {
"line": 33,
"column": 21
},
"end": {
"line": 33,
"column": 52
}
},
"callee": {
"type": "Identifier",
"start": 1164,
"end": 1180,
"loc": {
"start": {
"line": 33,
"column": 25
},
"end": {
"line": 33,
"column": 41
},
"identifierName": "RegularGameSpeed"
},
"name": "RegularGameSpeed"
},
"arguments": [
{
"type": "MemberExpression",
"start": 1181,
"end": 1190,
"loc": {
"start": {
"line": 33,
"column": 42
},
"end": {
"line": 33,
"column": 51
}
},
"object": {
"type": "ThisExpression",
"start": 1181,
"end": 1185,
"loc": {
"start": {
"line": 33,
"column": 42
},
"end": {
"line": 33,
"column": 46
}
}
},
"property": {
"type": "Identifier",
"start": 1186,
"end": 1190,
"loc": {
"start": {
"line": 33,
"column": 47
},
"end": {
"line": 33,
"column": 51
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
}
]
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {BaseGameSpeed} ",
"start": 1109,
"end": 1137,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 36
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Store how much time we have in bucket",
"start": 1204,
"end": 1244,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 48
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1254,
"end": 1279,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 33
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1254,
"end": 1278,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 32
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1254,
"end": 1274,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 1254,
"end": 1258,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1259,
"end": 1274,
"loc": {
"start": {
"line": 36,
"column": 13
},
"end": {
"line": 36,
"column": 28
},
"identifierName": "logicTimeBudget"
},
"name": "logicTimeBudget"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NumericLiteral",
"start": 1277,
"end": 1278,
"loc": {
"start": {
"line": 36,
"column": 31
},
"end": {
"line": 36,
"column": 32
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Store how much time we have in bucket",
"start": 1204,
"end": 1244,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 48
}
}
}
]
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 608,
"end": 651,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 18,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1294,
"end": 1345,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 41,
"column": 5
}
},
"static": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 1301,
"end": 1306,
"loc": {
"start": {
"line": 39,
"column": 11
},
"end": {
"line": 39,
"column": 16
},
"identifierName": "getId"
},
"name": "getId"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1309,
"end": 1345,
"loc": {
"start": {
"line": 39,
"column": 19
},
"end": {
"line": 41,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1320,
"end": 1338,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 26
}
},
"argument": {
"type": "StringLiteral",
"start": 1327,
"end": 1337,
"loc": {
"start": {
"line": 40,
"column": 15
},
"end": {
"line": 40,
"column": 25
}
},
"extra": {
"rawValue": "GameTime",
"raw": "\"GameTime\""
},
"value": "GameTime"
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1353,
"end": 1543,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 49,
"column": 5
}
},
"static": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 1360,
"end": 1369,
"loc": {
"start": {
"line": 43,
"column": 11
},
"end": {
"line": 43,
"column": 20
},
"identifierName": "getSchema"
},
"name": "getSchema"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1372,
"end": 1543,
"loc": {
"start": {
"line": 43,
"column": 23
},
"end": {
"line": 49,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1383,
"end": 1536,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 48,
"column": 10
}
},
"argument": {
"type": "ObjectExpression",
"start": 1390,
"end": 1535,
"loc": {
"start": {
"line": 44,
"column": 15
},
"end": {
"line": 48,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1405,
"end": 1429,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 36
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1405,
"end": 1416,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 23
},
"identifierName": "timeSeconds"
},
"name": "timeSeconds"
},
"value": {
"type": "MemberExpression",
"start": 1418,
"end": 1429,
"loc": {
"start": {
"line": 45,
"column": 25
},
"end": {
"line": 45,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 1418,
"end": 1423,
"loc": {
"start": {
"line": 45,
"column": 25
},
"end": {
"line": 45,
"column": 30
},
"identifierName": "types"
},
"name": "types"
},
"property": {
"type": "Identifier",
"start": 1424,
"end": 1429,
"loc": {
"start": {
"line": 45,
"column": 31
},
"end": {
"line": 45,
"column": 36
},
"identifierName": "float"
},
"name": "float"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 1444,
"end": 1480,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 48
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1444,
"end": 1449,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 17
},
"identifierName": "speed"
},
"name": "speed"
},
"value": {
"type": "CallExpression",
"start": 1451,
"end": 1480,
"loc": {
"start": {
"line": 46,
"column": 19
},
"end": {
"line": 46,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 1451,
"end": 1460,
"loc": {
"start": {
"line": 46,
"column": 19
},
"end": {
"line": 46,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 1451,
"end": 1456,
"loc": {
"start": {
"line": 46,
"column": 19
},
"end": {
"line": 46,
"column": 24
},
"identifierName": "types"
},
"name": "types"
},
"property": {
"type": "Identifier",
"start": 1457,
"end": 1460,
"loc": {
"start": {
"line": 46,
"column": 25
},
"end": {
"line": 46,
"column": 28
},
"identifierName": "obj"
},
"name": "obj"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1461,
"end": 1479,
"loc": {
"start": {
"line": 46,
"column": 29
},
"end": {
"line": 46,
"column": 47
},
"identifierName": "gGameSpeedRegistry"
},
"name": "gGameSpeedRegistry"
}
]
}
},
{
"type": "ObjectProperty",
"start": 1495,
"end": 1523,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 40
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1495,
"end": 1510,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 27
},
"identifierName": "realtimeSeconds"
},
"name": "realtimeSeconds"
},
"value": {
"type": "MemberExpression",
"start": 1512,
"end": 1523,
"loc": {
"start": {
"line": 47,
"column": 29
},
"end": {
"line": 47,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 1512,
"end": 1517,
"loc": {
"start": {
"line": 47,
"column": 29
},
"end": {
"line": 47,
"column": 34
},
"identifierName": "types"
},
"name": "types"
},
"property": {
"type": "Identifier",
"start": 1518,
"end": 1523,
"loc": {
"start": {
"line": 47,
"column": 35
},
"end": {
"line": 47,
"column": 40
},
"identifierName": "float"
},
"name": "float"
},
"computed": false
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Fetches the new \"real\" time, called from the core once per frame, since performance now() is kinda slow\r\n ",
"start": 1551,
"end": 1675,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 53,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1681,
"end": 1791,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 56,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1681,
"end": 1698,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 21
},
"identifierName": "updateRealtimeNow"
},
"name": "updateRealtimeNow",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1701,
"end": 1791,
"loc": {
"start": {
"line": 54,
"column": 24
},
"end": {
"line": 56,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1712,
"end": 1784,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 80
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1712,
"end": 1783,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 79
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1712,
"end": 1732,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 1712,
"end": 1716,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1717,
"end": 1732,
"loc": {
"start": {
"line": 55,
"column": 13
},
"end": {
"line": 55,
"column": 28
},
"identifierName": "realtimeSeconds"
},
"name": "realtimeSeconds"
},
"computed": false
},
"right": {
"type": "BinaryExpression",
"start": 1735,
"end": 1783,
"loc": {
"start": {
"line": 55,
"column": 31
},
"end": {
"line": 55,
"column": 79
}
},
"left": {
"type": "BinaryExpression",
"start": 1735,
"end": 1761,
"loc": {
"start": {
"line": 55,
"column": 31
},
"end": {
"line": 55,
"column": 57
}
},
"left": {
"type": "CallExpression",
"start": 1735,
"end": 1752,
"loc": {
"start": {
"line": 55,
"column": 31
},
"end": {
"line": 55,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 1735,
"end": 1750,
"loc": {
"start": {
"line": 55,
"column": 31
},
"end": {
"line": 55,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 1735,
"end": 1746,
"loc": {
"start": {
"line": 55,
"column": 31
},
"end": {
"line": 55,
"column": 42
},
"identifierName": "performance"
},
"name": "performance"
},
"property": {
"type": "Identifier",
"start": 1747,
"end": 1750,
"loc": {
"start": {
"line": 55,
"column": 43
},
"end": {
"line": 55,
"column": 46
},
"identifierName": "now"
},
"name": "now"
},
"computed": false
},
"arguments": []
},
"operator": "/",
"right": {
"type": "NumericLiteral",
"start": 1755,
"end": 1761,
"loc": {
"start": {
"line": 55,
"column": 51
},
"end": {
"line": 55,
"column": 57
}
},
"extra": {
"rawValue": 1000,
"raw": "1000.0"
},
"value": 1000
}
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 1764,
"end": 1783,
"loc": {
"start": {
"line": 55,
"column": 60
},
"end": {
"line": 55,
"column": 79
}
},
"object": {
"type": "ThisExpression",
"start": 1764,
"end": 1768,
"loc": {
"start": {
"line": 55,
"column": 60
},
"end": {
"line": 55,
"column": 64
}
}
},
"property": {
"type": "Identifier",
"start": 1769,
"end": 1783,
"loc": {
"start": {
"line": 55,
"column": 65
},
"end": {
"line": 55,
"column": 79
},
"identifierName": "realtimeAdjust"
},
"name": "realtimeAdjust"
},
"computed": false
}
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Fetches the new \"real\" time, called from the core once per frame, since performance now() is kinda slow\r\n ",
"start": 1551,
"end": 1675,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 53,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns the ingame time in milliseconds\r\n ",
"start": 1799,
"end": 1859,
"loc": {
"start": {
"line": 58,
"column": 4
},
"end": {
"line": 60,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1865,
"end": 1928,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 63,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1865,
"end": 1874,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 13
},
"identifierName": "getTimeMs"
},
"name": "getTimeMs",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1877,
"end": 1928,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 63,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1888,
"end": 1921,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 62,
"column": 41
}
},
"argument": {
"type": "BinaryExpression",
"start": 1895,
"end": 1920,
"loc": {
"start": {
"line": 62,
"column": 15
},
"end": {
"line": 62,
"column": 40
}
},
"left": {
"type": "MemberExpression",
"start": 1895,
"end": 1911,
"loc": {
"start": {
"line": 62,
"column": 15
},
"end": {
"line": 62,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1895,
"end": 1899,
"loc": {
"start": {
"line": 62,
"column": 15
},
"end": {
"line": 62,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 1900,
"end": 1911,
"loc": {
"start": {
"line": 62,
"column": 20
},
"end": {
"line": 62,
"column": 31
},
"identifierName": "timeSeconds"
},
"name": "timeSeconds"
},
"computed": false
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 1914,
"end": 1920,
"loc": {
"start": {
"line": 62,
"column": 34
},
"end": {
"line": 62,
"column": 40
}
},
"extra": {
"rawValue": 1000,
"raw": "1000.0"
},
"value": 1000
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns the ingame time in milliseconds\r\n ",
"start": 1799,
"end": 1859,
"loc": {
"start": {
"line": 58,
"column": 4
},
"end": {
"line": 60,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns how many seconds we are in the grace period\r\n * @returns {number}\r\n ",
"start": 1936,
"end": 2034,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 68,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2040,
"end": 2100,
"loc": {
"start": {
"line": 69,
"column": 4
},
"end": {
"line": 71,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2040,
"end": 2070,
"loc": {
"start": {
"line": 69,
"column": 4
},
"end": {
"line": 69,
"column": 34
},
"identifierName": "getRemainingGracePeriodSeconds"
},
"name": "getRemainingGracePeriodSeconds",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2073,
"end": 2100,
"loc": {
"start": {
"line": 69,
"column": 37
},
"end": {
"line": 71,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2084,
"end": 2093,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 17
}
},
"argument": {
"type": "NumericLiteral",
"start": 2091,
"end": 2092,
"loc": {
"start": {
"line": 70,
"column": 15
},
"end": {
"line": 70,
"column": 16
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns how many seconds we are in the grace period\r\n * @returns {number}\r\n ",
"start": 1936,
"end": 2034,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 68,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns if we are currently in the grace period\r\n * @returns {boolean}\r\n ",
"start": 2108,
"end": 2203,
"loc": {
"start": {
"line": 73,
"column": 4
},
"end": {
"line": 76,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2209,
"end": 2301,
"loc": {
"start": {
"line": 77,
"column": 4
},
"end": {
"line": 79,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2209,
"end": 2231,
"loc": {
"start": {
"line": 77,
"column": 4
},
"end": {
"line": 77,
"column": 26
},
"identifierName": "getIsWithinGracePeriod"
},
"name": "getIsWithinGracePeriod",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2234,
"end": 2301,
"loc": {
"start": {
"line": 77,
"column": 29
},
"end": {
"line": 79,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2245,
"end": 2294,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 57
}
},
"argument": {
"type": "BinaryExpression",
"start": 2252,
"end": 2293,
"loc": {
"start": {
"line": 78,
"column": 15
},
"end": {
"line": 78,
"column": 56
}
},
"left": {
"type": "CallExpression",
"start": 2252,
"end": 2289,
"loc": {
"start": {
"line": 78,
"column": 15
},
"end": {
"line": 78,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
"start": 2252,
"end": 2287,
"loc": {
"start": {
"line": 78,
"column": 15
},
"end": {
"line": 78,
"column": 50
}
},
"object": {
"type": "ThisExpression",
"start": 2252,
"end": 2256,
"loc": {
"start": {
"line": 78,
"column": 15
},
"end": {
"line": 78,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 2257,
"end": 2287,
"loc": {
"start": {
"line": 78,
"column": 20
},
"end": {
"line": 78,
"column": 50
},
"identifierName": "getRemainingGracePeriodSeconds"
},
"name": "getRemainingGracePeriodSeconds"
},
"computed": false
},
"arguments": []
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 2292,
"end": 2293,
"loc": {
"start": {
"line": 78,
"column": 55
},
"end": {
"line": 78,
"column": 56
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns if we are currently in the grace period\r\n * @returns {boolean}\r\n ",
"start": 2108,
"end": 2203,
"loc": {
"start": {
"line": 73,
"column": 4
},
"end": {
"line": 76,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Internal method to generate new logic time budget\r\n * @param {number} deltaMs\r\n ",
"start": 2309,
"end": 2411,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 84,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2417,
"end": 3340,
"loc": {
"start": {
"line": 85,
"column": 4
},
"end": {
"line": 106,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2417,
"end": 2441,
"loc": {
"start": {
"line": 85,
"column": 4
},
"end": {
"line": 85,
"column": 28
},
"identifierName": "internalAddDeltaToBudget"
},
"name": "internalAddDeltaToBudget",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2442,
"end": 2449,
"loc": {
"start": {
"line": 85,
"column": 29
},
"end": {
"line": 85,
"column": 36
},
"identifierName": "deltaMs"
},
"name": "deltaMs"
}
],
"body": {
"type": "BlockStatement",
"start": 2451,
"end": 3340,
"loc": {
"start": {
"line": 85,
"column": 38
},
"end": {
"line": 106,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 2516,
"end": 2750,
"loc": {
"start": {
"line": 87,
"column": 8
},
"end": {
"line": 92,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 2520,
"end": 2551,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 2520,
"end": 2549,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 2520,
"end": 2533,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 2520,
"end": 2529,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 2520,
"end": 2524,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 16
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2525,
"end": 2529,
"loc": {
"start": {
"line": 87,
"column": 17
},
"end": {
"line": 87,
"column": 21
},
"identifierName": "root"
},
"name": "root"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2530,
"end": 2533,
"loc": {
"start": {
"line": 87,
"column": 22
},
"end": {
"line": 87,
"column": 25
},
"identifierName": "hud"
},
"name": "hud"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2534,
"end": 2549,
"loc": {
"start": {
"line": 87,
"column": 26
},
"end": {
"line": 87,
"column": 41
},
"identifierName": "shouldPauseGame"
},
"name": "shouldPauseGame"
},
"computed": false,
"leadingComments": null
},
"arguments": [],
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 2553,
"end": 2604,
"loc": {
"start": {
"line": 87,
"column": 45
},
"end": {
"line": 89,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2568,
"end": 2593,
"loc": {
"start": {
"line": 88,
"column": 12
},
"end": {
"line": 88,
"column": 37
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2568,
"end": 2592,
"loc": {
"start": {
"line": 88,
"column": 12
},
"end": {
"line": 88,
"column": 36
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2568,
"end": 2588,
"loc": {
"start": {
"line": 88,
"column": 12
},
"end": {
"line": 88,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 2568,
"end": 2572,
"loc": {
"start": {
"line": 88,
"column": 12
},
"end": {
"line": 88,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2573,
"end": 2588,
"loc": {
"start": {
"line": 88,
"column": 17
},
"end": {
"line": 88,
"column": 32
},
"identifierName": "logicTimeBudget"
},
"name": "logicTimeBudget"
},
"computed": false
},
"right": {
"type": "NumericLiteral",
"start": 2591,
"end": 2592,
"loc": {
"start": {
"line": 88,
"column": 35
},
"end": {
"line": 88,
"column": 36
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 2610,
"end": 2750,
"loc": {
"start": {
"line": 89,
"column": 15
},
"end": {
"line": 92,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2625,
"end": 2680,
"loc": {
"start": {
"line": 90,
"column": 12
},
"end": {
"line": 90,
"column": 67
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2631,
"end": 2679,
"loc": {
"start": {
"line": 90,
"column": 18
},
"end": {
"line": 90,
"column": 66
}
},
"id": {
"type": "Identifier",
"start": 2631,
"end": 2641,
"loc": {
"start": {
"line": 90,
"column": 18
},
"end": {
"line": 90,
"column": 28
},
"identifierName": "multiplier"
},
"name": "multiplier"
},
"init": {
"type": "CallExpression",
"start": 2644,
"end": 2679,
"loc": {
"start": {
"line": 90,
"column": 31
},
"end": {
"line": 90,
"column": 66
}
},
"callee": {
"type": "MemberExpression",
"start": 2644,
"end": 2677,
"loc": {
"start": {
"line": 90,
"column": 31
},
"end": {
"line": 90,
"column": 64
}
},
"object": {
"type": "CallExpression",
"start": 2644,
"end": 2659,
"loc": {
"start": {
"line": 90,
"column": 31
},
"end": {
"line": 90,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 2644,
"end": 2657,
"loc": {
"start": {
"line": 90,
"column": 31
},
"end": {
"line": 90,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 2644,
"end": 2648,
"loc": {
"start": {
"line": 90,
"column": 31
},
"end": {
"line": 90,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"start": 2649,
"end": 2657,
"loc": {
"start": {
"line": 90,
"column": 36
},
"end": {
"line": 90,
"column": 44
},
"identifierName": "getSpeed"
},
"name": "getSpeed"
},
"computed": false
},
"arguments": []
},
"property": {
"type": "Identifier",
"start": 2660,
"end": 2677,
"loc": {
"start": {
"line": 90,
"column": 47
},
"end": {
"line": 90,
"column": 64
},
"identifierName": "getTimeMultiplier"
},
"name": "getTimeMultiplier"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2694,
"end": 2739,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 57
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2694,
"end": 2738,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 56
}
},
"operator": "+=",
"left": {
"type": "MemberExpression",
"start": 2694,
"end": 2714,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 2694,
"end": 2698,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2699,
"end": 2714,
"loc": {
"start": {
"line": 91,
"column": 17
},
"end": {
"line": 91,
"column": 32
},
"identifierName": "logicTimeBudget"
},
"name": "logicTimeBudget"
},
"computed": false
},
"right": {
"type": "BinaryExpression",
"start": 2718,
"end": 2738,
"loc": {
"start": {
"line": 91,
"column": 36
},
"end": {
"line": 91,
"column": 56
}
},
"left": {
"type": "Identifier",
"start": 2718,
"end": 2725,
"loc": {
"start": {
"line": 91,
"column": 36
},
"end": {
"line": 91,
"column": 43
},
"identifierName": "deltaMs"
},
"name": "deltaMs"
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 2728,
"end": 2738,
"loc": {
"start": {
"line": 91,
"column": 46
},
"end": {
"line": 91,
"column": 56
},
"identifierName": "multiplier"
},
"name": "multiplier"
}
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Only update if game is supposed to update",
"start": 2462,
"end": 2506,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 52
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Check for too big pile of updates -> reduce it to 1",
"start": 2762,
"end": 2816,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 62
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 2826,
"end": 2984,
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 98,
"column": 10
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2830,
"end": 2983,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 98,
"column": 9
}
},
"id": {
"type": "Identifier",
"start": 2830,
"end": 2843,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 25
},
"identifierName": "maxLogicSteps"
},
"name": "maxLogicSteps",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 2846,
"end": 2983,
"loc": {
"start": {
"line": 95,
"column": 28
},
"end": {
"line": 98,
"column": 9
}
},
"callee": {
"type": "MemberExpression",
"start": 2846,
"end": 2854,
"loc": {
"start": {
"line": 95,
"column": 28
},
"end": {
"line": 95,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 2846,
"end": 2850,
"loc": {
"start": {
"line": 95,
"column": 28
},
"end": {
"line": 95,
"column": 32
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 2851,
"end": 2854,
"loc": {
"start": {
"line": 95,
"column": 33
},
"end": {
"line": 95,
"column": 36
},
"identifierName": "max"
},
"name": "max"
},
"computed": false
},
"arguments": [
{
"type": "NumericLiteral",
"start": 2869,
"end": 2870,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 96,
"column": 13
}
},
"extra": {
"rawValue": 3,
"raw": "3"
},
"value": 3
},
{
"type": "BinaryExpression",
"start": 2885,
"end": 2972,
"loc": {
"start": {
"line": 97,
"column": 12
},
"end": {
"line": 97,
"column": 99
}
},
"left": {
"type": "BinaryExpression",
"start": 2886,
"end": 2966,
"loc": {
"start": {
"line": 97,
"column": 13
},
"end": {
"line": 97,
"column": 93
}
},
"left": {
"type": "CallExpression",
"start": 2886,
"end": 2922,
"loc": {
"start": {
"line": 97,
"column": 13
},
"end": {
"line": 97,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
"start": 2886,
"end": 2920,
"loc": {
"start": {
"line": 97,
"column": 13
},
"end": {
"line": 97,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 2886,
"end": 2896,
"loc": {
"start": {
"line": 97,
"column": 13
},
"end": {
"line": 97,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 2886,
"end": 2890,
"loc": {
"start": {
"line": 97,
"column": 13
},
"end": {
"line": 97,
"column": 17
}
}
},
"property": {
"type": "Identifier",
"start": 2891,
"end": 2896,
"loc": {
"start": {
"line": 97,
"column": 18
},
"end": {
"line": 97,
"column": 23
},
"identifierName": "speed"
},
"name": "speed"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2897,
"end": 2920,
"loc": {
"start": {
"line": 97,
"column": 24
},
"end": {
"line": 97,
"column": 47
},
"identifierName": "getMaxLogicStepsInQueue"
},
"name": "getMaxLogicStepsInQueue"
},
"computed": false
},
"arguments": []
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 2925,
"end": 2966,
"loc": {
"start": {
"line": 97,
"column": 52
},
"end": {
"line": 97,
"column": 93
}
},
"object": {
"type": "MemberExpression",
"start": 2925,
"end": 2950,
"loc": {
"start": {
"line": 97,
"column": 52
},
"end": {
"line": 97,
"column": 77
}
},
"object": {
"type": "MemberExpression",
"start": 2925,
"end": 2934,
"loc": {
"start": {
"line": 97,
"column": 52
},
"end": {
"line": 97,
"column": 61
}
},
"object": {
"type": "ThisExpression",
"start": 2925,
"end": 2929,
"loc": {
"start": {
"line": 97,
"column": 52
},
"end": {
"line": 97,
"column": 56
}
}
},
"property": {
"type": "Identifier",
"start": 2930,
"end": 2934,
"loc": {
"start": {
"line": 97,
"column": 57
},
"end": {
"line": 97,
"column": 61
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2935,
"end": 2950,
"loc": {
"start": {
"line": 97,
"column": 62
},
"end": {
"line": 97,
"column": 77
},
"identifierName": "dynamicTickrate"
},
"name": "dynamicTickrate"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2951,
"end": 2966,
"loc": {
"start": {
"line": 97,
"column": 78
},
"end": {
"line": 97,
"column": 93
},
"identifierName": "currentTickRate"
},
"name": "currentTickRate"
},
"computed": false
},
"extra": {
"parenthesized": true,
"parenStart": 2885
}
},
"operator": "/",
"right": {
"type": "NumericLiteral",
"start": 2970,
"end": 2972,
"loc": {
"start": {
"line": 97,
"column": 97
},
"end": {
"line": 97,
"column": 99
}
},
"extra": {
"rawValue": 60,
"raw": "60"
},
"value": 60
}
}
]
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": [
{
"type": "CommentLine",
"value": " Check for too big pile of updates -> reduce it to 1",
"start": 2762,
"end": 2816,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 62
}
}
}
]
},
{
"type": "IfStatement",
"start": 2994,
"end": 3144,
"loc": {
"start": {
"line": 99,
"column": 8
},
"end": {
"line": 101,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 2998,
"end": 3052,
"loc": {
"start": {
"line": 99,
"column": 12
},
"end": {
"line": 99,
"column": 66
}
},
"left": {
"type": "Identifier",
"start": 2998,
"end": 3006,
"loc": {
"start": {
"line": 99,
"column": 12
},
"end": {
"line": 99,
"column": 20
},
"identifierName": "G_IS_DEV"
},
"name": "G_IS_DEV"
},
"operator": "&&",
"right": {
"type": "MemberExpression",
"start": 3010,
"end": 3052,
"loc": {
"start": {
"line": 99,
"column": 24
},
"end": {
"line": 99,
"column": 66
}
},
"object": {
"type": "MemberExpression",
"start": 3010,
"end": 3028,
"loc": {
"start": {
"line": 99,
"column": 24
},
"end": {
"line": 99,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 3010,
"end": 3022,
"loc": {
"start": {
"line": 99,
"column": 24
},
"end": {
"line": 99,
"column": 36
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 3023,
"end": 3028,
"loc": {
"start": {
"line": 99,
"column": 37
},
"end": {
"line": 99,
"column": 42
},
"identifierName": "debug"
},
"name": "debug"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3029,
"end": 3052,
"loc": {
"start": {
"line": 99,
"column": 43
},
"end": {
"line": 99,
"column": 66
},
"identifierName": "framePausesBetweenTicks"
},
"name": "framePausesBetweenTicks"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 3054,
"end": 3144,
"loc": {
"start": {
"line": 99,
"column": 68
},
"end": {
"line": 101,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3069,
"end": 3133,
"loc": {
"start": {
"line": 100,
"column": 12
},
"end": {
"line": 100,
"column": 76
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3069,
"end": 3132,
"loc": {
"start": {
"line": 100,
"column": 12
},
"end": {
"line": 100,
"column": 75
}
},
"operator": "*=",
"left": {
"type": "Identifier",
"start": 3069,
"end": 3082,
"loc": {
"start": {
"line": 100,
"column": 12
},
"end": {
"line": 100,
"column": 25
},
"identifierName": "maxLogicSteps"
},
"name": "maxLogicSteps"
},
"right": {
"type": "BinaryExpression",
"start": 3086,
"end": 3132,
"loc": {
"start": {
"line": 100,
"column": 29
},
"end": {
"line": 100,
"column": 75
}
},
"left": {
"type": "NumericLiteral",
"start": 3086,
"end": 3087,
"loc": {
"start": {
"line": 100,
"column": 29
},
"end": {
"line": 100,
"column": 30
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 3090,
"end": 3132,
"loc": {
"start": {
"line": 100,
"column": 33
},
"end": {
"line": 100,
"column": 75
}
},
"object": {
"type": "MemberExpression",
"start": 3090,
"end": 3108,
"loc": {
"start": {
"line": 100,
"column": 33
},
"end": {
"line": 100,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 3090,
"end": 3102,
"loc": {
"start": {
"line": 100,
"column": 33
},
"end": {
"line": 100,
"column": 45
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 3103,
"end": 3108,
"loc": {
"start": {
"line": 100,
"column": 46
},
"end": {
"line": 100,
"column": 51
},
"identifierName": "debug"
},
"name": "debug"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3109,
"end": 3132,
"loc": {
"start": {
"line": 100,
"column": 52
},
"end": {
"line": 100,
"column": 75
},
"identifierName": "framePausesBetweenTicks"
},
"name": "framePausesBetweenTicks"
},
"computed": false
}
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 3156,
"end": 3333,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 105,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 3160,
"end": 3232,
"loc": {
"start": {
"line": 103,
"column": 12
},
"end": {
"line": 103,
"column": 84
}
},
"left": {
"type": "MemberExpression",
"start": 3160,
"end": 3180,
"loc": {
"start": {
"line": 103,
"column": 12
},
"end": {
"line": 103,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 3160,
"end": 3164,
"loc": {
"start": {
"line": 103,
"column": 12
},
"end": {
"line": 103,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 3165,
"end": 3180,
"loc": {
"start": {
"line": 103,
"column": 17
},
"end": {
"line": 103,
"column": 32
},
"identifierName": "logicTimeBudget"
},
"name": "logicTimeBudget"
},
"computed": false
},
"operator": ">",
"right": {
"type": "BinaryExpression",
"start": 3183,
"end": 3232,
"loc": {
"start": {
"line": 103,
"column": 35
},
"end": {
"line": 103,
"column": 84
}
},
"left": {
"type": "MemberExpression",
"start": 3183,
"end": 3216,
"loc": {
"start": {
"line": 103,
"column": 35
},
"end": {
"line": 103,
"column": 68
}
},
"object": {
"type": "MemberExpression",
"start": 3183,
"end": 3208,
"loc": {
"start": {
"line": 103,
"column": 35
},
"end": {
"line": 103,
"column": 60
}
},
"object": {
"type": "MemberExpression",
"start": 3183,
"end": 3192,
"loc": {
"start": {
"line": 103,
"column": 35
},
"end": {
"line": 103,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 3183,
"end": 3187,
"loc": {
"start": {
"line": 103,
"column": 35
},
"end": {
"line": 103,
"column": 39
}
}
},
"property": {
"type": "Identifier",
"start": 3188,
"end": 3192,
"loc": {
"start": {
"line": 103,
"column": 40
},
"end": {
"line": 103,
"column": 44
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3193,
"end": 3208,
"loc": {
"start": {
"line": 103,
"column": 45
},
"end": {
"line": 103,
"column": 60
},
"identifierName": "dynamicTickrate"
},
"name": "dynamicTickrate"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3209,
"end": 3216,
"loc": {
"start": {
"line": 103,
"column": 61
},
"end": {
"line": 103,
"column": 68
},
"identifierName": "deltaMs"
},
"name": "deltaMs"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 3219,
"end": 3232,
"loc": {
"start": {
"line": 103,
"column": 71
},
"end": {
"line": 103,
"column": 84
},
"identifierName": "maxLogicSteps"
},
"name": "maxLogicSteps"
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 3234,
"end": 3333,
"loc": {
"start": {
"line": 103,
"column": 86
},
"end": {
"line": 105,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3249,
"end": 3322,
"loc": {
"start": {
"line": 104,
"column": 12
},
"end": {
"line": 104,
"column": 85
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3249,
"end": 3321,
"loc": {
"start": {
"line": 104,
"column": 12
},
"end": {
"line": 104,
"column": 84
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3249,
"end": 3269,
"loc": {
"start": {
"line": 104,
"column": 12
},
"end": {
"line": 104,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 3249,
"end": 3253,
"loc": {
"start": {
"line": 104,
"column": 12
},
"end": {
"line": 104,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 3254,
"end": 3269,
"loc": {
"start": {
"line": 104,
"column": 17
},
"end": {
"line": 104,
"column": 32
},
"identifierName": "logicTimeBudget"
},
"name": "logicTimeBudget"
},
"computed": false
},
"right": {
"type": "BinaryExpression",
"start": 3272,
"end": 3321,
"loc": {
"start": {
"line": 104,
"column": 35
},
"end": {
"line": 104,
"column": 84
}
},
"left": {
"type": "MemberExpression",
"start": 3272,
"end": 3305,
"loc": {
"start": {
"line": 104,
"column": 35
},
"end": {
"line": 104,
"column": 68
}
},
"object": {
"type": "MemberExpression",
"start": 3272,
"end": 3297,
"loc": {
"start": {
"line": 104,
"column": 35
},
"end": {
"line": 104,
"column": 60
}
},
"object": {
"type": "MemberExpression",
"start": 3272,
"end": 3281,
"loc": {
"start": {
"line": 104,
"column": 35
},
"end": {
"line": 104,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 3272,
"end": 3276,
"loc": {
"start": {
"line": 104,
"column": 35
},
"end": {
"line": 104,
"column": 39
}
}
},
"property": {
"type": "Identifier",
"start": 3277,
"end": 3281,
"loc": {
"start": {
"line": 104,
"column": 40
},
"end": {
"line": 104,
"column": 44
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3282,
"end": 3297,
"loc": {
"start": {
"line": 104,
"column": 45
},
"end": {
"line": 104,
"column": 60
},
"identifierName": "dynamicTickrate"
},
"name": "dynamicTickrate"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3298,
"end": 3305,
"loc": {
"start": {
"line": 104,
"column": 61
},
"end": {
"line": 104,
"column": 68
},
"identifierName": "deltaMs"
},
"name": "deltaMs"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 3308,
"end": 3321,
"loc": {
"start": {
"line": 104,
"column": 71
},
"end": {
"line": 104,
"column": 84
},
"identifierName": "maxLogicSteps"
},
"name": "maxLogicSteps"
}
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Internal method to generate new logic time budget\r\n * @param {number} deltaMs\r\n ",
"start": 2309,
"end": 2411,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 84,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Performs update ticks based on the queued logic budget\r\n * @param {number} deltaMs\r\n * @param {function():boolean} updateMethod\r\n ",
"start": 3348,
"end": 3504,
"loc": {
"start": {
"line": 108,
"column": 4
},
"end": {
"line": 112,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 3510,
"end": 4761,
"loc": {
"start": {
"line": 113,
"column": 4
},
"end": {
"line": 146,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3510,
"end": 3522,
"loc": {
"start": {
"line": 113,
"column": 4
},
"end": {
"line": 113,
"column": 16
},
"identifierName": "performTicks"
},
"name": "performTicks",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3523,
"end": 3530,
"loc": {
"start": {
"line": 113,
"column": 17
},
"end": {
"line": 113,
"column": 24
},
"identifierName": "deltaMs"
},
"name": "deltaMs"
},
{
"type": "Identifier",
"start": 3532,
"end": 3544,
"loc": {
"start": {
"line": 113,
"column": 26
},
"end": {
"line": 113,
"column": 38
},
"identifierName": "updateMethod"
},
"name": "updateMethod"
}
],
"body": {
"type": "BlockStatement",
"start": 3546,
"end": 4761,
"loc": {
"start": {
"line": 113,
"column": 40
},
"end": {
"line": 146,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3557,
"end": 3596,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 47
}
},
"expression": {
"type": "CallExpression",
"start": 3557,
"end": 3595,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 3557,
"end": 3586,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 3557,
"end": 3561,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3562,
"end": 3586,
"loc": {
"start": {
"line": 114,
"column": 13
},
"end": {
"line": 114,
"column": 37
},
"identifierName": "internalAddDeltaToBudget"
},
"name": "internalAddDeltaToBudget"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3587,
"end": 3594,
"loc": {
"start": {
"line": 114,
"column": 38
},
"end": {
"line": 114,
"column": 45
},
"identifierName": "deltaMs"
},
"name": "deltaMs"
}
]
}
},
{
"type": "VariableDeclaration",
"start": 3608,
"end": 3655,
"loc": {
"start": {
"line": 116,
"column": 8
},
"end": {
"line": 116,
"column": 55
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3614,
"end": 3654,
"loc": {
"start": {
"line": 116,
"column": 14
},
"end": {
"line": 116,
"column": 54
}
},
"id": {
"type": "Identifier",
"start": 3614,
"end": 3626,
"loc": {
"start": {
"line": 116,
"column": 14
},
"end": {
"line": 116,
"column": 26
},
"identifierName": "speedAtStart"
},
"name": "speedAtStart"
},
"init": {
"type": "CallExpression",
"start": 3629,
"end": 3654,
"loc": {
"start": {
"line": 116,
"column": 29
},
"end": {
"line": 116,
"column": 54
}
},
"callee": {
"type": "MemberExpression",
"start": 3629,
"end": 3652,
"loc": {
"start": {
"line": 116,
"column": 29
},
"end": {
"line": 116,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 3629,
"end": 3643,
"loc": {
"start": {
"line": 116,
"column": 29
},
"end": {
"line": 116,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 3629,
"end": 3638,
"loc": {
"start": {
"line": 116,
"column": 29
},
"end": {
"line": 116,
"column": 38
}
},
"object": {
"type": "ThisExpression",
"start": 3629,
"end": 3633,
"loc": {
"start": {
"line": 116,
"column": 29
},
"end": {
"line": 116,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"start": 3634,
"end": 3638,
"loc": {
"start": {
"line": 116,
"column": 34
},
"end": {
"line": 116,
"column": 38
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3639,
"end": 3643,
"loc": {
"start": {
"line": 116,
"column": 39
},
"end": {
"line": 116,
"column": 43
},
"identifierName": "time"
},
"name": "time"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3644,
"end": 3652,
"loc": {
"start": {
"line": 116,
"column": 44
},
"end": {
"line": 116,
"column": 52
},
"identifierName": "getSpeed"
},
"name": "getSpeed"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3667,
"end": 3722,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 63
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3671,
"end": 3721,
"loc": {
"start": {
"line": 118,
"column": 12
},
"end": {
"line": 118,
"column": 62
}
},
"id": {
"type": "Identifier",
"start": 3671,
"end": 3685,
"loc": {
"start": {
"line": 118,
"column": 12
},
"end": {
"line": 118,
"column": 26
},
"identifierName": "effectiveDelta"
},
"name": "effectiveDelta"
},
"init": {
"type": "MemberExpression",
"start": 3688,
"end": 3721,
"loc": {
"start": {
"line": 118,
"column": 29
},
"end": {
"line": 118,
"column": 62
}
},
"object": {
"type": "MemberExpression",
"start": 3688,
"end": 3713,
"loc": {
"start": {
"line": 118,
"column": 29
},
"end": {
"line": 118,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 3688,
"end": 3697,
"loc": {
"start": {
"line": 118,
"column": 29
},
"end": {
"line": 118,
"column": 38
}
},
"object": {
"type": "ThisExpression",
"start": 3688,
"end": 3692,
"loc": {
"start": {
"line": 118,
"column": 29
},
"end": {
"line": 118,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"start": 3693,
"end": 3697,
"loc": {
"start": {
"line": 118,
"column": 34
},
"end": {
"line": 118,
"column": 38
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3698,
"end": 3713,
"loc": {
"start": {
"line": 118,
"column": 39
},
"end": {
"line": 118,
"column": 54
},
"identifierName": "dynamicTickrate"
},
"name": "dynamicTickrate"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3714,
"end": 3721,
"loc": {
"start": {
"line": 118,
"column": 55
},
"end": {
"line": 118,
"column": 62
},
"identifierName": "deltaMs"
},
"name": "deltaMs"
},
"computed": false
}
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 3732,
"end": 3915,
"loc": {
"start": {
"line": 119,
"column": 8
},
"end": {
"line": 121,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 3736,
"end": 3790,
"loc": {
"start": {
"line": 119,
"column": 12
},
"end": {
"line": 119,
"column": 66
}
},
"left": {
"type": "Identifier",
"start": 3736,
"end": 3744,
"loc": {
"start": {
"line": 119,
"column": 12
},
"end": {
"line": 119,
"column": 20
},
"identifierName": "G_IS_DEV"
},
"name": "G_IS_DEV"
},
"operator": "&&",
"right": {
"type": "MemberExpression",
"start": 3748,
"end": 3790,
"loc": {
"start": {
"line": 119,
"column": 24
},
"end": {
"line": 119,
"column": 66
}
},
"object": {
"type": "MemberExpression",
"start": 3748,
"end": 3766,
"loc": {
"start": {
"line": 119,
"column": 24
},
"end": {
"line": 119,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 3748,
"end": 3760,
"loc": {
"start": {
"line": 119,
"column": 24
},
"end": {
"line": 119,
"column": 36
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 3761,
"end": 3766,
"loc": {
"start": {
"line": 119,
"column": 37
},
"end": {
"line": 119,
"column": 42
},
"identifierName": "debug"
},
"name": "debug"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3767,
"end": 3790,
"loc": {
"start": {
"line": 119,
"column": 43
},
"end": {
"line": 119,
"column": 66
},
"identifierName": "framePausesBetweenTicks"
},
"name": "framePausesBetweenTicks"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 3792,
"end": 3915,
"loc": {
"start": {
"line": 119,
"column": 68
},
"end": {
"line": 121,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3807,
"end": 3904,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 120,
"column": 109
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3807,
"end": 3903,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 120,
"column": 108
}
},
"operator": "+=",
"left": {
"type": "Identifier",
"start": 3807,
"end": 3821,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 120,
"column": 26
},
"identifierName": "effectiveDelta"
},
"name": "effectiveDelta"
},
"right": {
"type": "BinaryExpression",
"start": 3825,
"end": 3903,
"loc": {
"start": {
"line": 120,
"column": 30
},
"end": {
"line": 120,
"column": 108
}
},
"left": {
"type": "MemberExpression",
"start": 3825,
"end": 3867,
"loc": {
"start": {
"line": 120,
"column": 30
},
"end": {
"line": 120,
"column": 72
}
},
"object": {
"type": "MemberExpression",
"start": 3825,
"end": 3843,
"loc": {
"start": {
"line": 120,
"column": 30
},
"end": {
"line": 120,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 3825,
"end": 3837,
"loc": {
"start": {
"line": 120,
"column": 30
},
"end": {
"line": 120,
"column": 42
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 3838,
"end": 3843,
"loc": {
"start": {
"line": 120,
"column": 43
},
"end": {
"line": 120,
"column": 48
},
"identifierName": "debug"
},
"name": "debug"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3844,
"end": 3867,
"loc": {
"start": {
"line": 120,
"column": 49
},
"end": {
"line": 120,
"column": 72
},
"identifierName": "framePausesBetweenTicks"
},
"name": "framePausesBetweenTicks"
},
"computed": false
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 3870,
"end": 3903,
"loc": {
"start": {
"line": 120,
"column": 75
},
"end": {
"line": 120,
"column": 108
}
},
"object": {
"type": "MemberExpression",
"start": 3870,
"end": 3895,
"loc": {
"start": {
"line": 120,
"column": 75
},
"end": {
"line": 120,
"column": 100
}
},
"object": {
"type": "MemberExpression",
"start": 3870,
"end": 3879,
"loc": {
"start": {
"line": 120,
"column": 75
},
"end": {
"line": 120,
"column": 84
}
},
"object": {
"type": "ThisExpression",
"start": 3870,
"end": 3874,
"loc": {
"start": {
"line": 120,
"column": 75
},
"end": {
"line": 120,
"column": 79
}
}
},
"property": {
"type": "Identifier",
"start": 3875,
"end": 3879,
"loc": {
"start": {
"line": 120,
"column": 80
},
"end": {
"line": 120,
"column": 84
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3880,
"end": 3895,
"loc": {
"start": {
"line": 120,
"column": 85
},
"end": {
"line": 120,
"column": 100
},
"identifierName": "dynamicTickrate"
},
"name": "dynamicTickrate"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3896,
"end": 3903,
"loc": {
"start": {
"line": 120,
"column": 101
},
"end": {
"line": 120,
"column": 108
},
"identifierName": "deltaMs"
},
"name": "deltaMs"
},
"computed": false
}
}
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Update physics & logic",
"start": 3927,
"end": 3952,
"loc": {
"start": {
"line": 123,
"column": 8
},
"end": {
"line": 123,
"column": 33
}
}
}
]
},
{
"type": "WhileStatement",
"start": 3962,
"end": 4754,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 145,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 3969,
"end": 4007,
"loc": {
"start": {
"line": 124,
"column": 15
},
"end": {
"line": 124,
"column": 53
}
},
"left": {
"type": "MemberExpression",
"start": 3969,
"end": 3989,
"loc": {
"start": {
"line": 124,
"column": 15
},
"end": {
"line": 124,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 3969,
"end": 3973,
"loc": {
"start": {
"line": 124,
"column": 15
},
"end": {
"line": 124,
"column": 19
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3974,
"end": 3989,
"loc": {
"start": {
"line": 124,
"column": 20
},
"end": {
"line": 124,
"column": 35
},
"identifierName": "logicTimeBudget"
},
"name": "logicTimeBudget"
},
"computed": false,
"leadingComments": null
},
"operator": ">=",
"right": {
"type": "Identifier",
"start": 3993,
"end": 4007,
"loc": {
"start": {
"line": 124,
"column": 39
},
"end": {
"line": 124,
"column": 53
},
"identifierName": "effectiveDelta"
},
"name": "effectiveDelta"
},
"leadingComments": null
},
"body": {
"type": "BlockStatement",
"start": 4009,
"end": 4754,
"loc": {
"start": {
"line": 124,
"column": 55
},
"end": {
"line": 145,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4024,
"end": 4063,
"loc": {
"start": {
"line": 125,
"column": 12
},
"end": {
"line": 125,
"column": 51
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4024,
"end": 4062,
"loc": {
"start": {
"line": 125,
"column": 12
},
"end": {
"line": 125,
"column": 50
}
},
"operator": "-=",
"left": {
"type": "MemberExpression",
"start": 4024,
"end": 4044,
"loc": {
"start": {
"line": 125,
"column": 12
},
"end": {
"line": 125,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 4024,
"end": 4028,
"loc": {
"start": {
"line": 125,
"column": 12
},
"end": {
"line": 125,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 4029,
"end": 4044,
"loc": {
"start": {
"line": 125,
"column": 17
},
"end": {
"line": 125,
"column": 32
},
"identifierName": "logicTimeBudget"
},
"name": "logicTimeBudget"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 4048,
"end": 4062,
"loc": {
"start": {
"line": 125,
"column": 36
},
"end": {
"line": 125,
"column": 50
},
"identifierName": "effectiveDelta"
},
"name": "effectiveDelta"
}
}
},
{
"type": "IfStatement",
"start": 4079,
"end": 4208,
"loc": {
"start": {
"line": 127,
"column": 12
},
"end": {
"line": 130,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 4083,
"end": 4098,
"loc": {
"start": {
"line": 127,
"column": 16
},
"end": {
"line": 127,
"column": 31
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 4084,
"end": 4098,
"loc": {
"start": {
"line": 127,
"column": 17
},
"end": {
"line": 127,
"column": 31
}
},
"callee": {
"type": "Identifier",
"start": 4084,
"end": 4096,
"loc": {
"start": {
"line": 127,
"column": 17
},
"end": {
"line": 127,
"column": 29
},
"identifierName": "updateMethod"
},
"name": "updateMethod"
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 4100,
"end": 4208,
"loc": {
"start": {
"line": 127,
"column": 33
},
"end": {
"line": 130,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4186,
"end": 4193,
"loc": {
"start": {
"line": 129,
"column": 16
},
"end": {
"line": 129,
"column": 23
}
},
"argument": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Gameover happened or so, do not update anymore",
"start": 4119,
"end": 4168,
"loc": {
"start": {
"line": 128,
"column": 16
},
"end": {
"line": 128,
"column": 65
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Step game time",
"start": 4224,
"end": 4241,
"loc": {
"start": {
"line": 132,
"column": 12
},
"end": {
"line": 132,
"column": 29
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 4255,
"end": 4314,
"loc": {
"start": {
"line": 133,
"column": 12
},
"end": {
"line": 133,
"column": 71
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4255,
"end": 4313,
"loc": {
"start": {
"line": 133,
"column": 12
},
"end": {
"line": 133,
"column": 70
}
},
"operator": "+=",
"left": {
"type": "MemberExpression",
"start": 4255,
"end": 4271,
"loc": {
"start": {
"line": 133,
"column": 12
},
"end": {
"line": 133,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 4255,
"end": 4259,
"loc": {
"start": {
"line": 133,
"column": 12
},
"end": {
"line": 133,
"column": 16
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 4260,
"end": 4271,
"loc": {
"start": {
"line": 133,
"column": 17
},
"end": {
"line": 133,
"column": 28
},
"identifierName": "timeSeconds"
},
"name": "timeSeconds"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "MemberExpression",
"start": 4275,
"end": 4313,
"loc": {
"start": {
"line": 133,
"column": 32
},
"end": {
"line": 133,
"column": 70
}
},
"object": {
"type": "MemberExpression",
"start": 4275,
"end": 4300,
"loc": {
"start": {
"line": 133,
"column": 32
},
"end": {
"line": 133,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 4275,
"end": 4284,
"loc": {
"start": {
"line": 133,
"column": 32
},
"end": {
"line": 133,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 4275,
"end": 4279,
"loc": {
"start": {
"line": 133,
"column": 32
},
"end": {
"line": 133,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 4280,
"end": 4284,
"loc": {
"start": {
"line": 133,
"column": 37
},
"end": {
"line": 133,
"column": 41
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4285,
"end": 4300,
"loc": {
"start": {
"line": 133,
"column": 42
},
"end": {
"line": 133,
"column": 57
},
"identifierName": "dynamicTickrate"
},
"name": "dynamicTickrate"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4301,
"end": 4313,
"loc": {
"start": {
"line": 133,
"column": 58
},
"end": {
"line": 133,
"column": 70
},
"identifierName": "deltaSeconds"
},
"name": "deltaSeconds"
},
"computed": false
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Step game time",
"start": 4224,
"end": 4241,
"loc": {
"start": {
"line": 132,
"column": 12
},
"end": {
"line": 132,
"column": 29
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Game time speed changed, need to abort since our logic steps are no longer valid",
"start": 4330,
"end": 4413,
"loc": {
"start": {
"line": 135,
"column": 12
},
"end": {
"line": 135,
"column": 95
}
}
}
]
},
{
"type": "IfStatement",
"start": 4427,
"end": 4743,
"loc": {
"start": {
"line": 136,
"column": 12
},
"end": {
"line": 144,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 4431,
"end": 4474,
"loc": {
"start": {
"line": 136,
"column": 16
},
"end": {
"line": 136,
"column": 59
}
},
"left": {
"type": "CallExpression",
"start": 4431,
"end": 4451,
"loc": {
"start": {
"line": 136,
"column": 16
},
"end": {
"line": 136,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 4431,
"end": 4449,
"loc": {
"start": {
"line": 136,
"column": 16
},
"end": {
"line": 136,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 4431,
"end": 4443,
"loc": {
"start": {
"line": 136,
"column": 16
},
"end": {
"line": 136,
"column": 28
},
"identifierName": "speedAtStart"
},
"name": "speedAtStart",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 4444,
"end": 4449,
"loc": {
"start": {
"line": 136,
"column": 29
},
"end": {
"line": 136,
"column": 34
},
"identifierName": "getId"
},
"name": "getId"
},
"computed": false,
"leadingComments": null
},
"arguments": [],
"leadingComments": null
},
"operator": "!==",
"right": {
"type": "CallExpression",
"start": 4456,
"end": 4474,
"loc": {
"start": {
"line": 136,
"column": 41
},
"end": {
"line": 136,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
"start": 4456,
"end": 4472,
"loc": {
"start": {
"line": 136,
"column": 41
},
"end": {
"line": 136,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 4456,
"end": 4466,
"loc": {
"start": {
"line": 136,
"column": 41
},
"end": {
"line": 136,
"column": 51
}
},
"object": {
"type": "ThisExpression",
"start": 4456,
"end": 4460,
"loc": {
"start": {
"line": 136,
"column": 41
},
"end": {
"line": 136,
"column": 45
}
}
},
"property": {
"type": "Identifier",
"start": 4461,
"end": 4466,
"loc": {
"start": {
"line": 136,
"column": 46
},
"end": {
"line": 136,
"column": 51
},
"identifierName": "speed"
},
"name": "speed"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4467,
"end": 4472,
"loc": {
"start": {
"line": 136,
"column": 52
},
"end": {
"line": 136,
"column": 57
},
"identifierName": "getId"
},
"name": "getId"
},
"computed": false
},
"arguments": []
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 4476,
"end": 4743,
"loc": {
"start": {
"line": 136,
"column": 61
},
"end": {
"line": 144,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4495,
"end": 4704,
"loc": {
"start": {
"line": 137,
"column": 16
},
"end": {
"line": 142,
"column": 18
}
},
"expression": {
"type": "CallExpression",
"start": 4495,
"end": 4703,
"loc": {
"start": {
"line": 137,
"column": 16
},
"end": {
"line": 142,
"column": 17
}
},
"callee": {
"type": "MemberExpression",
"start": 4495,
"end": 4506,
"loc": {
"start": {
"line": 137,
"column": 16
},
"end": {
"line": 137,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 4495,
"end": 4501,
"loc": {
"start": {
"line": 137,
"column": 16
},
"end": {
"line": 137,
"column": 22
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 4502,
"end": 4506,
"loc": {
"start": {
"line": 137,
"column": 23
},
"end": {
"line": 137,
"column": 27
},
"identifierName": "warn"
},
"name": "warn"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 4529,
"end": 4573,
"loc": {
"start": {
"line": 138,
"column": 20
},
"end": {
"line": 138,
"column": 64
}
},
"extra": {
"rawValue": "Skipping update because speed changed from",
"raw": "\"Skipping update because speed changed from\""
},
"value": "Skipping update because speed changed from"
},
{
"type": "CallExpression",
"start": 4596,
"end": 4616,
"loc": {
"start": {
"line": 139,
"column": 20
},
"end": {
"line": 139,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 4596,
"end": 4614,
"loc": {
"start": {
"line": 139,
"column": 20
},
"end": {
"line": 139,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 4596,
"end": 4608,
"loc": {
"start": {
"line": 139,
"column": 20
},
"end": {
"line": 139,
"column": 32
},
"identifierName": "speedAtStart"
},
"name": "speedAtStart"
},
"property": {
"type": "Identifier",
"start": 4609,
"end": 4614,
"loc": {
"start": {
"line": 139,
"column": 33
},
"end": {
"line": 139,
"column": 38
},
"identifierName": "getId"
},
"name": "getId"
},
"computed": false
},
"arguments": []
},
{
"type": "StringLiteral",
"start": 4639,
"end": 4643,
"loc": {
"start": {
"line": 140,
"column": 20
},
"end": {
"line": 140,
"column": 24
}
},
"extra": {
"rawValue": "to",
"raw": "\"to\""
},
"value": "to"
},
{
"type": "CallExpression",
"start": 4666,
"end": 4684,
"loc": {
"start": {
"line": 141,
"column": 20
},
"end": {
"line": 141,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 4666,
"end": 4682,
"loc": {
"start": {
"line": 141,
"column": 20
},
"end": {
"line": 141,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 4666,
"end": 4676,
"loc": {
"start": {
"line": 141,
"column": 20
},
"end": {
"line": 141,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 4666,
"end": 4670,
"loc": {
"start": {
"line": 141,
"column": 20
},
"end": {
"line": 141,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 4671,
"end": 4676,
"loc": {
"start": {
"line": 141,
"column": 25
},
"end": {
"line": 141,
"column": 30
},
"identifierName": "speed"
},
"name": "speed"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4677,
"end": 4682,
"loc": {
"start": {
"line": 141,
"column": 31
},
"end": {
"line": 141,
"column": 36
},
"identifierName": "getId"
},
"name": "getId"
},
"computed": false
},
"arguments": []
}
]
}
},
{
"type": "BreakStatement",
"start": 4722,
"end": 4728,
"loc": {
"start": {
"line": 143,
"column": 16
},
"end": {
"line": 143,
"column": 22
}
},
"label": null
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Game time speed changed, need to abort since our logic steps are no longer valid",
"start": 4330,
"end": 4413,
"loc": {
"start": {
"line": 135,
"column": 12
},
"end": {
"line": 135,
"column": 95
}
}
}
]
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Update physics & logic",
"start": 3927,
"end": 3952,
"loc": {
"start": {
"line": 123,
"column": 8
},
"end": {
"line": 123,
"column": 33
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Performs update ticks based on the queued logic budget\r\n * @param {number} deltaMs\r\n * @param {function():boolean} updateMethod\r\n ",
"start": 3348,
"end": 3504,
"loc": {
"start": {
"line": 108,
"column": 4
},
"end": {
"line": 112,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns ingame time in seconds\r\n * @returns {number} seconds\r\n ",
"start": 4769,
"end": 4854,
"loc": {
"start": {
"line": 148,
"column": 4
},
"end": {
"line": 151,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4860,
"end": 4908,
"loc": {
"start": {
"line": 152,
"column": 4
},
"end": {
"line": 154,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4860,
"end": 4863,
"loc": {
"start": {
"line": 152,
"column": 4
},
"end": {
"line": 152,
"column": 7
},
"identifierName": "now"
},
"name": "now",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 4866,
"end": 4908,
"loc": {
"start": {
"line": 152,
"column": 10
},
"end": {
"line": 154,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4877,
"end": 4901,
"loc": {
"start": {
"line": 153,
"column": 8
},
"end": {
"line": 153,
"column": 32
}
},
"argument": {
"type": "MemberExpression",
"start": 4884,
"end": 4900,
"loc": {
"start": {
"line": 153,
"column": 15
},
"end": {
"line": 153,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 4884,
"end": 4888,
"loc": {
"start": {
"line": 153,
"column": 15
},
"end": {
"line": 153,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 4889,
"end": 4900,
"loc": {
"start": {
"line": 153,
"column": 20
},
"end": {
"line": 153,
"column": 31
},
"identifierName": "timeSeconds"
},
"name": "timeSeconds"
},
"computed": false
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns ingame time in seconds\r\n * @returns {number} seconds\r\n ",
"start": 4769,
"end": 4854,
"loc": {
"start": {
"line": 148,
"column": 4
},
"end": {
"line": 151,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns \"real\" time in seconds\r\n * @returns {number} seconds\r\n ",
"start": 4916,
"end": 5001,
"loc": {
"start": {
"line": 156,
"column": 4
},
"end": {
"line": 159,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5007,
"end": 5067,
"loc": {
"start": {
"line": 160,
"column": 4
},
"end": {
"line": 162,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5007,
"end": 5018,
"loc": {
"start": {
"line": 160,
"column": 4
},
"end": {
"line": 160,
"column": 15
},
"identifierName": "realtimeNow"
},
"name": "realtimeNow",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 5021,
"end": 5067,
"loc": {
"start": {
"line": 160,
"column": 18
},
"end": {
"line": 162,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5032,
"end": 5060,
"loc": {
"start": {
"line": 161,
"column": 8
},
"end": {
"line": 161,
"column": 36
}
},
"argument": {
"type": "MemberExpression",
"start": 5039,
"end": 5059,
"loc": {
"start": {
"line": 161,
"column": 15
},
"end": {
"line": 161,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 5039,
"end": 5043,
"loc": {
"start": {
"line": 161,
"column": 15
},
"end": {
"line": 161,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 5044,
"end": 5059,
"loc": {
"start": {
"line": 161,
"column": 20
},
"end": {
"line": 161,
"column": 35
},
"identifierName": "realtimeSeconds"
},
"name": "realtimeSeconds"
},
"computed": false
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns \"real\" time in seconds\r\n * @returns {number} seconds\r\n ",
"start": 4916,
"end": 5001,
"loc": {
"start": {
"line": 156,
"column": 4
},
"end": {
"line": 159,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns \"real\" time in seconds\r\n * @returns {number} seconds\r\n ",
"start": 5075,
"end": 5160,
"loc": {
"start": {
"line": 164,
"column": 4
},
"end": {
"line": 167,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5166,
"end": 5257,
"loc": {
"start": {
"line": 168,
"column": 4
},
"end": {
"line": 170,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5166,
"end": 5175,
"loc": {
"start": {
"line": 168,
"column": 4
},
"end": {
"line": 168,
"column": 13
},
"identifierName": "systemNow"
},
"name": "systemNow",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 5178,
"end": 5257,
"loc": {
"start": {
"line": 168,
"column": 16
},
"end": {
"line": 170,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5189,
"end": 5250,
"loc": {
"start": {
"line": 169,
"column": 8
},
"end": {
"line": 169,
"column": 69
}
},
"argument": {
"type": "BinaryExpression",
"start": 5196,
"end": 5249,
"loc": {
"start": {
"line": 169,
"column": 15
},
"end": {
"line": 169,
"column": 68
}
},
"left": {
"type": "BinaryExpression",
"start": 5197,
"end": 5239,
"loc": {
"start": {
"line": 169,
"column": 16
},
"end": {
"line": 169,
"column": 58
}
},
"left": {
"type": "MemberExpression",
"start": 5197,
"end": 5217,
"loc": {
"start": {
"line": 169,
"column": 16
},
"end": {
"line": 169,
"column": 36
}
},
"object": {
"type": "ThisExpression",
"start": 5197,
"end": 5201,
"loc": {
"start": {
"line": 169,
"column": 16
},
"end": {
"line": 169,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 5202,
"end": 5217,
"loc": {
"start": {
"line": 169,
"column": 21
},
"end": {
"line": 169,
"column": 36
},
"identifierName": "realtimeSeconds"
},
"name": "realtimeSeconds"
},
"computed": false
},
"operator": "-",
"right": {
"type": "MemberExpression",
"start": 5220,
"end": 5239,
"loc": {
"start": {
"line": 169,
"column": 39
},
"end": {
"line": 169,
"column": 58
}
},
"object": {
"type": "ThisExpression",
"start": 5220,
"end": 5224,
"loc": {
"start": {
"line": 169,
"column": 39
},
"end": {
"line": 169,
"column": 43
}
}
},
"property": {
"type": "Identifier",
"start": 5225,
"end": 5239,
"loc": {
"start": {
"line": 169,
"column": 44
},
"end": {
"line": 169,
"column": 58
},
"identifierName": "realtimeAdjust"
},
"name": "realtimeAdjust"
},
"computed": false
},
"extra": {
"parenthesized": true,
"parenStart": 5196
}
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 5243,
"end": 5249,
"loc": {
"start": {
"line": 169,
"column": 62
},
"end": {
"line": 169,
"column": 68
}
},
"extra": {
"rawValue": 1000,
"raw": "1000.0"
},
"value": 1000
}
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns \"real\" time in seconds\r\n * @returns {number} seconds\r\n ",
"start": 5075,
"end": 5160,
"loc": {
"start": {
"line": 164,
"column": 4
},
"end": {
"line": 167,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5265,
"end": 5351,
"loc": {
"start": {
"line": 172,
"column": 4
},
"end": {
"line": 174,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5265,
"end": 5276,
"loc": {
"start": {
"line": 172,
"column": 4
},
"end": {
"line": 172,
"column": 15
},
"identifierName": "getIsPaused"
},
"name": "getIsPaused"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 5279,
"end": 5351,
"loc": {
"start": {
"line": 172,
"column": 18
},
"end": {
"line": 174,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5290,
"end": 5344,
"loc": {
"start": {
"line": 173,
"column": 8
},
"end": {
"line": 173,
"column": 62
}
},
"argument": {
"type": "BinaryExpression",
"start": 5297,
"end": 5343,
"loc": {
"start": {
"line": 173,
"column": 15
},
"end": {
"line": 173,
"column": 61
}
},
"left": {
"type": "CallExpression",
"start": 5297,
"end": 5315,
"loc": {
"start": {
"line": 173,
"column": 15
},
"end": {
"line": 173,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 5297,
"end": 5313,
"loc": {
"start": {
"line": 173,
"column": 15
},
"end": {
"line": 173,
"column": 31
}
},
"object": {
"type": "MemberExpression",
"start": 5297,
"end": 5307,
"loc": {
"start": {
"line": 173,
"column": 15
},
"end": {
"line": 173,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 5297,
"end": 5301,
"loc": {
"start": {
"line": 173,
"column": 15
},
"end": {
"line": 173,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 5302,
"end": 5307,
"loc": {
"start": {
"line": 173,
"column": 20
},
"end": {
"line": 173,
"column": 25
},
"identifierName": "speed"
},
"name": "speed"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5308,
"end": 5313,
"loc": {
"start": {
"line": 173,
"column": 26
},
"end": {
"line": 173,
"column": 31
},
"identifierName": "getId"
},
"name": "getId"
},
"computed": false
},
"arguments": []
},
"operator": "===",
"right": {
"type": "CallExpression",
"start": 5320,
"end": 5343,
"loc": {
"start": {
"line": 173,
"column": 38
},
"end": {
"line": 173,
"column": 61
}
},
"callee": {
"type": "MemberExpression",
"start": 5320,
"end": 5341,
"loc": {
"start": {
"line": 173,
"column": 38
},
"end": {
"line": 173,
"column": 59
}
},
"object": {
"type": "Identifier",
"start": 5320,
"end": 5335,
"loc": {
"start": {
"line": 173,
"column": 38
},
"end": {
"line": 173,
"column": 53
},
"identifierName": "PausedGameSpeed"
},
"name": "PausedGameSpeed"
},
"property": {
"type": "Identifier",
"start": 5336,
"end": 5341,
"loc": {
"start": {
"line": 173,
"column": 54
},
"end": {
"line": 173,
"column": 59
},
"identifierName": "getId"
},
"name": "getId"
},
"computed": false
},
"arguments": []
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 5359,
"end": 5406,
"loc": {
"start": {
"line": 176,
"column": 4
},
"end": {
"line": 178,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5359,
"end": 5367,
"loc": {
"start": {
"line": 176,
"column": 4
},
"end": {
"line": 176,
"column": 12
},
"identifierName": "getSpeed"
},
"name": "getSpeed"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 5370,
"end": 5406,
"loc": {
"start": {
"line": 176,
"column": 15
},
"end": {
"line": 178,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5381,
"end": 5399,
"loc": {
"start": {
"line": 177,
"column": 8
},
"end": {
"line": 177,
"column": 26
}
},
"argument": {
"type": "MemberExpression",
"start": 5388,
"end": 5398,
"loc": {
"start": {
"line": 177,
"column": 15
},
"end": {
"line": 177,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 5388,
"end": 5392,
"loc": {
"start": {
"line": 177,
"column": 15
},
"end": {
"line": 177,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 5393,
"end": 5398,
"loc": {
"start": {
"line": 177,
"column": 20
},
"end": {
"line": 177,
"column": 25
},
"identifierName": "speed"
},
"name": "speed"
},
"computed": false
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 5414,
"end": 5695,
"loc": {
"start": {
"line": 180,
"column": 4
},
"end": {
"line": 186,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5414,
"end": 5422,
"loc": {
"start": {
"line": 180,
"column": 4
},
"end": {
"line": 180,
"column": 12
},
"identifierName": "setSpeed"
},
"name": "setSpeed"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5423,
"end": 5428,
"loc": {
"start": {
"line": 180,
"column": 13
},
"end": {
"line": 180,
"column": 18
},
"identifierName": "speed"
},
"name": "speed"
}
],
"body": {
"type": "BlockStatement",
"start": 5430,
"end": 5695,
"loc": {
"start": {
"line": 180,
"column": 20
},
"end": {
"line": 186,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5441,
"end": 5506,
"loc": {
"start": {
"line": 181,
"column": 8
},
"end": {
"line": 181,
"column": 73
}
},
"expression": {
"type": "CallExpression",
"start": 5441,
"end": 5505,
"loc": {
"start": {
"line": 181,
"column": 8
},
"end": {
"line": 181,
"column": 72
}
},
"callee": {
"type": "Identifier",
"start": 5441,
"end": 5447,
"loc": {
"start": {
"line": 181,
"column": 8
},
"end": {
"line": 181,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 5448,
"end": 5478,
"loc": {
"start": {
"line": 181,
"column": 15
},
"end": {
"line": 181,
"column": 45
}
},
"left": {
"type": "Identifier",
"start": 5448,
"end": 5453,
"loc": {
"start": {
"line": 181,
"column": 15
},
"end": {
"line": 181,
"column": 20
},
"identifierName": "speed"
},
"name": "speed"
},
"operator": "instanceof",
"right": {
"type": "Identifier",
"start": 5465,
"end": 5478,
"loc": {
"start": {
"line": 181,
"column": 32
},
"end": {
"line": 181,
"column": 45
},
"identifierName": "BaseGameSpeed"
},
"name": "BaseGameSpeed"
}
},
{
"type": "StringLiteral",
"start": 5480,
"end": 5504,
"loc": {
"start": {
"line": 181,
"column": 47
},
"end": {
"line": 181,
"column": 71
}
},
"extra": {
"rawValue": "Not a valid game speed",
"raw": "\"Not a valid game speed\""
},
"value": "Not a valid game speed"
}
]
}
},
{
"type": "IfStatement",
"start": 5516,
"end": 5659,
"loc": {
"start": {
"line": 182,
"column": 8
},
"end": {
"line": 184,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 5520,
"end": 5556,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 48
}
},
"left": {
"type": "CallExpression",
"start": 5520,
"end": 5538,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 30
}
},
"callee": {
"type": "MemberExpression",
"start": 5520,
"end": 5536,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 28
}
},
"object": {
"type": "MemberExpression",
"start": 5520,
"end": 5530,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 5520,
"end": 5524,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 5525,
"end": 5530,
"loc": {
"start": {
"line": 182,
"column": 17
},
"end": {
"line": 182,
"column": 22
},
"identifierName": "speed"
},
"name": "speed"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5531,
"end": 5536,
"loc": {
"start": {
"line": 182,
"column": 23
},
"end": {
"line": 182,
"column": 28
},
"identifierName": "getId"
},
"name": "getId"
},
"computed": false
},
"arguments": []
},
"operator": "===",
"right": {
"type": "CallExpression",
"start": 5543,
"end": 5556,
"loc": {
"start": {
"line": 182,
"column": 35
},
"end": {
"line": 182,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 5543,
"end": 5554,
"loc": {
"start": {
"line": 182,
"column": 35
},
"end": {
"line": 182,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 5543,
"end": 5548,
"loc": {
"start": {
"line": 182,
"column": 35
},
"end": {
"line": 182,
"column": 40
},
"identifierName": "speed"
},
"name": "speed"
},
"property": {
"type": "Identifier",
"start": 5549,
"end": 5554,
"loc": {
"start": {
"line": 182,
"column": 41
},
"end": {
"line": 182,
"column": 46
},
"identifierName": "getId"
},
"name": "getId"
},
"computed": false
},
"arguments": []
}
},
"consequent": {
"type": "BlockStatement",
"start": 5558,
"end": 5659,
"loc": {
"start": {
"line": 182,
"column": 50
},
"end": {
"line": 184,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5573,
"end": 5648,
"loc": {
"start": {
"line": 183,
"column": 12
},
"end": {
"line": 183,
"column": 87
}
},
"expression": {
"type": "CallExpression",
"start": 5573,
"end": 5647,
"loc": {
"start": {
"line": 183,
"column": 12
},
"end": {
"line": 183,
"column": 86
}
},
"callee": {
"type": "MemberExpression",
"start": 5573,
"end": 5584,
"loc": {
"start": {
"line": 183,
"column": 12
},
"end": {
"line": 183,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 5573,
"end": 5579,
"loc": {
"start": {
"line": 183,
"column": 12
},
"end": {
"line": 183,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 5580,
"end": 5584,
"loc": {
"start": {
"line": 183,
"column": 19
},
"end": {
"line": 183,
"column": 23
},
"identifierName": "warn"
},
"name": "warn"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 5585,
"end": 5619,
"loc": {
"start": {
"line": 183,
"column": 24
},
"end": {
"line": 183,
"column": 58
}
},
"extra": {
"rawValue": "Same speed set than current one:",
"raw": "\"Same speed set than current one:\""
},
"value": "Same speed set than current one:"
},
{
"type": "CallExpression",
"start": 5621,
"end": 5646,
"loc": {
"start": {
"line": 183,
"column": 60
},
"end": {
"line": 183,
"column": 85
}
},
"callee": {
"type": "MemberExpression",
"start": 5621,
"end": 5644,
"loc": {
"start": {
"line": 183,
"column": 60
},
"end": {
"line": 183,
"column": 83
}
},
"object": {
"type": "MemberExpression",
"start": 5621,
"end": 5638,
"loc": {
"start": {
"line": 183,
"column": 60
},
"end": {
"line": 183,
"column": 77
}
},
"object": {
"type": "Identifier",
"start": 5621,
"end": 5626,
"loc": {
"start": {
"line": 183,
"column": 60
},
"end": {
"line": 183,
"column": 65
},
"identifierName": "speed"
},
"name": "speed"
},
"property": {
"type": "Identifier",
"start": 5627,
"end": 5638,
"loc": {
"start": {
"line": 183,
"column": 66
},
"end": {
"line": 183,
"column": 77
},
"identifierName": "constructor"
},
"name": "constructor"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5639,
"end": 5644,
"loc": {
"start": {
"line": 183,
"column": 78
},
"end": {
"line": 183,
"column": 83
},
"identifierName": "getId"
},
"name": "getId"
},
"computed": false
},
"arguments": []
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 5669,
"end": 5688,
"loc": {
"start": {
"line": 185,
"column": 8
},
"end": {
"line": 185,
"column": 27
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5669,
"end": 5687,
"loc": {
"start": {
"line": 185,
"column": 8
},
"end": {
"line": 185,
"column": 26
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 5669,
"end": 5679,
"loc": {
"start": {
"line": 185,
"column": 8
},
"end": {
"line": 185,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 5669,
"end": 5673,
"loc": {
"start": {
"line": 185,
"column": 8
},
"end": {
"line": 185,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 5674,
"end": 5679,
"loc": {
"start": {
"line": 185,
"column": 13
},
"end": {
"line": 185,
"column": 18
},
"identifierName": "speed"
},
"name": "speed"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 5682,
"end": 5687,
"loc": {
"start": {
"line": 185,
"column": 21
},
"end": {
"line": 185,
"column": 26
},
"identifierName": "speed"
},
"name": "speed"
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 5703,
"end": 6086,
"loc": {
"start": {
"line": 188,
"column": 4
},
"end": {
"line": 199,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5703,
"end": 5714,
"loc": {
"start": {
"line": 188,
"column": 4
},
"end": {
"line": 188,
"column": 15
},
"identifierName": "deserialize"
},
"name": "deserialize"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5715,
"end": 5719,
"loc": {
"start": {
"line": 188,
"column": 16
},
"end": {
"line": 188,
"column": 20
},
"identifierName": "data"
},
"name": "data"
}
],
"body": {
"type": "BlockStatement",
"start": 5721,
"end": 6086,
"loc": {
"start": {
"line": 188,
"column": 22
},
"end": {
"line": 199,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 5732,
"end": 5774,
"loc": {
"start": {
"line": 189,
"column": 8
},
"end": {
"line": 189,
"column": 50
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5738,
"end": 5773,
"loc": {
"start": {
"line": 189,
"column": 14
},
"end": {
"line": 189,
"column": 49
}
},
"id": {
"type": "Identifier",
"start": 5738,
"end": 5747,
"loc": {
"start": {
"line": 189,
"column": 14
},
"end": {
"line": 189,
"column": 23
},
"identifierName": "errorCode"
},
"name": "errorCode"
},
"init": {
"type": "CallExpression",
"start": 5750,
"end": 5773,
"loc": {
"start": {
"line": 189,
"column": 26
},
"end": {
"line": 189,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
"start": 5750,
"end": 5767,
"loc": {
"start": {
"line": 189,
"column": 26
},
"end": {
"line": 189,
"column": 43
}
},
"object": {
"type": "Super",
"start": 5750,
"end": 5755,
"loc": {
"start": {
"line": 189,
"column": 26
},
"end": {
"line": 189,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 5756,
"end": 5767,
"loc": {
"start": {
"line": 189,
"column": 32
},
"end": {
"line": 189,
"column": 43
},
"identifierName": "deserialize"
},
"name": "deserialize"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 5768,
"end": 5772,
"loc": {
"start": {
"line": 189,
"column": 44
},
"end": {
"line": 189,
"column": 48
},
"identifierName": "data"
},
"name": "data"
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 5784,
"end": 5842,
"loc": {
"start": {
"line": 190,
"column": 8
},
"end": {
"line": 192,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 5788,
"end": 5797,
"loc": {
"start": {
"line": 190,
"column": 12
},
"end": {
"line": 190,
"column": 21
},
"identifierName": "errorCode"
},
"name": "errorCode"
},
"consequent": {
"type": "BlockStatement",
"start": 5799,
"end": 5842,
"loc": {
"start": {
"line": 190,
"column": 23
},
"end": {
"line": 192,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5814,
"end": 5831,
"loc": {
"start": {
"line": 191,
"column": 12
},
"end": {
"line": 191,
"column": 29
}
},
"argument": {
"type": "Identifier",
"start": 5821,
"end": 5830,
"loc": {
"start": {
"line": 191,
"column": 19
},
"end": {
"line": 191,
"column": 28
},
"identifierName": "errorCode"
},
"name": "errorCode"
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Adjust realtime now difference so they match",
"start": 5854,
"end": 5901,
"loc": {
"start": {
"line": 194,
"column": 8
},
"end": {
"line": 194,
"column": 55
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 5911,
"end": 5983,
"loc": {
"start": {
"line": 195,
"column": 8
},
"end": {
"line": 195,
"column": 80
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5911,
"end": 5982,
"loc": {
"start": {
"line": 195,
"column": 8
},
"end": {
"line": 195,
"column": 79
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 5911,
"end": 5930,
"loc": {
"start": {
"line": 195,
"column": 8
},
"end": {
"line": 195,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 5911,
"end": 5915,
"loc": {
"start": {
"line": 195,
"column": 8
},
"end": {
"line": 195,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 5916,
"end": 5930,
"loc": {
"start": {
"line": 195,
"column": 13
},
"end": {
"line": 195,
"column": 27
},
"identifierName": "realtimeAdjust"
},
"name": "realtimeAdjust"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "BinaryExpression",
"start": 5933,
"end": 5982,
"loc": {
"start": {
"line": 195,
"column": 30
},
"end": {
"line": 195,
"column": 79
}
},
"left": {
"type": "MemberExpression",
"start": 5933,
"end": 5953,
"loc": {
"start": {
"line": 195,
"column": 30
},
"end": {
"line": 195,
"column": 50
}
},
"object": {
"type": "ThisExpression",
"start": 5933,
"end": 5937,
"loc": {
"start": {
"line": 195,
"column": 30
},
"end": {
"line": 195,
"column": 34
}
}
},
"property": {
"type": "Identifier",
"start": 5938,
"end": 5953,
"loc": {
"start": {
"line": 195,
"column": 35
},
"end": {
"line": 195,
"column": 50
},
"identifierName": "realtimeSeconds"
},
"name": "realtimeSeconds"
},
"computed": false
},
"operator": "-",
"right": {
"type": "BinaryExpression",
"start": 5956,
"end": 5982,
"loc": {
"start": {
"line": 195,
"column": 53
},
"end": {
"line": 195,
"column": 79
}
},
"left": {
"type": "CallExpression",
"start": 5956,
"end": 5973,
"loc": {
"start": {
"line": 195,
"column": 53
},
"end": {
"line": 195,
"column": 70
}
},
"callee": {
"type": "MemberExpression",
"start": 5956,
"end": 5971,
"loc": {
"start": {
"line": 195,
"column": 53
},
"end": {
"line": 195,
"column": 68
}
},
"object": {
"type": "Identifier",
"start": 5956,
"end": 5967,
"loc": {
"start": {
"line": 195,
"column": 53
},
"end": {
"line": 195,
"column": 64
},
"identifierName": "performance"
},
"name": "performance"
},
"property": {
"type": "Identifier",
"start": 5968,
"end": 5971,
"loc": {
"start": {
"line": 195,
"column": 65
},
"end": {
"line": 195,
"column": 68
},
"identifierName": "now"
},
"name": "now"
},
"computed": false
},
"arguments": []
},
"operator": "/",
"right": {
"type": "NumericLiteral",
"start": 5976,
"end": 5982,
"loc": {
"start": {
"line": 195,
"column": 73
},
"end": {
"line": 195,
"column": 79
}
},
"extra": {
"rawValue": 1000,
"raw": "1000.0"
},
"value": 1000
}
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Adjust realtime now difference so they match",
"start": 5854,
"end": 5901,
"loc": {
"start": {
"line": 194,
"column": 8
},
"end": {
"line": 194,
"column": 55
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 5993,
"end": 6018,
"loc": {
"start": {
"line": 196,
"column": 8
},
"end": {
"line": 196,
"column": 33
}
},
"expression": {
"type": "CallExpression",
"start": 5993,
"end": 6017,
"loc": {
"start": {
"line": 196,
"column": 8
},
"end": {
"line": 196,
"column": 32
}
},
"callee": {
"type": "MemberExpression",
"start": 5993,
"end": 6015,
"loc": {
"start": {
"line": 196,
"column": 8
},
"end": {
"line": 196,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 5993,
"end": 5997,
"loc": {
"start": {
"line": 196,
"column": 8
},
"end": {
"line": 196,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 5998,
"end": 6015,
"loc": {
"start": {
"line": 196,
"column": 13
},
"end": {
"line": 196,
"column": 30
},
"identifierName": "updateRealtimeNow"
},
"name": "updateRealtimeNow"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 6030,
"end": 6079,
"loc": {
"start": {
"line": 198,
"column": 8
},
"end": {
"line": 198,
"column": 57
}
},
"expression": {
"type": "CallExpression",
"start": 6030,
"end": 6078,
"loc": {
"start": {
"line": 198,
"column": 8
},
"end": {
"line": 198,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 6030,
"end": 6067,
"loc": {
"start": {
"line": 198,
"column": 8
},
"end": {
"line": 198,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 6030,
"end": 6040,
"loc": {
"start": {
"line": 198,
"column": 8
},
"end": {
"line": 198,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 6030,
"end": 6034,
"loc": {
"start": {
"line": 198,
"column": 8
},
"end": {
"line": 198,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 6035,
"end": 6040,
"loc": {
"start": {
"line": 198,
"column": 13
},
"end": {
"line": 198,
"column": 18
},
"identifierName": "speed"
},
"name": "speed"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6041,
"end": 6067,
"loc": {
"start": {
"line": 198,
"column": 19
},
"end": {
"line": 198,
"column": 45
},
"identifierName": "initializeAfterDeserialize"
},
"name": "initializeAfterDeserialize"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 6068,
"end": 6077,
"loc": {
"start": {
"line": 198,
"column": 46
},
"end": {
"line": 198,
"column": 55
}
},
"object": {
"type": "ThisExpression",
"start": 6068,
"end": 6072,
"loc": {
"start": {
"line": 198,
"column": 46
},
"end": {
"line": 198,
"column": 50
}
}
},
"property": {
"type": "Identifier",
"start": 6073,
"end": 6077,
"loc": {
"start": {
"line": 198,
"column": 51
},
"end": {
"line": 198,
"column": 55
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
}
]
}
}
],
"directives": []
}
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": " typehints:start ",
"start": 0,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 21
}
}
},
{
"type": "CommentBlock",
"value": " typehints:end ",
"start": 60,
"end": 79,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 19
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 608,
"end": 651,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 18,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Current ingame time seconds, not incremented while paused",
"start": 733,
"end": 793,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 68
}
}
},
{
"type": "CommentLine",
"value": " Current \"realtime\", a timer which always is incremented no matter whether the game is paused or no",
"start": 836,
"end": 937,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 109
}
}
},
{
"type": "CommentLine",
"value": " The adjustment, used when loading savegames so we can continue where we were",
"start": 984,
"end": 1063,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 87
}
}
},
{
"type": "CommentBlock",
"value": "* @type {BaseGameSpeed} ",
"start": 1109,
"end": 1137,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 36
}
}
},
{
"type": "CommentLine",
"value": " Store how much time we have in bucket",
"start": 1204,
"end": 1244,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 48
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Fetches the new \"real\" time, called from the core once per frame, since performance now() is kinda slow\r\n ",
"start": 1551,
"end": 1675,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 53,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns the ingame time in milliseconds\r\n ",
"start": 1799,
"end": 1859,
"loc": {
"start": {
"line": 58,
"column": 4
},
"end": {
"line": 60,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns how many seconds we are in the grace period\r\n * @returns {number}\r\n ",
"start": 1936,
"end": 2034,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 68,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns if we are currently in the grace period\r\n * @returns {boolean}\r\n ",
"start": 2108,
"end": 2203,
"loc": {
"start": {
"line": 73,
"column": 4
},
"end": {
"line": 76,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Internal method to generate new logic time budget\r\n * @param {number} deltaMs\r\n ",
"start": 2309,
"end": 2411,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 84,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Only update if game is supposed to update",
"start": 2462,
"end": 2506,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 52
}
}
},
{
"type": "CommentLine",
"value": " Check for too big pile of updates -> reduce it to 1",
"start": 2762,
"end": 2816,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 62
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Performs update ticks based on the queued logic budget\r\n * @param {number} deltaMs\r\n * @param {function():boolean} updateMethod\r\n ",
"start": 3348,
"end": 3504,
"loc": {
"start": {
"line": 108,
"column": 4
},
"end": {
"line": 112,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Update physics & logic",
"start": 3927,
"end": 3952,
"loc": {
"start": {
"line": 123,
"column": 8
},
"end": {
"line": 123,
"column": 33
}
}
},
{
"type": "CommentLine",
"value": " Gameover happened or so, do not update anymore",
"start": 4119,
"end": 4168,
"loc": {
"start": {
"line": 128,
"column": 16
},
"end": {
"line": 128,
"column": 65
}
}
},
{
"type": "CommentLine",
"value": " Step game time",
"start": 4224,
"end": 4241,
"loc": {
"start": {
"line": 132,
"column": 12
},
"end": {
"line": 132,
"column": 29
}
}
},
{
"type": "CommentLine",
"value": " Game time speed changed, need to abort since our logic steps are no longer valid",
"start": 4330,
"end": 4413,
"loc": {
"start": {
"line": 135,
"column": 12
},
"end": {
"line": 135,
"column": 95
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns ingame time in seconds\r\n * @returns {number} seconds\r\n ",
"start": 4769,
"end": 4854,
"loc": {
"start": {
"line": 148,
"column": 4
},
"end": {
"line": 151,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns \"real\" time in seconds\r\n * @returns {number} seconds\r\n ",
"start": 4916,
"end": 5001,
"loc": {
"start": {
"line": 156,
"column": 4
},
"end": {
"line": 159,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns \"real\" time in seconds\r\n * @returns {number} seconds\r\n ",
"start": 5075,
"end": 5160,
"loc": {
"start": {
"line": 164,
"column": 4
},
"end": {
"line": 167,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Adjust realtime now difference so they match",
"start": 5854,
"end": 5901,
"loc": {
"start": {
"line": 194,
"column": 8
},
"end": {
"line": 194,
"column": 55
}
}
}
],
"tokens": [
{
"type": "CommentBlock",
"value": " typehints:start ",
"start": 0,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 21
}
}
},
{
"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": 23,
"end": 29,
"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": 30,
"end": 31,
"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": "GameRoot",
"start": 32,
"end": 40,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 41,
"end": 42,
"loc": {
"start": {
"line": 2,
"column": 18
},
"end": {
"line": 2,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 43,
"end": 47,
"loc": {
"start": {
"line": 2,
"column": 20
},
"end": {
"line": 2,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../root",
"start": 48,
"end": 57,
"loc": {
"start": {
"line": 2,
"column": 25
},
"end": {
"line": 2,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 57,
"end": 58,
"loc": {
"start": {
"line": 2,
"column": 34
},
"end": {
"line": 2,
"column": 35
}
}
},
{
"type": "CommentBlock",
"value": " typehints:end ",
"start": 60,
"end": 79,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 19
}
}
},
{
"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": 83,
"end": 89,
"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": 90,
"end": 91,
"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": "types",
"start": 92,
"end": 97,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 14
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 97,
"end": 98,
"loc": {
"start": {
"line": 5,
"column": 14
},
"end": {
"line": 5,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BasicSerializableObject",
"start": 99,
"end": 122,
"loc": {
"start": {
"line": 5,
"column": 16
},
"end": {
"line": 5,
"column": 39
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 123,
"end": 124,
"loc": {
"start": {
"line": 5,
"column": 40
},
"end": {
"line": 5,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 125,
"end": 129,
"loc": {
"start": {
"line": 5,
"column": 42
},
"end": {
"line": 5,
"column": 46
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../savegame/serialization",
"start": 130,
"end": 160,
"loc": {
"start": {
"line": 5,
"column": 47
},
"end": {
"line": 5,
"column": 77
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 160,
"end": 161,
"loc": {
"start": {
"line": 5,
"column": 77
},
"end": {
"line": 5,
"column": 78
}
}
},
{
"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": 163,
"end": 169,
"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": 170,
"end": 171,
"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": "RegularGameSpeed",
"start": 172,
"end": 188,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 189,
"end": 190,
"loc": {
"start": {
"line": 6,
"column": 26
},
"end": {
"line": 6,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 191,
"end": 195,
"loc": {
"start": {
"line": 6,
"column": 28
},
"end": {
"line": 6,
"column": 32
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./regular_game_speed",
"start": 196,
"end": 218,
"loc": {
"start": {
"line": 6,
"column": 33
},
"end": {
"line": 6,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 218,
"end": 219,
"loc": {
"start": {
"line": 6,
"column": 55
},
"end": {
"line": 6,
"column": 56
}
}
},
{
"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": 221,
"end": 227,
"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": 228,
"end": 229,
"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": "BaseGameSpeed",
"start": 230,
"end": 243,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 244,
"end": 245,
"loc": {
"start": {
"line": 7,
"column": 23
},
"end": {
"line": 7,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 246,
"end": 250,
"loc": {
"start": {
"line": 7,
"column": 25
},
"end": {
"line": 7,
"column": 29
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./base_game_speed",
"start": 251,
"end": 270,
"loc": {
"start": {
"line": 7,
"column": 30
},
"end": {
"line": 7,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 270,
"end": 271,
"loc": {
"start": {
"line": 7,
"column": 49
},
"end": {
"line": 7,
"column": 50
}
}
},
{
"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": 273,
"end": 279,
"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": 280,
"end": 281,
"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": "PausedGameSpeed",
"start": 282,
"end": 297,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 298,
"end": 299,
"loc": {
"start": {
"line": 8,
"column": 25
},
"end": {
"line": 8,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 300,
"end": 304,
"loc": {
"start": {
"line": 8,
"column": 27
},
"end": {
"line": 8,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./paused_game_speed",
"start": 305,
"end": 326,
"loc": {
"start": {
"line": 8,
"column": 32
},
"end": {
"line": 8,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 326,
"end": 327,
"loc": {
"start": {
"line": 8,
"column": 53
},
"end": {
"line": 8,
"column": 54
}
}
},
{
"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": 329,
"end": 335,
"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": 336,
"end": 337,
"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": "gGameSpeedRegistry",
"start": 338,
"end": 356,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 357,
"end": 358,
"loc": {
"start": {
"line": 9,
"column": 28
},
"end": {
"line": 9,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 359,
"end": 363,
"loc": {
"start": {
"line": 9,
"column": 30
},
"end": {
"line": 9,
"column": 34
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/global_registries",
"start": 364,
"end": 394,
"loc": {
"start": {
"line": 9,
"column": 35
},
"end": {
"line": 9,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 394,
"end": 395,
"loc": {
"start": {
"line": 9,
"column": 65
},
"end": {
"line": 9,
"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": 397,
"end": 403,
"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": 404,
"end": 405,
"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": "globalConfig",
"start": 406,
"end": 418,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 419,
"end": 420,
"loc": {
"start": {
"line": 10,
"column": 22
},
"end": {
"line": 10,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 421,
"end": 425,
"loc": {
"start": {
"line": 10,
"column": 24
},
"end": {
"line": 10,
"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": 426,
"end": 445,
"loc": {
"start": {
"line": 10,
"column": 29
},
"end": {
"line": 10,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 445,
"end": 446,
"loc": {
"start": {
"line": 10,
"column": 48
},
"end": {
"line": 10,
"column": 49
}
}
},
{
"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": 448,
"end": 454,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 455,
"end": 456,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createLogger",
"start": 457,
"end": 469,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 470,
"end": 471,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 11,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 472,
"end": 476,
"loc": {
"start": {
"line": 11,
"column": 24
},
"end": {
"line": 11,
"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/logging",
"start": 477,
"end": 497,
"loc": {
"start": {
"line": 11,
"column": 29
},
"end": {
"line": 11,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 497,
"end": 498,
"loc": {
"start": {
"line": 11,
"column": 49
},
"end": {
"line": 11,
"column": 50
}
}
},
{
"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": 502,
"end": 507,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 508,
"end": 514,
"loc": {
"start": {
"line": 13,
"column": 6
},
"end": {
"line": 13,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 515,
"end": 516,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createLogger",
"start": 517,
"end": 529,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 529,
"end": 530,
"loc": {
"start": {
"line": 13,
"column": 27
},
"end": {
"line": 13,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "game_time",
"start": 530,
"end": 541,
"loc": {
"start": {
"line": 13,
"column": 28
},
"end": {
"line": 13,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 541,
"end": 542,
"loc": {
"start": {
"line": 13,
"column": 39
},
"end": {
"line": 13,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 542,
"end": 543,
"loc": {
"start": {
"line": 13,
"column": 40
},
"end": {
"line": 13,
"column": 41
}
}
},
{
"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": 547,
"end": 553,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"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": 554,
"end": 559,
"loc": {
"start": {
"line": 15,
"column": 7
},
"end": {
"line": 15,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GameTime",
"start": 560,
"end": 568,
"loc": {
"start": {
"line": 15,
"column": 13
},
"end": {
"line": 15,
"column": 21
}
}
},
{
"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": 569,
"end": 576,
"loc": {
"start": {
"line": 15,
"column": 22
},
"end": {
"line": 15,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BasicSerializableObject",
"start": 577,
"end": 600,
"loc": {
"start": {
"line": 15,
"column": 30
},
"end": {
"line": 15,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 601,
"end": 602,
"loc": {
"start": {
"line": 15,
"column": 54
},
"end": {
"line": 15,
"column": 55
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 608,
"end": 651,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 18,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 657,
"end": 668,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 668,
"end": 669,
"loc": {
"start": {
"line": 19,
"column": 15
},
"end": {
"line": 19,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 669,
"end": 673,
"loc": {
"start": {
"line": 19,
"column": 16
},
"end": {
"line": 19,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 673,
"end": 674,
"loc": {
"start": {
"line": 19,
"column": 20
},
"end": {
"line": 19,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 675,
"end": 676,
"loc": {
"start": {
"line": 19,
"column": 22
},
"end": {
"line": 19,
"column": 23
}
}
},
{
"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": 686,
"end": 691,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 691,
"end": 692,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 14
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 692,
"end": 693,
"loc": {
"start": {
"line": 20,
"column": 14
},
"end": {
"line": 20,
"column": 15
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 693,
"end": 694,
"loc": {
"start": {
"line": 20,
"column": 15
},
"end": {
"line": 20,
"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": 704,
"end": 708,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 708,
"end": 709,
"loc": {
"start": {
"line": 21,
"column": 12
},
"end": {
"line": 21,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 709,
"end": 713,
"loc": {
"start": {
"line": 21,
"column": 13
},
"end": {
"line": 21,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 714,
"end": 715,
"loc": {
"start": {
"line": 21,
"column": 18
},
"end": {
"line": 21,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 716,
"end": 720,
"loc": {
"start": {
"line": 21,
"column": 20
},
"end": {
"line": 21,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 720,
"end": 721,
"loc": {
"start": {
"line": 21,
"column": 24
},
"end": {
"line": 21,
"column": 25
}
}
},
{
"type": "CommentLine",
"value": " Current ingame time seconds, not incremented while paused",
"start": 733,
"end": 793,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 68
}
}
},
{
"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": 803,
"end": 807,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 807,
"end": 808,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "timeSeconds",
"start": 808,
"end": 819,
"loc": {
"start": {
"line": 24,
"column": 13
},
"end": {
"line": 24,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 820,
"end": 821,
"loc": {
"start": {
"line": 24,
"column": 25
},
"end": {
"line": 24,
"column": 26
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 822,
"end": 823,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 823,
"end": 824,
"loc": {
"start": {
"line": 24,
"column": 28
},
"end": {
"line": 24,
"column": 29
}
}
},
{
"type": "CommentLine",
"value": " Current \"realtime\", a timer which always is incremented no matter whether the game is paused or no",
"start": 836,
"end": 937,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 109
}
}
},
{
"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": 947,
"end": 951,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 951,
"end": 952,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realtimeSeconds",
"start": 952,
"end": 967,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 968,
"end": 969,
"loc": {
"start": {
"line": 27,
"column": 29
},
"end": {
"line": 27,
"column": 30
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 970,
"end": 971,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 971,
"end": 972,
"loc": {
"start": {
"line": 27,
"column": 32
},
"end": {
"line": 27,
"column": 33
}
}
},
{
"type": "CommentLine",
"value": " The adjustment, used when loading savegames so we can continue where we were",
"start": 984,
"end": 1063,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 87
}
}
},
{
"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": 1073,
"end": 1077,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1077,
"end": 1078,
"loc": {
"start": {
"line": 30,
"column": 12
},
"end": {
"line": 30,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realtimeAdjust",
"start": 1078,
"end": 1092,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1093,
"end": 1094,
"loc": {
"start": {
"line": 30,
"column": 28
},
"end": {
"line": 30,
"column": 29
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1095,
"end": 1096,
"loc": {
"start": {
"line": 30,
"column": 30
},
"end": {
"line": 30,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1096,
"end": 1097,
"loc": {
"start": {
"line": 30,
"column": 31
},
"end": {
"line": 30,
"column": 32
}
}
},
{
"type": "CommentBlock",
"value": "* @type {BaseGameSpeed} ",
"start": 1109,
"end": 1137,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"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": 1147,
"end": 1151,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1151,
"end": 1152,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "speed",
"start": 1152,
"end": 1157,
"loc": {
"start": {
"line": 33,
"column": 13
},
"end": {
"line": 33,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1158,
"end": 1159,
"loc": {
"start": {
"line": 33,
"column": 19
},
"end": {
"line": 33,
"column": 20
}
}
},
{
"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": 1160,
"end": 1163,
"loc": {
"start": {
"line": 33,
"column": 21
},
"end": {
"line": 33,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "RegularGameSpeed",
"start": 1164,
"end": 1180,
"loc": {
"start": {
"line": 33,
"column": 25
},
"end": {
"line": 33,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1180,
"end": 1181,
"loc": {
"start": {
"line": 33,
"column": 41
},
"end": {
"line": 33,
"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": 1181,
"end": 1185,
"loc": {
"start": {
"line": 33,
"column": 42
},
"end": {
"line": 33,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1185,
"end": 1186,
"loc": {
"start": {
"line": 33,
"column": 46
},
"end": {
"line": 33,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1186,
"end": 1190,
"loc": {
"start": {
"line": 33,
"column": 47
},
"end": {
"line": 33,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1190,
"end": 1191,
"loc": {
"start": {
"line": 33,
"column": 51
},
"end": {
"line": 33,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1191,
"end": 1192,
"loc": {
"start": {
"line": 33,
"column": 52
},
"end": {
"line": 33,
"column": 53
}
}
},
{
"type": "CommentLine",
"value": " Store how much time we have in bucket",
"start": 1204,
"end": 1244,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"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": 1254,
"end": 1258,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1258,
"end": 1259,
"loc": {
"start": {
"line": 36,
"column": 12
},
"end": {
"line": 36,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logicTimeBudget",
"start": 1259,
"end": 1274,
"loc": {
"start": {
"line": 36,
"column": 13
},
"end": {
"line": 36,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1275,
"end": 1276,
"loc": {
"start": {
"line": 36,
"column": 29
},
"end": {
"line": 36,
"column": 30
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1277,
"end": 1278,
"loc": {
"start": {
"line": 36,
"column": 31
},
"end": {
"line": 36,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1278,
"end": 1279,
"loc": {
"start": {
"line": 36,
"column": 32
},
"end": {
"line": 36,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1285,
"end": 1286,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "static",
"start": 1294,
"end": 1300,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 1301,
"end": 1306,
"loc": {
"start": {
"line": 39,
"column": 11
},
"end": {
"line": 39,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1306,
"end": 1307,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1307,
"end": 1308,
"loc": {
"start": {
"line": 39,
"column": 17
},
"end": {
"line": 39,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1309,
"end": 1310,
"loc": {
"start": {
"line": 39,
"column": 19
},
"end": {
"line": 39,
"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": 1320,
"end": 1326,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "GameTime",
"start": 1327,
"end": 1337,
"loc": {
"start": {
"line": 40,
"column": 15
},
"end": {
"line": 40,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1337,
"end": 1338,
"loc": {
"start": {
"line": 40,
"column": 25
},
"end": {
"line": 40,
"column": 26
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1344,
"end": 1345,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "static",
"start": 1353,
"end": 1359,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSchema",
"start": 1360,
"end": 1369,
"loc": {
"start": {
"line": 43,
"column": 11
},
"end": {
"line": 43,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1369,
"end": 1370,
"loc": {
"start": {
"line": 43,
"column": 20
},
"end": {
"line": 43,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1370,
"end": 1371,
"loc": {
"start": {
"line": 43,
"column": 21
},
"end": {
"line": 43,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1372,
"end": 1373,
"loc": {
"start": {
"line": 43,
"column": 23
},
"end": {
"line": 43,
"column": 24
}
}
},
{
"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": 1383,
"end": 1389,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1390,
"end": 1391,
"loc": {
"start": {
"line": 44,
"column": 15
},
"end": {
"line": 44,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "timeSeconds",
"start": 1405,
"end": 1416,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 23
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1416,
"end": 1417,
"loc": {
"start": {
"line": 45,
"column": 23
},
"end": {
"line": 45,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "types",
"start": 1418,
"end": 1423,
"loc": {
"start": {
"line": 45,
"column": 25
},
"end": {
"line": 45,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1423,
"end": 1424,
"loc": {
"start": {
"line": 45,
"column": 30
},
"end": {
"line": 45,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "float",
"start": 1424,
"end": 1429,
"loc": {
"start": {
"line": 45,
"column": 31
},
"end": {
"line": 45,
"column": 36
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1429,
"end": 1430,
"loc": {
"start": {
"line": 45,
"column": 36
},
"end": {
"line": 45,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "speed",
"start": 1444,
"end": 1449,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 17
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1449,
"end": 1450,
"loc": {
"start": {
"line": 46,
"column": 17
},
"end": {
"line": 46,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "types",
"start": 1451,
"end": 1456,
"loc": {
"start": {
"line": 46,
"column": 19
},
"end": {
"line": 46,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1456,
"end": 1457,
"loc": {
"start": {
"line": 46,
"column": 24
},
"end": {
"line": 46,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 1457,
"end": 1460,
"loc": {
"start": {
"line": 46,
"column": 25
},
"end": {
"line": 46,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1460,
"end": 1461,
"loc": {
"start": {
"line": 46,
"column": 28
},
"end": {
"line": 46,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gGameSpeedRegistry",
"start": 1461,
"end": 1479,
"loc": {
"start": {
"line": 46,
"column": 29
},
"end": {
"line": 46,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1479,
"end": 1480,
"loc": {
"start": {
"line": 46,
"column": 47
},
"end": {
"line": 46,
"column": 48
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1480,
"end": 1481,
"loc": {
"start": {
"line": 46,
"column": 48
},
"end": {
"line": 46,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realtimeSeconds",
"start": 1495,
"end": 1510,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 27
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1510,
"end": 1511,
"loc": {
"start": {
"line": 47,
"column": 27
},
"end": {
"line": 47,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "types",
"start": 1512,
"end": 1517,
"loc": {
"start": {
"line": 47,
"column": 29
},
"end": {
"line": 47,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1517,
"end": 1518,
"loc": {
"start": {
"line": 47,
"column": 34
},
"end": {
"line": 47,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "float",
"start": 1518,
"end": 1523,
"loc": {
"start": {
"line": 47,
"column": 35
},
"end": {
"line": 47,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1523,
"end": 1524,
"loc": {
"start": {
"line": 47,
"column": 40
},
"end": {
"line": 47,
"column": 41
}
}
},
{
"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": 48,
"column": 8
},
"end": {
"line": 48,
"column": 9
}
}
},
{
"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": 48,
"column": 9
},
"end": {
"line": 48,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1542,
"end": 1543,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 49,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Fetches the new \"real\" time, called from the core once per frame, since performance now() is kinda slow\r\n ",
"start": 1551,
"end": 1675,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 53,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "updateRealtimeNow",
"start": 1681,
"end": 1698,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1698,
"end": 1699,
"loc": {
"start": {
"line": 54,
"column": 21
},
"end": {
"line": 54,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1699,
"end": 1700,
"loc": {
"start": {
"line": 54,
"column": 22
},
"end": {
"line": 54,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1701,
"end": 1702,
"loc": {
"start": {
"line": 54,
"column": 24
},
"end": {
"line": 54,
"column": 25
}
}
},
{
"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": 1712,
"end": 1716,
"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": 1716,
"end": 1717,
"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": "realtimeSeconds",
"start": 1717,
"end": 1732,
"loc": {
"start": {
"line": 55,
"column": 13
},
"end": {
"line": 55,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1733,
"end": 1734,
"loc": {
"start": {
"line": 55,
"column": 29
},
"end": {
"line": 55,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "performance",
"start": 1735,
"end": 1746,
"loc": {
"start": {
"line": 55,
"column": 31
},
"end": {
"line": 55,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1746,
"end": 1747,
"loc": {
"start": {
"line": 55,
"column": 42
},
"end": {
"line": 55,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "now",
"start": 1747,
"end": 1750,
"loc": {
"start": {
"line": 55,
"column": 43
},
"end": {
"line": 55,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1750,
"end": 1751,
"loc": {
"start": {
"line": 55,
"column": 46
},
"end": {
"line": 55,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1751,
"end": 1752,
"loc": {
"start": {
"line": 55,
"column": 47
},
"end": {
"line": 55,
"column": 48
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 1753,
"end": 1754,
"loc": {
"start": {
"line": 55,
"column": 49
},
"end": {
"line": 55,
"column": 50
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1000,
"start": 1755,
"end": 1761,
"loc": {
"start": {
"line": 55,
"column": 51
},
"end": {
"line": 55,
"column": 57
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 1762,
"end": 1763,
"loc": {
"start": {
"line": 55,
"column": 58
},
"end": {
"line": 55,
"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": 1764,
"end": 1768,
"loc": {
"start": {
"line": 55,
"column": 60
},
"end": {
"line": 55,
"column": 64
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1768,
"end": 1769,
"loc": {
"start": {
"line": 55,
"column": 64
},
"end": {
"line": 55,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realtimeAdjust",
"start": 1769,
"end": 1783,
"loc": {
"start": {
"line": 55,
"column": 65
},
"end": {
"line": 55,
"column": 79
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1783,
"end": 1784,
"loc": {
"start": {
"line": 55,
"column": 79
},
"end": {
"line": 55,
"column": 80
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1790,
"end": 1791,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 56,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns the ingame time in milliseconds\r\n ",
"start": 1799,
"end": 1859,
"loc": {
"start": {
"line": 58,
"column": 4
},
"end": {
"line": 60,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getTimeMs",
"start": 1865,
"end": 1874,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1874,
"end": 1875,
"loc": {
"start": {
"line": 61,
"column": 13
},
"end": {
"line": 61,
"column": 14
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1875,
"end": 1876,
"loc": {
"start": {
"line": 61,
"column": 14
},
"end": {
"line": 61,
"column": 15
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1877,
"end": 1878,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 61,
"column": 17
}
}
},
{
"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": 1888,
"end": 1894,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 62,
"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": 1895,
"end": 1899,
"loc": {
"start": {
"line": 62,
"column": 15
},
"end": {
"line": 62,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1899,
"end": 1900,
"loc": {
"start": {
"line": 62,
"column": 19
},
"end": {
"line": 62,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "timeSeconds",
"start": 1900,
"end": 1911,
"loc": {
"start": {
"line": 62,
"column": 20
},
"end": {
"line": 62,
"column": 31
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 1912,
"end": 1913,
"loc": {
"start": {
"line": 62,
"column": 32
},
"end": {
"line": 62,
"column": 33
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1000,
"start": 1914,
"end": 1920,
"loc": {
"start": {
"line": 62,
"column": 34
},
"end": {
"line": 62,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1920,
"end": 1921,
"loc": {
"start": {
"line": 62,
"column": 40
},
"end": {
"line": 62,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1927,
"end": 1928,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 63,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns how many seconds we are in the grace period\r\n * @returns {number}\r\n ",
"start": 1936,
"end": 2034,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 68,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getRemainingGracePeriodSeconds",
"start": 2040,
"end": 2070,
"loc": {
"start": {
"line": 69,
"column": 4
},
"end": {
"line": 69,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2070,
"end": 2071,
"loc": {
"start": {
"line": 69,
"column": 34
},
"end": {
"line": 69,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2071,
"end": 2072,
"loc": {
"start": {
"line": 69,
"column": 35
},
"end": {
"line": 69,
"column": 36
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2073,
"end": 2074,
"loc": {
"start": {
"line": 69,
"column": 37
},
"end": {
"line": 69,
"column": 38
}
}
},
{
"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": 2084,
"end": 2090,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 14
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2091,
"end": 2092,
"loc": {
"start": {
"line": 70,
"column": 15
},
"end": {
"line": 70,
"column": 16
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2092,
"end": 2093,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2099,
"end": 2100,
"loc": {
"start": {
"line": 71,
"column": 4
},
"end": {
"line": 71,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns if we are currently in the grace period\r\n * @returns {boolean}\r\n ",
"start": 2108,
"end": 2203,
"loc": {
"start": {
"line": 73,
"column": 4
},
"end": {
"line": 76,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getIsWithinGracePeriod",
"start": 2209,
"end": 2231,
"loc": {
"start": {
"line": 77,
"column": 4
},
"end": {
"line": 77,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2231,
"end": 2232,
"loc": {
"start": {
"line": 77,
"column": 26
},
"end": {
"line": 77,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2232,
"end": 2233,
"loc": {
"start": {
"line": 77,
"column": 27
},
"end": {
"line": 77,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2234,
"end": 2235,
"loc": {
"start": {
"line": 77,
"column": 29
},
"end": {
"line": 77,
"column": 30
}
}
},
{
"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": 2245,
"end": 2251,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"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": 2252,
"end": 2256,
"loc": {
"start": {
"line": 78,
"column": 15
},
"end": {
"line": 78,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2256,
"end": 2257,
"loc": {
"start": {
"line": 78,
"column": 19
},
"end": {
"line": 78,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getRemainingGracePeriodSeconds",
"start": 2257,
"end": 2287,
"loc": {
"start": {
"line": 78,
"column": 20
},
"end": {
"line": 78,
"column": 50
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2287,
"end": 2288,
"loc": {
"start": {
"line": 78,
"column": 50
},
"end": {
"line": 78,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2288,
"end": 2289,
"loc": {
"start": {
"line": 78,
"column": 51
},
"end": {
"line": 78,
"column": 52
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 2290,
"end": 2291,
"loc": {
"start": {
"line": 78,
"column": 53
},
"end": {
"line": 78,
"column": 54
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2292,
"end": 2293,
"loc": {
"start": {
"line": 78,
"column": 55
},
"end": {
"line": 78,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2293,
"end": 2294,
"loc": {
"start": {
"line": 78,
"column": 56
},
"end": {
"line": 78,
"column": 57
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2300,
"end": 2301,
"loc": {
"start": {
"line": 79,
"column": 4
},
"end": {
"line": 79,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Internal method to generate new logic time budget\r\n * @param {number} deltaMs\r\n ",
"start": 2309,
"end": 2411,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 84,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "internalAddDeltaToBudget",
"start": 2417,
"end": 2441,
"loc": {
"start": {
"line": 85,
"column": 4
},
"end": {
"line": 85,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2441,
"end": 2442,
"loc": {
"start": {
"line": 85,
"column": 28
},
"end": {
"line": 85,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deltaMs",
"start": 2442,
"end": 2449,
"loc": {
"start": {
"line": 85,
"column": 29
},
"end": {
"line": 85,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2449,
"end": 2450,
"loc": {
"start": {
"line": 85,
"column": 36
},
"end": {
"line": 85,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2451,
"end": 2452,
"loc": {
"start": {
"line": 85,
"column": 38
},
"end": {
"line": 85,
"column": 39
}
}
},
{
"type": "CommentLine",
"value": " Only update if game is supposed to update",
"start": 2462,
"end": 2506,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 52
}
}
},
{
"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": 2516,
"end": 2518,
"loc": {
"start": {
"line": 87,
"column": 8
},
"end": {
"line": 87,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2519,
"end": 2520,
"loc": {
"start": {
"line": 87,
"column": 11
},
"end": {
"line": 87,
"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": 2520,
"end": 2524,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2524,
"end": 2525,
"loc": {
"start": {
"line": 87,
"column": 16
},
"end": {
"line": 87,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2525,
"end": 2529,
"loc": {
"start": {
"line": 87,
"column": 17
},
"end": {
"line": 87,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2529,
"end": 2530,
"loc": {
"start": {
"line": 87,
"column": 21
},
"end": {
"line": 87,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hud",
"start": 2530,
"end": 2533,
"loc": {
"start": {
"line": 87,
"column": 22
},
"end": {
"line": 87,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2533,
"end": 2534,
"loc": {
"start": {
"line": 87,
"column": 25
},
"end": {
"line": 87,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shouldPauseGame",
"start": 2534,
"end": 2549,
"loc": {
"start": {
"line": 87,
"column": 26
},
"end": {
"line": 87,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2549,
"end": 2550,
"loc": {
"start": {
"line": 87,
"column": 41
},
"end": {
"line": 87,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2550,
"end": 2551,
"loc": {
"start": {
"line": 87,
"column": 42
},
"end": {
"line": 87,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2551,
"end": 2552,
"loc": {
"start": {
"line": 87,
"column": 43
},
"end": {
"line": 87,
"column": 44
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2553,
"end": 2554,
"loc": {
"start": {
"line": 87,
"column": 45
},
"end": {
"line": 87,
"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": 2568,
"end": 2572,
"loc": {
"start": {
"line": 88,
"column": 12
},
"end": {
"line": 88,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2572,
"end": 2573,
"loc": {
"start": {
"line": 88,
"column": 16
},
"end": {
"line": 88,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logicTimeBudget",
"start": 2573,
"end": 2588,
"loc": {
"start": {
"line": 88,
"column": 17
},
"end": {
"line": 88,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2589,
"end": 2590,
"loc": {
"start": {
"line": 88,
"column": 33
},
"end": {
"line": 88,
"column": 34
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2591,
"end": 2592,
"loc": {
"start": {
"line": 88,
"column": 35
},
"end": {
"line": 88,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2592,
"end": 2593,
"loc": {
"start": {
"line": 88,
"column": 36
},
"end": {
"line": 88,
"column": 37
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2603,
"end": 2604,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"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": 2605,
"end": 2609,
"loc": {
"start": {
"line": 89,
"column": 10
},
"end": {
"line": 89,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2610,
"end": 2611,
"loc": {
"start": {
"line": 89,
"column": 15
},
"end": {
"line": 89,
"column": 16
}
}
},
{
"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": 2625,
"end": 2630,
"loc": {
"start": {
"line": 90,
"column": 12
},
"end": {
"line": 90,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "multiplier",
"start": 2631,
"end": 2641,
"loc": {
"start": {
"line": 90,
"column": 18
},
"end": {
"line": 90,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2642,
"end": 2643,
"loc": {
"start": {
"line": 90,
"column": 29
},
"end": {
"line": 90,
"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": 2644,
"end": 2648,
"loc": {
"start": {
"line": 90,
"column": 31
},
"end": {
"line": 90,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2648,
"end": 2649,
"loc": {
"start": {
"line": 90,
"column": 35
},
"end": {
"line": 90,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSpeed",
"start": 2649,
"end": 2657,
"loc": {
"start": {
"line": 90,
"column": 36
},
"end": {
"line": 90,
"column": 44
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2657,
"end": 2658,
"loc": {
"start": {
"line": 90,
"column": 44
},
"end": {
"line": 90,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2658,
"end": 2659,
"loc": {
"start": {
"line": 90,
"column": 45
},
"end": {
"line": 90,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2659,
"end": 2660,
"loc": {
"start": {
"line": 90,
"column": 46
},
"end": {
"line": 90,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getTimeMultiplier",
"start": 2660,
"end": 2677,
"loc": {
"start": {
"line": 90,
"column": 47
},
"end": {
"line": 90,
"column": 64
}
}
},
{
"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": 90,
"column": 64
},
"end": {
"line": 90,
"column": 65
}
}
},
{
"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": 90,
"column": 65
},
"end": {
"line": 90,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2679,
"end": 2680,
"loc": {
"start": {
"line": 90,
"column": 66
},
"end": {
"line": 90,
"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": 2694,
"end": 2698,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2698,
"end": 2699,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logicTimeBudget",
"start": 2699,
"end": 2714,
"loc": {
"start": {
"line": 91,
"column": 17
},
"end": {
"line": 91,
"column": 32
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "+=",
"start": 2715,
"end": 2717,
"loc": {
"start": {
"line": 91,
"column": 33
},
"end": {
"line": 91,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deltaMs",
"start": 2718,
"end": 2725,
"loc": {
"start": {
"line": 91,
"column": 36
},
"end": {
"line": 91,
"column": 43
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 2726,
"end": 2727,
"loc": {
"start": {
"line": 91,
"column": 44
},
"end": {
"line": 91,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "multiplier",
"start": 2728,
"end": 2738,
"loc": {
"start": {
"line": 91,
"column": 46
},
"end": {
"line": 91,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2738,
"end": 2739,
"loc": {
"start": {
"line": 91,
"column": 56
},
"end": {
"line": 91,
"column": 57
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2749,
"end": 2750,
"loc": {
"start": {
"line": 92,
"column": 8
},
"end": {
"line": 92,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Check for too big pile of updates -> reduce it to 1",
"start": 2762,
"end": 2816,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 62
}
}
},
{
"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": 2826,
"end": 2829,
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 95,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "maxLogicSteps",
"start": 2830,
"end": 2843,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2844,
"end": 2845,
"loc": {
"start": {
"line": 95,
"column": 26
},
"end": {
"line": 95,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 2846,
"end": 2850,
"loc": {
"start": {
"line": 95,
"column": 28
},
"end": {
"line": 95,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2850,
"end": 2851,
"loc": {
"start": {
"line": 95,
"column": 32
},
"end": {
"line": 95,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "max",
"start": 2851,
"end": 2854,
"loc": {
"start": {
"line": 95,
"column": 33
},
"end": {
"line": 95,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2854,
"end": 2855,
"loc": {
"start": {
"line": 95,
"column": 36
},
"end": {
"line": 95,
"column": 37
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 3,
"start": 2869,
"end": 2870,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 96,
"column": 13
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2870,
"end": 2871,
"loc": {
"start": {
"line": 96,
"column": 13
},
"end": {
"line": 96,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2885,
"end": 2886,
"loc": {
"start": {
"line": 97,
"column": 12
},
"end": {
"line": 97,
"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": 2886,
"end": 2890,
"loc": {
"start": {
"line": 97,
"column": 13
},
"end": {
"line": 97,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2890,
"end": 2891,
"loc": {
"start": {
"line": 97,
"column": 17
},
"end": {
"line": 97,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "speed",
"start": 2891,
"end": 2896,
"loc": {
"start": {
"line": 97,
"column": 18
},
"end": {
"line": 97,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2896,
"end": 2897,
"loc": {
"start": {
"line": 97,
"column": 23
},
"end": {
"line": 97,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getMaxLogicStepsInQueue",
"start": 2897,
"end": 2920,
"loc": {
"start": {
"line": 97,
"column": 24
},
"end": {
"line": 97,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2920,
"end": 2921,
"loc": {
"start": {
"line": 97,
"column": 47
},
"end": {
"line": 97,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2921,
"end": 2922,
"loc": {
"start": {
"line": 97,
"column": 48
},
"end": {
"line": 97,
"column": 49
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 2923,
"end": 2924,
"loc": {
"start": {
"line": 97,
"column": 50
},
"end": {
"line": 97,
"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": 2925,
"end": 2929,
"loc": {
"start": {
"line": 97,
"column": 52
},
"end": {
"line": 97,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2929,
"end": 2930,
"loc": {
"start": {
"line": 97,
"column": 56
},
"end": {
"line": 97,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2930,
"end": 2934,
"loc": {
"start": {
"line": 97,
"column": 57
},
"end": {
"line": 97,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2934,
"end": 2935,
"loc": {
"start": {
"line": 97,
"column": 61
},
"end": {
"line": 97,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dynamicTickrate",
"start": 2935,
"end": 2950,
"loc": {
"start": {
"line": 97,
"column": 62
},
"end": {
"line": 97,
"column": 77
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2950,
"end": 2951,
"loc": {
"start": {
"line": 97,
"column": 77
},
"end": {
"line": 97,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentTickRate",
"start": 2951,
"end": 2966,
"loc": {
"start": {
"line": 97,
"column": 78
},
"end": {
"line": 97,
"column": 93
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2966,
"end": 2967,
"loc": {
"start": {
"line": 97,
"column": 93
},
"end": {
"line": 97,
"column": 94
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 2968,
"end": 2969,
"loc": {
"start": {
"line": 97,
"column": 95
},
"end": {
"line": 97,
"column": 96
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 60,
"start": 2970,
"end": 2972,
"loc": {
"start": {
"line": 97,
"column": 97
},
"end": {
"line": 97,
"column": 99
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2982,
"end": 2983,
"loc": {
"start": {
"line": 98,
"column": 8
},
"end": {
"line": 98,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2983,
"end": 2984,
"loc": {
"start": {
"line": 98,
"column": 9
},
"end": {
"line": 98,
"column": 10
}
}
},
{
"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": 2994,
"end": 2996,
"loc": {
"start": {
"line": 99,
"column": 8
},
"end": {
"line": 99,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2997,
"end": 2998,
"loc": {
"start": {
"line": 99,
"column": 11
},
"end": {
"line": 99,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "G_IS_DEV",
"start": 2998,
"end": 3006,
"loc": {
"start": {
"line": 99,
"column": 12
},
"end": {
"line": 99,
"column": 20
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 3007,
"end": 3009,
"loc": {
"start": {
"line": 99,
"column": 21
},
"end": {
"line": 99,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 3010,
"end": 3022,
"loc": {
"start": {
"line": 99,
"column": 24
},
"end": {
"line": 99,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3022,
"end": 3023,
"loc": {
"start": {
"line": 99,
"column": 36
},
"end": {
"line": 99,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "debug",
"start": 3023,
"end": 3028,
"loc": {
"start": {
"line": 99,
"column": 37
},
"end": {
"line": 99,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3028,
"end": 3029,
"loc": {
"start": {
"line": 99,
"column": 42
},
"end": {
"line": 99,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "framePausesBetweenTicks",
"start": 3029,
"end": 3052,
"loc": {
"start": {
"line": 99,
"column": 43
},
"end": {
"line": 99,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3052,
"end": 3053,
"loc": {
"start": {
"line": 99,
"column": 66
},
"end": {
"line": 99,
"column": 67
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3054,
"end": 3055,
"loc": {
"start": {
"line": 99,
"column": 68
},
"end": {
"line": 99,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "maxLogicSteps",
"start": 3069,
"end": 3082,
"loc": {
"start": {
"line": 100,
"column": 12
},
"end": {
"line": 100,
"column": 25
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "*=",
"start": 3083,
"end": 3085,
"loc": {
"start": {
"line": 100,
"column": 26
},
"end": {
"line": 100,
"column": 28
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3086,
"end": 3087,
"loc": {
"start": {
"line": 100,
"column": 29
},
"end": {
"line": 100,
"column": 30
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3088,
"end": 3089,
"loc": {
"start": {
"line": 100,
"column": 31
},
"end": {
"line": 100,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 3090,
"end": 3102,
"loc": {
"start": {
"line": 100,
"column": 33
},
"end": {
"line": 100,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3102,
"end": 3103,
"loc": {
"start": {
"line": 100,
"column": 45
},
"end": {
"line": 100,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "debug",
"start": 3103,
"end": 3108,
"loc": {
"start": {
"line": 100,
"column": 46
},
"end": {
"line": 100,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3108,
"end": 3109,
"loc": {
"start": {
"line": 100,
"column": 51
},
"end": {
"line": 100,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "framePausesBetweenTicks",
"start": 3109,
"end": 3132,
"loc": {
"start": {
"line": 100,
"column": 52
},
"end": {
"line": 100,
"column": 75
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3132,
"end": 3133,
"loc": {
"start": {
"line": 100,
"column": 75
},
"end": {
"line": 100,
"column": 76
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3143,
"end": 3144,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"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": 3156,
"end": 3158,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3159,
"end": 3160,
"loc": {
"start": {
"line": 103,
"column": 11
},
"end": {
"line": 103,
"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": 3160,
"end": 3164,
"loc": {
"start": {
"line": 103,
"column": 12
},
"end": {
"line": 103,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3164,
"end": 3165,
"loc": {
"start": {
"line": 103,
"column": 16
},
"end": {
"line": 103,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logicTimeBudget",
"start": 3165,
"end": 3180,
"loc": {
"start": {
"line": 103,
"column": 17
},
"end": {
"line": 103,
"column": 32
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 3181,
"end": 3182,
"loc": {
"start": {
"line": 103,
"column": 33
},
"end": {
"line": 103,
"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": 3183,
"end": 3187,
"loc": {
"start": {
"line": 103,
"column": 35
},
"end": {
"line": 103,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3187,
"end": 3188,
"loc": {
"start": {
"line": 103,
"column": 39
},
"end": {
"line": 103,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3188,
"end": 3192,
"loc": {
"start": {
"line": 103,
"column": 40
},
"end": {
"line": 103,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3192,
"end": 3193,
"loc": {
"start": {
"line": 103,
"column": 44
},
"end": {
"line": 103,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dynamicTickrate",
"start": 3193,
"end": 3208,
"loc": {
"start": {
"line": 103,
"column": 45
},
"end": {
"line": 103,
"column": 60
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3208,
"end": 3209,
"loc": {
"start": {
"line": 103,
"column": 60
},
"end": {
"line": 103,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deltaMs",
"start": 3209,
"end": 3216,
"loc": {
"start": {
"line": 103,
"column": 61
},
"end": {
"line": 103,
"column": 68
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3217,
"end": 3218,
"loc": {
"start": {
"line": 103,
"column": 69
},
"end": {
"line": 103,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "maxLogicSteps",
"start": 3219,
"end": 3232,
"loc": {
"start": {
"line": 103,
"column": 71
},
"end": {
"line": 103,
"column": 84
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3232,
"end": 3233,
"loc": {
"start": {
"line": 103,
"column": 84
},
"end": {
"line": 103,
"column": 85
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3234,
"end": 3235,
"loc": {
"start": {
"line": 103,
"column": 86
},
"end": {
"line": 103,
"column": 87
}
}
},
{
"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": 3249,
"end": 3253,
"loc": {
"start": {
"line": 104,
"column": 12
},
"end": {
"line": 104,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3253,
"end": 3254,
"loc": {
"start": {
"line": 104,
"column": 16
},
"end": {
"line": 104,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logicTimeBudget",
"start": 3254,
"end": 3269,
"loc": {
"start": {
"line": 104,
"column": 17
},
"end": {
"line": 104,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3270,
"end": 3271,
"loc": {
"start": {
"line": 104,
"column": 33
},
"end": {
"line": 104,
"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": 3272,
"end": 3276,
"loc": {
"start": {
"line": 104,
"column": 35
},
"end": {
"line": 104,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3276,
"end": 3277,
"loc": {
"start": {
"line": 104,
"column": 39
},
"end": {
"line": 104,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3277,
"end": 3281,
"loc": {
"start": {
"line": 104,
"column": 40
},
"end": {
"line": 104,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3281,
"end": 3282,
"loc": {
"start": {
"line": 104,
"column": 44
},
"end": {
"line": 104,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dynamicTickrate",
"start": 3282,
"end": 3297,
"loc": {
"start": {
"line": 104,
"column": 45
},
"end": {
"line": 104,
"column": 60
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3297,
"end": 3298,
"loc": {
"start": {
"line": 104,
"column": 60
},
"end": {
"line": 104,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deltaMs",
"start": 3298,
"end": 3305,
"loc": {
"start": {
"line": 104,
"column": 61
},
"end": {
"line": 104,
"column": 68
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3306,
"end": 3307,
"loc": {
"start": {
"line": 104,
"column": 69
},
"end": {
"line": 104,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "maxLogicSteps",
"start": 3308,
"end": 3321,
"loc": {
"start": {
"line": 104,
"column": 71
},
"end": {
"line": 104,
"column": 84
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3321,
"end": 3322,
"loc": {
"start": {
"line": 104,
"column": 84
},
"end": {
"line": 104,
"column": 85
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3332,
"end": 3333,
"loc": {
"start": {
"line": 105,
"column": 8
},
"end": {
"line": 105,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3339,
"end": 3340,
"loc": {
"start": {
"line": 106,
"column": 4
},
"end": {
"line": 106,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Performs update ticks based on the queued logic budget\r\n * @param {number} deltaMs\r\n * @param {function():boolean} updateMethod\r\n ",
"start": 3348,
"end": 3504,
"loc": {
"start": {
"line": 108,
"column": 4
},
"end": {
"line": 112,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "performTicks",
"start": 3510,
"end": 3522,
"loc": {
"start": {
"line": 113,
"column": 4
},
"end": {
"line": 113,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3522,
"end": 3523,
"loc": {
"start": {
"line": 113,
"column": 16
},
"end": {
"line": 113,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deltaMs",
"start": 3523,
"end": 3530,
"loc": {
"start": {
"line": 113,
"column": 17
},
"end": {
"line": 113,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3530,
"end": 3531,
"loc": {
"start": {
"line": 113,
"column": 24
},
"end": {
"line": 113,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "updateMethod",
"start": 3532,
"end": 3544,
"loc": {
"start": {
"line": 113,
"column": 26
},
"end": {
"line": 113,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3544,
"end": 3545,
"loc": {
"start": {
"line": 113,
"column": 38
},
"end": {
"line": 113,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3546,
"end": 3547,
"loc": {
"start": {
"line": 113,
"column": 40
},
"end": {
"line": 113,
"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": 3557,
"end": 3561,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3561,
"end": 3562,
"loc": {
"start": {
"line": 114,
"column": 12
},
"end": {
"line": 114,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "internalAddDeltaToBudget",
"start": 3562,
"end": 3586,
"loc": {
"start": {
"line": 114,
"column": 13
},
"end": {
"line": 114,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3586,
"end": 3587,
"loc": {
"start": {
"line": 114,
"column": 37
},
"end": {
"line": 114,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deltaMs",
"start": 3587,
"end": 3594,
"loc": {
"start": {
"line": 114,
"column": 38
},
"end": {
"line": 114,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3594,
"end": 3595,
"loc": {
"start": {
"line": 114,
"column": 45
},
"end": {
"line": 114,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3595,
"end": 3596,
"loc": {
"start": {
"line": 114,
"column": 46
},
"end": {
"line": 114,
"column": 47
}
}
},
{
"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": 3608,
"end": 3613,
"loc": {
"start": {
"line": 116,
"column": 8
},
"end": {
"line": 116,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "speedAtStart",
"start": 3614,
"end": 3626,
"loc": {
"start": {
"line": 116,
"column": 14
},
"end": {
"line": 116,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3627,
"end": 3628,
"loc": {
"start": {
"line": 116,
"column": 27
},
"end": {
"line": 116,
"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": 3629,
"end": 3633,
"loc": {
"start": {
"line": 116,
"column": 29
},
"end": {
"line": 116,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3633,
"end": 3634,
"loc": {
"start": {
"line": 116,
"column": 33
},
"end": {
"line": 116,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3634,
"end": 3638,
"loc": {
"start": {
"line": 116,
"column": 34
},
"end": {
"line": 116,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3638,
"end": 3639,
"loc": {
"start": {
"line": 116,
"column": 38
},
"end": {
"line": 116,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "time",
"start": 3639,
"end": 3643,
"loc": {
"start": {
"line": 116,
"column": 39
},
"end": {
"line": 116,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3643,
"end": 3644,
"loc": {
"start": {
"line": 116,
"column": 43
},
"end": {
"line": 116,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSpeed",
"start": 3644,
"end": 3652,
"loc": {
"start": {
"line": 116,
"column": 44
},
"end": {
"line": 116,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3652,
"end": 3653,
"loc": {
"start": {
"line": 116,
"column": 52
},
"end": {
"line": 116,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3653,
"end": 3654,
"loc": {
"start": {
"line": 116,
"column": 53
},
"end": {
"line": 116,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3654,
"end": 3655,
"loc": {
"start": {
"line": 116,
"column": 54
},
"end": {
"line": 116,
"column": 55
}
}
},
{
"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": 3667,
"end": 3670,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "effectiveDelta",
"start": 3671,
"end": 3685,
"loc": {
"start": {
"line": 118,
"column": 12
},
"end": {
"line": 118,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3686,
"end": 3687,
"loc": {
"start": {
"line": 118,
"column": 27
},
"end": {
"line": 118,
"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": 3688,
"end": 3692,
"loc": {
"start": {
"line": 118,
"column": 29
},
"end": {
"line": 118,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3692,
"end": 3693,
"loc": {
"start": {
"line": 118,
"column": 33
},
"end": {
"line": 118,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3693,
"end": 3697,
"loc": {
"start": {
"line": 118,
"column": 34
},
"end": {
"line": 118,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3697,
"end": 3698,
"loc": {
"start": {
"line": 118,
"column": 38
},
"end": {
"line": 118,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dynamicTickrate",
"start": 3698,
"end": 3713,
"loc": {
"start": {
"line": 118,
"column": 39
},
"end": {
"line": 118,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3713,
"end": 3714,
"loc": {
"start": {
"line": 118,
"column": 54
},
"end": {
"line": 118,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deltaMs",
"start": 3714,
"end": 3721,
"loc": {
"start": {
"line": 118,
"column": 55
},
"end": {
"line": 118,
"column": 62
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3721,
"end": 3722,
"loc": {
"start": {
"line": 118,
"column": 62
},
"end": {
"line": 118,
"column": 63
}
}
},
{
"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": 3732,
"end": 3734,
"loc": {
"start": {
"line": 119,
"column": 8
},
"end": {
"line": 119,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3735,
"end": 3736,
"loc": {
"start": {
"line": 119,
"column": 11
},
"end": {
"line": 119,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "G_IS_DEV",
"start": 3736,
"end": 3744,
"loc": {
"start": {
"line": 119,
"column": 12
},
"end": {
"line": 119,
"column": 20
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 3745,
"end": 3747,
"loc": {
"start": {
"line": 119,
"column": 21
},
"end": {
"line": 119,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 3748,
"end": 3760,
"loc": {
"start": {
"line": 119,
"column": 24
},
"end": {
"line": 119,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3760,
"end": 3761,
"loc": {
"start": {
"line": 119,
"column": 36
},
"end": {
"line": 119,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "debug",
"start": 3761,
"end": 3766,
"loc": {
"start": {
"line": 119,
"column": 37
},
"end": {
"line": 119,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3766,
"end": 3767,
"loc": {
"start": {
"line": 119,
"column": 42
},
"end": {
"line": 119,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "framePausesBetweenTicks",
"start": 3767,
"end": 3790,
"loc": {
"start": {
"line": 119,
"column": 43
},
"end": {
"line": 119,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3790,
"end": 3791,
"loc": {
"start": {
"line": 119,
"column": 66
},
"end": {
"line": 119,
"column": 67
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3792,
"end": 3793,
"loc": {
"start": {
"line": 119,
"column": 68
},
"end": {
"line": 119,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "effectiveDelta",
"start": 3807,
"end": 3821,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 120,
"column": 26
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "+=",
"start": 3822,
"end": 3824,
"loc": {
"start": {
"line": 120,
"column": 27
},
"end": {
"line": 120,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 3825,
"end": 3837,
"loc": {
"start": {
"line": 120,
"column": 30
},
"end": {
"line": 120,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3837,
"end": 3838,
"loc": {
"start": {
"line": 120,
"column": 42
},
"end": {
"line": 120,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "debug",
"start": 3838,
"end": 3843,
"loc": {
"start": {
"line": 120,
"column": 43
},
"end": {
"line": 120,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3843,
"end": 3844,
"loc": {
"start": {
"line": 120,
"column": 48
},
"end": {
"line": 120,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "framePausesBetweenTicks",
"start": 3844,
"end": 3867,
"loc": {
"start": {
"line": 120,
"column": 49
},
"end": {
"line": 120,
"column": 72
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3868,
"end": 3869,
"loc": {
"start": {
"line": 120,
"column": 73
},
"end": {
"line": 120,
"column": 74
}
}
},
{
"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": 3870,
"end": 3874,
"loc": {
"start": {
"line": 120,
"column": 75
},
"end": {
"line": 120,
"column": 79
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3874,
"end": 3875,
"loc": {
"start": {
"line": 120,
"column": 79
},
"end": {
"line": 120,
"column": 80
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3875,
"end": 3879,
"loc": {
"start": {
"line": 120,
"column": 80
},
"end": {
"line": 120,
"column": 84
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3879,
"end": 3880,
"loc": {
"start": {
"line": 120,
"column": 84
},
"end": {
"line": 120,
"column": 85
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dynamicTickrate",
"start": 3880,
"end": 3895,
"loc": {
"start": {
"line": 120,
"column": 85
},
"end": {
"line": 120,
"column": 100
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3895,
"end": 3896,
"loc": {
"start": {
"line": 120,
"column": 100
},
"end": {
"line": 120,
"column": 101
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deltaMs",
"start": 3896,
"end": 3903,
"loc": {
"start": {
"line": 120,
"column": 101
},
"end": {
"line": 120,
"column": 108
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3903,
"end": 3904,
"loc": {
"start": {
"line": 120,
"column": 108
},
"end": {
"line": 120,
"column": 109
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3914,
"end": 3915,
"loc": {
"start": {
"line": 121,
"column": 8
},
"end": {
"line": 121,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Update physics & logic",
"start": 3927,
"end": 3952,
"loc": {
"start": {
"line": 123,
"column": 8
},
"end": {
"line": 123,
"column": 33
}
}
},
{
"type": {
"label": "while",
"keyword": "while",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "while",
"start": 3962,
"end": 3967,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3968,
"end": 3969,
"loc": {
"start": {
"line": 124,
"column": 14
},
"end": {
"line": 124,
"column": 15
}
}
},
{
"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": 3969,
"end": 3973,
"loc": {
"start": {
"line": 124,
"column": 15
},
"end": {
"line": 124,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3973,
"end": 3974,
"loc": {
"start": {
"line": 124,
"column": 19
},
"end": {
"line": 124,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logicTimeBudget",
"start": 3974,
"end": 3989,
"loc": {
"start": {
"line": 124,
"column": 20
},
"end": {
"line": 124,
"column": 35
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">=",
"start": 3990,
"end": 3992,
"loc": {
"start": {
"line": 124,
"column": 36
},
"end": {
"line": 124,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "effectiveDelta",
"start": 3993,
"end": 4007,
"loc": {
"start": {
"line": 124,
"column": 39
},
"end": {
"line": 124,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4007,
"end": 4008,
"loc": {
"start": {
"line": 124,
"column": 53
},
"end": {
"line": 124,
"column": 54
}
}
},
{
"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": 124,
"column": 55
},
"end": {
"line": 124,
"column": 56
}
}
},
{
"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": 4024,
"end": 4028,
"loc": {
"start": {
"line": 125,
"column": 12
},
"end": {
"line": 125,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4028,
"end": 4029,
"loc": {
"start": {
"line": 125,
"column": 16
},
"end": {
"line": 125,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logicTimeBudget",
"start": 4029,
"end": 4044,
"loc": {
"start": {
"line": 125,
"column": 17
},
"end": {
"line": 125,
"column": 32
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "-=",
"start": 4045,
"end": 4047,
"loc": {
"start": {
"line": 125,
"column": 33
},
"end": {
"line": 125,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "effectiveDelta",
"start": 4048,
"end": 4062,
"loc": {
"start": {
"line": 125,
"column": 36
},
"end": {
"line": 125,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4062,
"end": 4063,
"loc": {
"start": {
"line": 125,
"column": 50
},
"end": {
"line": 125,
"column": 51
}
}
},
{
"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": 4079,
"end": 4081,
"loc": {
"start": {
"line": 127,
"column": 12
},
"end": {
"line": 127,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4082,
"end": 4083,
"loc": {
"start": {
"line": 127,
"column": 15
},
"end": {
"line": 127,
"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": 4083,
"end": 4084,
"loc": {
"start": {
"line": 127,
"column": 16
},
"end": {
"line": 127,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "updateMethod",
"start": 4084,
"end": 4096,
"loc": {
"start": {
"line": 127,
"column": 17
},
"end": {
"line": 127,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4096,
"end": 4097,
"loc": {
"start": {
"line": 127,
"column": 29
},
"end": {
"line": 127,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4097,
"end": 4098,
"loc": {
"start": {
"line": 127,
"column": 30
},
"end": {
"line": 127,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4098,
"end": 4099,
"loc": {
"start": {
"line": 127,
"column": 31
},
"end": {
"line": 127,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4100,
"end": 4101,
"loc": {
"start": {
"line": 127,
"column": 33
},
"end": {
"line": 127,
"column": 34
}
}
},
{
"type": "CommentLine",
"value": " Gameover happened or so, do not update anymore",
"start": 4119,
"end": 4168,
"loc": {
"start": {
"line": 128,
"column": 16
},
"end": {
"line": 128,
"column": 65
}
}
},
{
"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": 4186,
"end": 4192,
"loc": {
"start": {
"line": 129,
"column": 16
},
"end": {
"line": 129,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4192,
"end": 4193,
"loc": {
"start": {
"line": 129,
"column": 22
},
"end": {
"line": 129,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4207,
"end": 4208,
"loc": {
"start": {
"line": 130,
"column": 12
},
"end": {
"line": 130,
"column": 13
}
}
},
{
"type": "CommentLine",
"value": " Step game time",
"start": 4224,
"end": 4241,
"loc": {
"start": {
"line": 132,
"column": 12
},
"end": {
"line": 132,
"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": 4255,
"end": 4259,
"loc": {
"start": {
"line": 133,
"column": 12
},
"end": {
"line": 133,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4259,
"end": 4260,
"loc": {
"start": {
"line": 133,
"column": 16
},
"end": {
"line": 133,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "timeSeconds",
"start": 4260,
"end": 4271,
"loc": {
"start": {
"line": 133,
"column": 17
},
"end": {
"line": 133,
"column": 28
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "+=",
"start": 4272,
"end": 4274,
"loc": {
"start": {
"line": 133,
"column": 29
},
"end": {
"line": 133,
"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": 4275,
"end": 4279,
"loc": {
"start": {
"line": 133,
"column": 32
},
"end": {
"line": 133,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4279,
"end": 4280,
"loc": {
"start": {
"line": 133,
"column": 36
},
"end": {
"line": 133,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4280,
"end": 4284,
"loc": {
"start": {
"line": 133,
"column": 37
},
"end": {
"line": 133,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4284,
"end": 4285,
"loc": {
"start": {
"line": 133,
"column": 41
},
"end": {
"line": 133,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dynamicTickrate",
"start": 4285,
"end": 4300,
"loc": {
"start": {
"line": 133,
"column": 42
},
"end": {
"line": 133,
"column": 57
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4300,
"end": 4301,
"loc": {
"start": {
"line": 133,
"column": 57
},
"end": {
"line": 133,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deltaSeconds",
"start": 4301,
"end": 4313,
"loc": {
"start": {
"line": 133,
"column": 58
},
"end": {
"line": 133,
"column": 70
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4313,
"end": 4314,
"loc": {
"start": {
"line": 133,
"column": 70
},
"end": {
"line": 133,
"column": 71
}
}
},
{
"type": "CommentLine",
"value": " Game time speed changed, need to abort since our logic steps are no longer valid",
"start": 4330,
"end": 4413,
"loc": {
"start": {
"line": 135,
"column": 12
},
"end": {
"line": 135,
"column": 95
}
}
},
{
"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": 4427,
"end": 4429,
"loc": {
"start": {
"line": 136,
"column": 12
},
"end": {
"line": 136,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4430,
"end": 4431,
"loc": {
"start": {
"line": 136,
"column": 15
},
"end": {
"line": 136,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "speedAtStart",
"start": 4431,
"end": 4443,
"loc": {
"start": {
"line": 136,
"column": 16
},
"end": {
"line": 136,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4443,
"end": 4444,
"loc": {
"start": {
"line": 136,
"column": 28
},
"end": {
"line": 136,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 4444,
"end": 4449,
"loc": {
"start": {
"line": 136,
"column": 29
},
"end": {
"line": 136,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4449,
"end": 4450,
"loc": {
"start": {
"line": 136,
"column": 34
},
"end": {
"line": 136,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4450,
"end": 4451,
"loc": {
"start": {
"line": 136,
"column": 35
},
"end": {
"line": 136,
"column": 36
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 4452,
"end": 4455,
"loc": {
"start": {
"line": 136,
"column": 37
},
"end": {
"line": 136,
"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": 4456,
"end": 4460,
"loc": {
"start": {
"line": 136,
"column": 41
},
"end": {
"line": 136,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4460,
"end": 4461,
"loc": {
"start": {
"line": 136,
"column": 45
},
"end": {
"line": 136,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "speed",
"start": 4461,
"end": 4466,
"loc": {
"start": {
"line": 136,
"column": 46
},
"end": {
"line": 136,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4466,
"end": 4467,
"loc": {
"start": {
"line": 136,
"column": 51
},
"end": {
"line": 136,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 4467,
"end": 4472,
"loc": {
"start": {
"line": 136,
"column": 52
},
"end": {
"line": 136,
"column": 57
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4472,
"end": 4473,
"loc": {
"start": {
"line": 136,
"column": 57
},
"end": {
"line": 136,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4473,
"end": 4474,
"loc": {
"start": {
"line": 136,
"column": 58
},
"end": {
"line": 136,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4474,
"end": 4475,
"loc": {
"start": {
"line": 136,
"column": 59
},
"end": {
"line": 136,
"column": 60
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4476,
"end": 4477,
"loc": {
"start": {
"line": 136,
"column": 61
},
"end": {
"line": 136,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 4495,
"end": 4501,
"loc": {
"start": {
"line": 137,
"column": 16
},
"end": {
"line": 137,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4501,
"end": 4502,
"loc": {
"start": {
"line": 137,
"column": 22
},
"end": {
"line": 137,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "warn",
"start": 4502,
"end": 4506,
"loc": {
"start": {
"line": 137,
"column": 23
},
"end": {
"line": 137,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4506,
"end": 4507,
"loc": {
"start": {
"line": 137,
"column": 27
},
"end": {
"line": 137,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Skipping update because speed changed from",
"start": 4529,
"end": 4573,
"loc": {
"start": {
"line": 138,
"column": 20
},
"end": {
"line": 138,
"column": 64
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4573,
"end": 4574,
"loc": {
"start": {
"line": 138,
"column": 64
},
"end": {
"line": 138,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "speedAtStart",
"start": 4596,
"end": 4608,
"loc": {
"start": {
"line": 139,
"column": 20
},
"end": {
"line": 139,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4608,
"end": 4609,
"loc": {
"start": {
"line": 139,
"column": 32
},
"end": {
"line": 139,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 4609,
"end": 4614,
"loc": {
"start": {
"line": 139,
"column": 33
},
"end": {
"line": 139,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4614,
"end": 4615,
"loc": {
"start": {
"line": 139,
"column": 38
},
"end": {
"line": 139,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4615,
"end": 4616,
"loc": {
"start": {
"line": 139,
"column": 39
},
"end": {
"line": 139,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4616,
"end": 4617,
"loc": {
"start": {
"line": 139,
"column": 40
},
"end": {
"line": 139,
"column": 41
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "to",
"start": 4639,
"end": 4643,
"loc": {
"start": {
"line": 140,
"column": 20
},
"end": {
"line": 140,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4643,
"end": 4644,
"loc": {
"start": {
"line": 140,
"column": 24
},
"end": {
"line": 140,
"column": 25
}
}
},
{
"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": 4666,
"end": 4670,
"loc": {
"start": {
"line": 141,
"column": 20
},
"end": {
"line": 141,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4670,
"end": 4671,
"loc": {
"start": {
"line": 141,
"column": 24
},
"end": {
"line": 141,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "speed",
"start": 4671,
"end": 4676,
"loc": {
"start": {
"line": 141,
"column": 25
},
"end": {
"line": 141,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4676,
"end": 4677,
"loc": {
"start": {
"line": 141,
"column": 30
},
"end": {
"line": 141,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 4677,
"end": 4682,
"loc": {
"start": {
"line": 141,
"column": 31
},
"end": {
"line": 141,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4682,
"end": 4683,
"loc": {
"start": {
"line": 141,
"column": 36
},
"end": {
"line": 141,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4683,
"end": 4684,
"loc": {
"start": {
"line": 141,
"column": 37
},
"end": {
"line": 141,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4702,
"end": 4703,
"loc": {
"start": {
"line": 142,
"column": 16
},
"end": {
"line": 142,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4703,
"end": 4704,
"loc": {
"start": {
"line": 142,
"column": 17
},
"end": {
"line": 142,
"column": 18
}
}
},
{
"type": {
"label": "break",
"keyword": "break",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "break",
"start": 4722,
"end": 4727,
"loc": {
"start": {
"line": 143,
"column": 16
},
"end": {
"line": 143,
"column": 21
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4727,
"end": 4728,
"loc": {
"start": {
"line": 143,
"column": 21
},
"end": {
"line": 143,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4742,
"end": 4743,
"loc": {
"start": {
"line": 144,
"column": 12
},
"end": {
"line": 144,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4753,
"end": 4754,
"loc": {
"start": {
"line": 145,
"column": 8
},
"end": {
"line": 145,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4760,
"end": 4761,
"loc": {
"start": {
"line": 146,
"column": 4
},
"end": {
"line": 146,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns ingame time in seconds\r\n * @returns {number} seconds\r\n ",
"start": 4769,
"end": 4854,
"loc": {
"start": {
"line": 148,
"column": 4
},
"end": {
"line": 151,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "now",
"start": 4860,
"end": 4863,
"loc": {
"start": {
"line": 152,
"column": 4
},
"end": {
"line": 152,
"column": 7
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4863,
"end": 4864,
"loc": {
"start": {
"line": 152,
"column": 7
},
"end": {
"line": 152,
"column": 8
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4864,
"end": 4865,
"loc": {
"start": {
"line": 152,
"column": 8
},
"end": {
"line": 152,
"column": 9
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4866,
"end": 4867,
"loc": {
"start": {
"line": 152,
"column": 10
},
"end": {
"line": 152,
"column": 11
}
}
},
{
"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": 4877,
"end": 4883,
"loc": {
"start": {
"line": 153,
"column": 8
},
"end": {
"line": 153,
"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": 4884,
"end": 4888,
"loc": {
"start": {
"line": 153,
"column": 15
},
"end": {
"line": 153,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4888,
"end": 4889,
"loc": {
"start": {
"line": 153,
"column": 19
},
"end": {
"line": 153,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "timeSeconds",
"start": 4889,
"end": 4900,
"loc": {
"start": {
"line": 153,
"column": 20
},
"end": {
"line": 153,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4900,
"end": 4901,
"loc": {
"start": {
"line": 153,
"column": 31
},
"end": {
"line": 153,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4907,
"end": 4908,
"loc": {
"start": {
"line": 154,
"column": 4
},
"end": {
"line": 154,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns \"real\" time in seconds\r\n * @returns {number} seconds\r\n ",
"start": 4916,
"end": 5001,
"loc": {
"start": {
"line": 156,
"column": 4
},
"end": {
"line": 159,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realtimeNow",
"start": 5007,
"end": 5018,
"loc": {
"start": {
"line": 160,
"column": 4
},
"end": {
"line": 160,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5018,
"end": 5019,
"loc": {
"start": {
"line": 160,
"column": 15
},
"end": {
"line": 160,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5019,
"end": 5020,
"loc": {
"start": {
"line": 160,
"column": 16
},
"end": {
"line": 160,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5021,
"end": 5022,
"loc": {
"start": {
"line": 160,
"column": 18
},
"end": {
"line": 160,
"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": 5032,
"end": 5038,
"loc": {
"start": {
"line": 161,
"column": 8
},
"end": {
"line": 161,
"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": 5039,
"end": 5043,
"loc": {
"start": {
"line": 161,
"column": 15
},
"end": {
"line": 161,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5043,
"end": 5044,
"loc": {
"start": {
"line": 161,
"column": 19
},
"end": {
"line": 161,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realtimeSeconds",
"start": 5044,
"end": 5059,
"loc": {
"start": {
"line": 161,
"column": 20
},
"end": {
"line": 161,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5059,
"end": 5060,
"loc": {
"start": {
"line": 161,
"column": 35
},
"end": {
"line": 161,
"column": 36
}
}
},
{
"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": 162,
"column": 4
},
"end": {
"line": 162,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns \"real\" time in seconds\r\n * @returns {number} seconds\r\n ",
"start": 5075,
"end": 5160,
"loc": {
"start": {
"line": 164,
"column": 4
},
"end": {
"line": 167,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "systemNow",
"start": 5166,
"end": 5175,
"loc": {
"start": {
"line": 168,
"column": 4
},
"end": {
"line": 168,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5175,
"end": 5176,
"loc": {
"start": {
"line": 168,
"column": 13
},
"end": {
"line": 168,
"column": 14
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5176,
"end": 5177,
"loc": {
"start": {
"line": 168,
"column": 14
},
"end": {
"line": 168,
"column": 15
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5178,
"end": 5179,
"loc": {
"start": {
"line": 168,
"column": 16
},
"end": {
"line": 168,
"column": 17
}
}
},
{
"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": 5189,
"end": 5195,
"loc": {
"start": {
"line": 169,
"column": 8
},
"end": {
"line": 169,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5196,
"end": 5197,
"loc": {
"start": {
"line": 169,
"column": 15
},
"end": {
"line": 169,
"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": 5197,
"end": 5201,
"loc": {
"start": {
"line": 169,
"column": 16
},
"end": {
"line": 169,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5201,
"end": 5202,
"loc": {
"start": {
"line": 169,
"column": 20
},
"end": {
"line": 169,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realtimeSeconds",
"start": 5202,
"end": 5217,
"loc": {
"start": {
"line": 169,
"column": 21
},
"end": {
"line": 169,
"column": 36
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 5218,
"end": 5219,
"loc": {
"start": {
"line": 169,
"column": 37
},
"end": {
"line": 169,
"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": 5220,
"end": 5224,
"loc": {
"start": {
"line": 169,
"column": 39
},
"end": {
"line": 169,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5224,
"end": 5225,
"loc": {
"start": {
"line": 169,
"column": 43
},
"end": {
"line": 169,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realtimeAdjust",
"start": 5225,
"end": 5239,
"loc": {
"start": {
"line": 169,
"column": 44
},
"end": {
"line": 169,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5239,
"end": 5240,
"loc": {
"start": {
"line": 169,
"column": 58
},
"end": {
"line": 169,
"column": 59
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 5241,
"end": 5242,
"loc": {
"start": {
"line": 169,
"column": 60
},
"end": {
"line": 169,
"column": 61
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1000,
"start": 5243,
"end": 5249,
"loc": {
"start": {
"line": 169,
"column": 62
},
"end": {
"line": 169,
"column": 68
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5249,
"end": 5250,
"loc": {
"start": {
"line": 169,
"column": 68
},
"end": {
"line": 169,
"column": 69
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5256,
"end": 5257,
"loc": {
"start": {
"line": 170,
"column": 4
},
"end": {
"line": 170,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getIsPaused",
"start": 5265,
"end": 5276,
"loc": {
"start": {
"line": 172,
"column": 4
},
"end": {
"line": 172,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5276,
"end": 5277,
"loc": {
"start": {
"line": 172,
"column": 15
},
"end": {
"line": 172,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5277,
"end": 5278,
"loc": {
"start": {
"line": 172,
"column": 16
},
"end": {
"line": 172,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5279,
"end": 5280,
"loc": {
"start": {
"line": 172,
"column": 18
},
"end": {
"line": 172,
"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": 5290,
"end": 5296,
"loc": {
"start": {
"line": 173,
"column": 8
},
"end": {
"line": 173,
"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": 5297,
"end": 5301,
"loc": {
"start": {
"line": 173,
"column": 15
},
"end": {
"line": 173,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5301,
"end": 5302,
"loc": {
"start": {
"line": 173,
"column": 19
},
"end": {
"line": 173,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "speed",
"start": 5302,
"end": 5307,
"loc": {
"start": {
"line": 173,
"column": 20
},
"end": {
"line": 173,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5307,
"end": 5308,
"loc": {
"start": {
"line": 173,
"column": 25
},
"end": {
"line": 173,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 5308,
"end": 5313,
"loc": {
"start": {
"line": 173,
"column": 26
},
"end": {
"line": 173,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5313,
"end": 5314,
"loc": {
"start": {
"line": 173,
"column": 31
},
"end": {
"line": 173,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5314,
"end": 5315,
"loc": {
"start": {
"line": 173,
"column": 32
},
"end": {
"line": 173,
"column": 33
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 5316,
"end": 5319,
"loc": {
"start": {
"line": 173,
"column": 34
},
"end": {
"line": 173,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "PausedGameSpeed",
"start": 5320,
"end": 5335,
"loc": {
"start": {
"line": 173,
"column": 38
},
"end": {
"line": 173,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5335,
"end": 5336,
"loc": {
"start": {
"line": 173,
"column": 53
},
"end": {
"line": 173,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 5336,
"end": 5341,
"loc": {
"start": {
"line": 173,
"column": 54
},
"end": {
"line": 173,
"column": 59
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5341,
"end": 5342,
"loc": {
"start": {
"line": 173,
"column": 59
},
"end": {
"line": 173,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5342,
"end": 5343,
"loc": {
"start": {
"line": 173,
"column": 60
},
"end": {
"line": 173,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5343,
"end": 5344,
"loc": {
"start": {
"line": 173,
"column": 61
},
"end": {
"line": 173,
"column": 62
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5350,
"end": 5351,
"loc": {
"start": {
"line": 174,
"column": 4
},
"end": {
"line": 174,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSpeed",
"start": 5359,
"end": 5367,
"loc": {
"start": {
"line": 176,
"column": 4
},
"end": {
"line": 176,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5367,
"end": 5368,
"loc": {
"start": {
"line": 176,
"column": 12
},
"end": {
"line": 176,
"column": 13
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5368,
"end": 5369,
"loc": {
"start": {
"line": 176,
"column": 13
},
"end": {
"line": 176,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5370,
"end": 5371,
"loc": {
"start": {
"line": 176,
"column": 15
},
"end": {
"line": 176,
"column": 16
}
}
},
{
"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": 5381,
"end": 5387,
"loc": {
"start": {
"line": 177,
"column": 8
},
"end": {
"line": 177,
"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": 5388,
"end": 5392,
"loc": {
"start": {
"line": 177,
"column": 15
},
"end": {
"line": 177,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5392,
"end": 5393,
"loc": {
"start": {
"line": 177,
"column": 19
},
"end": {
"line": 177,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "speed",
"start": 5393,
"end": 5398,
"loc": {
"start": {
"line": 177,
"column": 20
},
"end": {
"line": 177,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5398,
"end": 5399,
"loc": {
"start": {
"line": 177,
"column": 25
},
"end": {
"line": 177,
"column": 26
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5405,
"end": 5406,
"loc": {
"start": {
"line": 178,
"column": 4
},
"end": {
"line": 178,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setSpeed",
"start": 5414,
"end": 5422,
"loc": {
"start": {
"line": 180,
"column": 4
},
"end": {
"line": 180,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5422,
"end": 5423,
"loc": {
"start": {
"line": 180,
"column": 12
},
"end": {
"line": 180,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "speed",
"start": 5423,
"end": 5428,
"loc": {
"start": {
"line": 180,
"column": 13
},
"end": {
"line": 180,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5428,
"end": 5429,
"loc": {
"start": {
"line": 180,
"column": 18
},
"end": {
"line": 180,
"column": 19
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5430,
"end": 5431,
"loc": {
"start": {
"line": 180,
"column": 20
},
"end": {
"line": 180,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 5441,
"end": 5447,
"loc": {
"start": {
"line": 181,
"column": 8
},
"end": {
"line": 181,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5447,
"end": 5448,
"loc": {
"start": {
"line": 181,
"column": 14
},
"end": {
"line": 181,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "speed",
"start": 5448,
"end": 5453,
"loc": {
"start": {
"line": 181,
"column": 15
},
"end": {
"line": 181,
"column": 20
}
}
},
{
"type": {
"label": "instanceof",
"keyword": "instanceof",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "instanceof",
"start": 5454,
"end": 5464,
"loc": {
"start": {
"line": 181,
"column": 21
},
"end": {
"line": 181,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BaseGameSpeed",
"start": 5465,
"end": 5478,
"loc": {
"start": {
"line": 181,
"column": 32
},
"end": {
"line": 181,
"column": 45
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5478,
"end": 5479,
"loc": {
"start": {
"line": 181,
"column": 45
},
"end": {
"line": 181,
"column": 46
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Not a valid game speed",
"start": 5480,
"end": 5504,
"loc": {
"start": {
"line": 181,
"column": 47
},
"end": {
"line": 181,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5504,
"end": 5505,
"loc": {
"start": {
"line": 181,
"column": 71
},
"end": {
"line": 181,
"column": 72
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5505,
"end": 5506,
"loc": {
"start": {
"line": 181,
"column": 72
},
"end": {
"line": 181,
"column": 73
}
}
},
{
"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": 5516,
"end": 5518,
"loc": {
"start": {
"line": 182,
"column": 8
},
"end": {
"line": 182,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5519,
"end": 5520,
"loc": {
"start": {
"line": 182,
"column": 11
},
"end": {
"line": 182,
"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": 5520,
"end": 5524,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5524,
"end": 5525,
"loc": {
"start": {
"line": 182,
"column": 16
},
"end": {
"line": 182,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "speed",
"start": 5525,
"end": 5530,
"loc": {
"start": {
"line": 182,
"column": 17
},
"end": {
"line": 182,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5530,
"end": 5531,
"loc": {
"start": {
"line": 182,
"column": 22
},
"end": {
"line": 182,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 5531,
"end": 5536,
"loc": {
"start": {
"line": 182,
"column": 23
},
"end": {
"line": 182,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5536,
"end": 5537,
"loc": {
"start": {
"line": 182,
"column": 28
},
"end": {
"line": 182,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5537,
"end": 5538,
"loc": {
"start": {
"line": 182,
"column": 29
},
"end": {
"line": 182,
"column": 30
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 5539,
"end": 5542,
"loc": {
"start": {
"line": 182,
"column": 31
},
"end": {
"line": 182,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "speed",
"start": 5543,
"end": 5548,
"loc": {
"start": {
"line": 182,
"column": 35
},
"end": {
"line": 182,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5548,
"end": 5549,
"loc": {
"start": {
"line": 182,
"column": 40
},
"end": {
"line": 182,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 5549,
"end": 5554,
"loc": {
"start": {
"line": 182,
"column": 41
},
"end": {
"line": 182,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5554,
"end": 5555,
"loc": {
"start": {
"line": 182,
"column": 46
},
"end": {
"line": 182,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5555,
"end": 5556,
"loc": {
"start": {
"line": 182,
"column": 47
},
"end": {
"line": 182,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5556,
"end": 5557,
"loc": {
"start": {
"line": 182,
"column": 48
},
"end": {
"line": 182,
"column": 49
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5558,
"end": 5559,
"loc": {
"start": {
"line": 182,
"column": 50
},
"end": {
"line": 182,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 5573,
"end": 5579,
"loc": {
"start": {
"line": 183,
"column": 12
},
"end": {
"line": 183,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5579,
"end": 5580,
"loc": {
"start": {
"line": 183,
"column": 18
},
"end": {
"line": 183,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "warn",
"start": 5580,
"end": 5584,
"loc": {
"start": {
"line": 183,
"column": 19
},
"end": {
"line": 183,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5584,
"end": 5585,
"loc": {
"start": {
"line": 183,
"column": 23
},
"end": {
"line": 183,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Same speed set than current one:",
"start": 5585,
"end": 5619,
"loc": {
"start": {
"line": 183,
"column": 24
},
"end": {
"line": 183,
"column": 58
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5619,
"end": 5620,
"loc": {
"start": {
"line": 183,
"column": 58
},
"end": {
"line": 183,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "speed",
"start": 5621,
"end": 5626,
"loc": {
"start": {
"line": 183,
"column": 60
},
"end": {
"line": 183,
"column": 65
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5626,
"end": 5627,
"loc": {
"start": {
"line": 183,
"column": 65
},
"end": {
"line": 183,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 5627,
"end": 5638,
"loc": {
"start": {
"line": 183,
"column": 66
},
"end": {
"line": 183,
"column": 77
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5638,
"end": 5639,
"loc": {
"start": {
"line": 183,
"column": 77
},
"end": {
"line": 183,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 5639,
"end": 5644,
"loc": {
"start": {
"line": 183,
"column": 78
},
"end": {
"line": 183,
"column": 83
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5644,
"end": 5645,
"loc": {
"start": {
"line": 183,
"column": 83
},
"end": {
"line": 183,
"column": 84
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5645,
"end": 5646,
"loc": {
"start": {
"line": 183,
"column": 84
},
"end": {
"line": 183,
"column": 85
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5646,
"end": 5647,
"loc": {
"start": {
"line": 183,
"column": 85
},
"end": {
"line": 183,
"column": 86
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5647,
"end": 5648,
"loc": {
"start": {
"line": 183,
"column": 86
},
"end": {
"line": 183,
"column": 87
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5658,
"end": 5659,
"loc": {
"start": {
"line": 184,
"column": 8
},
"end": {
"line": 184,
"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": 5669,
"end": 5673,
"loc": {
"start": {
"line": 185,
"column": 8
},
"end": {
"line": 185,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5673,
"end": 5674,
"loc": {
"start": {
"line": 185,
"column": 12
},
"end": {
"line": 185,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "speed",
"start": 5674,
"end": 5679,
"loc": {
"start": {
"line": 185,
"column": 13
},
"end": {
"line": 185,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5680,
"end": 5681,
"loc": {
"start": {
"line": 185,
"column": 19
},
"end": {
"line": 185,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "speed",
"start": 5682,
"end": 5687,
"loc": {
"start": {
"line": 185,
"column": 21
},
"end": {
"line": 185,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5687,
"end": 5688,
"loc": {
"start": {
"line": 185,
"column": 26
},
"end": {
"line": 185,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5694,
"end": 5695,
"loc": {
"start": {
"line": 186,
"column": 4
},
"end": {
"line": 186,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserialize",
"start": 5703,
"end": 5714,
"loc": {
"start": {
"line": 188,
"column": 4
},
"end": {
"line": 188,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5714,
"end": 5715,
"loc": {
"start": {
"line": 188,
"column": 15
},
"end": {
"line": 188,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 5715,
"end": 5719,
"loc": {
"start": {
"line": 188,
"column": 16
},
"end": {
"line": 188,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5719,
"end": 5720,
"loc": {
"start": {
"line": 188,
"column": 20
},
"end": {
"line": 188,
"column": 21
}
}
},
{
"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": 188,
"column": 22
},
"end": {
"line": 188,
"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": 5732,
"end": 5737,
"loc": {
"start": {
"line": 189,
"column": 8
},
"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": "errorCode",
"start": 5738,
"end": 5747,
"loc": {
"start": {
"line": 189,
"column": 14
},
"end": {
"line": 189,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5748,
"end": 5749,
"loc": {
"start": {
"line": 189,
"column": 24
},
"end": {
"line": 189,
"column": 25
}
}
},
{
"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": 5750,
"end": 5755,
"loc": {
"start": {
"line": 189,
"column": 26
},
"end": {
"line": 189,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5755,
"end": 5756,
"loc": {
"start": {
"line": 189,
"column": 31
},
"end": {
"line": 189,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserialize",
"start": 5756,
"end": 5767,
"loc": {
"start": {
"line": 189,
"column": 32
},
"end": {
"line": 189,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5767,
"end": 5768,
"loc": {
"start": {
"line": 189,
"column": 43
},
"end": {
"line": 189,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 5768,
"end": 5772,
"loc": {
"start": {
"line": 189,
"column": 44
},
"end": {
"line": 189,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5772,
"end": 5773,
"loc": {
"start": {
"line": 189,
"column": 48
},
"end": {
"line": 189,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5773,
"end": 5774,
"loc": {
"start": {
"line": 189,
"column": 49
},
"end": {
"line": 189,
"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": 5784,
"end": 5786,
"loc": {
"start": {
"line": 190,
"column": 8
},
"end": {
"line": 190,
"column": 10
}
}
},
{
"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": 190,
"column": 11
},
"end": {
"line": 190,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorCode",
"start": 5788,
"end": 5797,
"loc": {
"start": {
"line": 190,
"column": 12
},
"end": {
"line": 190,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5797,
"end": 5798,
"loc": {
"start": {
"line": 190,
"column": 21
},
"end": {
"line": 190,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5799,
"end": 5800,
"loc": {
"start": {
"line": 190,
"column": 23
},
"end": {
"line": 190,
"column": 24
}
}
},
{
"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": 5814,
"end": 5820,
"loc": {
"start": {
"line": 191,
"column": 12
},
"end": {
"line": 191,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorCode",
"start": 5821,
"end": 5830,
"loc": {
"start": {
"line": 191,
"column": 19
},
"end": {
"line": 191,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5830,
"end": 5831,
"loc": {
"start": {
"line": 191,
"column": 28
},
"end": {
"line": 191,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5841,
"end": 5842,
"loc": {
"start": {
"line": 192,
"column": 8
},
"end": {
"line": 192,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Adjust realtime now difference so they match",
"start": 5854,
"end": 5901,
"loc": {
"start": {
"line": 194,
"column": 8
},
"end": {
"line": 194,
"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": 5911,
"end": 5915,
"loc": {
"start": {
"line": 195,
"column": 8
},
"end": {
"line": 195,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5915,
"end": 5916,
"loc": {
"start": {
"line": 195,
"column": 12
},
"end": {
"line": 195,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realtimeAdjust",
"start": 5916,
"end": 5930,
"loc": {
"start": {
"line": 195,
"column": 13
},
"end": {
"line": 195,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5931,
"end": 5932,
"loc": {
"start": {
"line": 195,
"column": 28
},
"end": {
"line": 195,
"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": 5933,
"end": 5937,
"loc": {
"start": {
"line": 195,
"column": 30
},
"end": {
"line": 195,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5937,
"end": 5938,
"loc": {
"start": {
"line": 195,
"column": 34
},
"end": {
"line": 195,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "realtimeSeconds",
"start": 5938,
"end": 5953,
"loc": {
"start": {
"line": 195,
"column": 35
},
"end": {
"line": 195,
"column": 50
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 5954,
"end": 5955,
"loc": {
"start": {
"line": 195,
"column": 51
},
"end": {
"line": 195,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "performance",
"start": 5956,
"end": 5967,
"loc": {
"start": {
"line": 195,
"column": 53
},
"end": {
"line": 195,
"column": 64
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5967,
"end": 5968,
"loc": {
"start": {
"line": 195,
"column": 64
},
"end": {
"line": 195,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "now",
"start": 5968,
"end": 5971,
"loc": {
"start": {
"line": 195,
"column": 65
},
"end": {
"line": 195,
"column": 68
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5971,
"end": 5972,
"loc": {
"start": {
"line": 195,
"column": 68
},
"end": {
"line": 195,
"column": 69
}
}
},
{
"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": 195,
"column": 69
},
"end": {
"line": 195,
"column": 70
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 5974,
"end": 5975,
"loc": {
"start": {
"line": 195,
"column": 71
},
"end": {
"line": 195,
"column": 72
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1000,
"start": 5976,
"end": 5982,
"loc": {
"start": {
"line": 195,
"column": 73
},
"end": {
"line": 195,
"column": 79
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5982,
"end": 5983,
"loc": {
"start": {
"line": 195,
"column": 79
},
"end": {
"line": 195,
"column": 80
}
}
},
{
"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": 196,
"column": 8
},
"end": {
"line": 196,
"column": 12
}
}
},
{
"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": 196,
"column": 12
},
"end": {
"line": 196,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "updateRealtimeNow",
"start": 5998,
"end": 6015,
"loc": {
"start": {
"line": 196,
"column": 13
},
"end": {
"line": 196,
"column": 30
}
}
},
{
"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": 196,
"column": 30
},
"end": {
"line": 196,
"column": 31
}
}
},
{
"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": 196,
"column": 31
},
"end": {
"line": 196,
"column": 32
}
}
},
{
"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": 196,
"column": 32
},
"end": {
"line": 196,
"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": 6030,
"end": 6034,
"loc": {
"start": {
"line": 198,
"column": 8
},
"end": {
"line": 198,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6034,
"end": 6035,
"loc": {
"start": {
"line": 198,
"column": 12
},
"end": {
"line": 198,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "speed",
"start": 6035,
"end": 6040,
"loc": {
"start": {
"line": 198,
"column": 13
},
"end": {
"line": 198,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6040,
"end": 6041,
"loc": {
"start": {
"line": 198,
"column": 18
},
"end": {
"line": 198,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "initializeAfterDeserialize",
"start": 6041,
"end": 6067,
"loc": {
"start": {
"line": 198,
"column": 19
},
"end": {
"line": 198,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6067,
"end": 6068,
"loc": {
"start": {
"line": 198,
"column": 45
},
"end": {
"line": 198,
"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": 6068,
"end": 6072,
"loc": {
"start": {
"line": 198,
"column": 46
},
"end": {
"line": 198,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6072,
"end": 6073,
"loc": {
"start": {
"line": 198,
"column": 50
},
"end": {
"line": 198,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 6073,
"end": 6077,
"loc": {
"start": {
"line": 198,
"column": 51
},
"end": {
"line": 198,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6077,
"end": 6078,
"loc": {
"start": {
"line": 198,
"column": 55
},
"end": {
"line": 198,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6078,
"end": 6079,
"loc": {
"start": {
"line": 198,
"column": 56
},
"end": {
"line": 198,
"column": 57
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6085,
"end": 6086,
"loc": {
"start": {
"line": 199,
"column": 4
},
"end": {
"line": 199,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6088,
"end": 6089,
"loc": {
"start": {
"line": 200,
"column": 0
},
"end": {
"line": 200,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6089,
"end": 6089,
"loc": {
"start": {
"line": 200,
"column": 1
},
"end": {
"line": 200,
"column": 1
}
}
}
]
}