From 1e37c0bd71c43e1deb661147c203a2b0c39882b5 Mon Sep 17 00:00:00 2001
From: Ben Cuan
Date: Mon, 25 Mar 2019 10:00:39 -0700
Subject: [PATCH] #71 #55 Defense buff, defense indicator text
[updatedDoc]
---
docs/ast/source/client/js/global.js.json | 5500 ++--
.../source/client/js/obj/blueprints.js.json | 556 +-
docs/ast/source/client/js/obj/player.js.json | 22562 +++++++++-------
docs/ast/source/client/js/socket.js.json | 9196 +++----
docs/ast/source/server/server.js.json | 11662 ++++----
docs/ast/source/server/utils/compound.js.json | 1998 +-
docs/ast/source/server/utils/ondamage.js.json | 21295 ++++++++-------
.../source/server/utils/serverinit.js.json | 376 +-
.../src/client/js/obj/player.js~Player.html | 70 +-
docs/coverage.json | 4 +-
docs/file/src/client/js/global.js.html | 1 +
.../file/src/client/js/obj/blueprints.js.html | 2 +-
docs/file/src/client/js/obj/player.js.html | 14 +-
docs/file/src/client/js/socket.js.html | 6 +-
docs/file/src/server/server.js.html | 2 +-
docs/file/src/server/utils/compound.js.html | 2 +-
docs/file/src/server/utils/ondamage.js.html | 7 +-
docs/file/src/server/utils/serverinit.js.html | 3 +-
docs/function/index.html | 24 +-
docs/identifiers.html | 2 +-
docs/index.json | 46 +-
docs/script/search_index.js | 12 +-
docs/source.html | 44 +-
docs/variable/index.html | 4 +-
src/client/js/global.js | 1 +
src/client/js/obj/blueprints.js | 2 +-
src/client/js/obj/player.js | 14 +-
src/client/js/socket.js | 6 +-
src/server/server.js | 2 +-
src/server/utils/compound.js | 2 +-
src/server/utils/ondamage.js | 7 +-
src/server/utils/serverinit.js | 3 +-
32 files changed, 39237 insertions(+), 34188 deletions(-)
diff --git a/docs/ast/source/client/js/global.js.json b/docs/ast/source/client/js/global.js.json
index c783946..6029b12 100644
--- a/docs/ast/source/client/js/global.js.json
+++ b/docs/ast/source/client/js/global.js.json
@@ -1,28 +1,28 @@
{
"type": "File",
"start": 0,
- "end": 5972,
+ "end": 5996,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
- "line": 214,
+ "line": 215,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
- "end": 5972,
+ "end": 5996,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
- "line": 214,
+ "line": 215,
"column": 0
}
},
@@ -137,14 +137,14 @@
{
"type": "ExportNamedDeclaration",
"start": 121,
- "end": 4631,
+ "end": 4655,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
- "line": 167,
+ "line": 168,
"column": 1
}
},
@@ -153,14 +153,14 @@
"declaration": {
"type": "VariableDeclaration",
"start": 128,
- "end": 4631,
+ "end": 4655,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
- "line": 167,
+ "line": 168,
"column": 1
}
},
@@ -168,14 +168,14 @@
{
"type": "VariableDeclarator",
"start": 134,
- "end": 4631,
+ "end": 4655,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
- "line": 167,
+ "line": 168,
"column": 1
}
},
@@ -200,14 +200,14 @@
"init": {
"type": "ObjectExpression",
"start": 143,
- "end": 4631,
+ "end": 4655,
"loc": {
"start": {
"line": 4,
"column": 22
},
"end": {
- "line": 167,
+ "line": 168,
"column": 1
}
},
@@ -4369,15 +4369,70 @@
},
{
"type": "ObjectProperty",
- "start": 2771,
- "end": 2788,
+ "start": 2758,
+ "end": 2779,
"loc": {
"start": {
- "line": 93,
+ "line": 91,
"column": 1
},
"end": {
- "line": 93,
+ "line": 91,
+ "column": 22
+ }
+ },
+ "method": false,
+ "shorthand": false,
+ "computed": false,
+ "key": {
+ "type": "Identifier",
+ "start": 2758,
+ "end": 2776,
+ "loc": {
+ "start": {
+ "line": 91,
+ "column": 1
+ },
+ "end": {
+ "line": 91,
+ "column": 19
+ },
+ "identifierName": "STRONGHOLD_DEFENSE"
+ },
+ "name": "STRONGHOLD_DEFENSE"
+ },
+ "value": {
+ "type": "NumericLiteral",
+ "start": 2778,
+ "end": 2779,
+ "loc": {
+ "start": {
+ "line": 91,
+ "column": 21
+ },
+ "end": {
+ "line": 91,
+ "column": 22
+ }
+ },
+ "extra": {
+ "rawValue": 5,
+ "raw": "5"
+ },
+ "value": 5
+ }
+ },
+ {
+ "type": "ObjectProperty",
+ "start": 2795,
+ "end": 2812,
+ "loc": {
+ "start": {
+ "line": 94,
+ "column": 1
+ },
+ "end": {
+ "line": 94,
"column": 18
}
},
@@ -4386,15 +4441,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 2771,
- "end": 2782,
+ "start": 2795,
+ "end": 2806,
"loc": {
"start": {
- "line": 93,
+ "line": 94,
"column": 1
},
"end": {
- "line": 93,
+ "line": 94,
"column": 12
},
"identifierName": "DRAW_RADIUS"
@@ -4404,15 +4459,15 @@
},
"value": {
"type": "NumericLiteral",
- "start": 2784,
- "end": 2788,
+ "start": 2808,
+ "end": 2812,
"loc": {
"start": {
- "line": 93,
+ "line": 94,
"column": 14
},
"end": {
- "line": 93,
+ "line": 94,
"column": 18
}
},
@@ -4426,15 +4481,15 @@
{
"type": "CommentLine",
"value": " Drawing",
- "start": 2759,
- "end": 2769,
+ "start": 2783,
+ "end": 2793,
"loc": {
"start": {
- "line": 92,
+ "line": 93,
"column": 1
},
"end": {
- "line": 92,
+ "line": 93,
"column": 11
}
}
@@ -4443,15 +4498,15 @@
},
{
"type": "ObjectProperty",
- "start": 2846,
- "end": 2863,
+ "start": 2870,
+ "end": 2887,
"loc": {
"start": {
- "line": 94,
+ "line": 95,
"column": 1
},
"end": {
- "line": 94,
+ "line": 95,
"column": 18
}
},
@@ -4460,15 +4515,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 2846,
- "end": 2858,
+ "start": 2870,
+ "end": 2882,
"loc": {
"start": {
- "line": 94,
+ "line": 95,
"column": 1
},
"end": {
- "line": 94,
+ "line": 95,
"column": 13
},
"identifierName": "GRID_SPACING"
@@ -4478,15 +4533,15 @@
},
"value": {
"type": "NumericLiteral",
- "start": 2860,
- "end": 2863,
+ "start": 2884,
+ "end": 2887,
"loc": {
"start": {
- "line": 94,
+ "line": 95,
"column": 15
},
"end": {
- "line": 94,
+ "line": 95,
"column": 18
}
},
@@ -4500,15 +4555,15 @@
{
"type": "CommentLine",
"value": " Radius around player in which to draw other objects",
- "start": 2790,
- "end": 2844,
+ "start": 2814,
+ "end": 2868,
"loc": {
"start": {
- "line": 93,
+ "line": 94,
"column": 20
},
"end": {
- "line": 93,
+ "line": 94,
"column": 74
}
}
@@ -4517,15 +4572,15 @@
},
{
"type": "ObjectProperty",
- "start": 2905,
- "end": 2924,
+ "start": 2929,
+ "end": 2948,
"loc": {
"start": {
- "line": 95,
+ "line": 96,
"column": 1
},
"end": {
- "line": 95,
+ "line": 96,
"column": 20
}
},
@@ -4534,15 +4589,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 2905,
- "end": 2921,
+ "start": 2929,
+ "end": 2945,
"loc": {
"start": {
- "line": 95,
+ "line": 96,
"column": 1
},
"end": {
- "line": 95,
+ "line": 96,
"column": 17
},
"identifierName": "GRID_LINE_STROKE"
@@ -4552,15 +4607,15 @@
},
"value": {
"type": "NumericLiteral",
- "start": 2923,
- "end": 2924,
+ "start": 2947,
+ "end": 2948,
"loc": {
"start": {
- "line": 95,
+ "line": 96,
"column": 19
},
"end": {
- "line": 95,
+ "line": 96,
"column": 20
}
},
@@ -4574,15 +4629,15 @@
{
"type": "CommentLine",
"value": " space between each line on the grid",
- "start": 2865,
- "end": 2903,
+ "start": 2889,
+ "end": 2927,
"loc": {
"start": {
- "line": 94,
+ "line": 95,
"column": 20
},
"end": {
- "line": 94,
+ "line": 95,
"column": 58
}
}
@@ -4591,15 +4646,15 @@
},
{
"type": "ObjectProperty",
- "start": 2927,
- "end": 2941,
+ "start": 2951,
+ "end": 2965,
"loc": {
"start": {
- "line": 96,
+ "line": 97,
"column": 1
},
"end": {
- "line": 96,
+ "line": 97,
"column": 15
}
},
@@ -4608,15 +4663,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 2927,
- "end": 2937,
+ "start": 2951,
+ "end": 2961,
"loc": {
"start": {
- "line": 96,
+ "line": 97,
"column": 1
},
"end": {
- "line": 96,
+ "line": 97,
"column": 11
},
"identifierName": "FRAME_RATE"
@@ -4625,15 +4680,15 @@
},
"value": {
"type": "NumericLiteral",
- "start": 2939,
- "end": 2941,
+ "start": 2963,
+ "end": 2965,
"loc": {
"start": {
- "line": 96,
+ "line": 97,
"column": 13
},
"end": {
- "line": 96,
+ "line": 97,
"column": 15
}
},
@@ -4646,15 +4701,15 @@
},
{
"type": "ObjectProperty",
- "start": 2956,
- "end": 3063,
+ "start": 2980,
+ "end": 3087,
"loc": {
"start": {
- "line": 99,
+ "line": 100,
"column": 1
},
"end": {
- "line": 104,
+ "line": 105,
"column": 2
}
},
@@ -4663,15 +4718,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 2956,
- "end": 2967,
+ "start": 2980,
+ "end": 2991,
"loc": {
"start": {
- "line": 99,
+ "line": 100,
"column": 1
},
"end": {
- "line": 99,
+ "line": 100,
"column": 12
},
"identifierName": "TEAM_COLORS"
@@ -4681,30 +4736,30 @@
},
"value": {
"type": "ArrayExpression",
- "start": 2969,
- "end": 3063,
+ "start": 2993,
+ "end": 3087,
"loc": {
"start": {
- "line": 99,
+ "line": 100,
"column": 14
},
"end": {
- "line": 104,
+ "line": 105,
"column": 2
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 3016,
- "end": 3024,
+ "start": 3040,
+ "end": 3048,
"loc": {
"start": {
- "line": 100,
+ "line": 101,
"column": 2
},
"end": {
- "line": 100,
+ "line": 101,
"column": 10
}
},
@@ -4717,15 +4772,15 @@
{
"type": "CommentLine",
"value": " Purple, Green, Orange, Red. No prefixes",
- "start": 2971,
- "end": 3013,
+ "start": 2995,
+ "end": 3037,
"loc": {
"start": {
- "line": 99,
+ "line": 100,
"column": 16
},
"end": {
- "line": 99,
+ "line": 100,
"column": 58
}
}
@@ -4734,15 +4789,15 @@
},
{
"type": "StringLiteral",
- "start": 3028,
- "end": 3036,
+ "start": 3052,
+ "end": 3060,
"loc": {
"start": {
- "line": 101,
+ "line": 102,
"column": 2
},
"end": {
- "line": 101,
+ "line": 102,
"column": 10
}
},
@@ -4754,15 +4809,15 @@
},
{
"type": "StringLiteral",
- "start": 3040,
- "end": 3048,
+ "start": 3064,
+ "end": 3072,
"loc": {
"start": {
- "line": 102,
+ "line": 103,
"column": 2
},
"end": {
- "line": 102,
+ "line": 103,
"column": 10
}
},
@@ -4774,15 +4829,15 @@
},
{
"type": "StringLiteral",
- "start": 3052,
- "end": 3060,
+ "start": 3076,
+ "end": 3084,
"loc": {
"start": {
- "line": 103,
+ "line": 104,
"column": 2
},
"end": {
- "line": 103,
+ "line": 104,
"column": 10
}
},
@@ -4798,15 +4853,15 @@
{
"type": "CommentLine",
"value": " Colors",
- "start": 2945,
- "end": 2954,
+ "start": 2969,
+ "end": 2978,
"loc": {
"start": {
- "line": 98,
+ "line": 99,
"column": 1
},
"end": {
- "line": 98,
+ "line": 99,
"column": 10
}
}
@@ -4815,15 +4870,15 @@
},
{
"type": "ObjectProperty",
- "start": 3067,
- "end": 3107,
+ "start": 3091,
+ "end": 3131,
"loc": {
"start": {
- "line": 106,
+ "line": 107,
"column": 1
},
"end": {
- "line": 106,
+ "line": 107,
"column": 41
}
},
@@ -4832,15 +4887,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3067,
- "end": 3080,
+ "start": 3091,
+ "end": 3104,
"loc": {
"start": {
- "line": 106,
+ "line": 107,
"column": 1
},
"end": {
- "line": 106,
+ "line": 107,
"column": 14
},
"identifierName": "IGNITE_SPRITE"
@@ -4849,15 +4904,15 @@
},
"value": {
"type": "StringLiteral",
- "start": 3082,
- "end": 3107,
+ "start": 3106,
+ "end": 3131,
"loc": {
"start": {
- "line": 106,
+ "line": 107,
"column": 16
},
"end": {
- "line": 106,
+ "line": 107,
"column": 41
}
},
@@ -4870,15 +4925,15 @@
},
{
"type": "ObjectProperty",
- "start": 3206,
- "end": 3263,
+ "start": 3230,
+ "end": 3287,
"loc": {
"start": {
- "line": 109,
+ "line": 110,
"column": 1
},
"end": {
- "line": 116,
+ "line": 117,
"column": 2
}
},
@@ -4887,15 +4942,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3206,
- "end": 3214,
+ "start": 3230,
+ "end": 3238,
"loc": {
"start": {
- "line": 109,
+ "line": 110,
"column": 1
},
"end": {
- "line": 109,
+ "line": 110,
"column": 9
},
"identifierName": "ATOM_IDS"
@@ -4905,30 +4960,30 @@
},
"value": {
"type": "ArrayExpression",
- "start": 3216,
- "end": 3263,
+ "start": 3240,
+ "end": 3287,
"loc": {
"start": {
- "line": 109,
+ "line": 110,
"column": 11
},
"end": {
- "line": 116,
+ "line": 117,
"column": 2
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 3220,
- "end": 3223,
+ "start": 3244,
+ "end": 3247,
"loc": {
"start": {
- "line": 110,
+ "line": 111,
"column": 2
},
"end": {
- "line": 110,
+ "line": 111,
"column": 5
}
},
@@ -4940,15 +4995,15 @@
},
{
"type": "StringLiteral",
- "start": 3227,
- "end": 3231,
+ "start": 3251,
+ "end": 3255,
"loc": {
"start": {
- "line": 111,
+ "line": 112,
"column": 2
},
"end": {
- "line": 111,
+ "line": 112,
"column": 6
}
},
@@ -4960,15 +5015,15 @@
},
{
"type": "StringLiteral",
- "start": 3235,
- "end": 3238,
+ "start": 3259,
+ "end": 3262,
"loc": {
"start": {
- "line": 112,
+ "line": 113,
"column": 2
},
"end": {
- "line": 112,
+ "line": 113,
"column": 5
}
},
@@ -4980,15 +5035,15 @@
},
{
"type": "StringLiteral",
- "start": 3242,
- "end": 3246,
+ "start": 3266,
+ "end": 3270,
"loc": {
"start": {
- "line": 113,
+ "line": 114,
"column": 2
},
"end": {
- "line": 113,
+ "line": 114,
"column": 6
}
},
@@ -5000,15 +5055,15 @@
},
{
"type": "StringLiteral",
- "start": 3250,
- "end": 3253,
+ "start": 3274,
+ "end": 3277,
"loc": {
"start": {
- "line": 114,
+ "line": 115,
"column": 2
},
"end": {
- "line": 114,
+ "line": 115,
"column": 5
}
},
@@ -5020,15 +5075,15 @@
},
{
"type": "StringLiteral",
- "start": 3257,
- "end": 3260,
+ "start": 3281,
+ "end": 3284,
"loc": {
"start": {
- "line": 115,
+ "line": 116,
"column": 2
},
"end": {
- "line": 115,
+ "line": 116,
"column": 5
}
},
@@ -5044,15 +5099,15 @@
{
"type": "CommentLine",
"value": " Atoms: ID's and Sprites. ATOM_SPRITES[id] returns the texture location of atom of that id.",
- "start": 3111,
- "end": 3204,
+ "start": 3135,
+ "end": 3228,
"loc": {
"start": {
- "line": 108,
+ "line": 109,
"column": 1
},
"end": {
- "line": 108,
+ "line": 109,
"column": 94
}
}
@@ -5061,15 +5116,15 @@
},
{
"type": "ObjectProperty",
- "start": 3266,
- "end": 3413,
+ "start": 3290,
+ "end": 3437,
"loc": {
"start": {
- "line": 117,
+ "line": 118,
"column": 1
},
"end": {
- "line": 124,
+ "line": 125,
"column": 2
}
},
@@ -5078,15 +5133,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3266,
- "end": 3278,
+ "start": 3290,
+ "end": 3302,
"loc": {
"start": {
- "line": 117,
+ "line": 118,
"column": 1
},
"end": {
- "line": 117,
+ "line": 118,
"column": 13
},
"identifierName": "ATOM_SPRITES"
@@ -5095,30 +5150,30 @@
},
"value": {
"type": "ArrayExpression",
- "start": 3280,
- "end": 3413,
+ "start": 3304,
+ "end": 3437,
"loc": {
"start": {
- "line": 117,
+ "line": 118,
"column": 15
},
"end": {
- "line": 124,
+ "line": 125,
"column": 2
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 3284,
- "end": 3303,
+ "start": 3308,
+ "end": 3327,
"loc": {
"start": {
- "line": 118,
+ "line": 119,
"column": 2
},
"end": {
- "line": 118,
+ "line": 119,
"column": 21
}
},
@@ -5130,15 +5185,15 @@
},
{
"type": "StringLiteral",
- "start": 3307,
- "end": 3324,
+ "start": 3331,
+ "end": 3348,
"loc": {
"start": {
- "line": 119,
+ "line": 120,
"column": 2
},
"end": {
- "line": 119,
+ "line": 120,
"column": 19
}
},
@@ -5150,15 +5205,15 @@
},
{
"type": "StringLiteral",
- "start": 3328,
- "end": 3345,
+ "start": 3352,
+ "end": 3369,
"loc": {
"start": {
- "line": 120,
+ "line": 121,
"column": 2
},
"end": {
- "line": 120,
+ "line": 121,
"column": 19
}
},
@@ -5170,15 +5225,15 @@
},
{
"type": "StringLiteral",
- "start": 3349,
- "end": 3366,
+ "start": 3373,
+ "end": 3390,
"loc": {
"start": {
- "line": 121,
+ "line": 122,
"column": 2
},
"end": {
- "line": 121,
+ "line": 122,
"column": 19
}
},
@@ -5190,15 +5245,15 @@
},
{
"type": "StringLiteral",
- "start": 3370,
- "end": 3389,
+ "start": 3394,
+ "end": 3413,
"loc": {
"start": {
- "line": 122,
+ "line": 123,
"column": 2
},
"end": {
- "line": 122,
+ "line": 123,
"column": 21
}
},
@@ -5210,15 +5265,15 @@
},
{
"type": "StringLiteral",
- "start": 3393,
- "end": 3410,
+ "start": 3417,
+ "end": 3434,
"loc": {
"start": {
- "line": 123,
+ "line": 124,
"column": 2
},
"end": {
- "line": 123,
+ "line": 124,
"column": 19
}
},
@@ -5233,15 +5288,15 @@
},
{
"type": "ObjectProperty",
- "start": 3466,
- "end": 3511,
+ "start": 3490,
+ "end": 3535,
"loc": {
"start": {
- "line": 127,
+ "line": 128,
"column": 1
},
"end": {
- "line": 127,
+ "line": 128,
"column": 46
}
},
@@ -5250,15 +5305,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3466,
- "end": 3481,
+ "start": 3490,
+ "end": 3505,
"loc": {
"start": {
- "line": 127,
+ "line": 128,
"column": 1
},
"end": {
- "line": 127,
+ "line": 128,
"column": 16
},
"identifierName": "SPRITESHEET_DIR"
@@ -5268,15 +5323,15 @@
},
"value": {
"type": "StringLiteral",
- "start": 3483,
- "end": 3511,
+ "start": 3507,
+ "end": 3535,
"loc": {
"start": {
- "line": 127,
+ "line": 128,
"column": 18
},
"end": {
- "line": 127,
+ "line": 128,
"column": 46
}
},
@@ -5290,15 +5345,15 @@
{
"type": "CommentLine",
"value": " Location of spritesheet relative to pixigame",
- "start": 3417,
- "end": 3464,
+ "start": 3441,
+ "end": 3488,
"loc": {
"start": {
- "line": 126,
+ "line": 127,
"column": 1
},
"end": {
- "line": 126,
+ "line": 127,
"column": 48
}
}
@@ -5307,15 +5362,15 @@
},
{
"type": "ObjectProperty",
- "start": 3547,
- "end": 3595,
+ "start": 3571,
+ "end": 3619,
"loc": {
"start": {
- "line": 130,
+ "line": 131,
"column": 1
},
"end": {
- "line": 130,
+ "line": 131,
"column": 49
}
},
@@ -5324,15 +5379,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3547,
- "end": 3559,
+ "start": 3571,
+ "end": 3583,
"loc": {
"start": {
- "line": 130,
+ "line": 131,
"column": 1
},
"end": {
- "line": 130,
+ "line": 131,
"column": 13
},
"identifierName": "COMPOUND_DIR"
@@ -5342,15 +5397,15 @@
},
"value": {
"type": "StringLiteral",
- "start": 3561,
- "end": 3595,
+ "start": 3585,
+ "end": 3619,
"loc": {
"start": {
- "line": 130,
+ "line": 131,
"column": 15
},
"end": {
- "line": 130,
+ "line": 131,
"column": 49
}
},
@@ -5364,15 +5419,15 @@
{
"type": "CommentLine",
"value": " Used for main menu textures",
- "start": 3515,
- "end": 3545,
+ "start": 3539,
+ "end": 3569,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 1
},
"end": {
- "line": 129,
+ "line": 130,
"column": 31
}
}
@@ -5381,15 +5436,15 @@
},
{
"type": "ObjectProperty",
- "start": 3647,
- "end": 3695,
+ "start": 3671,
+ "end": 3719,
"loc": {
"start": {
- "line": 133,
+ "line": 134,
"column": 1
},
"end": {
- "line": 136,
+ "line": 137,
"column": 2
}
},
@@ -5398,15 +5453,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3647,
- "end": 3664,
+ "start": 3671,
+ "end": 3688,
"loc": {
"start": {
- "line": 133,
+ "line": 134,
"column": 1
},
"end": {
- "line": 133,
+ "line": 134,
"column": 18
},
"identifierName": "EXPERIENCE_VALUES"
@@ -5416,30 +5471,30 @@
},
"value": {
"type": "ObjectExpression",
- "start": 3666,
- "end": 3695,
+ "start": 3690,
+ "end": 3719,
"loc": {
"start": {
- "line": 133,
+ "line": 134,
"column": 20
},
"end": {
- "line": 136,
+ "line": 137,
"column": 2
}
},
"properties": [
{
"type": "ObjectProperty",
- "start": 3670,
- "end": 3679,
+ "start": 3694,
+ "end": 3703,
"loc": {
"start": {
- "line": 134,
+ "line": 135,
"column": 2
},
"end": {
- "line": 134,
+ "line": 135,
"column": 11
}
},
@@ -5448,15 +5503,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3670,
- "end": 3675,
+ "start": 3694,
+ "end": 3699,
"loc": {
"start": {
- "line": 134,
+ "line": 135,
"column": 2
},
"end": {
- "line": 134,
+ "line": 135,
"column": 7
},
"identifierName": "CRAFT"
@@ -5465,15 +5520,15 @@
},
"value": {
"type": "NumericLiteral",
- "start": 3677,
- "end": 3679,
+ "start": 3701,
+ "end": 3703,
"loc": {
"start": {
- "line": 134,
+ "line": 135,
"column": 9
},
"end": {
- "line": 134,
+ "line": 135,
"column": 11
}
},
@@ -5486,15 +5541,15 @@
},
{
"type": "ObjectProperty",
- "start": 3683,
- "end": 3692,
+ "start": 3707,
+ "end": 3716,
"loc": {
"start": {
- "line": 135,
+ "line": 136,
"column": 2
},
"end": {
- "line": 135,
+ "line": 136,
"column": 11
}
},
@@ -5503,15 +5558,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3683,
- "end": 3687,
+ "start": 3707,
+ "end": 3711,
"loc": {
"start": {
- "line": 135,
+ "line": 136,
"column": 2
},
"end": {
- "line": 135,
+ "line": 136,
"column": 6
},
"identifierName": "KILL"
@@ -5520,15 +5575,15 @@
},
"value": {
"type": "NumericLiteral",
- "start": 3689,
- "end": 3692,
+ "start": 3713,
+ "end": 3716,
"loc": {
"start": {
- "line": 135,
+ "line": 136,
"column": 8
},
"end": {
- "line": 135,
+ "line": 136,
"column": 11
}
},
@@ -5545,15 +5600,15 @@
{
"type": "CommentLine",
"value": " Each Value corresponds with the above event",
- "start": 3599,
- "end": 3645,
+ "start": 3623,
+ "end": 3669,
"loc": {
"start": {
- "line": 132,
+ "line": 133,
"column": 1
},
"end": {
- "line": 132,
+ "line": 133,
"column": 47
}
}
@@ -5562,15 +5617,15 @@
},
{
"type": "ObjectProperty",
- "start": 3767,
- "end": 3833,
+ "start": 3791,
+ "end": 3857,
"loc": {
"start": {
- "line": 139,
+ "line": 140,
"column": 1
},
"end": {
- "line": 147,
+ "line": 148,
"column": 2
}
},
@@ -5579,15 +5634,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3767,
- "end": 3784,
+ "start": 3791,
+ "end": 3808,
"loc": {
"start": {
- "line": 139,
+ "line": 140,
"column": 1
},
"end": {
- "line": 139,
+ "line": 140,
"column": 18
},
"identifierName": "EXPERIENCE_LEVELS"
@@ -5597,30 +5652,30 @@
},
"value": {
"type": "ArrayExpression",
- "start": 3786,
- "end": 3833,
+ "start": 3810,
+ "end": 3857,
"loc": {
"start": {
- "line": 139,
+ "line": 140,
"column": 20
},
"end": {
- "line": 147,
+ "line": 148,
"column": 2
}
},
"elements": [
{
"type": "NumericLiteral",
- "start": 3790,
- "end": 3791,
+ "start": 3814,
+ "end": 3815,
"loc": {
"start": {
- "line": 140,
+ "line": 141,
"column": 2
},
"end": {
- "line": 140,
+ "line": 141,
"column": 3
}
},
@@ -5632,15 +5687,15 @@
},
{
"type": "NumericLiteral",
- "start": 3795,
- "end": 3797,
+ "start": 3819,
+ "end": 3821,
"loc": {
"start": {
- "line": 141,
+ "line": 142,
"column": 2
},
"end": {
- "line": 141,
+ "line": 142,
"column": 4
}
},
@@ -5652,15 +5707,15 @@
},
{
"type": "NumericLiteral",
- "start": 3801,
- "end": 3803,
+ "start": 3825,
+ "end": 3827,
"loc": {
"start": {
- "line": 142,
+ "line": 143,
"column": 2
},
"end": {
- "line": 142,
+ "line": 143,
"column": 4
}
},
@@ -5672,15 +5727,15 @@
},
{
"type": "NumericLiteral",
- "start": 3807,
- "end": 3809,
+ "start": 3831,
+ "end": 3833,
"loc": {
"start": {
- "line": 143,
+ "line": 144,
"column": 2
},
"end": {
- "line": 143,
+ "line": 144,
"column": 4
}
},
@@ -5692,15 +5747,15 @@
},
{
"type": "NumericLiteral",
- "start": 3813,
- "end": 3816,
+ "start": 3837,
+ "end": 3840,
"loc": {
"start": {
- "line": 144,
+ "line": 145,
"column": 2
},
"end": {
- "line": 144,
+ "line": 145,
"column": 5
}
},
@@ -5712,15 +5767,15 @@
},
{
"type": "NumericLiteral",
- "start": 3820,
- "end": 3823,
+ "start": 3844,
+ "end": 3847,
"loc": {
"start": {
- "line": 145,
+ "line": 146,
"column": 2
},
"end": {
- "line": 145,
+ "line": 146,
"column": 5
}
},
@@ -5732,15 +5787,15 @@
},
{
"type": "NumericLiteral",
- "start": 3827,
- "end": 3830,
+ "start": 3851,
+ "end": 3854,
"loc": {
"start": {
- "line": 146,
+ "line": 147,
"column": 2
},
"end": {
- "line": 146,
+ "line": 147,
"column": 5
}
},
@@ -5756,15 +5811,15 @@
{
"type": "CommentLine",
"value": " The cutoffs for each level. Index 0 = level 1, 1 = level 2, etc",
- "start": 3699,
- "end": 3765,
+ "start": 3723,
+ "end": 3789,
"loc": {
"start": {
- "line": 138,
+ "line": 139,
"column": 1
},
"end": {
- "line": 138,
+ "line": 139,
"column": 67
}
}
@@ -5773,15 +5828,15 @@
},
{
"type": "ObjectProperty",
- "start": 3836,
- "end": 4027,
+ "start": 3860,
+ "end": 4051,
"loc": {
"start": {
- "line": 148,
+ "line": 149,
"column": 1
},
"end": {
- "line": 153,
+ "line": 154,
"column": 2
}
},
@@ -5790,15 +5845,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3836,
- "end": 3854,
+ "start": 3860,
+ "end": 3878,
"loc": {
"start": {
- "line": 148,
+ "line": 149,
"column": 1
},
"end": {
- "line": 148,
+ "line": 149,
"column": 19
},
"identifierName": "MAINMENU_MUSICLIST"
@@ -5807,30 +5862,30 @@
},
"value": {
"type": "ArrayExpression",
- "start": 3856,
- "end": 4027,
+ "start": 3880,
+ "end": 4051,
"loc": {
"start": {
- "line": 148,
+ "line": 149,
"column": 21
},
"end": {
- "line": 153,
+ "line": 154,
"column": 2
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 3860,
- "end": 3898,
+ "start": 3884,
+ "end": 3922,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 2
},
"end": {
- "line": 149,
+ "line": 150,
"column": 40
}
},
@@ -5842,15 +5897,15 @@
},
{
"type": "StringLiteral",
- "start": 3902,
- "end": 3940,
+ "start": 3926,
+ "end": 3964,
"loc": {
"start": {
- "line": 150,
+ "line": 151,
"column": 2
},
"end": {
- "line": 150,
+ "line": 151,
"column": 40
}
},
@@ -5862,15 +5917,15 @@
},
{
"type": "StringLiteral",
- "start": 3944,
- "end": 3982,
+ "start": 3968,
+ "end": 4006,
"loc": {
"start": {
- "line": 151,
+ "line": 152,
"column": 2
},
"end": {
- "line": 151,
+ "line": 152,
"column": 40
}
},
@@ -5882,15 +5937,15 @@
},
{
"type": "StringLiteral",
- "start": 3986,
- "end": 4024,
+ "start": 4010,
+ "end": 4048,
"loc": {
"start": {
- "line": 152,
+ "line": 153,
"column": 2
},
"end": {
- "line": 152,
+ "line": 153,
"column": 40
}
},
@@ -5905,15 +5960,15 @@
},
{
"type": "ObjectProperty",
- "start": 4030,
- "end": 4052,
+ "start": 4054,
+ "end": 4076,
"loc": {
"start": {
- "line": 154,
+ "line": 155,
"column": 1
},
"end": {
- "line": 156,
+ "line": 157,
"column": 2
}
},
@@ -5922,15 +5977,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4030,
- "end": 4045,
+ "start": 4054,
+ "end": 4069,
"loc": {
"start": {
- "line": 154,
+ "line": 155,
"column": 1
},
"end": {
- "line": 154,
+ "line": 155,
"column": 16
},
"identifierName": "LOBBY_MUSICLIST"
@@ -5939,15 +5994,15 @@
},
"value": {
"type": "ArrayExpression",
- "start": 4047,
- "end": 4052,
+ "start": 4071,
+ "end": 4076,
"loc": {
"start": {
- "line": 154,
+ "line": 155,
"column": 18
},
"end": {
- "line": 156,
+ "line": 157,
"column": 2
}
},
@@ -5956,15 +6011,15 @@
},
{
"type": "ObjectProperty",
- "start": 4055,
- "end": 4078,
+ "start": 4079,
+ "end": 4102,
"loc": {
"start": {
- "line": 157,
+ "line": 158,
"column": 1
},
"end": {
- "line": 159,
+ "line": 160,
"column": 2
}
},
@@ -5973,15 +6028,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4055,
- "end": 4071,
+ "start": 4079,
+ "end": 4095,
"loc": {
"start": {
- "line": 157,
+ "line": 158,
"column": 1
},
"end": {
- "line": 157,
+ "line": 158,
"column": 17
},
"identifierName": "INGAME_MUSICLIST"
@@ -5990,15 +6045,15 @@
},
"value": {
"type": "ArrayExpression",
- "start": 4073,
- "end": 4078,
+ "start": 4097,
+ "end": 4102,
"loc": {
"start": {
- "line": 157,
+ "line": 158,
"column": 19
},
"end": {
- "line": 159,
+ "line": 160,
"column": 2
}
},
@@ -6007,15 +6062,15 @@
},
{
"type": "ObjectProperty",
- "start": 4093,
- "end": 4106,
+ "start": 4117,
+ "end": 4130,
"loc": {
"start": {
- "line": 162,
+ "line": 163,
"column": 1
},
"end": {
- "line": 162,
+ "line": 163,
"column": 14
}
},
@@ -6024,15 +6079,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4093,
- "end": 4103,
+ "start": 4117,
+ "end": 4127,
"loc": {
"start": {
- "line": 162,
+ "line": 163,
"column": 1
},
"end": {
- "line": 162,
+ "line": 163,
"column": 11
},
"identifierName": "KILL_SCORE"
@@ -6042,15 +6097,15 @@
},
"value": {
"type": "NumericLiteral",
- "start": 4105,
- "end": 4106,
+ "start": 4129,
+ "end": 4130,
"loc": {
"start": {
- "line": 162,
+ "line": 163,
"column": 13
},
"end": {
- "line": 162,
+ "line": 163,
"column": 14
}
},
@@ -6064,15 +6119,15 @@
{
"type": "CommentLine",
"value": " Deaths",
- "start": 4082,
- "end": 4091,
+ "start": 4106,
+ "end": 4115,
"loc": {
"start": {
- "line": 161,
+ "line": 162,
"column": 1
},
"end": {
- "line": 161,
+ "line": 162,
"column": 10
}
}
@@ -6081,15 +6136,15 @@
},
{
"type": "ObjectProperty",
- "start": 4199,
- "end": 4214,
+ "start": 4223,
+ "end": 4238,
"loc": {
"start": {
- "line": 163,
+ "line": 164,
"column": 1
},
"end": {
- "line": 163,
+ "line": 164,
"column": 16
}
},
@@ -6098,15 +6153,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4199,
- "end": 4211,
+ "start": 4223,
+ "end": 4235,
"loc": {
"start": {
- "line": 163,
+ "line": 164,
"column": 1
},
"end": {
- "line": 163,
+ "line": 164,
"column": 13
},
"identifierName": "ASSIST_SCORE"
@@ -6116,15 +6171,15 @@
},
"value": {
"type": "NumericLiteral",
- "start": 4213,
- "end": 4214,
+ "start": 4237,
+ "end": 4238,
"loc": {
"start": {
- "line": 163,
+ "line": 164,
"column": 15
},
"end": {
- "line": 163,
+ "line": 164,
"column": 16
}
},
@@ -6138,15 +6193,15 @@
{
"type": "CommentLine",
"value": " How many points are awarded to the player/team who dealt the most damage to the player",
- "start": 4108,
- "end": 4197,
+ "start": 4132,
+ "end": 4221,
"loc": {
"start": {
- "line": 162,
+ "line": 163,
"column": 16
},
"end": {
- "line": 162,
+ "line": 163,
"column": 105
}
}
@@ -6155,15 +6210,15 @@
},
{
"type": "ObjectProperty",
- "start": 4296,
- "end": 4313,
+ "start": 4320,
+ "end": 4337,
"loc": {
"start": {
- "line": 164,
+ "line": 165,
"column": 1
},
"end": {
- "line": 164,
+ "line": 165,
"column": 18
}
},
@@ -6172,15 +6227,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4296,
- "end": 4309,
+ "start": 4320,
+ "end": 4333,
"loc": {
"start": {
- "line": 164,
+ "line": 165,
"column": 1
},
"end": {
- "line": 164,
+ "line": 165,
"column": 14
},
"identifierName": "WINNING_SCORE"
@@ -6190,15 +6245,15 @@
},
"value": {
"type": "NumericLiteral",
- "start": 4311,
- "end": 4313,
+ "start": 4335,
+ "end": 4337,
"loc": {
"start": {
- "line": 164,
+ "line": 165,
"column": 16
},
"end": {
- "line": 164,
+ "line": 165,
"column": 18
}
},
@@ -6212,15 +6267,15 @@
{
"type": "CommentLine",
"value": " How many points are awarded to all players who assist in killing the player",
- "start": 4216,
- "end": 4294,
+ "start": 4240,
+ "end": 4318,
"loc": {
"start": {
- "line": 163,
+ "line": 164,
"column": 18
},
"end": {
- "line": 163,
+ "line": 164,
"column": 96
}
}
@@ -6229,15 +6284,15 @@
},
{
"type": "ObjectProperty",
- "start": 4388,
- "end": 4404,
+ "start": 4412,
+ "end": 4428,
"loc": {
"start": {
- "line": 165,
+ "line": 166,
"column": 1
},
"end": {
- "line": 165,
+ "line": 166,
"column": 17
}
},
@@ -6246,15 +6301,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4388,
- "end": 4401,
+ "start": 4412,
+ "end": 4425,
"loc": {
"start": {
- "line": 165,
+ "line": 166,
"column": 1
},
"end": {
- "line": 165,
+ "line": 166,
"column": 14
},
"identifierName": "CAPTURE_SCORE"
@@ -6264,15 +6319,15 @@
},
"value": {
"type": "NumericLiteral",
- "start": 4403,
- "end": 4404,
+ "start": 4427,
+ "end": 4428,
"loc": {
"start": {
- "line": 165,
+ "line": 166,
"column": 16
},
"end": {
- "line": 165,
+ "line": 166,
"column": 17
}
},
@@ -6286,15 +6341,15 @@
{
"type": "CommentLine",
"value": " How many points are required to win the game per team. TODO increase",
- "start": 4315,
- "end": 4386,
+ "start": 4339,
+ "end": 4410,
"loc": {
"start": {
- "line": 164,
+ "line": 165,
"column": 20
},
"end": {
- "line": 164,
+ "line": 165,
"column": 91
}
}
@@ -6303,15 +6358,15 @@
},
{
"type": "ObjectProperty",
- "start": 4481,
- "end": 4501,
+ "start": 4505,
+ "end": 4525,
"loc": {
"start": {
- "line": 166,
+ "line": 167,
"column": 1
},
"end": {
- "line": 166,
+ "line": 167,
"column": 21
}
},
@@ -6320,15 +6375,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4481,
- "end": 4496,
+ "start": 4505,
+ "end": 4520,
"loc": {
"start": {
- "line": 166,
+ "line": 167,
"column": 1
},
"end": {
- "line": 166,
+ "line": 167,
"column": 16
},
"identifierName": "MAX_DEATH_ATOMS"
@@ -6338,15 +6393,15 @@
},
"value": {
"type": "NumericLiteral",
- "start": 4498,
- "end": 4501,
+ "start": 4522,
+ "end": 4525,
"loc": {
"start": {
- "line": 166,
+ "line": 167,
"column": 18
},
"end": {
- "line": 166,
+ "line": 167,
"column": 21
}
},
@@ -6362,15 +6417,15 @@
{
"type": "CommentLine",
"value": " How many points are awarded to the team who captured a stronghold/vent",
- "start": 4406,
- "end": 4479,
+ "start": 4430,
+ "end": 4503,
"loc": {
"start": {
- "line": 165,
+ "line": 166,
"column": 19
},
"end": {
- "line": 165,
+ "line": 166,
"column": 92
}
}
@@ -6380,15 +6435,15 @@
{
"type": "CommentLine",
"value": " How many atoms of each type can be ejected on death at maximum. Prevents testers from ejecting thousands of atoms at a time.",
- "start": 4502,
- "end": 4629,
+ "start": 4526,
+ "end": 4653,
"loc": {
"start": {
- "line": 166,
+ "line": 167,
"column": 22
},
"end": {
- "line": 166,
+ "line": 167,
"column": 149
}
}
@@ -6396,15 +6451,15 @@
{
"type": "CommentBlock",
"value": "*\n * Returns the distance between two objects.\n * Both objects must be GameObjects\n * @param {GameObject} obj1 First object\n * @param {GameObject} obj2 Second object\n ",
- "start": 4633,
- "end": 4804,
+ "start": 4657,
+ "end": 4828,
"loc": {
"start": {
- "line": 169,
+ "line": 170,
"column": 0
},
"end": {
- "line": 174,
+ "line": 175,
"column": 3
}
}
@@ -6441,15 +6496,15 @@
{
"type": "CommentBlock",
"value": "*\n * Returns the distance between two objects.\n * Both objects must be GameObjects\n * @param {GameObject} obj1 First object\n * @param {GameObject} obj2 Second object\n ",
- "start": 4633,
- "end": 4804,
+ "start": 4657,
+ "end": 4828,
"loc": {
"start": {
- "line": 169,
+ "line": 170,
"column": 0
},
"end": {
- "line": 174,
+ "line": 175,
"column": 3
}
}
@@ -6478,15 +6533,15 @@
{
"type": "CommentBlock",
"value": "*\n * Returns the distance between two objects.\n * Both objects must be GameObjects\n * @param {GameObject} obj1 First object\n * @param {GameObject} obj2 Second object\n ",
- "start": 4633,
- "end": 4804,
+ "start": 4657,
+ "end": 4828,
"loc": {
"start": {
- "line": 169,
+ "line": 170,
"column": 0
},
"end": {
- "line": 174,
+ "line": 175,
"column": 3
}
}
@@ -6495,15 +6550,15 @@
},
{
"type": "ExportNamedDeclaration",
- "start": 4805,
- "end": 4944,
+ "start": 4829,
+ "end": 4968,
"loc": {
"start": {
- "line": 175,
+ "line": 176,
"column": 0
},
"end": {
- "line": 177,
+ "line": 178,
"column": 1
}
},
@@ -6511,29 +6566,29 @@
"source": null,
"declaration": {
"type": "FunctionDeclaration",
- "start": 4812,
- "end": 4944,
+ "start": 4836,
+ "end": 4968,
"loc": {
"start": {
- "line": 175,
+ "line": 176,
"column": 7
},
"end": {
- "line": 177,
+ "line": 178,
"column": 1
}
},
"id": {
"type": "Identifier",
- "start": 4821,
- "end": 4836,
+ "start": 4845,
+ "end": 4860,
"loc": {
"start": {
- "line": 175,
+ "line": 176,
"column": 16
},
"end": {
- "line": 175,
+ "line": 176,
"column": 31
},
"identifierName": "distanceBetween"
@@ -6546,15 +6601,15 @@
"params": [
{
"type": "Identifier",
- "start": 4838,
- "end": 4842,
+ "start": 4862,
+ "end": 4866,
"loc": {
"start": {
- "line": 175,
+ "line": 176,
"column": 33
},
"end": {
- "line": 175,
+ "line": 176,
"column": 37
},
"identifierName": "obj1"
@@ -6563,15 +6618,15 @@
},
{
"type": "Identifier",
- "start": 4844,
- "end": 4848,
+ "start": 4868,
+ "end": 4872,
"loc": {
"start": {
- "line": 175,
+ "line": 176,
"column": 39
},
"end": {
- "line": 175,
+ "line": 176,
"column": 43
},
"identifierName": "obj2"
@@ -6581,72 +6636,72 @@
],
"body": {
"type": "BlockStatement",
- "start": 4850,
- "end": 4944,
+ "start": 4874,
+ "end": 4968,
"loc": {
"start": {
- "line": 175,
+ "line": 176,
"column": 45
},
"end": {
- "line": 177,
+ "line": 178,
"column": 1
}
},
"body": [
{
"type": "ReturnStatement",
- "start": 4853,
- "end": 4942,
+ "start": 4877,
+ "end": 4966,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 1
},
"end": {
- "line": 176,
+ "line": 177,
"column": 90
}
},
"argument": {
"type": "CallExpression",
- "start": 4860,
- "end": 4942,
+ "start": 4884,
+ "end": 4966,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 8
},
"end": {
- "line": 176,
+ "line": 177,
"column": 90
}
},
"callee": {
"type": "MemberExpression",
- "start": 4860,
- "end": 4869,
+ "start": 4884,
+ "end": 4893,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 8
},
"end": {
- "line": 176,
+ "line": 177,
"column": 17
}
},
"object": {
"type": "Identifier",
- "start": 4860,
- "end": 4864,
+ "start": 4884,
+ "end": 4888,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 8
},
"end": {
- "line": 176,
+ "line": 177,
"column": 12
},
"identifierName": "Math"
@@ -6655,15 +6710,15 @@
},
"property": {
"type": "Identifier",
- "start": 4865,
- "end": 4869,
+ "start": 4889,
+ "end": 4893,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 13
},
"end": {
- "line": 176,
+ "line": 177,
"column": 17
},
"identifierName": "sqrt"
@@ -6675,57 +6730,57 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 4870,
- "end": 4941,
+ "start": 4894,
+ "end": 4965,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 18
},
"end": {
- "line": 176,
+ "line": 177,
"column": 89
}
},
"left": {
"type": "CallExpression",
- "start": 4870,
- "end": 4904,
+ "start": 4894,
+ "end": 4928,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 18
},
"end": {
- "line": 176,
+ "line": 177,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
- "start": 4870,
- "end": 4878,
+ "start": 4894,
+ "end": 4902,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 18
},
"end": {
- "line": 176,
+ "line": 177,
"column": 26
}
},
"object": {
"type": "Identifier",
- "start": 4870,
- "end": 4874,
+ "start": 4894,
+ "end": 4898,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 18
},
"end": {
- "line": 176,
+ "line": 177,
"column": 22
},
"identifierName": "Math"
@@ -6734,15 +6789,15 @@
},
"property": {
"type": "Identifier",
- "start": 4875,
- "end": 4878,
+ "start": 4899,
+ "end": 4902,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 23
},
"end": {
- "line": 176,
+ "line": 177,
"column": 26
},
"identifierName": "pow"
@@ -6754,43 +6809,43 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 4879,
- "end": 4900,
+ "start": 4903,
+ "end": 4924,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 27
},
"end": {
- "line": 176,
+ "line": 177,
"column": 48
}
},
"left": {
"type": "MemberExpression",
- "start": 4879,
- "end": 4888,
+ "start": 4903,
+ "end": 4912,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 27
},
"end": {
- "line": 176,
+ "line": 177,
"column": 36
}
},
"object": {
"type": "Identifier",
- "start": 4879,
- "end": 4883,
+ "start": 4903,
+ "end": 4907,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 27
},
"end": {
- "line": 176,
+ "line": 177,
"column": 31
},
"identifierName": "obj1"
@@ -6799,15 +6854,15 @@
},
"property": {
"type": "Identifier",
- "start": 4884,
- "end": 4888,
+ "start": 4908,
+ "end": 4912,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 32
},
"end": {
- "line": 176,
+ "line": 177,
"column": 36
},
"identifierName": "posX"
@@ -6819,29 +6874,29 @@
"operator": "-",
"right": {
"type": "MemberExpression",
- "start": 4891,
- "end": 4900,
+ "start": 4915,
+ "end": 4924,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 39
},
"end": {
- "line": 176,
+ "line": 177,
"column": 48
}
},
"object": {
"type": "Identifier",
- "start": 4891,
- "end": 4895,
+ "start": 4915,
+ "end": 4919,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 39
},
"end": {
- "line": 176,
+ "line": 177,
"column": 43
},
"identifierName": "obj2"
@@ -6850,15 +6905,15 @@
},
"property": {
"type": "Identifier",
- "start": 4896,
- "end": 4900,
+ "start": 4920,
+ "end": 4924,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 44
},
"end": {
- "line": 176,
+ "line": 177,
"column": 48
},
"identifierName": "posX"
@@ -6870,15 +6925,15 @@
},
{
"type": "NumericLiteral",
- "start": 4902,
- "end": 4903,
+ "start": 4926,
+ "end": 4927,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 50
},
"end": {
- "line": 176,
+ "line": 177,
"column": 51
}
},
@@ -6893,43 +6948,43 @@
"operator": "+",
"right": {
"type": "CallExpression",
- "start": 4907,
- "end": 4941,
+ "start": 4931,
+ "end": 4965,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 55
},
"end": {
- "line": 176,
+ "line": 177,
"column": 89
}
},
"callee": {
"type": "MemberExpression",
- "start": 4907,
- "end": 4915,
+ "start": 4931,
+ "end": 4939,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 55
},
"end": {
- "line": 176,
+ "line": 177,
"column": 63
}
},
"object": {
"type": "Identifier",
- "start": 4907,
- "end": 4911,
+ "start": 4931,
+ "end": 4935,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 55
},
"end": {
- "line": 176,
+ "line": 177,
"column": 59
},
"identifierName": "Math"
@@ -6938,15 +6993,15 @@
},
"property": {
"type": "Identifier",
- "start": 4912,
- "end": 4915,
+ "start": 4936,
+ "end": 4939,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 60
},
"end": {
- "line": 176,
+ "line": 177,
"column": 63
},
"identifierName": "pow"
@@ -6958,43 +7013,43 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 4916,
- "end": 4937,
+ "start": 4940,
+ "end": 4961,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 64
},
"end": {
- "line": 176,
+ "line": 177,
"column": 85
}
},
"left": {
"type": "MemberExpression",
- "start": 4916,
- "end": 4925,
+ "start": 4940,
+ "end": 4949,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 64
},
"end": {
- "line": 176,
+ "line": 177,
"column": 73
}
},
"object": {
"type": "Identifier",
- "start": 4916,
- "end": 4920,
+ "start": 4940,
+ "end": 4944,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 64
},
"end": {
- "line": 176,
+ "line": 177,
"column": 68
},
"identifierName": "obj1"
@@ -7003,15 +7058,15 @@
},
"property": {
"type": "Identifier",
- "start": 4921,
- "end": 4925,
+ "start": 4945,
+ "end": 4949,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 69
},
"end": {
- "line": 176,
+ "line": 177,
"column": 73
},
"identifierName": "posY"
@@ -7023,29 +7078,29 @@
"operator": "-",
"right": {
"type": "MemberExpression",
- "start": 4928,
- "end": 4937,
+ "start": 4952,
+ "end": 4961,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 76
},
"end": {
- "line": 176,
+ "line": 177,
"column": 85
}
},
"object": {
"type": "Identifier",
- "start": 4928,
- "end": 4932,
+ "start": 4952,
+ "end": 4956,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 76
},
"end": {
- "line": 176,
+ "line": 177,
"column": 80
},
"identifierName": "obj2"
@@ -7054,15 +7109,15 @@
},
"property": {
"type": "Identifier",
- "start": 4933,
- "end": 4937,
+ "start": 4957,
+ "end": 4961,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 81
},
"end": {
- "line": 176,
+ "line": 177,
"column": 85
},
"identifierName": "posY"
@@ -7074,15 +7129,15 @@
},
{
"type": "NumericLiteral",
- "start": 4939,
- "end": 4940,
+ "start": 4963,
+ "end": 4964,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 87
},
"end": {
- "line": 176,
+ "line": 177,
"column": 88
}
},
@@ -7106,15 +7161,15 @@
{
"type": "CommentBlock",
"value": "*\n * Returns true if the object parameter is within the map boundaries.\n * @param {GameObject} obj The object to test\n * @return true if the object parameter is within the map boundaries\n ",
- "start": 4946,
- "end": 5138,
+ "start": 4970,
+ "end": 5162,
"loc": {
"start": {
- "line": 179,
+ "line": 180,
"column": 0
},
"end": {
- "line": 183,
+ "line": 184,
"column": 3
}
}
@@ -7126,15 +7181,15 @@
{
"type": "CommentBlock",
"value": "*\n * Returns true if the object parameter is within the map boundaries.\n * @param {GameObject} obj The object to test\n * @return true if the object parameter is within the map boundaries\n ",
- "start": 4946,
- "end": 5138,
+ "start": 4970,
+ "end": 5162,
"loc": {
"start": {
- "line": 179,
+ "line": 180,
"column": 0
},
"end": {
- "line": 183,
+ "line": 184,
"column": 3
}
}
@@ -7143,15 +7198,15 @@
},
{
"type": "ExportNamedDeclaration",
- "start": 5139,
- "end": 5360,
+ "start": 5163,
+ "end": 5384,
"loc": {
"start": {
- "line": 184,
+ "line": 185,
"column": 0
},
"end": {
- "line": 186,
+ "line": 187,
"column": 1
}
},
@@ -7159,29 +7214,29 @@
"source": null,
"declaration": {
"type": "FunctionDeclaration",
- "start": 5146,
- "end": 5360,
+ "start": 5170,
+ "end": 5384,
"loc": {
"start": {
- "line": 184,
+ "line": 185,
"column": 7
},
"end": {
- "line": 186,
+ "line": 187,
"column": 1
}
},
"id": {
"type": "Identifier",
- "start": 5155,
- "end": 5165,
+ "start": 5179,
+ "end": 5189,
"loc": {
"start": {
- "line": 184,
+ "line": 185,
"column": 16
},
"end": {
- "line": 184,
+ "line": 185,
"column": 26
},
"identifierName": "isInBounds"
@@ -7195,15 +7250,15 @@
"params": [
{
"type": "Identifier",
- "start": 5167,
- "end": 5170,
+ "start": 5191,
+ "end": 5194,
"loc": {
"start": {
- "line": 184,
+ "line": 185,
"column": 28
},
"end": {
- "line": 184,
+ "line": 185,
"column": 31
},
"identifierName": "obj"
@@ -7213,114 +7268,114 @@
],
"body": {
"type": "BlockStatement",
- "start": 5172,
- "end": 5360,
+ "start": 5196,
+ "end": 5384,
"loc": {
"start": {
- "line": 184,
+ "line": 185,
"column": 33
},
"end": {
- "line": 186,
+ "line": 187,
"column": 1
}
},
"body": [
{
"type": "ReturnStatement",
- "start": 5175,
- "end": 5358,
+ "start": 5199,
+ "end": 5382,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 1
},
"end": {
- "line": 185,
+ "line": 186,
"column": 184
}
},
"argument": {
"type": "LogicalExpression",
- "start": 5182,
- "end": 5358,
+ "start": 5206,
+ "end": 5382,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 8
},
"end": {
- "line": 185,
+ "line": 186,
"column": 184
}
},
"left": {
"type": "LogicalExpression",
- "start": 5182,
- "end": 5294,
+ "start": 5206,
+ "end": 5318,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 8
},
"end": {
- "line": 185,
+ "line": 186,
"column": 120
}
},
"left": {
"type": "LogicalExpression",
- "start": 5182,
- "end": 5233,
+ "start": 5206,
+ "end": 5257,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 8
},
"end": {
- "line": 185,
+ "line": 186,
"column": 59
}
},
"left": {
"type": "BinaryExpression",
- "start": 5182,
- "end": 5194,
+ "start": 5206,
+ "end": 5218,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 8
},
"end": {
- "line": 185,
+ "line": 186,
"column": 20
}
},
"left": {
"type": "MemberExpression",
- "start": 5182,
- "end": 5190,
+ "start": 5206,
+ "end": 5214,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 8
},
"end": {
- "line": 185,
+ "line": 186,
"column": 16
}
},
"object": {
"type": "Identifier",
- "start": 5182,
- "end": 5185,
+ "start": 5206,
+ "end": 5209,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 8
},
"end": {
- "line": 185,
+ "line": 186,
"column": 11
},
"identifierName": "obj"
@@ -7329,15 +7384,15 @@
},
"property": {
"type": "Identifier",
- "start": 5186,
- "end": 5190,
+ "start": 5210,
+ "end": 5214,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 12
},
"end": {
- "line": 185,
+ "line": 186,
"column": 16
},
"identifierName": "posX"
@@ -7349,15 +7404,15 @@
"operator": ">",
"right": {
"type": "NumericLiteral",
- "start": 5193,
- "end": 5194,
+ "start": 5217,
+ "end": 5218,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 19
},
"end": {
- "line": 185,
+ "line": 186,
"column": 20
}
},
@@ -7371,43 +7426,43 @@
"operator": "&&",
"right": {
"type": "BinaryExpression",
- "start": 5198,
- "end": 5233,
+ "start": 5222,
+ "end": 5257,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 24
},
"end": {
- "line": 185,
+ "line": 186,
"column": 59
}
},
"left": {
"type": "MemberExpression",
- "start": 5198,
- "end": 5206,
+ "start": 5222,
+ "end": 5230,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 24
},
"end": {
- "line": 185,
+ "line": 186,
"column": 32
}
},
"object": {
"type": "Identifier",
- "start": 5198,
- "end": 5201,
+ "start": 5222,
+ "end": 5225,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 24
},
"end": {
- "line": 185,
+ "line": 186,
"column": 27
},
"identifierName": "obj"
@@ -7416,15 +7471,15 @@
},
"property": {
"type": "Identifier",
- "start": 5202,
- "end": 5206,
+ "start": 5226,
+ "end": 5230,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 28
},
"end": {
- "line": 185,
+ "line": 186,
"column": 32
},
"identifierName": "posY"
@@ -7436,29 +7491,29 @@
"operator": ">",
"right": {
"type": "BinaryExpression",
- "start": 5209,
- "end": 5233,
+ "start": 5233,
+ "end": 5257,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 35
},
"end": {
- "line": 185,
+ "line": 186,
"column": 59
}
},
"left": {
"type": "UnaryExpression",
- "start": 5209,
- "end": 5229,
+ "start": 5233,
+ "end": 5253,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 35
},
"end": {
- "line": 185,
+ "line": 186,
"column": 55
}
},
@@ -7466,29 +7521,29 @@
"prefix": true,
"argument": {
"type": "MemberExpression",
- "start": 5210,
- "end": 5229,
+ "start": 5234,
+ "end": 5253,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 36
},
"end": {
- "line": 185,
+ "line": 186,
"column": 55
}
},
"object": {
"type": "Identifier",
- "start": 5210,
- "end": 5216,
+ "start": 5234,
+ "end": 5240,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 36
},
"end": {
- "line": 185,
+ "line": 186,
"column": 42
},
"identifierName": "GLOBAL"
@@ -7497,15 +7552,15 @@
},
"property": {
"type": "Identifier",
- "start": 5217,
- "end": 5229,
+ "start": 5241,
+ "end": 5253,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 43
},
"end": {
- "line": 185,
+ "line": 186,
"column": 55
},
"identifierName": "GRID_SPACING"
@@ -7521,15 +7576,15 @@
"operator": "*",
"right": {
"type": "NumericLiteral",
- "start": 5232,
- "end": 5233,
+ "start": 5256,
+ "end": 5257,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 58
},
"end": {
- "line": 185,
+ "line": 186,
"column": 59
}
},
@@ -7545,43 +7600,43 @@
"operator": "&&",
"right": {
"type": "BinaryExpression",
- "start": 5237,
- "end": 5294,
+ "start": 5261,
+ "end": 5318,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 63
},
"end": {
- "line": 185,
+ "line": 186,
"column": 120
}
},
"left": {
"type": "MemberExpression",
- "start": 5237,
- "end": 5245,
+ "start": 5261,
+ "end": 5269,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 63
},
"end": {
- "line": 185,
+ "line": 186,
"column": 71
}
},
"object": {
"type": "Identifier",
- "start": 5237,
- "end": 5240,
+ "start": 5261,
+ "end": 5264,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 63
},
"end": {
- "line": 185,
+ "line": 186,
"column": 66
},
"identifierName": "obj"
@@ -7590,15 +7645,15 @@
},
"property": {
"type": "Identifier",
- "start": 5241,
- "end": 5245,
+ "start": 5265,
+ "end": 5269,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 67
},
"end": {
- "line": 185,
+ "line": 186,
"column": 71
},
"identifierName": "posX"
@@ -7610,71 +7665,71 @@
"operator": "<",
"right": {
"type": "BinaryExpression",
- "start": 5248,
- "end": 5294,
+ "start": 5272,
+ "end": 5318,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 74
},
"end": {
- "line": 185,
+ "line": 186,
"column": 120
}
},
"left": {
"type": "BinaryExpression",
- "start": 5248,
- "end": 5290,
+ "start": 5272,
+ "end": 5314,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 74
},
"end": {
- "line": 185,
+ "line": 186,
"column": 116
}
},
"left": {
"type": "MemberExpression",
- "start": 5248,
- "end": 5268,
+ "start": 5272,
+ "end": 5292,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 74
},
"end": {
- "line": 185,
+ "line": 186,
"column": 94
}
},
"object": {
"type": "MemberExpression",
- "start": 5248,
- "end": 5261,
+ "start": 5272,
+ "end": 5285,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 74
},
"end": {
- "line": 185,
+ "line": 186,
"column": 87
}
},
"object": {
"type": "Identifier",
- "start": 5248,
- "end": 5258,
+ "start": 5272,
+ "end": 5282,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 74
},
"end": {
- "line": 185,
+ "line": 186,
"column": 84
},
"identifierName": "MAP_LAYOUT"
@@ -7683,15 +7738,15 @@
},
"property": {
"type": "NumericLiteral",
- "start": 5259,
- "end": 5260,
+ "start": 5283,
+ "end": 5284,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 85
},
"end": {
- "line": 185,
+ "line": 186,
"column": 86
}
},
@@ -7705,15 +7760,15 @@
},
"property": {
"type": "Identifier",
- "start": 5262,
- "end": 5268,
+ "start": 5286,
+ "end": 5292,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 88
},
"end": {
- "line": 185,
+ "line": 186,
"column": 94
},
"identifierName": "length"
@@ -7725,29 +7780,29 @@
"operator": "*",
"right": {
"type": "MemberExpression",
- "start": 5271,
- "end": 5290,
+ "start": 5295,
+ "end": 5314,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 97
},
"end": {
- "line": 185,
+ "line": 186,
"column": 116
}
},
"object": {
"type": "Identifier",
- "start": 5271,
- "end": 5277,
+ "start": 5295,
+ "end": 5301,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 97
},
"end": {
- "line": 185,
+ "line": 186,
"column": 103
},
"identifierName": "GLOBAL"
@@ -7756,15 +7811,15 @@
},
"property": {
"type": "Identifier",
- "start": 5278,
- "end": 5290,
+ "start": 5302,
+ "end": 5314,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 104
},
"end": {
- "line": 185,
+ "line": 186,
"column": 116
},
"identifierName": "GRID_SPACING"
@@ -7777,15 +7832,15 @@
"operator": "*",
"right": {
"type": "NumericLiteral",
- "start": 5293,
- "end": 5294,
+ "start": 5317,
+ "end": 5318,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 119
},
"end": {
- "line": 185,
+ "line": 186,
"column": 120
}
},
@@ -7801,43 +7856,43 @@
"operator": "&&",
"right": {
"type": "BinaryExpression",
- "start": 5298,
- "end": 5358,
+ "start": 5322,
+ "end": 5382,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 124
},
"end": {
- "line": 185,
+ "line": 186,
"column": 184
}
},
"left": {
"type": "MemberExpression",
- "start": 5298,
- "end": 5306,
+ "start": 5322,
+ "end": 5330,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 124
},
"end": {
- "line": 185,
+ "line": 186,
"column": 132
}
},
"object": {
"type": "Identifier",
- "start": 5298,
- "end": 5301,
+ "start": 5322,
+ "end": 5325,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 124
},
"end": {
- "line": 185,
+ "line": 186,
"column": 127
},
"identifierName": "obj"
@@ -7846,15 +7901,15 @@
},
"property": {
"type": "Identifier",
- "start": 5302,
- "end": 5306,
+ "start": 5326,
+ "end": 5330,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 128
},
"end": {
- "line": 185,
+ "line": 186,
"column": 132
},
"identifierName": "posY"
@@ -7866,71 +7921,71 @@
"operator": "<",
"right": {
"type": "BinaryExpression",
- "start": 5309,
- "end": 5358,
+ "start": 5333,
+ "end": 5382,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 135
},
"end": {
- "line": 185,
+ "line": 186,
"column": 184
}
},
"left": {
"type": "BinaryExpression",
- "start": 5309,
- "end": 5354,
+ "start": 5333,
+ "end": 5378,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 135
},
"end": {
- "line": 185,
+ "line": 186,
"column": 180
}
},
"left": {
"type": "BinaryExpression",
- "start": 5310,
- "end": 5331,
+ "start": 5334,
+ "end": 5355,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 136
},
"end": {
- "line": 185,
+ "line": 186,
"column": 157
}
},
"left": {
"type": "MemberExpression",
- "start": 5310,
- "end": 5327,
+ "start": 5334,
+ "end": 5351,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 136
},
"end": {
- "line": 185,
+ "line": 186,
"column": 153
}
},
"object": {
"type": "Identifier",
- "start": 5310,
- "end": 5320,
+ "start": 5334,
+ "end": 5344,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 136
},
"end": {
- "line": 185,
+ "line": 186,
"column": 146
},
"identifierName": "MAP_LAYOUT"
@@ -7939,15 +7994,15 @@
},
"property": {
"type": "Identifier",
- "start": 5321,
- "end": 5327,
+ "start": 5345,
+ "end": 5351,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 147
},
"end": {
- "line": 185,
+ "line": 186,
"column": 153
},
"identifierName": "length"
@@ -7959,15 +8014,15 @@
"operator": "-",
"right": {
"type": "NumericLiteral",
- "start": 5330,
- "end": 5331,
+ "start": 5354,
+ "end": 5355,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 156
},
"end": {
- "line": 185,
+ "line": 186,
"column": 157
}
},
@@ -7979,35 +8034,35 @@
},
"extra": {
"parenthesized": true,
- "parenStart": 5309
+ "parenStart": 5333
}
},
"operator": "*",
"right": {
"type": "MemberExpression",
- "start": 5335,
- "end": 5354,
+ "start": 5359,
+ "end": 5378,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 161
},
"end": {
- "line": 185,
+ "line": 186,
"column": 180
}
},
"object": {
"type": "Identifier",
- "start": 5335,
- "end": 5341,
+ "start": 5359,
+ "end": 5365,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 161
},
"end": {
- "line": 185,
+ "line": 186,
"column": 167
},
"identifierName": "GLOBAL"
@@ -8016,15 +8071,15 @@
},
"property": {
"type": "Identifier",
- "start": 5342,
- "end": 5354,
+ "start": 5366,
+ "end": 5378,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 168
},
"end": {
- "line": 185,
+ "line": 186,
"column": 180
},
"identifierName": "GRID_SPACING"
@@ -8037,15 +8092,15 @@
"operator": "*",
"right": {
"type": "NumericLiteral",
- "start": 5357,
- "end": 5358,
+ "start": 5381,
+ "end": 5382,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 183
},
"end": {
- "line": 185,
+ "line": 186,
"column": 184
}
},
@@ -8067,15 +8122,15 @@
{
"type": "CommentBlock",
"value": "*\n * Returns true if the object parameter is within the map boundaries.\n * @param {GameObject} obj The object to test\n * @return true if the object parameter is within the map boundaries\n ",
- "start": 4946,
- "end": 5138,
+ "start": 4970,
+ "end": 5162,
"loc": {
"start": {
- "line": 179,
+ "line": 180,
"column": 0
},
"end": {
- "line": 183,
+ "line": 184,
"column": 3
}
}
@@ -8085,15 +8140,15 @@
{
"type": "CommentBlock",
"value": "*\n * Gets the tile directly underneath any object.\n * @param {*} obj Any valid GameObject.\n * @returns {string} one-letter ID of current tile.\n ",
- "start": 5362,
- "end": 5510,
+ "start": 5386,
+ "end": 5534,
"loc": {
"start": {
- "line": 188,
+ "line": 189,
"column": 0
},
"end": {
- "line": 192,
+ "line": 193,
"column": 3
}
}
@@ -8104,15 +8159,15 @@
{
"type": "CommentBlock",
"value": "*\n * Returns true if the object parameter is within the map boundaries.\n * @param {GameObject} obj The object to test\n * @return true if the object parameter is within the map boundaries\n ",
- "start": 4946,
- "end": 5138,
+ "start": 4970,
+ "end": 5162,
"loc": {
"start": {
- "line": 179,
+ "line": 180,
"column": 0
},
"end": {
- "line": 183,
+ "line": 184,
"column": 3
}
}
@@ -8122,15 +8177,15 @@
{
"type": "CommentBlock",
"value": "*\n * Gets the tile directly underneath any object.\n * @param {*} obj Any valid GameObject.\n * @returns {string} one-letter ID of current tile.\n ",
- "start": 5362,
- "end": 5510,
+ "start": 5386,
+ "end": 5534,
"loc": {
"start": {
- "line": 188,
+ "line": 189,
"column": 0
},
"end": {
- "line": 192,
+ "line": 193,
"column": 3
}
}
@@ -8139,15 +8194,15 @@
},
{
"type": "ExportNamedDeclaration",
- "start": 5511,
- "end": 5672,
+ "start": 5535,
+ "end": 5696,
"loc": {
"start": {
- "line": 193,
+ "line": 194,
"column": 0
},
"end": {
- "line": 202,
+ "line": 203,
"column": 1
}
},
@@ -8155,29 +8210,29 @@
"source": null,
"declaration": {
"type": "FunctionDeclaration",
- "start": 5518,
- "end": 5672,
+ "start": 5542,
+ "end": 5696,
"loc": {
"start": {
- "line": 193,
+ "line": 194,
"column": 7
},
"end": {
- "line": 202,
+ "line": 203,
"column": 1
}
},
"id": {
"type": "Identifier",
- "start": 5527,
- "end": 5538,
+ "start": 5551,
+ "end": 5562,
"loc": {
"start": {
- "line": 193,
+ "line": 194,
"column": 16
},
"end": {
- "line": 193,
+ "line": 194,
"column": 27
},
"identifierName": "getCurrTile"
@@ -8191,15 +8246,15 @@
"params": [
{
"type": "Identifier",
- "start": 5540,
- "end": 5543,
+ "start": 5564,
+ "end": 5567,
"loc": {
"start": {
- "line": 193,
+ "line": 194,
"column": 29
},
"end": {
- "line": 193,
+ "line": 194,
"column": 32
},
"identifierName": "obj"
@@ -8209,59 +8264,59 @@
],
"body": {
"type": "BlockStatement",
- "start": 5545,
- "end": 5672,
+ "start": 5569,
+ "end": 5696,
"loc": {
"start": {
- "line": 193,
+ "line": 194,
"column": 34
},
"end": {
- "line": 202,
+ "line": 203,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
- "start": 5548,
- "end": 5580,
+ "start": 5572,
+ "end": 5604,
"loc": {
"start": {
- "line": 194,
+ "line": 195,
"column": 1
},
"end": {
- "line": 194,
+ "line": 195,
"column": 33
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 5552,
- "end": 5580,
+ "start": 5576,
+ "end": 5604,
"loc": {
"start": {
- "line": 194,
+ "line": 195,
"column": 5
},
"end": {
- "line": 194,
+ "line": 195,
"column": 33
}
},
"id": {
"type": "Identifier",
- "start": 5552,
- "end": 5555,
+ "start": 5576,
+ "end": 5579,
"loc": {
"start": {
- "line": 194,
+ "line": 195,
"column": 5
},
"end": {
- "line": 194,
+ "line": 195,
"column": 8
},
"identifierName": "pos"
@@ -8270,29 +8325,29 @@
},
"init": {
"type": "CallExpression",
- "start": 5558,
- "end": 5580,
+ "start": 5582,
+ "end": 5604,
"loc": {
"start": {
- "line": 194,
+ "line": 195,
"column": 11
},
"end": {
- "line": 194,
+ "line": 195,
"column": 33
}
},
"callee": {
"type": "Identifier",
- "start": 5558,
- "end": 5575,
+ "start": 5582,
+ "end": 5599,
"loc": {
"start": {
- "line": 194,
+ "line": 195,
"column": 11
},
"end": {
- "line": 194,
+ "line": 195,
"column": 28
},
"identifierName": "getGlobalLocation"
@@ -8302,15 +8357,15 @@
"arguments": [
{
"type": "Identifier",
- "start": 5576,
- "end": 5579,
+ "start": 5600,
+ "end": 5603,
"loc": {
"start": {
- "line": 194,
+ "line": 195,
"column": 29
},
"end": {
- "line": 194,
+ "line": 195,
"column": 32
},
"identifierName": "obj"
@@ -8325,86 +8380,86 @@
},
{
"type": "TryStatement",
- "start": 5583,
- "end": 5670,
+ "start": 5607,
+ "end": 5694,
"loc": {
"start": {
- "line": 196,
+ "line": 197,
"column": 1
},
"end": {
- "line": 201,
+ "line": 202,
"column": 2
}
},
"block": {
"type": "BlockStatement",
- "start": 5587,
- "end": 5637,
+ "start": 5611,
+ "end": 5661,
"loc": {
"start": {
- "line": 196,
+ "line": 197,
"column": 5
},
"end": {
- "line": 198,
+ "line": 199,
"column": 2
}
},
"body": [
{
"type": "ReturnStatement",
- "start": 5591,
- "end": 5634,
+ "start": 5615,
+ "end": 5658,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 2
},
"end": {
- "line": 197,
+ "line": 198,
"column": 45
}
},
"argument": {
"type": "MemberExpression",
- "start": 5598,
- "end": 5634,
+ "start": 5622,
+ "end": 5658,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 9
},
"end": {
- "line": 197,
+ "line": 198,
"column": 45
}
},
"object": {
"type": "MemberExpression",
- "start": 5598,
- "end": 5621,
+ "start": 5622,
+ "end": 5645,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 9
},
"end": {
- "line": 197,
+ "line": 198,
"column": 32
}
},
"object": {
"type": "Identifier",
- "start": 5598,
- "end": 5608,
+ "start": 5622,
+ "end": 5632,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 9
},
"end": {
- "line": 197,
+ "line": 198,
"column": 19
},
"identifierName": "MAP_LAYOUT"
@@ -8413,29 +8468,29 @@
},
"property": {
"type": "MemberExpression",
- "start": 5609,
- "end": 5620,
+ "start": 5633,
+ "end": 5644,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 20
},
"end": {
- "line": 197,
+ "line": 198,
"column": 31
}
},
"object": {
"type": "Identifier",
- "start": 5609,
- "end": 5612,
+ "start": 5633,
+ "end": 5636,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 20
},
"end": {
- "line": 197,
+ "line": 198,
"column": 23
},
"identifierName": "pos"
@@ -8444,15 +8499,15 @@
},
"property": {
"type": "Identifier",
- "start": 5613,
- "end": 5620,
+ "start": 5637,
+ "end": 5644,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 24
},
"end": {
- "line": 197,
+ "line": 198,
"column": 31
},
"identifierName": "globalY"
@@ -8465,29 +8520,29 @@
},
"property": {
"type": "MemberExpression",
- "start": 5622,
- "end": 5633,
+ "start": 5646,
+ "end": 5657,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 33
},
"end": {
- "line": 197,
+ "line": 198,
"column": 44
}
},
"object": {
"type": "Identifier",
- "start": 5622,
- "end": 5625,
+ "start": 5646,
+ "end": 5649,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 33
},
"end": {
- "line": 197,
+ "line": 198,
"column": 36
},
"identifierName": "pos"
@@ -8496,15 +8551,15 @@
},
"property": {
"type": "Identifier",
- "start": 5626,
- "end": 5633,
+ "start": 5650,
+ "end": 5657,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 37
},
"end": {
- "line": 197,
+ "line": 198,
"column": 44
},
"identifierName": "globalX"
@@ -8521,29 +8576,29 @@
},
"handler": {
"type": "CatchClause",
- "start": 5639,
- "end": 5670,
+ "start": 5663,
+ "end": 5694,
"loc": {
"start": {
- "line": 199,
+ "line": 200,
"column": 1
},
"end": {
- "line": 201,
+ "line": 202,
"column": 2
}
},
"param": {
"type": "Identifier",
- "start": 5646,
- "end": 5651,
+ "start": 5670,
+ "end": 5675,
"loc": {
"start": {
- "line": 199,
+ "line": 200,
"column": 8
},
"end": {
- "line": 199,
+ "line": 200,
"column": 13
},
"identifierName": "error"
@@ -8552,44 +8607,44 @@
},
"body": {
"type": "BlockStatement",
- "start": 5653,
- "end": 5670,
+ "start": 5677,
+ "end": 5694,
"loc": {
"start": {
- "line": 199,
+ "line": 200,
"column": 15
},
"end": {
- "line": 201,
+ "line": 202,
"column": 2
}
},
"body": [
{
"type": "ReturnStatement",
- "start": 5657,
- "end": 5667,
+ "start": 5681,
+ "end": 5691,
"loc": {
"start": {
- "line": 200,
+ "line": 201,
"column": 2
},
"end": {
- "line": 200,
+ "line": 201,
"column": 12
}
},
"argument": {
"type": "StringLiteral",
- "start": 5664,
- "end": 5667,
+ "start": 5688,
+ "end": 5691,
"loc": {
"start": {
- "line": 200,
+ "line": 201,
"column": 9
},
"end": {
- "line": 200,
+ "line": 201,
"column": 12
}
},
@@ -8615,15 +8670,15 @@
{
"type": "CommentBlock",
"value": "*\n * Gets the tile directly underneath any object.\n * @param {*} obj Any valid GameObject.\n * @returns {string} one-letter ID of current tile.\n ",
- "start": 5362,
- "end": 5510,
+ "start": 5386,
+ "end": 5534,
"loc": {
"start": {
- "line": 188,
+ "line": 189,
"column": 0
},
"end": {
- "line": 192,
+ "line": 193,
"column": 3
}
}
@@ -8633,15 +8688,15 @@
{
"type": "CommentBlock",
"value": "*\n * Gets the coordinates of the tile directly underneath the object.\n * @param {*} obj Any valid GameObject.\n ",
- "start": 5674,
- "end": 5789,
+ "start": 5698,
+ "end": 5813,
"loc": {
"start": {
- "line": 204,
+ "line": 205,
"column": 0
},
"end": {
- "line": 207,
+ "line": 208,
"column": 3
}
}
@@ -8652,15 +8707,15 @@
{
"type": "CommentBlock",
"value": "*\n * Gets the tile directly underneath any object.\n * @param {*} obj Any valid GameObject.\n * @returns {string} one-letter ID of current tile.\n ",
- "start": 5362,
- "end": 5510,
+ "start": 5386,
+ "end": 5534,
"loc": {
"start": {
- "line": 188,
+ "line": 189,
"column": 0
},
"end": {
- "line": 192,
+ "line": 193,
"column": 3
}
}
@@ -8670,15 +8725,15 @@
{
"type": "CommentBlock",
"value": "*\n * Gets the coordinates of the tile directly underneath the object.\n * @param {*} obj Any valid GameObject.\n ",
- "start": 5674,
- "end": 5789,
+ "start": 5698,
+ "end": 5813,
"loc": {
"start": {
- "line": 204,
+ "line": 205,
"column": 0
},
"end": {
- "line": 207,
+ "line": 208,
"column": 3
}
}
@@ -8687,15 +8742,15 @@
},
{
"type": "ExportNamedDeclaration",
- "start": 5790,
- "end": 5971,
+ "start": 5814,
+ "end": 5995,
"loc": {
"start": {
- "line": 208,
+ "line": 209,
"column": 0
},
"end": {
- "line": 213,
+ "line": 214,
"column": 1
}
},
@@ -8703,29 +8758,29 @@
"source": null,
"declaration": {
"type": "FunctionDeclaration",
- "start": 5797,
- "end": 5971,
+ "start": 5821,
+ "end": 5995,
"loc": {
"start": {
- "line": 208,
+ "line": 209,
"column": 7
},
"end": {
- "line": 213,
+ "line": 214,
"column": 1
}
},
"id": {
"type": "Identifier",
- "start": 5806,
- "end": 5823,
+ "start": 5830,
+ "end": 5847,
"loc": {
"start": {
- "line": 208,
+ "line": 209,
"column": 16
},
"end": {
- "line": 208,
+ "line": 209,
"column": 33
},
"identifierName": "getGlobalLocation"
@@ -8739,15 +8794,15 @@
"params": [
{
"type": "Identifier",
- "start": 5825,
- "end": 5828,
+ "start": 5849,
+ "end": 5852,
"loc": {
"start": {
- "line": 208,
+ "line": 209,
"column": 35
},
"end": {
- "line": 208,
+ "line": 209,
"column": 38
},
"identifierName": "obj"
@@ -8757,59 +8812,59 @@
],
"body": {
"type": "BlockStatement",
- "start": 5830,
- "end": 5971,
+ "start": 5854,
+ "end": 5995,
"loc": {
"start": {
- "line": 208,
+ "line": 209,
"column": 40
},
"end": {
- "line": 213,
+ "line": 214,
"column": 1
}
},
"body": [
{
"type": "ReturnStatement",
- "start": 5833,
- "end": 5969,
+ "start": 5857,
+ "end": 5993,
"loc": {
"start": {
- "line": 209,
+ "line": 210,
"column": 1
},
"end": {
- "line": 212,
+ "line": 213,
"column": 2
}
},
"argument": {
"type": "ObjectExpression",
- "start": 5840,
- "end": 5969,
+ "start": 5864,
+ "end": 5993,
"loc": {
"start": {
- "line": 209,
+ "line": 210,
"column": 8
},
"end": {
- "line": 212,
+ "line": 213,
"column": 2
}
},
"properties": [
{
"type": "ObjectProperty",
- "start": 5844,
- "end": 5905,
+ "start": 5868,
+ "end": 5929,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 2
},
"end": {
- "line": 210,
+ "line": 211,
"column": 63
}
},
@@ -8818,15 +8873,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 5844,
- "end": 5851,
+ "start": 5868,
+ "end": 5875,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 2
},
"end": {
- "line": 210,
+ "line": 211,
"column": 9
},
"identifierName": "globalY"
@@ -8835,57 +8890,57 @@
},
"value": {
"type": "BinaryExpression",
- "start": 5853,
- "end": 5905,
+ "start": 5877,
+ "end": 5929,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 11
},
"end": {
- "line": 210,
+ "line": 211,
"column": 63
}
},
"left": {
"type": "CallExpression",
- "start": 5853,
- "end": 5901,
+ "start": 5877,
+ "end": 5925,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 11
},
"end": {
- "line": 210,
+ "line": 211,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
- "start": 5853,
- "end": 5863,
+ "start": 5877,
+ "end": 5887,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 11
},
"end": {
- "line": 210,
+ "line": 211,
"column": 21
}
},
"object": {
"type": "Identifier",
- "start": 5853,
- "end": 5857,
+ "start": 5877,
+ "end": 5881,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 11
},
"end": {
- "line": 210,
+ "line": 211,
"column": 15
},
"identifierName": "Math"
@@ -8894,15 +8949,15 @@
},
"property": {
"type": "Identifier",
- "start": 5858,
- "end": 5863,
+ "start": 5882,
+ "end": 5887,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 16
},
"end": {
- "line": 210,
+ "line": 211,
"column": 21
},
"identifierName": "floor"
@@ -8914,43 +8969,43 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 5864,
- "end": 5900,
+ "start": 5888,
+ "end": 5924,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 22
},
"end": {
- "line": 210,
+ "line": 211,
"column": 58
}
},
"left": {
"type": "MemberExpression",
- "start": 5864,
- "end": 5872,
+ "start": 5888,
+ "end": 5896,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 22
},
"end": {
- "line": 210,
+ "line": 211,
"column": 30
}
},
"object": {
"type": "Identifier",
- "start": 5864,
- "end": 5867,
+ "start": 5888,
+ "end": 5891,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 22
},
"end": {
- "line": 210,
+ "line": 211,
"column": 25
},
"identifierName": "obj"
@@ -8959,15 +9014,15 @@
},
"property": {
"type": "Identifier",
- "start": 5868,
- "end": 5872,
+ "start": 5892,
+ "end": 5896,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 26
},
"end": {
- "line": 210,
+ "line": 211,
"column": 30
},
"identifierName": "posY"
@@ -8979,43 +9034,43 @@
"operator": "/",
"right": {
"type": "BinaryExpression",
- "start": 5876,
- "end": 5899,
+ "start": 5900,
+ "end": 5923,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 34
},
"end": {
- "line": 210,
+ "line": 211,
"column": 57
}
},
"left": {
"type": "MemberExpression",
- "start": 5876,
- "end": 5895,
+ "start": 5900,
+ "end": 5919,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 34
},
"end": {
- "line": 210,
+ "line": 211,
"column": 53
}
},
"object": {
"type": "Identifier",
- "start": 5876,
- "end": 5882,
+ "start": 5900,
+ "end": 5906,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 34
},
"end": {
- "line": 210,
+ "line": 211,
"column": 40
},
"identifierName": "GLOBAL"
@@ -9024,15 +9079,15 @@
},
"property": {
"type": "Identifier",
- "start": 5883,
- "end": 5895,
+ "start": 5907,
+ "end": 5919,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 41
},
"end": {
- "line": 210,
+ "line": 211,
"column": 53
},
"identifierName": "GRID_SPACING"
@@ -9044,15 +9099,15 @@
"operator": "*",
"right": {
"type": "NumericLiteral",
- "start": 5898,
- "end": 5899,
+ "start": 5922,
+ "end": 5923,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 56
},
"end": {
- "line": 210,
+ "line": 211,
"column": 57
}
},
@@ -9064,7 +9119,7 @@
},
"extra": {
"parenthesized": true,
- "parenStart": 5875
+ "parenStart": 5899
}
}
}
@@ -9073,15 +9128,15 @@
"operator": "+",
"right": {
"type": "NumericLiteral",
- "start": 5904,
- "end": 5905,
+ "start": 5928,
+ "end": 5929,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 62
},
"end": {
- "line": 210,
+ "line": 211,
"column": 63
}
},
@@ -9095,15 +9150,15 @@
},
{
"type": "ObjectProperty",
- "start": 5909,
- "end": 5966,
+ "start": 5933,
+ "end": 5990,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 2
},
"end": {
- "line": 211,
+ "line": 212,
"column": 59
}
},
@@ -9112,15 +9167,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 5909,
- "end": 5916,
+ "start": 5933,
+ "end": 5940,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 2
},
"end": {
- "line": 211,
+ "line": 212,
"column": 9
},
"identifierName": "globalX"
@@ -9129,43 +9184,43 @@
},
"value": {
"type": "CallExpression",
- "start": 5918,
- "end": 5966,
+ "start": 5942,
+ "end": 5990,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 11
},
"end": {
- "line": 211,
+ "line": 212,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
- "start": 5918,
- "end": 5928,
+ "start": 5942,
+ "end": 5952,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 11
},
"end": {
- "line": 211,
+ "line": 212,
"column": 21
}
},
"object": {
"type": "Identifier",
- "start": 5918,
- "end": 5922,
+ "start": 5942,
+ "end": 5946,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 11
},
"end": {
- "line": 211,
+ "line": 212,
"column": 15
},
"identifierName": "Math"
@@ -9174,15 +9229,15 @@
},
"property": {
"type": "Identifier",
- "start": 5923,
- "end": 5928,
+ "start": 5947,
+ "end": 5952,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 16
},
"end": {
- "line": 211,
+ "line": 212,
"column": 21
},
"identifierName": "floor"
@@ -9194,43 +9249,43 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 5929,
- "end": 5965,
+ "start": 5953,
+ "end": 5989,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 22
},
"end": {
- "line": 211,
+ "line": 212,
"column": 58
}
},
"left": {
"type": "MemberExpression",
- "start": 5929,
- "end": 5937,
+ "start": 5953,
+ "end": 5961,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 22
},
"end": {
- "line": 211,
+ "line": 212,
"column": 30
}
},
"object": {
"type": "Identifier",
- "start": 5929,
- "end": 5932,
+ "start": 5953,
+ "end": 5956,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 22
},
"end": {
- "line": 211,
+ "line": 212,
"column": 25
},
"identifierName": "obj"
@@ -9239,15 +9294,15 @@
},
"property": {
"type": "Identifier",
- "start": 5933,
- "end": 5937,
+ "start": 5957,
+ "end": 5961,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 26
},
"end": {
- "line": 211,
+ "line": 212,
"column": 30
},
"identifierName": "posX"
@@ -9259,43 +9314,43 @@
"operator": "/",
"right": {
"type": "BinaryExpression",
- "start": 5941,
- "end": 5964,
+ "start": 5965,
+ "end": 5988,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 34
},
"end": {
- "line": 211,
+ "line": 212,
"column": 57
}
},
"left": {
"type": "MemberExpression",
- "start": 5941,
- "end": 5960,
+ "start": 5965,
+ "end": 5984,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 34
},
"end": {
- "line": 211,
+ "line": 212,
"column": 53
}
},
"object": {
"type": "Identifier",
- "start": 5941,
- "end": 5947,
+ "start": 5965,
+ "end": 5971,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 34
},
"end": {
- "line": 211,
+ "line": 212,
"column": 40
},
"identifierName": "GLOBAL"
@@ -9304,15 +9359,15 @@
},
"property": {
"type": "Identifier",
- "start": 5948,
- "end": 5960,
+ "start": 5972,
+ "end": 5984,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 41
},
"end": {
- "line": 211,
+ "line": 212,
"column": 53
},
"identifierName": "GRID_SPACING"
@@ -9324,15 +9379,15 @@
"operator": "*",
"right": {
"type": "NumericLiteral",
- "start": 5963,
- "end": 5964,
+ "start": 5987,
+ "end": 5988,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 56
},
"end": {
- "line": 211,
+ "line": 212,
"column": 57
}
},
@@ -9344,7 +9399,7 @@
},
"extra": {
"parenthesized": true,
- "parenStart": 5940
+ "parenStart": 5964
}
}
}
@@ -9361,15 +9416,15 @@
{
"type": "CommentBlock",
"value": "*\n * Gets the coordinates of the tile directly underneath the object.\n * @param {*} obj Any valid GameObject.\n ",
- "start": 5674,
- "end": 5789,
+ "start": 5698,
+ "end": 5813,
"loc": {
"start": {
- "line": 204,
+ "line": 205,
"column": 0
},
"end": {
- "line": 207,
+ "line": 208,
"column": 3
}
}
@@ -9381,15 +9436,15 @@
{
"type": "CommentBlock",
"value": "*\n * Gets the coordinates of the tile directly underneath the object.\n * @param {*} obj Any valid GameObject.\n ",
- "start": 5674,
- "end": 5789,
+ "start": 5698,
+ "end": 5813,
"loc": {
"start": {
- "line": 204,
+ "line": 205,
"column": 0
},
"end": {
- "line": 207,
+ "line": 208,
"column": 3
}
}
@@ -10075,15 +10130,15 @@
{
"type": "CommentLine",
"value": " Drawing",
- "start": 2759,
- "end": 2769,
+ "start": 2783,
+ "end": 2793,
"loc": {
"start": {
- "line": 92,
+ "line": 93,
"column": 1
},
"end": {
- "line": 92,
+ "line": 93,
"column": 11
}
}
@@ -10091,15 +10146,15 @@
{
"type": "CommentLine",
"value": " Radius around player in which to draw other objects",
- "start": 2790,
- "end": 2844,
+ "start": 2814,
+ "end": 2868,
"loc": {
"start": {
- "line": 93,
+ "line": 94,
"column": 20
},
"end": {
- "line": 93,
+ "line": 94,
"column": 74
}
}
@@ -10107,15 +10162,15 @@
{
"type": "CommentLine",
"value": " space between each line on the grid",
- "start": 2865,
- "end": 2903,
+ "start": 2889,
+ "end": 2927,
"loc": {
"start": {
- "line": 94,
+ "line": 95,
"column": 20
},
"end": {
- "line": 94,
+ "line": 95,
"column": 58
}
}
@@ -10123,15 +10178,15 @@
{
"type": "CommentLine",
"value": " Colors",
- "start": 2945,
- "end": 2954,
+ "start": 2969,
+ "end": 2978,
"loc": {
"start": {
- "line": 98,
+ "line": 99,
"column": 1
},
"end": {
- "line": 98,
+ "line": 99,
"column": 10
}
}
@@ -10139,15 +10194,15 @@
{
"type": "CommentLine",
"value": " Purple, Green, Orange, Red. No prefixes",
- "start": 2971,
- "end": 3013,
+ "start": 2995,
+ "end": 3037,
"loc": {
"start": {
- "line": 99,
+ "line": 100,
"column": 16
},
"end": {
- "line": 99,
+ "line": 100,
"column": 58
}
}
@@ -10155,15 +10210,15 @@
{
"type": "CommentLine",
"value": " Atoms: ID's and Sprites. ATOM_SPRITES[id] returns the texture location of atom of that id.",
- "start": 3111,
- "end": 3204,
+ "start": 3135,
+ "end": 3228,
"loc": {
"start": {
- "line": 108,
+ "line": 109,
"column": 1
},
"end": {
- "line": 108,
+ "line": 109,
"column": 94
}
}
@@ -10171,15 +10226,15 @@
{
"type": "CommentLine",
"value": " Location of spritesheet relative to pixigame",
- "start": 3417,
- "end": 3464,
+ "start": 3441,
+ "end": 3488,
"loc": {
"start": {
- "line": 126,
+ "line": 127,
"column": 1
},
"end": {
- "line": 126,
+ "line": 127,
"column": 48
}
}
@@ -10187,15 +10242,15 @@
{
"type": "CommentLine",
"value": " Used for main menu textures",
- "start": 3515,
- "end": 3545,
+ "start": 3539,
+ "end": 3569,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 1
},
"end": {
- "line": 129,
+ "line": 130,
"column": 31
}
}
@@ -10203,15 +10258,15 @@
{
"type": "CommentLine",
"value": " Each Value corresponds with the above event",
- "start": 3599,
- "end": 3645,
+ "start": 3623,
+ "end": 3669,
"loc": {
"start": {
- "line": 132,
+ "line": 133,
"column": 1
},
"end": {
- "line": 132,
+ "line": 133,
"column": 47
}
}
@@ -10219,15 +10274,15 @@
{
"type": "CommentLine",
"value": " The cutoffs for each level. Index 0 = level 1, 1 = level 2, etc",
- "start": 3699,
- "end": 3765,
+ "start": 3723,
+ "end": 3789,
"loc": {
"start": {
- "line": 138,
+ "line": 139,
"column": 1
},
"end": {
- "line": 138,
+ "line": 139,
"column": 67
}
}
@@ -10235,15 +10290,15 @@
{
"type": "CommentLine",
"value": " Deaths",
- "start": 4082,
- "end": 4091,
+ "start": 4106,
+ "end": 4115,
"loc": {
"start": {
- "line": 161,
+ "line": 162,
"column": 1
},
"end": {
- "line": 161,
+ "line": 162,
"column": 10
}
}
@@ -10251,15 +10306,15 @@
{
"type": "CommentLine",
"value": " How many points are awarded to the player/team who dealt the most damage to the player",
- "start": 4108,
- "end": 4197,
+ "start": 4132,
+ "end": 4221,
"loc": {
"start": {
- "line": 162,
+ "line": 163,
"column": 16
},
"end": {
- "line": 162,
+ "line": 163,
"column": 105
}
}
@@ -10267,15 +10322,15 @@
{
"type": "CommentLine",
"value": " How many points are awarded to all players who assist in killing the player",
- "start": 4216,
- "end": 4294,
+ "start": 4240,
+ "end": 4318,
"loc": {
"start": {
- "line": 163,
+ "line": 164,
"column": 18
},
"end": {
- "line": 163,
+ "line": 164,
"column": 96
}
}
@@ -10283,15 +10338,15 @@
{
"type": "CommentLine",
"value": " How many points are required to win the game per team. TODO increase",
- "start": 4315,
- "end": 4386,
+ "start": 4339,
+ "end": 4410,
"loc": {
"start": {
- "line": 164,
+ "line": 165,
"column": 20
},
"end": {
- "line": 164,
+ "line": 165,
"column": 91
}
}
@@ -10299,15 +10354,15 @@
{
"type": "CommentLine",
"value": " How many points are awarded to the team who captured a stronghold/vent",
- "start": 4406,
- "end": 4479,
+ "start": 4430,
+ "end": 4503,
"loc": {
"start": {
- "line": 165,
+ "line": 166,
"column": 19
},
"end": {
- "line": 165,
+ "line": 166,
"column": 92
}
}
@@ -10315,15 +10370,15 @@
{
"type": "CommentLine",
"value": " How many atoms of each type can be ejected on death at maximum. Prevents testers from ejecting thousands of atoms at a time.",
- "start": 4502,
- "end": 4629,
+ "start": 4526,
+ "end": 4653,
"loc": {
"start": {
- "line": 166,
+ "line": 167,
"column": 22
},
"end": {
- "line": 166,
+ "line": 167,
"column": 149
}
}
@@ -10331,15 +10386,15 @@
{
"type": "CommentBlock",
"value": "*\n * Returns the distance between two objects.\n * Both objects must be GameObjects\n * @param {GameObject} obj1 First object\n * @param {GameObject} obj2 Second object\n ",
- "start": 4633,
- "end": 4804,
+ "start": 4657,
+ "end": 4828,
"loc": {
"start": {
- "line": 169,
+ "line": 170,
"column": 0
},
"end": {
- "line": 174,
+ "line": 175,
"column": 3
}
}
@@ -10347,15 +10402,15 @@
{
"type": "CommentBlock",
"value": "*\n * Returns true if the object parameter is within the map boundaries.\n * @param {GameObject} obj The object to test\n * @return true if the object parameter is within the map boundaries\n ",
- "start": 4946,
- "end": 5138,
+ "start": 4970,
+ "end": 5162,
"loc": {
"start": {
- "line": 179,
+ "line": 180,
"column": 0
},
"end": {
- "line": 183,
+ "line": 184,
"column": 3
}
}
@@ -10363,15 +10418,15 @@
{
"type": "CommentBlock",
"value": "*\n * Gets the tile directly underneath any object.\n * @param {*} obj Any valid GameObject.\n * @returns {string} one-letter ID of current tile.\n ",
- "start": 5362,
- "end": 5510,
+ "start": 5386,
+ "end": 5534,
"loc": {
"start": {
- "line": 188,
+ "line": 189,
"column": 0
},
"end": {
- "line": 192,
+ "line": 193,
"column": 3
}
}
@@ -10379,15 +10434,15 @@
{
"type": "CommentBlock",
"value": "*\n * Gets the coordinates of the tile directly underneath the object.\n * @param {*} obj Any valid GameObject.\n ",
- "start": 5674,
- "end": 5789,
+ "start": 5698,
+ "end": 5813,
"loc": {
"start": {
- "line": 204,
+ "line": 205,
"column": 0
},
"end": {
- "line": 207,
+ "line": 208,
"column": 3
}
}
@@ -18124,22 +18179,6 @@
}
}
},
- {
- "type": "CommentLine",
- "value": " Drawing",
- "start": 2759,
- "end": 2769,
- "loc": {
- "start": {
- "line": 92,
- "column": 1
- },
- "end": {
- "line": 92,
- "column": 11
- }
- }
- },
{
"type": {
"label": "name",
@@ -18152,17 +18191,17 @@
"postfix": false,
"binop": null
},
- "value": "DRAW_RADIUS",
- "start": 2771,
- "end": 2782,
+ "value": "STRONGHOLD_DEFENSE",
+ "start": 2758,
+ "end": 2776,
"loc": {
"start": {
- "line": 93,
+ "line": 91,
"column": 1
},
"end": {
- "line": 93,
- "column": 12
+ "line": 91,
+ "column": 19
}
}
},
@@ -18179,16 +18218,16 @@
"binop": null,
"updateContext": null
},
- "start": 2782,
- "end": 2783,
+ "start": 2776,
+ "end": 2777,
"loc": {
"start": {
- "line": 93,
- "column": 12
+ "line": 91,
+ "column": 19
},
"end": {
- "line": 93,
- "column": 13
+ "line": 91,
+ "column": 20
}
}
},
@@ -18205,17 +18244,17 @@
"binop": null,
"updateContext": null
},
- "value": 1000,
- "start": 2784,
- "end": 2788,
+ "value": 5,
+ "start": 2778,
+ "end": 2779,
"loc": {
"start": {
- "line": 93,
- "column": 14
+ "line": 91,
+ "column": 21
},
"end": {
- "line": 93,
- "column": 18
+ "line": 91,
+ "column": 22
}
}
},
@@ -18232,32 +18271,32 @@
"binop": null,
"updateContext": null
},
- "start": 2788,
- "end": 2789,
+ "start": 2779,
+ "end": 2780,
"loc": {
"start": {
- "line": 93,
- "column": 18
+ "line": 91,
+ "column": 22
},
"end": {
- "line": 93,
- "column": 19
+ "line": 91,
+ "column": 23
}
}
},
{
"type": "CommentLine",
- "value": " Radius around player in which to draw other objects",
- "start": 2790,
- "end": 2844,
+ "value": " Drawing",
+ "start": 2783,
+ "end": 2793,
"loc": {
"start": {
"line": 93,
- "column": 20
+ "column": 1
},
"end": {
"line": 93,
- "column": 74
+ "column": 11
}
}
},
@@ -18273,9 +18312,9 @@
"postfix": false,
"binop": null
},
- "value": "GRID_SPACING",
- "start": 2846,
- "end": 2858,
+ "value": "DRAW_RADIUS",
+ "start": 2795,
+ "end": 2806,
"loc": {
"start": {
"line": 94,
@@ -18283,7 +18322,7 @@
},
"end": {
"line": 94,
- "column": 13
+ "column": 12
}
}
},
@@ -18300,16 +18339,16 @@
"binop": null,
"updateContext": null
},
- "start": 2858,
- "end": 2859,
+ "start": 2806,
+ "end": 2807,
"loc": {
"start": {
"line": 94,
- "column": 13
+ "column": 12
},
"end": {
"line": 94,
- "column": 14
+ "column": 13
}
}
},
@@ -18326,13 +18365,13 @@
"binop": null,
"updateContext": null
},
- "value": 200,
- "start": 2860,
- "end": 2863,
+ "value": 1000,
+ "start": 2808,
+ "end": 2812,
"loc": {
"start": {
"line": 94,
- "column": 15
+ "column": 14
},
"end": {
"line": 94,
@@ -18353,8 +18392,8 @@
"binop": null,
"updateContext": null
},
- "start": 2863,
- "end": 2864,
+ "start": 2812,
+ "end": 2813,
"loc": {
"start": {
"line": 94,
@@ -18368,9 +18407,9 @@
},
{
"type": "CommentLine",
- "value": " space between each line on the grid",
- "start": 2865,
- "end": 2903,
+ "value": " Radius around player in which to draw other objects",
+ "start": 2814,
+ "end": 2868,
"loc": {
"start": {
"line": 94,
@@ -18378,7 +18417,7 @@
},
"end": {
"line": 94,
- "column": 58
+ "column": 74
}
}
},
@@ -18394,9 +18433,9 @@
"postfix": false,
"binop": null
},
- "value": "GRID_LINE_STROKE",
- "start": 2905,
- "end": 2921,
+ "value": "GRID_SPACING",
+ "start": 2870,
+ "end": 2882,
"loc": {
"start": {
"line": 95,
@@ -18404,7 +18443,7 @@
},
"end": {
"line": 95,
- "column": 17
+ "column": 13
}
}
},
@@ -18421,16 +18460,16 @@
"binop": null,
"updateContext": null
},
- "start": 2921,
- "end": 2922,
+ "start": 2882,
+ "end": 2883,
"loc": {
"start": {
"line": 95,
- "column": 17
+ "column": 13
},
"end": {
"line": 95,
- "column": 18
+ "column": 14
}
}
},
@@ -18447,17 +18486,17 @@
"binop": null,
"updateContext": null
},
- "value": 1,
- "start": 2923,
- "end": 2924,
+ "value": 200,
+ "start": 2884,
+ "end": 2887,
"loc": {
"start": {
"line": 95,
- "column": 19
+ "column": 15
},
"end": {
"line": 95,
- "column": 20
+ "column": 18
}
}
},
@@ -18474,8 +18513,24 @@
"binop": null,
"updateContext": null
},
- "start": 2924,
- "end": 2925,
+ "start": 2887,
+ "end": 2888,
+ "loc": {
+ "start": {
+ "line": 95,
+ "column": 18
+ },
+ "end": {
+ "line": 95,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " space between each line on the grid",
+ "start": 2889,
+ "end": 2927,
"loc": {
"start": {
"line": 95,
@@ -18483,7 +18538,7 @@
},
"end": {
"line": 95,
- "column": 21
+ "column": 58
}
}
},
@@ -18499,9 +18554,9 @@
"postfix": false,
"binop": null
},
- "value": "FRAME_RATE",
- "start": 2927,
- "end": 2937,
+ "value": "GRID_LINE_STROKE",
+ "start": 2929,
+ "end": 2945,
"loc": {
"start": {
"line": 96,
@@ -18509,7 +18564,7 @@
},
"end": {
"line": 96,
- "column": 11
+ "column": 17
}
}
},
@@ -18526,15 +18581,120 @@
"binop": null,
"updateContext": null
},
- "start": 2937,
- "end": 2938,
+ "start": 2945,
+ "end": 2946,
"loc": {
"start": {
"line": 96,
- "column": 11
+ "column": 17
},
"end": {
"line": 96,
+ "column": 18
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "num",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": 1,
+ "start": 2947,
+ "end": 2948,
+ "loc": {
+ "start": {
+ "line": 96,
+ "column": 19
+ },
+ "end": {
+ "line": 96,
+ "column": 20
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 2948,
+ "end": 2949,
+ "loc": {
+ "start": {
+ "line": 96,
+ "column": 20
+ },
+ "end": {
+ "line": 96,
+ "column": 21
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "FRAME_RATE",
+ "start": 2951,
+ "end": 2961,
+ "loc": {
+ "start": {
+ "line": 97,
+ "column": 1
+ },
+ "end": {
+ "line": 97,
+ "column": 11
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ":",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 2961,
+ "end": 2962,
+ "loc": {
+ "start": {
+ "line": 97,
+ "column": 11
+ },
+ "end": {
+ "line": 97,
"column": 12
}
}
@@ -18553,15 +18713,15 @@
"updateContext": null
},
"value": 60,
- "start": 2939,
- "end": 2941,
+ "start": 2963,
+ "end": 2965,
"loc": {
"start": {
- "line": 96,
+ "line": 97,
"column": 13
},
"end": {
- "line": 96,
+ "line": 97,
"column": 15
}
}
@@ -18579,15 +18739,15 @@
"binop": null,
"updateContext": null
},
- "start": 2941,
- "end": 2942,
+ "start": 2965,
+ "end": 2966,
"loc": {
"start": {
- "line": 96,
+ "line": 97,
"column": 15
},
"end": {
- "line": 96,
+ "line": 97,
"column": 16
}
}
@@ -18595,15 +18755,15 @@
{
"type": "CommentLine",
"value": " Colors",
- "start": 2945,
- "end": 2954,
+ "start": 2969,
+ "end": 2978,
"loc": {
"start": {
- "line": 98,
+ "line": 99,
"column": 1
},
"end": {
- "line": 98,
+ "line": 99,
"column": 10
}
}
@@ -18621,15 +18781,15 @@
"binop": null
},
"value": "TEAM_COLORS",
- "start": 2956,
- "end": 2967,
+ "start": 2980,
+ "end": 2991,
"loc": {
"start": {
- "line": 99,
+ "line": 100,
"column": 1
},
"end": {
- "line": 99,
+ "line": 100,
"column": 12
}
}
@@ -18647,15 +18807,15 @@
"binop": null,
"updateContext": null
},
- "start": 2967,
- "end": 2968,
+ "start": 2991,
+ "end": 2992,
"loc": {
"start": {
- "line": 99,
+ "line": 100,
"column": 12
},
"end": {
- "line": 99,
+ "line": 100,
"column": 13
}
}
@@ -18673,15 +18833,15 @@
"binop": null,
"updateContext": null
},
- "start": 2969,
- "end": 2970,
+ "start": 2993,
+ "end": 2994,
"loc": {
"start": {
- "line": 99,
+ "line": 100,
"column": 14
},
"end": {
- "line": 99,
+ "line": 100,
"column": 15
}
}
@@ -18689,15 +18849,15 @@
{
"type": "CommentLine",
"value": " Purple, Green, Orange, Red. No prefixes",
- "start": 2971,
- "end": 3013,
+ "start": 2995,
+ "end": 3037,
"loc": {
"start": {
- "line": 99,
+ "line": 100,
"column": 16
},
"end": {
- "line": 99,
+ "line": 100,
"column": 58
}
}
@@ -18716,15 +18876,15 @@
"updateContext": null
},
"value": "673ab7",
- "start": 3016,
- "end": 3024,
+ "start": 3040,
+ "end": 3048,
"loc": {
"start": {
- "line": 100,
+ "line": 101,
"column": 2
},
"end": {
- "line": 100,
+ "line": 101,
"column": 10
}
}
@@ -18742,15 +18902,15 @@
"binop": null,
"updateContext": null
},
- "start": 3024,
- "end": 3025,
+ "start": 3048,
+ "end": 3049,
"loc": {
"start": {
- "line": 100,
+ "line": 101,
"column": 10
},
"end": {
- "line": 100,
+ "line": 101,
"column": 11
}
}
@@ -18769,15 +18929,15 @@
"updateContext": null
},
"value": "2e7d32",
- "start": 3028,
- "end": 3036,
+ "start": 3052,
+ "end": 3060,
"loc": {
"start": {
- "line": 101,
+ "line": 102,
"column": 2
},
"end": {
- "line": 101,
+ "line": 102,
"column": 10
}
}
@@ -18795,15 +18955,15 @@
"binop": null,
"updateContext": null
},
- "start": 3036,
- "end": 3037,
+ "start": 3060,
+ "end": 3061,
"loc": {
"start": {
- "line": 101,
+ "line": 102,
"column": 10
},
"end": {
- "line": 101,
+ "line": 102,
"column": 11
}
}
@@ -18822,15 +18982,15 @@
"updateContext": null
},
"value": "ff8f00",
- "start": 3040,
- "end": 3048,
+ "start": 3064,
+ "end": 3072,
"loc": {
"start": {
- "line": 102,
+ "line": 103,
"column": 2
},
"end": {
- "line": 102,
+ "line": 103,
"column": 10
}
}
@@ -18848,15 +19008,15 @@
"binop": null,
"updateContext": null
},
- "start": 3048,
- "end": 3049,
+ "start": 3072,
+ "end": 3073,
"loc": {
"start": {
- "line": 102,
+ "line": 103,
"column": 10
},
"end": {
- "line": 102,
+ "line": 103,
"column": 11
}
}
@@ -18875,15 +19035,15 @@
"updateContext": null
},
"value": "f44336",
- "start": 3052,
- "end": 3060,
+ "start": 3076,
+ "end": 3084,
"loc": {
"start": {
- "line": 103,
+ "line": 104,
"column": 2
},
"end": {
- "line": 103,
+ "line": 104,
"column": 10
}
}
@@ -18901,15 +19061,15 @@
"binop": null,
"updateContext": null
},
- "start": 3062,
- "end": 3063,
+ "start": 3086,
+ "end": 3087,
"loc": {
"start": {
- "line": 104,
+ "line": 105,
"column": 1
},
"end": {
- "line": 104,
+ "line": 105,
"column": 2
}
}
@@ -18927,15 +19087,15 @@
"binop": null,
"updateContext": null
},
- "start": 3063,
- "end": 3064,
+ "start": 3087,
+ "end": 3088,
"loc": {
"start": {
- "line": 104,
+ "line": 105,
"column": 2
},
"end": {
- "line": 104,
+ "line": 105,
"column": 3
}
}
@@ -18953,15 +19113,15 @@
"binop": null
},
"value": "IGNITE_SPRITE",
- "start": 3067,
- "end": 3080,
+ "start": 3091,
+ "end": 3104,
"loc": {
"start": {
- "line": 106,
+ "line": 107,
"column": 1
},
"end": {
- "line": 106,
+ "line": 107,
"column": 14
}
}
@@ -18979,15 +19139,15 @@
"binop": null,
"updateContext": null
},
- "start": 3080,
- "end": 3081,
+ "start": 3104,
+ "end": 3105,
"loc": {
"start": {
- "line": 106,
+ "line": 107,
"column": 14
},
"end": {
- "line": 106,
+ "line": 107,
"column": 15
}
}
@@ -19006,15 +19166,15 @@
"updateContext": null
},
"value": "placeholder_ignited.png",
- "start": 3082,
- "end": 3107,
+ "start": 3106,
+ "end": 3131,
"loc": {
"start": {
- "line": 106,
+ "line": 107,
"column": 16
},
"end": {
- "line": 106,
+ "line": 107,
"column": 41
}
}
@@ -19032,15 +19192,15 @@
"binop": null,
"updateContext": null
},
- "start": 3107,
- "end": 3108,
+ "start": 3131,
+ "end": 3132,
"loc": {
"start": {
- "line": 106,
+ "line": 107,
"column": 41
},
"end": {
- "line": 106,
+ "line": 107,
"column": 42
}
}
@@ -19048,15 +19208,15 @@
{
"type": "CommentLine",
"value": " Atoms: ID's and Sprites. ATOM_SPRITES[id] returns the texture location of atom of that id.",
- "start": 3111,
- "end": 3204,
+ "start": 3135,
+ "end": 3228,
"loc": {
"start": {
- "line": 108,
+ "line": 109,
"column": 1
},
"end": {
- "line": 108,
+ "line": 109,
"column": 94
}
}
@@ -19074,15 +19234,15 @@
"binop": null
},
"value": "ATOM_IDS",
- "start": 3206,
- "end": 3214,
+ "start": 3230,
+ "end": 3238,
"loc": {
"start": {
- "line": 109,
+ "line": 110,
"column": 1
},
"end": {
- "line": 109,
+ "line": 110,
"column": 9
}
}
@@ -19100,15 +19260,15 @@
"binop": null,
"updateContext": null
},
- "start": 3214,
- "end": 3215,
+ "start": 3238,
+ "end": 3239,
"loc": {
"start": {
- "line": 109,
+ "line": 110,
"column": 9
},
"end": {
- "line": 109,
+ "line": 110,
"column": 10
}
}
@@ -19126,15 +19286,15 @@
"binop": null,
"updateContext": null
},
- "start": 3216,
- "end": 3217,
+ "start": 3240,
+ "end": 3241,
"loc": {
"start": {
- "line": 109,
+ "line": 110,
"column": 11
},
"end": {
- "line": 109,
+ "line": 110,
"column": 12
}
}
@@ -19153,15 +19313,15 @@
"updateContext": null
},
"value": "h",
- "start": 3220,
- "end": 3223,
+ "start": 3244,
+ "end": 3247,
"loc": {
"start": {
- "line": 110,
+ "line": 111,
"column": 2
},
"end": {
- "line": 110,
+ "line": 111,
"column": 5
}
}
@@ -19179,15 +19339,15 @@
"binop": null,
"updateContext": null
},
- "start": 3223,
- "end": 3224,
+ "start": 3247,
+ "end": 3248,
"loc": {
"start": {
- "line": 110,
+ "line": 111,
"column": 5
},
"end": {
- "line": 110,
+ "line": 111,
"column": 6
}
}
@@ -19206,15 +19366,15 @@
"updateContext": null
},
"value": "he",
- "start": 3227,
- "end": 3231,
+ "start": 3251,
+ "end": 3255,
"loc": {
"start": {
- "line": 111,
+ "line": 112,
"column": 2
},
"end": {
- "line": 111,
+ "line": 112,
"column": 6
}
}
@@ -19232,15 +19392,15 @@
"binop": null,
"updateContext": null
},
- "start": 3231,
- "end": 3232,
+ "start": 3255,
+ "end": 3256,
"loc": {
"start": {
- "line": 111,
+ "line": 112,
"column": 6
},
"end": {
- "line": 111,
+ "line": 112,
"column": 7
}
}
@@ -19259,15 +19419,15 @@
"updateContext": null
},
"value": "c",
- "start": 3235,
- "end": 3238,
+ "start": 3259,
+ "end": 3262,
"loc": {
"start": {
- "line": 112,
+ "line": 113,
"column": 2
},
"end": {
- "line": 112,
+ "line": 113,
"column": 5
}
}
@@ -19285,15 +19445,15 @@
"binop": null,
"updateContext": null
},
- "start": 3238,
- "end": 3239,
+ "start": 3262,
+ "end": 3263,
"loc": {
"start": {
- "line": 112,
+ "line": 113,
"column": 5
},
"end": {
- "line": 112,
+ "line": 113,
"column": 6
}
}
@@ -19312,15 +19472,15 @@
"updateContext": null
},
"value": "cl",
- "start": 3242,
- "end": 3246,
+ "start": 3266,
+ "end": 3270,
"loc": {
"start": {
- "line": 113,
+ "line": 114,
"column": 2
},
"end": {
- "line": 113,
+ "line": 114,
"column": 6
}
}
@@ -19338,15 +19498,15 @@
"binop": null,
"updateContext": null
},
- "start": 3246,
- "end": 3247,
+ "start": 3270,
+ "end": 3271,
"loc": {
"start": {
- "line": 113,
+ "line": 114,
"column": 6
},
"end": {
- "line": 113,
+ "line": 114,
"column": 7
}
}
@@ -19365,15 +19525,15 @@
"updateContext": null
},
"value": "n",
- "start": 3250,
- "end": 3253,
+ "start": 3274,
+ "end": 3277,
"loc": {
"start": {
- "line": 114,
+ "line": 115,
"column": 2
},
"end": {
- "line": 114,
+ "line": 115,
"column": 5
}
}
@@ -19391,15 +19551,15 @@
"binop": null,
"updateContext": null
},
- "start": 3253,
- "end": 3254,
+ "start": 3277,
+ "end": 3278,
"loc": {
"start": {
- "line": 114,
+ "line": 115,
"column": 5
},
"end": {
- "line": 114,
+ "line": 115,
"column": 6
}
}
@@ -19418,15 +19578,15 @@
"updateContext": null
},
"value": "o",
- "start": 3257,
- "end": 3260,
+ "start": 3281,
+ "end": 3284,
"loc": {
"start": {
- "line": 115,
+ "line": 116,
"column": 2
},
"end": {
- "line": 115,
+ "line": 116,
"column": 5
}
}
@@ -19444,15 +19604,15 @@
"binop": null,
"updateContext": null
},
- "start": 3262,
- "end": 3263,
+ "start": 3286,
+ "end": 3287,
"loc": {
"start": {
- "line": 116,
+ "line": 117,
"column": 1
},
"end": {
- "line": 116,
+ "line": 117,
"column": 2
}
}
@@ -19470,15 +19630,15 @@
"binop": null,
"updateContext": null
},
- "start": 3263,
- "end": 3264,
+ "start": 3287,
+ "end": 3288,
"loc": {
"start": {
- "line": 116,
+ "line": 117,
"column": 2
},
"end": {
- "line": 116,
+ "line": 117,
"column": 3
}
}
@@ -19496,15 +19656,15 @@
"binop": null
},
"value": "ATOM_SPRITES",
- "start": 3266,
- "end": 3278,
+ "start": 3290,
+ "end": 3302,
"loc": {
"start": {
- "line": 117,
+ "line": 118,
"column": 1
},
"end": {
- "line": 117,
+ "line": 118,
"column": 13
}
}
@@ -19522,15 +19682,15 @@
"binop": null,
"updateContext": null
},
- "start": 3278,
- "end": 3279,
+ "start": 3302,
+ "end": 3303,
"loc": {
"start": {
- "line": 117,
+ "line": 118,
"column": 13
},
"end": {
- "line": 117,
+ "line": 118,
"column": 14
}
}
@@ -19548,15 +19708,15 @@
"binop": null,
"updateContext": null
},
- "start": 3280,
- "end": 3281,
+ "start": 3304,
+ "end": 3305,
"loc": {
"start": {
- "line": 117,
+ "line": 118,
"column": 15
},
"end": {
- "line": 117,
+ "line": 118,
"column": 16
}
}
@@ -19575,15 +19735,15 @@
"updateContext": null
},
"value": "atom_hydrogen.png",
- "start": 3284,
- "end": 3303,
+ "start": 3308,
+ "end": 3327,
"loc": {
"start": {
- "line": 118,
+ "line": 119,
"column": 2
},
"end": {
- "line": 118,
+ "line": 119,
"column": 21
}
}
@@ -19601,15 +19761,15 @@
"binop": null,
"updateContext": null
},
- "start": 3303,
- "end": 3304,
+ "start": 3327,
+ "end": 3328,
"loc": {
"start": {
- "line": 118,
+ "line": 119,
"column": 21
},
"end": {
- "line": 118,
+ "line": 119,
"column": 22
}
}
@@ -19628,15 +19788,15 @@
"updateContext": null
},
"value": "atom_helium.png",
- "start": 3307,
- "end": 3324,
+ "start": 3331,
+ "end": 3348,
"loc": {
"start": {
- "line": 119,
+ "line": 120,
"column": 2
},
"end": {
- "line": 119,
+ "line": 120,
"column": 19
}
}
@@ -19654,15 +19814,15 @@
"binop": null,
"updateContext": null
},
- "start": 3324,
- "end": 3325,
+ "start": 3348,
+ "end": 3349,
"loc": {
"start": {
- "line": 119,
+ "line": 120,
"column": 19
},
"end": {
- "line": 119,
+ "line": 120,
"column": 20
}
}
@@ -19681,15 +19841,15 @@
"updateContext": null
},
"value": "atom_carbon.png",
- "start": 3328,
- "end": 3345,
+ "start": 3352,
+ "end": 3369,
"loc": {
"start": {
- "line": 120,
+ "line": 121,
"column": 2
},
"end": {
- "line": 120,
+ "line": 121,
"column": 19
}
}
@@ -19707,15 +19867,15 @@
"binop": null,
"updateContext": null
},
- "start": 3345,
- "end": 3346,
+ "start": 3369,
+ "end": 3370,
"loc": {
"start": {
- "line": 120,
+ "line": 121,
"column": 19
},
"end": {
- "line": 120,
+ "line": 121,
"column": 20
}
}
@@ -19734,15 +19894,15 @@
"updateContext": null
},
"value": "testplayer2.png",
- "start": 3349,
- "end": 3366,
+ "start": 3373,
+ "end": 3390,
"loc": {
"start": {
- "line": 121,
+ "line": 122,
"column": 2
},
"end": {
- "line": 121,
+ "line": 122,
"column": 19
}
}
@@ -19760,15 +19920,15 @@
"binop": null,
"updateContext": null
},
- "start": 3366,
- "end": 3367,
+ "start": 3390,
+ "end": 3391,
"loc": {
"start": {
- "line": 121,
+ "line": 122,
"column": 19
},
"end": {
- "line": 121,
+ "line": 122,
"column": 20
}
}
@@ -19787,15 +19947,15 @@
"updateContext": null
},
"value": "atom_nitrogen.png",
- "start": 3370,
- "end": 3389,
+ "start": 3394,
+ "end": 3413,
"loc": {
"start": {
- "line": 122,
+ "line": 123,
"column": 2
},
"end": {
- "line": 122,
+ "line": 123,
"column": 21
}
}
@@ -19813,15 +19973,15 @@
"binop": null,
"updateContext": null
},
- "start": 3389,
- "end": 3390,
+ "start": 3413,
+ "end": 3414,
"loc": {
"start": {
- "line": 122,
+ "line": 123,
"column": 21
},
"end": {
- "line": 122,
+ "line": 123,
"column": 22
}
}
@@ -19840,15 +20000,15 @@
"updateContext": null
},
"value": "atom_oxygen.png",
- "start": 3393,
- "end": 3410,
+ "start": 3417,
+ "end": 3434,
"loc": {
"start": {
- "line": 123,
+ "line": 124,
"column": 2
},
"end": {
- "line": 123,
+ "line": 124,
"column": 19
}
}
@@ -19866,15 +20026,15 @@
"binop": null,
"updateContext": null
},
- "start": 3412,
- "end": 3413,
+ "start": 3436,
+ "end": 3437,
"loc": {
"start": {
- "line": 124,
+ "line": 125,
"column": 1
},
"end": {
- "line": 124,
+ "line": 125,
"column": 2
}
}
@@ -19892,15 +20052,15 @@
"binop": null,
"updateContext": null
},
- "start": 3413,
- "end": 3414,
+ "start": 3437,
+ "end": 3438,
"loc": {
"start": {
- "line": 124,
+ "line": 125,
"column": 2
},
"end": {
- "line": 124,
+ "line": 125,
"column": 3
}
}
@@ -19908,15 +20068,15 @@
{
"type": "CommentLine",
"value": " Location of spritesheet relative to pixigame",
- "start": 3417,
- "end": 3464,
+ "start": 3441,
+ "end": 3488,
"loc": {
"start": {
- "line": 126,
+ "line": 127,
"column": 1
},
"end": {
- "line": 126,
+ "line": 127,
"column": 48
}
}
@@ -19934,15 +20094,15 @@
"binop": null
},
"value": "SPRITESHEET_DIR",
- "start": 3466,
- "end": 3481,
+ "start": 3490,
+ "end": 3505,
"loc": {
"start": {
- "line": 127,
+ "line": 128,
"column": 1
},
"end": {
- "line": 127,
+ "line": 128,
"column": 16
}
}
@@ -19960,15 +20120,15 @@
"binop": null,
"updateContext": null
},
- "start": 3481,
- "end": 3482,
+ "start": 3505,
+ "end": 3506,
"loc": {
"start": {
- "line": 127,
+ "line": 128,
"column": 16
},
"end": {
- "line": 127,
+ "line": 128,
"column": 17
}
}
@@ -19987,15 +20147,15 @@
"updateContext": null
},
"value": "../assets/spritesheet.json",
- "start": 3483,
- "end": 3511,
+ "start": 3507,
+ "end": 3535,
"loc": {
"start": {
- "line": 127,
+ "line": 128,
"column": 18
},
"end": {
- "line": 127,
+ "line": 128,
"column": 46
}
}
@@ -20013,15 +20173,15 @@
"binop": null,
"updateContext": null
},
- "start": 3511,
- "end": 3512,
+ "start": 3535,
+ "end": 3536,
"loc": {
"start": {
- "line": 127,
+ "line": 128,
"column": 46
},
"end": {
- "line": 127,
+ "line": 128,
"column": 47
}
}
@@ -20029,15 +20189,15 @@
{
"type": "CommentLine",
"value": " Used for main menu textures",
- "start": 3515,
- "end": 3545,
+ "start": 3539,
+ "end": 3569,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 1
},
"end": {
- "line": 129,
+ "line": 130,
"column": 31
}
}
@@ -20055,15 +20215,15 @@
"binop": null
},
"value": "COMPOUND_DIR",
- "start": 3547,
- "end": 3559,
+ "start": 3571,
+ "end": 3583,
"loc": {
"start": {
- "line": 130,
+ "line": 131,
"column": 1
},
"end": {
- "line": 130,
+ "line": 131,
"column": 13
}
}
@@ -20081,15 +20241,15 @@
"binop": null,
"updateContext": null
},
- "start": 3559,
- "end": 3560,
+ "start": 3583,
+ "end": 3584,
"loc": {
"start": {
- "line": 130,
+ "line": 131,
"column": 13
},
"end": {
- "line": 130,
+ "line": 131,
"column": 14
}
}
@@ -20108,15 +20268,15 @@
"updateContext": null
},
"value": "../assets/spritesheet/compounds/",
- "start": 3561,
- "end": 3595,
+ "start": 3585,
+ "end": 3619,
"loc": {
"start": {
- "line": 130,
+ "line": 131,
"column": 15
},
"end": {
- "line": 130,
+ "line": 131,
"column": 49
}
}
@@ -20134,15 +20294,15 @@
"binop": null,
"updateContext": null
},
- "start": 3595,
- "end": 3596,
+ "start": 3619,
+ "end": 3620,
"loc": {
"start": {
- "line": 130,
+ "line": 131,
"column": 49
},
"end": {
- "line": 130,
+ "line": 131,
"column": 50
}
}
@@ -20150,15 +20310,15 @@
{
"type": "CommentLine",
"value": " Each Value corresponds with the above event",
- "start": 3599,
- "end": 3645,
+ "start": 3623,
+ "end": 3669,
"loc": {
"start": {
- "line": 132,
+ "line": 133,
"column": 1
},
"end": {
- "line": 132,
+ "line": 133,
"column": 47
}
}
@@ -20176,15 +20336,15 @@
"binop": null
},
"value": "EXPERIENCE_VALUES",
- "start": 3647,
- "end": 3664,
+ "start": 3671,
+ "end": 3688,
"loc": {
"start": {
- "line": 133,
+ "line": 134,
"column": 1
},
"end": {
- "line": 133,
+ "line": 134,
"column": 18
}
}
@@ -20202,15 +20362,15 @@
"binop": null,
"updateContext": null
},
- "start": 3664,
- "end": 3665,
+ "start": 3688,
+ "end": 3689,
"loc": {
"start": {
- "line": 133,
+ "line": 134,
"column": 18
},
"end": {
- "line": 133,
+ "line": 134,
"column": 19
}
}
@@ -20227,15 +20387,15 @@
"postfix": false,
"binop": null
},
- "start": 3666,
- "end": 3667,
+ "start": 3690,
+ "end": 3691,
"loc": {
"start": {
- "line": 133,
+ "line": 134,
"column": 20
},
"end": {
- "line": 133,
+ "line": 134,
"column": 21
}
}
@@ -20253,15 +20413,15 @@
"binop": null
},
"value": "CRAFT",
- "start": 3670,
- "end": 3675,
+ "start": 3694,
+ "end": 3699,
"loc": {
"start": {
- "line": 134,
+ "line": 135,
"column": 2
},
"end": {
- "line": 134,
+ "line": 135,
"column": 7
}
}
@@ -20279,15 +20439,15 @@
"binop": null,
"updateContext": null
},
- "start": 3675,
- "end": 3676,
+ "start": 3699,
+ "end": 3700,
"loc": {
"start": {
- "line": 134,
+ "line": 135,
"column": 7
},
"end": {
- "line": 134,
+ "line": 135,
"column": 8
}
}
@@ -20306,15 +20466,15 @@
"updateContext": null
},
"value": 10,
- "start": 3677,
- "end": 3679,
+ "start": 3701,
+ "end": 3703,
"loc": {
"start": {
- "line": 134,
+ "line": 135,
"column": 9
},
"end": {
- "line": 134,
+ "line": 135,
"column": 11
}
}
@@ -20332,15 +20492,15 @@
"binop": null,
"updateContext": null
},
- "start": 3679,
- "end": 3680,
+ "start": 3703,
+ "end": 3704,
"loc": {
"start": {
- "line": 134,
+ "line": 135,
"column": 11
},
"end": {
- "line": 134,
+ "line": 135,
"column": 12
}
}
@@ -20358,15 +20518,15 @@
"binop": null
},
"value": "KILL",
- "start": 3683,
- "end": 3687,
+ "start": 3707,
+ "end": 3711,
"loc": {
"start": {
- "line": 135,
+ "line": 136,
"column": 2
},
"end": {
- "line": 135,
+ "line": 136,
"column": 6
}
}
@@ -20384,15 +20544,15 @@
"binop": null,
"updateContext": null
},
- "start": 3687,
- "end": 3688,
+ "start": 3711,
+ "end": 3712,
"loc": {
"start": {
- "line": 135,
+ "line": 136,
"column": 6
},
"end": {
- "line": 135,
+ "line": 136,
"column": 7
}
}
@@ -20411,15 +20571,15 @@
"updateContext": null
},
"value": 124,
- "start": 3689,
- "end": 3692,
+ "start": 3713,
+ "end": 3716,
"loc": {
"start": {
- "line": 135,
+ "line": 136,
"column": 8
},
"end": {
- "line": 135,
+ "line": 136,
"column": 11
}
}
@@ -20436,15 +20596,15 @@
"postfix": false,
"binop": null
},
- "start": 3694,
- "end": 3695,
+ "start": 3718,
+ "end": 3719,
"loc": {
"start": {
- "line": 136,
+ "line": 137,
"column": 1
},
"end": {
- "line": 136,
+ "line": 137,
"column": 2
}
}
@@ -20462,15 +20622,15 @@
"binop": null,
"updateContext": null
},
- "start": 3695,
- "end": 3696,
+ "start": 3719,
+ "end": 3720,
"loc": {
"start": {
- "line": 136,
+ "line": 137,
"column": 2
},
"end": {
- "line": 136,
+ "line": 137,
"column": 3
}
}
@@ -20478,15 +20638,15 @@
{
"type": "CommentLine",
"value": " The cutoffs for each level. Index 0 = level 1, 1 = level 2, etc",
- "start": 3699,
- "end": 3765,
+ "start": 3723,
+ "end": 3789,
"loc": {
"start": {
- "line": 138,
+ "line": 139,
"column": 1
},
"end": {
- "line": 138,
+ "line": 139,
"column": 67
}
}
@@ -20504,15 +20664,15 @@
"binop": null
},
"value": "EXPERIENCE_LEVELS",
- "start": 3767,
- "end": 3784,
+ "start": 3791,
+ "end": 3808,
"loc": {
"start": {
- "line": 139,
+ "line": 140,
"column": 1
},
"end": {
- "line": 139,
+ "line": 140,
"column": 18
}
}
@@ -20530,15 +20690,15 @@
"binop": null,
"updateContext": null
},
- "start": 3784,
- "end": 3785,
+ "start": 3808,
+ "end": 3809,
"loc": {
"start": {
- "line": 139,
+ "line": 140,
"column": 18
},
"end": {
- "line": 139,
+ "line": 140,
"column": 19
}
}
@@ -20556,15 +20716,15 @@
"binop": null,
"updateContext": null
},
- "start": 3786,
- "end": 3787,
+ "start": 3810,
+ "end": 3811,
"loc": {
"start": {
- "line": 139,
+ "line": 140,
"column": 20
},
"end": {
- "line": 139,
+ "line": 140,
"column": 21
}
}
@@ -20583,15 +20743,15 @@
"updateContext": null
},
"value": 0,
- "start": 3790,
- "end": 3791,
+ "start": 3814,
+ "end": 3815,
"loc": {
"start": {
- "line": 140,
+ "line": 141,
"column": 2
},
"end": {
- "line": 140,
+ "line": 141,
"column": 3
}
}
@@ -20609,15 +20769,15 @@
"binop": null,
"updateContext": null
},
- "start": 3791,
- "end": 3792,
+ "start": 3815,
+ "end": 3816,
"loc": {
"start": {
- "line": 140,
+ "line": 141,
"column": 3
},
"end": {
- "line": 140,
+ "line": 141,
"column": 4
}
}
@@ -20636,15 +20796,15 @@
"updateContext": null
},
"value": 10,
- "start": 3795,
- "end": 3797,
+ "start": 3819,
+ "end": 3821,
"loc": {
"start": {
- "line": 141,
+ "line": 142,
"column": 2
},
"end": {
- "line": 141,
+ "line": 142,
"column": 4
}
}
@@ -20662,15 +20822,15 @@
"binop": null,
"updateContext": null
},
- "start": 3797,
- "end": 3798,
+ "start": 3821,
+ "end": 3822,
"loc": {
"start": {
- "line": 141,
+ "line": 142,
"column": 4
},
"end": {
- "line": 141,
+ "line": 142,
"column": 5
}
}
@@ -20689,15 +20849,15 @@
"updateContext": null
},
"value": 20,
- "start": 3801,
- "end": 3803,
+ "start": 3825,
+ "end": 3827,
"loc": {
"start": {
- "line": 142,
+ "line": 143,
"column": 2
},
"end": {
- "line": 142,
+ "line": 143,
"column": 4
}
}
@@ -20715,15 +20875,15 @@
"binop": null,
"updateContext": null
},
- "start": 3803,
- "end": 3804,
+ "start": 3827,
+ "end": 3828,
"loc": {
"start": {
- "line": 142,
+ "line": 143,
"column": 4
},
"end": {
- "line": 142,
+ "line": 143,
"column": 5
}
}
@@ -20742,15 +20902,15 @@
"updateContext": null
},
"value": 40,
- "start": 3807,
- "end": 3809,
+ "start": 3831,
+ "end": 3833,
"loc": {
"start": {
- "line": 143,
+ "line": 144,
"column": 2
},
"end": {
- "line": 143,
+ "line": 144,
"column": 4
}
}
@@ -20768,15 +20928,15 @@
"binop": null,
"updateContext": null
},
- "start": 3809,
- "end": 3810,
+ "start": 3833,
+ "end": 3834,
"loc": {
"start": {
- "line": 143,
+ "line": 144,
"column": 4
},
"end": {
- "line": 143,
+ "line": 144,
"column": 5
}
}
@@ -20795,15 +20955,15 @@
"updateContext": null
},
"value": 100,
- "start": 3813,
- "end": 3816,
+ "start": 3837,
+ "end": 3840,
"loc": {
"start": {
- "line": 144,
+ "line": 145,
"column": 2
},
"end": {
- "line": 144,
+ "line": 145,
"column": 5
}
}
@@ -20821,15 +20981,15 @@
"binop": null,
"updateContext": null
},
- "start": 3816,
- "end": 3817,
+ "start": 3840,
+ "end": 3841,
"loc": {
"start": {
- "line": 144,
+ "line": 145,
"column": 5
},
"end": {
- "line": 144,
+ "line": 145,
"column": 6
}
}
@@ -20848,15 +21008,15 @@
"updateContext": null
},
"value": 140,
- "start": 3820,
- "end": 3823,
+ "start": 3844,
+ "end": 3847,
"loc": {
"start": {
- "line": 145,
+ "line": 146,
"column": 2
},
"end": {
- "line": 145,
+ "line": 146,
"column": 5
}
}
@@ -20874,15 +21034,15 @@
"binop": null,
"updateContext": null
},
- "start": 3823,
- "end": 3824,
+ "start": 3847,
+ "end": 3848,
"loc": {
"start": {
- "line": 145,
+ "line": 146,
"column": 5
},
"end": {
- "line": 145,
+ "line": 146,
"column": 6
}
}
@@ -20901,15 +21061,15 @@
"updateContext": null
},
"value": 160,
- "start": 3827,
- "end": 3830,
+ "start": 3851,
+ "end": 3854,
"loc": {
"start": {
- "line": 146,
+ "line": 147,
"column": 2
},
"end": {
- "line": 146,
+ "line": 147,
"column": 5
}
}
@@ -20927,15 +21087,15 @@
"binop": null,
"updateContext": null
},
- "start": 3832,
- "end": 3833,
+ "start": 3856,
+ "end": 3857,
"loc": {
"start": {
- "line": 147,
+ "line": 148,
"column": 1
},
"end": {
- "line": 147,
+ "line": 148,
"column": 2
}
}
@@ -20953,15 +21113,15 @@
"binop": null,
"updateContext": null
},
- "start": 3833,
- "end": 3834,
+ "start": 3857,
+ "end": 3858,
"loc": {
"start": {
- "line": 147,
+ "line": 148,
"column": 2
},
"end": {
- "line": 147,
+ "line": 148,
"column": 3
}
}
@@ -20979,15 +21139,15 @@
"binop": null
},
"value": "MAINMENU_MUSICLIST",
- "start": 3836,
- "end": 3854,
+ "start": 3860,
+ "end": 3878,
"loc": {
"start": {
- "line": 148,
+ "line": 149,
"column": 1
},
"end": {
- "line": 148,
+ "line": 149,
"column": 19
}
}
@@ -21005,15 +21165,15 @@
"binop": null,
"updateContext": null
},
- "start": 3854,
- "end": 3855,
+ "start": 3878,
+ "end": 3879,
"loc": {
"start": {
- "line": 148,
+ "line": 149,
"column": 19
},
"end": {
- "line": 148,
+ "line": 149,
"column": 20
}
}
@@ -21031,15 +21191,15 @@
"binop": null,
"updateContext": null
},
- "start": 3856,
- "end": 3857,
+ "start": 3880,
+ "end": 3881,
"loc": {
"start": {
- "line": 148,
+ "line": 149,
"column": 21
},
"end": {
- "line": 148,
+ "line": 149,
"column": 22
}
}
@@ -21058,15 +21218,15 @@
"updateContext": null
},
"value": "assets/sfx/mainmenu/placeholder1.mp3",
- "start": 3860,
- "end": 3898,
+ "start": 3884,
+ "end": 3922,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 2
},
"end": {
- "line": 149,
+ "line": 150,
"column": 40
}
}
@@ -21084,15 +21244,15 @@
"binop": null,
"updateContext": null
},
- "start": 3898,
- "end": 3899,
+ "start": 3922,
+ "end": 3923,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 40
},
"end": {
- "line": 149,
+ "line": 150,
"column": 41
}
}
@@ -21111,15 +21271,15 @@
"updateContext": null
},
"value": "assets/sfx/mainmenu/placeholder2.mp3",
- "start": 3902,
- "end": 3940,
+ "start": 3926,
+ "end": 3964,
"loc": {
"start": {
- "line": 150,
+ "line": 151,
"column": 2
},
"end": {
- "line": 150,
+ "line": 151,
"column": 40
}
}
@@ -21137,15 +21297,15 @@
"binop": null,
"updateContext": null
},
- "start": 3940,
- "end": 3941,
+ "start": 3964,
+ "end": 3965,
"loc": {
"start": {
- "line": 150,
+ "line": 151,
"column": 40
},
"end": {
- "line": 150,
+ "line": 151,
"column": 41
}
}
@@ -21164,15 +21324,15 @@
"updateContext": null
},
"value": "assets/sfx/mainmenu/placeholder3.mp3",
- "start": 3944,
- "end": 3982,
+ "start": 3968,
+ "end": 4006,
"loc": {
"start": {
- "line": 151,
+ "line": 152,
"column": 2
},
"end": {
- "line": 151,
+ "line": 152,
"column": 40
}
}
@@ -21190,15 +21350,15 @@
"binop": null,
"updateContext": null
},
- "start": 3982,
- "end": 3983,
+ "start": 4006,
+ "end": 4007,
"loc": {
"start": {
- "line": 151,
+ "line": 152,
"column": 40
},
"end": {
- "line": 151,
+ "line": 152,
"column": 41
}
}
@@ -21217,15 +21377,15 @@
"updateContext": null
},
"value": "assets/sfx/mainmenu/placeholder4.mp3",
- "start": 3986,
- "end": 4024,
+ "start": 4010,
+ "end": 4048,
"loc": {
"start": {
- "line": 152,
+ "line": 153,
"column": 2
},
"end": {
- "line": 152,
+ "line": 153,
"column": 40
}
}
@@ -21243,15 +21403,15 @@
"binop": null,
"updateContext": null
},
- "start": 4026,
- "end": 4027,
+ "start": 4050,
+ "end": 4051,
"loc": {
"start": {
- "line": 153,
+ "line": 154,
"column": 1
},
"end": {
- "line": 153,
+ "line": 154,
"column": 2
}
}
@@ -21269,15 +21429,15 @@
"binop": null,
"updateContext": null
},
- "start": 4027,
- "end": 4028,
+ "start": 4051,
+ "end": 4052,
"loc": {
"start": {
- "line": 153,
+ "line": 154,
"column": 2
},
"end": {
- "line": 153,
+ "line": 154,
"column": 3
}
}
@@ -21295,15 +21455,15 @@
"binop": null
},
"value": "LOBBY_MUSICLIST",
- "start": 4030,
- "end": 4045,
+ "start": 4054,
+ "end": 4069,
"loc": {
"start": {
- "line": 154,
+ "line": 155,
"column": 1
},
"end": {
- "line": 154,
+ "line": 155,
"column": 16
}
}
@@ -21321,15 +21481,15 @@
"binop": null,
"updateContext": null
},
- "start": 4045,
- "end": 4046,
+ "start": 4069,
+ "end": 4070,
"loc": {
"start": {
- "line": 154,
+ "line": 155,
"column": 16
},
"end": {
- "line": 154,
+ "line": 155,
"column": 17
}
}
@@ -21347,15 +21507,15 @@
"binop": null,
"updateContext": null
},
- "start": 4047,
- "end": 4048,
+ "start": 4071,
+ "end": 4072,
"loc": {
"start": {
- "line": 154,
+ "line": 155,
"column": 18
},
"end": {
- "line": 154,
+ "line": 155,
"column": 19
}
}
@@ -21373,15 +21533,15 @@
"binop": null,
"updateContext": null
},
- "start": 4051,
- "end": 4052,
+ "start": 4075,
+ "end": 4076,
"loc": {
"start": {
- "line": 156,
+ "line": 157,
"column": 1
},
"end": {
- "line": 156,
+ "line": 157,
"column": 2
}
}
@@ -21399,15 +21559,15 @@
"binop": null,
"updateContext": null
},
- "start": 4052,
- "end": 4053,
+ "start": 4076,
+ "end": 4077,
"loc": {
"start": {
- "line": 156,
+ "line": 157,
"column": 2
},
"end": {
- "line": 156,
+ "line": 157,
"column": 3
}
}
@@ -21425,15 +21585,15 @@
"binop": null
},
"value": "INGAME_MUSICLIST",
- "start": 4055,
- "end": 4071,
+ "start": 4079,
+ "end": 4095,
"loc": {
"start": {
- "line": 157,
+ "line": 158,
"column": 1
},
"end": {
- "line": 157,
+ "line": 158,
"column": 17
}
}
@@ -21451,15 +21611,15 @@
"binop": null,
"updateContext": null
},
- "start": 4071,
- "end": 4072,
+ "start": 4095,
+ "end": 4096,
"loc": {
"start": {
- "line": 157,
+ "line": 158,
"column": 17
},
"end": {
- "line": 157,
+ "line": 158,
"column": 18
}
}
@@ -21477,15 +21637,15 @@
"binop": null,
"updateContext": null
},
- "start": 4073,
- "end": 4074,
+ "start": 4097,
+ "end": 4098,
"loc": {
"start": {
- "line": 157,
+ "line": 158,
"column": 19
},
"end": {
- "line": 157,
+ "line": 158,
"column": 20
}
}
@@ -21503,15 +21663,15 @@
"binop": null,
"updateContext": null
},
- "start": 4077,
- "end": 4078,
+ "start": 4101,
+ "end": 4102,
"loc": {
"start": {
- "line": 159,
+ "line": 160,
"column": 1
},
"end": {
- "line": 159,
+ "line": 160,
"column": 2
}
}
@@ -21529,15 +21689,15 @@
"binop": null,
"updateContext": null
},
- "start": 4078,
- "end": 4079,
+ "start": 4102,
+ "end": 4103,
"loc": {
"start": {
- "line": 159,
+ "line": 160,
"column": 2
},
"end": {
- "line": 159,
+ "line": 160,
"column": 3
}
}
@@ -21545,15 +21705,15 @@
{
"type": "CommentLine",
"value": " Deaths",
- "start": 4082,
- "end": 4091,
+ "start": 4106,
+ "end": 4115,
"loc": {
"start": {
- "line": 161,
+ "line": 162,
"column": 1
},
"end": {
- "line": 161,
+ "line": 162,
"column": 10
}
}
@@ -21571,15 +21731,15 @@
"binop": null
},
"value": "KILL_SCORE",
- "start": 4093,
- "end": 4103,
+ "start": 4117,
+ "end": 4127,
"loc": {
"start": {
- "line": 162,
+ "line": 163,
"column": 1
},
"end": {
- "line": 162,
+ "line": 163,
"column": 11
}
}
@@ -21597,15 +21757,15 @@
"binop": null,
"updateContext": null
},
- "start": 4103,
- "end": 4104,
+ "start": 4127,
+ "end": 4128,
"loc": {
"start": {
- "line": 162,
+ "line": 163,
"column": 11
},
"end": {
- "line": 162,
+ "line": 163,
"column": 12
}
}
@@ -21624,15 +21784,15 @@
"updateContext": null
},
"value": 6,
- "start": 4105,
- "end": 4106,
+ "start": 4129,
+ "end": 4130,
"loc": {
"start": {
- "line": 162,
+ "line": 163,
"column": 13
},
"end": {
- "line": 162,
+ "line": 163,
"column": 14
}
}
@@ -21650,15 +21810,15 @@
"binop": null,
"updateContext": null
},
- "start": 4106,
- "end": 4107,
+ "start": 4130,
+ "end": 4131,
"loc": {
"start": {
- "line": 162,
+ "line": 163,
"column": 14
},
"end": {
- "line": 162,
+ "line": 163,
"column": 15
}
}
@@ -21666,15 +21826,15 @@
{
"type": "CommentLine",
"value": " How many points are awarded to the player/team who dealt the most damage to the player",
- "start": 4108,
- "end": 4197,
+ "start": 4132,
+ "end": 4221,
"loc": {
"start": {
- "line": 162,
+ "line": 163,
"column": 16
},
"end": {
- "line": 162,
+ "line": 163,
"column": 105
}
}
@@ -21692,15 +21852,15 @@
"binop": null
},
"value": "ASSIST_SCORE",
- "start": 4199,
- "end": 4211,
+ "start": 4223,
+ "end": 4235,
"loc": {
"start": {
- "line": 163,
+ "line": 164,
"column": 1
},
"end": {
- "line": 163,
+ "line": 164,
"column": 13
}
}
@@ -21718,15 +21878,15 @@
"binop": null,
"updateContext": null
},
- "start": 4211,
- "end": 4212,
+ "start": 4235,
+ "end": 4236,
"loc": {
"start": {
- "line": 163,
+ "line": 164,
"column": 13
},
"end": {
- "line": 163,
+ "line": 164,
"column": 14
}
}
@@ -21745,15 +21905,15 @@
"updateContext": null
},
"value": 2,
- "start": 4213,
- "end": 4214,
+ "start": 4237,
+ "end": 4238,
"loc": {
"start": {
- "line": 163,
+ "line": 164,
"column": 15
},
"end": {
- "line": 163,
+ "line": 164,
"column": 16
}
}
@@ -21771,15 +21931,15 @@
"binop": null,
"updateContext": null
},
- "start": 4214,
- "end": 4215,
+ "start": 4238,
+ "end": 4239,
"loc": {
"start": {
- "line": 163,
+ "line": 164,
"column": 16
},
"end": {
- "line": 163,
+ "line": 164,
"column": 17
}
}
@@ -21787,15 +21947,15 @@
{
"type": "CommentLine",
"value": " How many points are awarded to all players who assist in killing the player",
- "start": 4216,
- "end": 4294,
+ "start": 4240,
+ "end": 4318,
"loc": {
"start": {
- "line": 163,
+ "line": 164,
"column": 18
},
"end": {
- "line": 163,
+ "line": 164,
"column": 96
}
}
@@ -21813,15 +21973,15 @@
"binop": null
},
"value": "WINNING_SCORE",
- "start": 4296,
- "end": 4309,
+ "start": 4320,
+ "end": 4333,
"loc": {
"start": {
- "line": 164,
+ "line": 165,
"column": 1
},
"end": {
- "line": 164,
+ "line": 165,
"column": 14
}
}
@@ -21839,15 +21999,15 @@
"binop": null,
"updateContext": null
},
- "start": 4309,
- "end": 4310,
+ "start": 4333,
+ "end": 4334,
"loc": {
"start": {
- "line": 164,
+ "line": 165,
"column": 14
},
"end": {
- "line": 164,
+ "line": 165,
"column": 15
}
}
@@ -21866,15 +22026,15 @@
"updateContext": null
},
"value": 20,
- "start": 4311,
- "end": 4313,
+ "start": 4335,
+ "end": 4337,
"loc": {
"start": {
- "line": 164,
+ "line": 165,
"column": 16
},
"end": {
- "line": 164,
+ "line": 165,
"column": 18
}
}
@@ -21892,15 +22052,15 @@
"binop": null,
"updateContext": null
},
- "start": 4313,
- "end": 4314,
+ "start": 4337,
+ "end": 4338,
"loc": {
"start": {
- "line": 164,
+ "line": 165,
"column": 18
},
"end": {
- "line": 164,
+ "line": 165,
"column": 19
}
}
@@ -21908,15 +22068,15 @@
{
"type": "CommentLine",
"value": " How many points are required to win the game per team. TODO increase",
- "start": 4315,
- "end": 4386,
+ "start": 4339,
+ "end": 4410,
"loc": {
"start": {
- "line": 164,
+ "line": 165,
"column": 20
},
"end": {
- "line": 164,
+ "line": 165,
"column": 91
}
}
@@ -21934,15 +22094,15 @@
"binop": null
},
"value": "CAPTURE_SCORE",
- "start": 4388,
- "end": 4401,
+ "start": 4412,
+ "end": 4425,
"loc": {
"start": {
- "line": 165,
+ "line": 166,
"column": 1
},
"end": {
- "line": 165,
+ "line": 166,
"column": 14
}
}
@@ -21960,15 +22120,15 @@
"binop": null,
"updateContext": null
},
- "start": 4401,
- "end": 4402,
+ "start": 4425,
+ "end": 4426,
"loc": {
"start": {
- "line": 165,
+ "line": 166,
"column": 14
},
"end": {
- "line": 165,
+ "line": 166,
"column": 15
}
}
@@ -21987,15 +22147,15 @@
"updateContext": null
},
"value": 5,
- "start": 4403,
- "end": 4404,
+ "start": 4427,
+ "end": 4428,
"loc": {
"start": {
- "line": 165,
+ "line": 166,
"column": 16
},
"end": {
- "line": 165,
+ "line": 166,
"column": 17
}
}
@@ -22013,15 +22173,15 @@
"binop": null,
"updateContext": null
},
- "start": 4404,
- "end": 4405,
+ "start": 4428,
+ "end": 4429,
"loc": {
"start": {
- "line": 165,
+ "line": 166,
"column": 17
},
"end": {
- "line": 165,
+ "line": 166,
"column": 18
}
}
@@ -22029,15 +22189,15 @@
{
"type": "CommentLine",
"value": " How many points are awarded to the team who captured a stronghold/vent",
- "start": 4406,
- "end": 4479,
+ "start": 4430,
+ "end": 4503,
"loc": {
"start": {
- "line": 165,
+ "line": 166,
"column": 19
},
"end": {
- "line": 165,
+ "line": 166,
"column": 92
}
}
@@ -22055,15 +22215,15 @@
"binop": null
},
"value": "MAX_DEATH_ATOMS",
- "start": 4481,
- "end": 4496,
+ "start": 4505,
+ "end": 4520,
"loc": {
"start": {
- "line": 166,
+ "line": 167,
"column": 1
},
"end": {
- "line": 166,
+ "line": 167,
"column": 16
}
}
@@ -22081,15 +22241,15 @@
"binop": null,
"updateContext": null
},
- "start": 4496,
- "end": 4497,
+ "start": 4520,
+ "end": 4521,
"loc": {
"start": {
- "line": 166,
+ "line": 167,
"column": 16
},
"end": {
- "line": 166,
+ "line": 167,
"column": 17
}
}
@@ -22108,15 +22268,15 @@
"updateContext": null
},
"value": 100,
- "start": 4498,
- "end": 4501,
+ "start": 4522,
+ "end": 4525,
"loc": {
"start": {
- "line": 166,
+ "line": 167,
"column": 18
},
"end": {
- "line": 166,
+ "line": 167,
"column": 21
}
}
@@ -22124,15 +22284,15 @@
{
"type": "CommentLine",
"value": " How many atoms of each type can be ejected on death at maximum. Prevents testers from ejecting thousands of atoms at a time.",
- "start": 4502,
- "end": 4629,
+ "start": 4526,
+ "end": 4653,
"loc": {
"start": {
- "line": 166,
+ "line": 167,
"column": 22
},
"end": {
- "line": 166,
+ "line": 167,
"column": 149
}
}
@@ -22149,15 +22309,15 @@
"postfix": false,
"binop": null
},
- "start": 4630,
- "end": 4631,
+ "start": 4654,
+ "end": 4655,
"loc": {
"start": {
- "line": 167,
+ "line": 168,
"column": 0
},
"end": {
- "line": 167,
+ "line": 168,
"column": 1
}
}
@@ -22165,15 +22325,15 @@
{
"type": "CommentBlock",
"value": "*\n * Returns the distance between two objects.\n * Both objects must be GameObjects\n * @param {GameObject} obj1 First object\n * @param {GameObject} obj2 Second object\n ",
- "start": 4633,
- "end": 4804,
+ "start": 4657,
+ "end": 4828,
"loc": {
"start": {
- "line": 169,
+ "line": 170,
"column": 0
},
"end": {
- "line": 174,
+ "line": 175,
"column": 3
}
}
@@ -22193,15 +22353,15 @@
"updateContext": null
},
"value": "export",
- "start": 4805,
- "end": 4811,
+ "start": 4829,
+ "end": 4835,
"loc": {
"start": {
- "line": 175,
+ "line": 176,
"column": 0
},
"end": {
- "line": 175,
+ "line": 176,
"column": 6
}
}
@@ -22220,15 +22380,15 @@
"binop": null
},
"value": "function",
- "start": 4812,
- "end": 4820,
+ "start": 4836,
+ "end": 4844,
"loc": {
"start": {
- "line": 175,
+ "line": 176,
"column": 7
},
"end": {
- "line": 175,
+ "line": 176,
"column": 15
}
}
@@ -22246,15 +22406,15 @@
"binop": null
},
"value": "distanceBetween",
- "start": 4821,
- "end": 4836,
+ "start": 4845,
+ "end": 4860,
"loc": {
"start": {
- "line": 175,
+ "line": 176,
"column": 16
},
"end": {
- "line": 175,
+ "line": 176,
"column": 31
}
}
@@ -22271,15 +22431,15 @@
"postfix": false,
"binop": null
},
- "start": 4837,
- "end": 4838,
+ "start": 4861,
+ "end": 4862,
"loc": {
"start": {
- "line": 175,
+ "line": 176,
"column": 32
},
"end": {
- "line": 175,
+ "line": 176,
"column": 33
}
}
@@ -22297,15 +22457,15 @@
"binop": null
},
"value": "obj1",
- "start": 4838,
- "end": 4842,
+ "start": 4862,
+ "end": 4866,
"loc": {
"start": {
- "line": 175,
+ "line": 176,
"column": 33
},
"end": {
- "line": 175,
+ "line": 176,
"column": 37
}
}
@@ -22323,15 +22483,15 @@
"binop": null,
"updateContext": null
},
- "start": 4842,
- "end": 4843,
+ "start": 4866,
+ "end": 4867,
"loc": {
"start": {
- "line": 175,
+ "line": 176,
"column": 37
},
"end": {
- "line": 175,
+ "line": 176,
"column": 38
}
}
@@ -22349,15 +22509,15 @@
"binop": null
},
"value": "obj2",
- "start": 4844,
- "end": 4848,
+ "start": 4868,
+ "end": 4872,
"loc": {
"start": {
- "line": 175,
+ "line": 176,
"column": 39
},
"end": {
- "line": 175,
+ "line": 176,
"column": 43
}
}
@@ -22374,15 +22534,15 @@
"postfix": false,
"binop": null
},
- "start": 4848,
- "end": 4849,
+ "start": 4872,
+ "end": 4873,
"loc": {
"start": {
- "line": 175,
+ "line": 176,
"column": 43
},
"end": {
- "line": 175,
+ "line": 176,
"column": 44
}
}
@@ -22399,15 +22559,15 @@
"postfix": false,
"binop": null
},
- "start": 4850,
- "end": 4851,
+ "start": 4874,
+ "end": 4875,
"loc": {
"start": {
- "line": 175,
+ "line": 176,
"column": 45
},
"end": {
- "line": 175,
+ "line": 176,
"column": 46
}
}
@@ -22427,15 +22587,15 @@
"updateContext": null
},
"value": "return",
- "start": 4853,
- "end": 4859,
+ "start": 4877,
+ "end": 4883,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 1
},
"end": {
- "line": 176,
+ "line": 177,
"column": 7
}
}
@@ -22453,15 +22613,15 @@
"binop": null
},
"value": "Math",
- "start": 4860,
- "end": 4864,
+ "start": 4884,
+ "end": 4888,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 8
},
"end": {
- "line": 176,
+ "line": 177,
"column": 12
}
}
@@ -22479,15 +22639,15 @@
"binop": null,
"updateContext": null
},
- "start": 4864,
- "end": 4865,
+ "start": 4888,
+ "end": 4889,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 12
},
"end": {
- "line": 176,
+ "line": 177,
"column": 13
}
}
@@ -22505,15 +22665,15 @@
"binop": null
},
"value": "sqrt",
- "start": 4865,
- "end": 4869,
+ "start": 4889,
+ "end": 4893,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 13
},
"end": {
- "line": 176,
+ "line": 177,
"column": 17
}
}
@@ -22530,15 +22690,15 @@
"postfix": false,
"binop": null
},
- "start": 4869,
- "end": 4870,
+ "start": 4893,
+ "end": 4894,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 17
},
"end": {
- "line": 176,
+ "line": 177,
"column": 18
}
}
@@ -22556,15 +22716,15 @@
"binop": null
},
"value": "Math",
- "start": 4870,
- "end": 4874,
+ "start": 4894,
+ "end": 4898,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 18
},
"end": {
- "line": 176,
+ "line": 177,
"column": 22
}
}
@@ -22582,15 +22742,15 @@
"binop": null,
"updateContext": null
},
- "start": 4874,
- "end": 4875,
+ "start": 4898,
+ "end": 4899,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 22
},
"end": {
- "line": 176,
+ "line": 177,
"column": 23
}
}
@@ -22608,15 +22768,15 @@
"binop": null
},
"value": "pow",
- "start": 4875,
- "end": 4878,
+ "start": 4899,
+ "end": 4902,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 23
},
"end": {
- "line": 176,
+ "line": 177,
"column": 26
}
}
@@ -22633,15 +22793,15 @@
"postfix": false,
"binop": null
},
- "start": 4878,
- "end": 4879,
+ "start": 4902,
+ "end": 4903,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 26
},
"end": {
- "line": 176,
+ "line": 177,
"column": 27
}
}
@@ -22659,15 +22819,15 @@
"binop": null
},
"value": "obj1",
- "start": 4879,
- "end": 4883,
+ "start": 4903,
+ "end": 4907,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 27
},
"end": {
- "line": 176,
+ "line": 177,
"column": 31
}
}
@@ -22685,15 +22845,15 @@
"binop": null,
"updateContext": null
},
- "start": 4883,
- "end": 4884,
+ "start": 4907,
+ "end": 4908,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 31
},
"end": {
- "line": 176,
+ "line": 177,
"column": 32
}
}
@@ -22711,15 +22871,15 @@
"binop": null
},
"value": "posX",
- "start": 4884,
- "end": 4888,
+ "start": 4908,
+ "end": 4912,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 32
},
"end": {
- "line": 176,
+ "line": 177,
"column": 36
}
}
@@ -22738,15 +22898,15 @@
"updateContext": null
},
"value": "-",
- "start": 4889,
- "end": 4890,
+ "start": 4913,
+ "end": 4914,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 37
},
"end": {
- "line": 176,
+ "line": 177,
"column": 38
}
}
@@ -22764,15 +22924,15 @@
"binop": null
},
"value": "obj2",
- "start": 4891,
- "end": 4895,
+ "start": 4915,
+ "end": 4919,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 39
},
"end": {
- "line": 176,
+ "line": 177,
"column": 43
}
}
@@ -22790,15 +22950,15 @@
"binop": null,
"updateContext": null
},
- "start": 4895,
- "end": 4896,
+ "start": 4919,
+ "end": 4920,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 43
},
"end": {
- "line": 176,
+ "line": 177,
"column": 44
}
}
@@ -22816,15 +22976,15 @@
"binop": null
},
"value": "posX",
- "start": 4896,
- "end": 4900,
+ "start": 4920,
+ "end": 4924,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 44
},
"end": {
- "line": 176,
+ "line": 177,
"column": 48
}
}
@@ -22842,15 +23002,15 @@
"binop": null,
"updateContext": null
},
- "start": 4900,
- "end": 4901,
+ "start": 4924,
+ "end": 4925,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 48
},
"end": {
- "line": 176,
+ "line": 177,
"column": 49
}
}
@@ -22869,15 +23029,15 @@
"updateContext": null
},
"value": 2,
- "start": 4902,
- "end": 4903,
+ "start": 4926,
+ "end": 4927,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 50
},
"end": {
- "line": 176,
+ "line": 177,
"column": 51
}
}
@@ -22894,15 +23054,15 @@
"postfix": false,
"binop": null
},
- "start": 4903,
- "end": 4904,
+ "start": 4927,
+ "end": 4928,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 51
},
"end": {
- "line": 176,
+ "line": 177,
"column": 52
}
}
@@ -22921,15 +23081,15 @@
"updateContext": null
},
"value": "+",
- "start": 4905,
- "end": 4906,
+ "start": 4929,
+ "end": 4930,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 53
},
"end": {
- "line": 176,
+ "line": 177,
"column": 54
}
}
@@ -22947,15 +23107,15 @@
"binop": null
},
"value": "Math",
- "start": 4907,
- "end": 4911,
+ "start": 4931,
+ "end": 4935,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 55
},
"end": {
- "line": 176,
+ "line": 177,
"column": 59
}
}
@@ -22973,15 +23133,15 @@
"binop": null,
"updateContext": null
},
- "start": 4911,
- "end": 4912,
+ "start": 4935,
+ "end": 4936,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 59
},
"end": {
- "line": 176,
+ "line": 177,
"column": 60
}
}
@@ -22999,15 +23159,15 @@
"binop": null
},
"value": "pow",
- "start": 4912,
- "end": 4915,
+ "start": 4936,
+ "end": 4939,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 60
},
"end": {
- "line": 176,
+ "line": 177,
"column": 63
}
}
@@ -23024,15 +23184,15 @@
"postfix": false,
"binop": null
},
- "start": 4915,
- "end": 4916,
+ "start": 4939,
+ "end": 4940,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 63
},
"end": {
- "line": 176,
+ "line": 177,
"column": 64
}
}
@@ -23050,15 +23210,15 @@
"binop": null
},
"value": "obj1",
- "start": 4916,
- "end": 4920,
+ "start": 4940,
+ "end": 4944,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 64
},
"end": {
- "line": 176,
+ "line": 177,
"column": 68
}
}
@@ -23076,15 +23236,15 @@
"binop": null,
"updateContext": null
},
- "start": 4920,
- "end": 4921,
+ "start": 4944,
+ "end": 4945,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 68
},
"end": {
- "line": 176,
+ "line": 177,
"column": 69
}
}
@@ -23102,15 +23262,15 @@
"binop": null
},
"value": "posY",
- "start": 4921,
- "end": 4925,
+ "start": 4945,
+ "end": 4949,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 69
},
"end": {
- "line": 176,
+ "line": 177,
"column": 73
}
}
@@ -23129,15 +23289,15 @@
"updateContext": null
},
"value": "-",
- "start": 4926,
- "end": 4927,
+ "start": 4950,
+ "end": 4951,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 74
},
"end": {
- "line": 176,
+ "line": 177,
"column": 75
}
}
@@ -23155,15 +23315,15 @@
"binop": null
},
"value": "obj2",
- "start": 4928,
- "end": 4932,
+ "start": 4952,
+ "end": 4956,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 76
},
"end": {
- "line": 176,
+ "line": 177,
"column": 80
}
}
@@ -23181,15 +23341,15 @@
"binop": null,
"updateContext": null
},
- "start": 4932,
- "end": 4933,
+ "start": 4956,
+ "end": 4957,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 80
},
"end": {
- "line": 176,
+ "line": 177,
"column": 81
}
}
@@ -23207,15 +23367,15 @@
"binop": null
},
"value": "posY",
- "start": 4933,
- "end": 4937,
+ "start": 4957,
+ "end": 4961,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 81
},
"end": {
- "line": 176,
+ "line": 177,
"column": 85
}
}
@@ -23233,15 +23393,15 @@
"binop": null,
"updateContext": null
},
- "start": 4937,
- "end": 4938,
+ "start": 4961,
+ "end": 4962,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 85
},
"end": {
- "line": 176,
+ "line": 177,
"column": 86
}
}
@@ -23260,15 +23420,15 @@
"updateContext": null
},
"value": 2,
- "start": 4939,
- "end": 4940,
+ "start": 4963,
+ "end": 4964,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 87
},
"end": {
- "line": 176,
+ "line": 177,
"column": 88
}
}
@@ -23285,15 +23445,15 @@
"postfix": false,
"binop": null
},
- "start": 4940,
- "end": 4941,
+ "start": 4964,
+ "end": 4965,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 88
},
"end": {
- "line": 176,
+ "line": 177,
"column": 89
}
}
@@ -23310,15 +23470,15 @@
"postfix": false,
"binop": null
},
- "start": 4941,
- "end": 4942,
+ "start": 4965,
+ "end": 4966,
"loc": {
"start": {
- "line": 176,
+ "line": 177,
"column": 89
},
"end": {
- "line": 176,
+ "line": 177,
"column": 90
}
}
@@ -23335,15 +23495,15 @@
"postfix": false,
"binop": null
},
- "start": 4943,
- "end": 4944,
+ "start": 4967,
+ "end": 4968,
"loc": {
"start": {
- "line": 177,
+ "line": 178,
"column": 0
},
"end": {
- "line": 177,
+ "line": 178,
"column": 1
}
}
@@ -23351,15 +23511,15 @@
{
"type": "CommentBlock",
"value": "*\n * Returns true if the object parameter is within the map boundaries.\n * @param {GameObject} obj The object to test\n * @return true if the object parameter is within the map boundaries\n ",
- "start": 4946,
- "end": 5138,
+ "start": 4970,
+ "end": 5162,
"loc": {
"start": {
- "line": 179,
+ "line": 180,
"column": 0
},
"end": {
- "line": 183,
+ "line": 184,
"column": 3
}
}
@@ -23379,15 +23539,15 @@
"updateContext": null
},
"value": "export",
- "start": 5139,
- "end": 5145,
+ "start": 5163,
+ "end": 5169,
"loc": {
"start": {
- "line": 184,
+ "line": 185,
"column": 0
},
"end": {
- "line": 184,
+ "line": 185,
"column": 6
}
}
@@ -23406,15 +23566,15 @@
"binop": null
},
"value": "function",
- "start": 5146,
- "end": 5154,
+ "start": 5170,
+ "end": 5178,
"loc": {
"start": {
- "line": 184,
+ "line": 185,
"column": 7
},
"end": {
- "line": 184,
+ "line": 185,
"column": 15
}
}
@@ -23432,15 +23592,15 @@
"binop": null
},
"value": "isInBounds",
- "start": 5155,
- "end": 5165,
+ "start": 5179,
+ "end": 5189,
"loc": {
"start": {
- "line": 184,
+ "line": 185,
"column": 16
},
"end": {
- "line": 184,
+ "line": 185,
"column": 26
}
}
@@ -23457,15 +23617,15 @@
"postfix": false,
"binop": null
},
- "start": 5166,
- "end": 5167,
+ "start": 5190,
+ "end": 5191,
"loc": {
"start": {
- "line": 184,
+ "line": 185,
"column": 27
},
"end": {
- "line": 184,
+ "line": 185,
"column": 28
}
}
@@ -23483,15 +23643,15 @@
"binop": null
},
"value": "obj",
- "start": 5167,
- "end": 5170,
+ "start": 5191,
+ "end": 5194,
"loc": {
"start": {
- "line": 184,
+ "line": 185,
"column": 28
},
"end": {
- "line": 184,
+ "line": 185,
"column": 31
}
}
@@ -23508,15 +23668,15 @@
"postfix": false,
"binop": null
},
- "start": 5170,
- "end": 5171,
+ "start": 5194,
+ "end": 5195,
"loc": {
"start": {
- "line": 184,
+ "line": 185,
"column": 31
},
"end": {
- "line": 184,
+ "line": 185,
"column": 32
}
}
@@ -23533,15 +23693,15 @@
"postfix": false,
"binop": null
},
- "start": 5172,
- "end": 5173,
+ "start": 5196,
+ "end": 5197,
"loc": {
"start": {
- "line": 184,
+ "line": 185,
"column": 33
},
"end": {
- "line": 184,
+ "line": 185,
"column": 34
}
}
@@ -23561,15 +23721,15 @@
"updateContext": null
},
"value": "return",
- "start": 5175,
- "end": 5181,
+ "start": 5199,
+ "end": 5205,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 1
},
"end": {
- "line": 185,
+ "line": 186,
"column": 7
}
}
@@ -23587,15 +23747,15 @@
"binop": null
},
"value": "obj",
- "start": 5182,
- "end": 5185,
+ "start": 5206,
+ "end": 5209,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 8
},
"end": {
- "line": 185,
+ "line": 186,
"column": 11
}
}
@@ -23613,15 +23773,15 @@
"binop": null,
"updateContext": null
},
- "start": 5185,
- "end": 5186,
+ "start": 5209,
+ "end": 5210,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 11
},
"end": {
- "line": 185,
+ "line": 186,
"column": 12
}
}
@@ -23639,15 +23799,15 @@
"binop": null
},
"value": "posX",
- "start": 5186,
- "end": 5190,
+ "start": 5210,
+ "end": 5214,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 12
},
"end": {
- "line": 185,
+ "line": 186,
"column": 16
}
}
@@ -23666,15 +23826,15 @@
"updateContext": null
},
"value": ">",
- "start": 5191,
- "end": 5192,
+ "start": 5215,
+ "end": 5216,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 17
},
"end": {
- "line": 185,
+ "line": 186,
"column": 18
}
}
@@ -23693,15 +23853,15 @@
"updateContext": null
},
"value": 0,
- "start": 5193,
- "end": 5194,
+ "start": 5217,
+ "end": 5218,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 19
},
"end": {
- "line": 185,
+ "line": 186,
"column": 20
}
}
@@ -23720,15 +23880,15 @@
"updateContext": null
},
"value": "&&",
- "start": 5195,
- "end": 5197,
+ "start": 5219,
+ "end": 5221,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 21
},
"end": {
- "line": 185,
+ "line": 186,
"column": 23
}
}
@@ -23746,15 +23906,15 @@
"binop": null
},
"value": "obj",
- "start": 5198,
- "end": 5201,
+ "start": 5222,
+ "end": 5225,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 24
},
"end": {
- "line": 185,
+ "line": 186,
"column": 27
}
}
@@ -23772,15 +23932,15 @@
"binop": null,
"updateContext": null
},
- "start": 5201,
- "end": 5202,
+ "start": 5225,
+ "end": 5226,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 27
},
"end": {
- "line": 185,
+ "line": 186,
"column": 28
}
}
@@ -23798,15 +23958,15 @@
"binop": null
},
"value": "posY",
- "start": 5202,
- "end": 5206,
+ "start": 5226,
+ "end": 5230,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 28
},
"end": {
- "line": 185,
+ "line": 186,
"column": 32
}
}
@@ -23825,15 +23985,15 @@
"updateContext": null
},
"value": ">",
- "start": 5207,
- "end": 5208,
+ "start": 5231,
+ "end": 5232,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 33
},
"end": {
- "line": 185,
+ "line": 186,
"column": 34
}
}
@@ -23852,15 +24012,15 @@
"updateContext": null
},
"value": "-",
- "start": 5209,
- "end": 5210,
+ "start": 5233,
+ "end": 5234,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 35
},
"end": {
- "line": 185,
+ "line": 186,
"column": 36
}
}
@@ -23878,15 +24038,15 @@
"binop": null
},
"value": "GLOBAL",
- "start": 5210,
- "end": 5216,
+ "start": 5234,
+ "end": 5240,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 36
},
"end": {
- "line": 185,
+ "line": 186,
"column": 42
}
}
@@ -23904,15 +24064,15 @@
"binop": null,
"updateContext": null
},
- "start": 5216,
- "end": 5217,
+ "start": 5240,
+ "end": 5241,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 42
},
"end": {
- "line": 185,
+ "line": 186,
"column": 43
}
}
@@ -23930,15 +24090,15 @@
"binop": null
},
"value": "GRID_SPACING",
- "start": 5217,
- "end": 5229,
+ "start": 5241,
+ "end": 5253,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 43
},
"end": {
- "line": 185,
+ "line": 186,
"column": 55
}
}
@@ -23957,15 +24117,15 @@
"updateContext": null
},
"value": "*",
- "start": 5230,
- "end": 5231,
+ "start": 5254,
+ "end": 5255,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 56
},
"end": {
- "line": 185,
+ "line": 186,
"column": 57
}
}
@@ -23984,15 +24144,15 @@
"updateContext": null
},
"value": 2,
- "start": 5232,
- "end": 5233,
+ "start": 5256,
+ "end": 5257,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 58
},
"end": {
- "line": 185,
+ "line": 186,
"column": 59
}
}
@@ -24011,15 +24171,15 @@
"updateContext": null
},
"value": "&&",
- "start": 5234,
- "end": 5236,
+ "start": 5258,
+ "end": 5260,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 60
},
"end": {
- "line": 185,
+ "line": 186,
"column": 62
}
}
@@ -24037,15 +24197,15 @@
"binop": null
},
"value": "obj",
- "start": 5237,
- "end": 5240,
+ "start": 5261,
+ "end": 5264,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 63
},
"end": {
- "line": 185,
+ "line": 186,
"column": 66
}
}
@@ -24063,15 +24223,15 @@
"binop": null,
"updateContext": null
},
- "start": 5240,
- "end": 5241,
+ "start": 5264,
+ "end": 5265,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 66
},
"end": {
- "line": 185,
+ "line": 186,
"column": 67
}
}
@@ -24089,15 +24249,15 @@
"binop": null
},
"value": "posX",
- "start": 5241,
- "end": 5245,
+ "start": 5265,
+ "end": 5269,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 67
},
"end": {
- "line": 185,
+ "line": 186,
"column": 71
}
}
@@ -24116,15 +24276,15 @@
"updateContext": null
},
"value": "<",
- "start": 5246,
- "end": 5247,
+ "start": 5270,
+ "end": 5271,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 72
},
"end": {
- "line": 185,
+ "line": 186,
"column": 73
}
}
@@ -24142,15 +24302,15 @@
"binop": null
},
"value": "MAP_LAYOUT",
- "start": 5248,
- "end": 5258,
+ "start": 5272,
+ "end": 5282,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 74
},
"end": {
- "line": 185,
+ "line": 186,
"column": 84
}
}
@@ -24168,15 +24328,15 @@
"binop": null,
"updateContext": null
},
- "start": 5258,
- "end": 5259,
+ "start": 5282,
+ "end": 5283,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 84
},
"end": {
- "line": 185,
+ "line": 186,
"column": 85
}
}
@@ -24195,15 +24355,15 @@
"updateContext": null
},
"value": 0,
- "start": 5259,
- "end": 5260,
+ "start": 5283,
+ "end": 5284,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 85
},
"end": {
- "line": 185,
+ "line": 186,
"column": 86
}
}
@@ -24221,15 +24381,15 @@
"binop": null,
"updateContext": null
},
- "start": 5260,
- "end": 5261,
+ "start": 5284,
+ "end": 5285,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 86
},
"end": {
- "line": 185,
+ "line": 186,
"column": 87
}
}
@@ -24247,15 +24407,15 @@
"binop": null,
"updateContext": null
},
- "start": 5261,
- "end": 5262,
+ "start": 5285,
+ "end": 5286,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 87
},
"end": {
- "line": 185,
+ "line": 186,
"column": 88
}
}
@@ -24273,15 +24433,15 @@
"binop": null
},
"value": "length",
- "start": 5262,
- "end": 5268,
+ "start": 5286,
+ "end": 5292,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 88
},
"end": {
- "line": 185,
+ "line": 186,
"column": 94
}
}
@@ -24300,15 +24460,15 @@
"updateContext": null
},
"value": "*",
- "start": 5269,
- "end": 5270,
+ "start": 5293,
+ "end": 5294,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 95
},
"end": {
- "line": 185,
+ "line": 186,
"column": 96
}
}
@@ -24326,15 +24486,15 @@
"binop": null
},
"value": "GLOBAL",
- "start": 5271,
- "end": 5277,
+ "start": 5295,
+ "end": 5301,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 97
},
"end": {
- "line": 185,
+ "line": 186,
"column": 103
}
}
@@ -24352,15 +24512,15 @@
"binop": null,
"updateContext": null
},
- "start": 5277,
- "end": 5278,
+ "start": 5301,
+ "end": 5302,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 103
},
"end": {
- "line": 185,
+ "line": 186,
"column": 104
}
}
@@ -24378,15 +24538,15 @@
"binop": null
},
"value": "GRID_SPACING",
- "start": 5278,
- "end": 5290,
+ "start": 5302,
+ "end": 5314,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 104
},
"end": {
- "line": 185,
+ "line": 186,
"column": 116
}
}
@@ -24405,15 +24565,15 @@
"updateContext": null
},
"value": "*",
- "start": 5291,
- "end": 5292,
+ "start": 5315,
+ "end": 5316,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 117
},
"end": {
- "line": 185,
+ "line": 186,
"column": 118
}
}
@@ -24432,15 +24592,15 @@
"updateContext": null
},
"value": 2,
- "start": 5293,
- "end": 5294,
+ "start": 5317,
+ "end": 5318,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 119
},
"end": {
- "line": 185,
+ "line": 186,
"column": 120
}
}
@@ -24459,15 +24619,15 @@
"updateContext": null
},
"value": "&&",
- "start": 5295,
- "end": 5297,
+ "start": 5319,
+ "end": 5321,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 121
},
"end": {
- "line": 185,
+ "line": 186,
"column": 123
}
}
@@ -24485,15 +24645,15 @@
"binop": null
},
"value": "obj",
- "start": 5298,
- "end": 5301,
+ "start": 5322,
+ "end": 5325,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 124
},
"end": {
- "line": 185,
+ "line": 186,
"column": 127
}
}
@@ -24511,15 +24671,15 @@
"binop": null,
"updateContext": null
},
- "start": 5301,
- "end": 5302,
+ "start": 5325,
+ "end": 5326,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 127
},
"end": {
- "line": 185,
+ "line": 186,
"column": 128
}
}
@@ -24537,15 +24697,15 @@
"binop": null
},
"value": "posY",
- "start": 5302,
- "end": 5306,
+ "start": 5326,
+ "end": 5330,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 128
},
"end": {
- "line": 185,
+ "line": 186,
"column": 132
}
}
@@ -24564,15 +24724,15 @@
"updateContext": null
},
"value": "<",
- "start": 5307,
- "end": 5308,
+ "start": 5331,
+ "end": 5332,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 133
},
"end": {
- "line": 185,
+ "line": 186,
"column": 134
}
}
@@ -24589,15 +24749,15 @@
"postfix": false,
"binop": null
},
- "start": 5309,
- "end": 5310,
+ "start": 5333,
+ "end": 5334,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 135
},
"end": {
- "line": 185,
+ "line": 186,
"column": 136
}
}
@@ -24615,15 +24775,15 @@
"binop": null
},
"value": "MAP_LAYOUT",
- "start": 5310,
- "end": 5320,
+ "start": 5334,
+ "end": 5344,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 136
},
"end": {
- "line": 185,
+ "line": 186,
"column": 146
}
}
@@ -24641,15 +24801,15 @@
"binop": null,
"updateContext": null
},
- "start": 5320,
- "end": 5321,
+ "start": 5344,
+ "end": 5345,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 146
},
"end": {
- "line": 185,
+ "line": 186,
"column": 147
}
}
@@ -24667,15 +24827,15 @@
"binop": null
},
"value": "length",
- "start": 5321,
- "end": 5327,
+ "start": 5345,
+ "end": 5351,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 147
},
"end": {
- "line": 185,
+ "line": 186,
"column": 153
}
}
@@ -24694,15 +24854,15 @@
"updateContext": null
},
"value": "-",
- "start": 5328,
- "end": 5329,
+ "start": 5352,
+ "end": 5353,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 154
},
"end": {
- "line": 185,
+ "line": 186,
"column": 155
}
}
@@ -24721,15 +24881,15 @@
"updateContext": null
},
"value": 1,
- "start": 5330,
- "end": 5331,
+ "start": 5354,
+ "end": 5355,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 156
},
"end": {
- "line": 185,
+ "line": 186,
"column": 157
}
}
@@ -24746,15 +24906,15 @@
"postfix": false,
"binop": null
},
- "start": 5331,
- "end": 5332,
+ "start": 5355,
+ "end": 5356,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 157
},
"end": {
- "line": 185,
+ "line": 186,
"column": 158
}
}
@@ -24773,15 +24933,15 @@
"updateContext": null
},
"value": "*",
- "start": 5333,
- "end": 5334,
+ "start": 5357,
+ "end": 5358,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 159
},
"end": {
- "line": 185,
+ "line": 186,
"column": 160
}
}
@@ -24799,15 +24959,15 @@
"binop": null
},
"value": "GLOBAL",
- "start": 5335,
- "end": 5341,
+ "start": 5359,
+ "end": 5365,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 161
},
"end": {
- "line": 185,
+ "line": 186,
"column": 167
}
}
@@ -24825,15 +24985,15 @@
"binop": null,
"updateContext": null
},
- "start": 5341,
- "end": 5342,
+ "start": 5365,
+ "end": 5366,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 167
},
"end": {
- "line": 185,
+ "line": 186,
"column": 168
}
}
@@ -24851,15 +25011,15 @@
"binop": null
},
"value": "GRID_SPACING",
- "start": 5342,
- "end": 5354,
+ "start": 5366,
+ "end": 5378,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 168
},
"end": {
- "line": 185,
+ "line": 186,
"column": 180
}
}
@@ -24878,15 +25038,15 @@
"updateContext": null
},
"value": "*",
- "start": 5355,
- "end": 5356,
+ "start": 5379,
+ "end": 5380,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 181
},
"end": {
- "line": 185,
+ "line": 186,
"column": 182
}
}
@@ -24905,15 +25065,15 @@
"updateContext": null
},
"value": 2,
- "start": 5357,
- "end": 5358,
+ "start": 5381,
+ "end": 5382,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 183
},
"end": {
- "line": 185,
+ "line": 186,
"column": 184
}
}
@@ -24930,15 +25090,15 @@
"postfix": false,
"binop": null
},
- "start": 5359,
- "end": 5360,
+ "start": 5383,
+ "end": 5384,
"loc": {
"start": {
- "line": 186,
+ "line": 187,
"column": 0
},
"end": {
- "line": 186,
+ "line": 187,
"column": 1
}
}
@@ -24946,15 +25106,15 @@
{
"type": "CommentBlock",
"value": "*\n * Gets the tile directly underneath any object.\n * @param {*} obj Any valid GameObject.\n * @returns {string} one-letter ID of current tile.\n ",
- "start": 5362,
- "end": 5510,
+ "start": 5386,
+ "end": 5534,
"loc": {
"start": {
- "line": 188,
+ "line": 189,
"column": 0
},
"end": {
- "line": 192,
+ "line": 193,
"column": 3
}
}
@@ -24974,15 +25134,15 @@
"updateContext": null
},
"value": "export",
- "start": 5511,
- "end": 5517,
+ "start": 5535,
+ "end": 5541,
"loc": {
"start": {
- "line": 193,
+ "line": 194,
"column": 0
},
"end": {
- "line": 193,
+ "line": 194,
"column": 6
}
}
@@ -25001,15 +25161,15 @@
"binop": null
},
"value": "function",
- "start": 5518,
- "end": 5526,
+ "start": 5542,
+ "end": 5550,
"loc": {
"start": {
- "line": 193,
+ "line": 194,
"column": 7
},
"end": {
- "line": 193,
+ "line": 194,
"column": 15
}
}
@@ -25027,15 +25187,15 @@
"binop": null
},
"value": "getCurrTile",
- "start": 5527,
- "end": 5538,
+ "start": 5551,
+ "end": 5562,
"loc": {
"start": {
- "line": 193,
+ "line": 194,
"column": 16
},
"end": {
- "line": 193,
+ "line": 194,
"column": 27
}
}
@@ -25052,15 +25212,15 @@
"postfix": false,
"binop": null
},
- "start": 5539,
- "end": 5540,
+ "start": 5563,
+ "end": 5564,
"loc": {
"start": {
- "line": 193,
+ "line": 194,
"column": 28
},
"end": {
- "line": 193,
+ "line": 194,
"column": 29
}
}
@@ -25078,15 +25238,15 @@
"binop": null
},
"value": "obj",
- "start": 5540,
- "end": 5543,
+ "start": 5564,
+ "end": 5567,
"loc": {
"start": {
- "line": 193,
+ "line": 194,
"column": 29
},
"end": {
- "line": 193,
+ "line": 194,
"column": 32
}
}
@@ -25103,15 +25263,15 @@
"postfix": false,
"binop": null
},
- "start": 5543,
- "end": 5544,
+ "start": 5567,
+ "end": 5568,
"loc": {
"start": {
- "line": 193,
+ "line": 194,
"column": 32
},
"end": {
- "line": 193,
+ "line": 194,
"column": 33
}
}
@@ -25128,15 +25288,15 @@
"postfix": false,
"binop": null
},
- "start": 5545,
- "end": 5546,
+ "start": 5569,
+ "end": 5570,
"loc": {
"start": {
- "line": 193,
+ "line": 194,
"column": 34
},
"end": {
- "line": 193,
+ "line": 194,
"column": 35
}
}
@@ -25156,15 +25316,15 @@
"updateContext": null
},
"value": "let",
- "start": 5548,
- "end": 5551,
+ "start": 5572,
+ "end": 5575,
"loc": {
"start": {
- "line": 194,
+ "line": 195,
"column": 1
},
"end": {
- "line": 194,
+ "line": 195,
"column": 4
}
}
@@ -25182,15 +25342,15 @@
"binop": null
},
"value": "pos",
- "start": 5552,
- "end": 5555,
+ "start": 5576,
+ "end": 5579,
"loc": {
"start": {
- "line": 194,
+ "line": 195,
"column": 5
},
"end": {
- "line": 194,
+ "line": 195,
"column": 8
}
}
@@ -25209,15 +25369,15 @@
"updateContext": null
},
"value": "=",
- "start": 5556,
- "end": 5557,
+ "start": 5580,
+ "end": 5581,
"loc": {
"start": {
- "line": 194,
+ "line": 195,
"column": 9
},
"end": {
- "line": 194,
+ "line": 195,
"column": 10
}
}
@@ -25235,15 +25395,15 @@
"binop": null
},
"value": "getGlobalLocation",
- "start": 5558,
- "end": 5575,
+ "start": 5582,
+ "end": 5599,
"loc": {
"start": {
- "line": 194,
+ "line": 195,
"column": 11
},
"end": {
- "line": 194,
+ "line": 195,
"column": 28
}
}
@@ -25260,15 +25420,15 @@
"postfix": false,
"binop": null
},
- "start": 5575,
- "end": 5576,
+ "start": 5599,
+ "end": 5600,
"loc": {
"start": {
- "line": 194,
+ "line": 195,
"column": 28
},
"end": {
- "line": 194,
+ "line": 195,
"column": 29
}
}
@@ -25286,15 +25446,15 @@
"binop": null
},
"value": "obj",
- "start": 5576,
- "end": 5579,
+ "start": 5600,
+ "end": 5603,
"loc": {
"start": {
- "line": 194,
+ "line": 195,
"column": 29
},
"end": {
- "line": 194,
+ "line": 195,
"column": 32
}
}
@@ -25311,15 +25471,15 @@
"postfix": false,
"binop": null
},
- "start": 5579,
- "end": 5580,
+ "start": 5603,
+ "end": 5604,
"loc": {
"start": {
- "line": 194,
+ "line": 195,
"column": 32
},
"end": {
- "line": 194,
+ "line": 195,
"column": 33
}
}
@@ -25339,15 +25499,15 @@
"updateContext": null
},
"value": "try",
- "start": 5583,
- "end": 5586,
+ "start": 5607,
+ "end": 5610,
"loc": {
"start": {
- "line": 196,
+ "line": 197,
"column": 1
},
"end": {
- "line": 196,
+ "line": 197,
"column": 4
}
}
@@ -25364,15 +25524,15 @@
"postfix": false,
"binop": null
},
- "start": 5587,
- "end": 5588,
+ "start": 5611,
+ "end": 5612,
"loc": {
"start": {
- "line": 196,
+ "line": 197,
"column": 5
},
"end": {
- "line": 196,
+ "line": 197,
"column": 6
}
}
@@ -25392,15 +25552,15 @@
"updateContext": null
},
"value": "return",
- "start": 5591,
- "end": 5597,
+ "start": 5615,
+ "end": 5621,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 2
},
"end": {
- "line": 197,
+ "line": 198,
"column": 8
}
}
@@ -25418,15 +25578,15 @@
"binop": null
},
"value": "MAP_LAYOUT",
- "start": 5598,
- "end": 5608,
+ "start": 5622,
+ "end": 5632,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 9
},
"end": {
- "line": 197,
+ "line": 198,
"column": 19
}
}
@@ -25444,15 +25604,15 @@
"binop": null,
"updateContext": null
},
- "start": 5608,
- "end": 5609,
+ "start": 5632,
+ "end": 5633,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 19
},
"end": {
- "line": 197,
+ "line": 198,
"column": 20
}
}
@@ -25470,15 +25630,15 @@
"binop": null
},
"value": "pos",
- "start": 5609,
- "end": 5612,
+ "start": 5633,
+ "end": 5636,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 20
},
"end": {
- "line": 197,
+ "line": 198,
"column": 23
}
}
@@ -25496,15 +25656,15 @@
"binop": null,
"updateContext": null
},
- "start": 5612,
- "end": 5613,
+ "start": 5636,
+ "end": 5637,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 23
},
"end": {
- "line": 197,
+ "line": 198,
"column": 24
}
}
@@ -25522,15 +25682,15 @@
"binop": null
},
"value": "globalY",
- "start": 5613,
- "end": 5620,
+ "start": 5637,
+ "end": 5644,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 24
},
"end": {
- "line": 197,
+ "line": 198,
"column": 31
}
}
@@ -25548,15 +25708,15 @@
"binop": null,
"updateContext": null
},
- "start": 5620,
- "end": 5621,
+ "start": 5644,
+ "end": 5645,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 31
},
"end": {
- "line": 197,
+ "line": 198,
"column": 32
}
}
@@ -25574,15 +25734,15 @@
"binop": null,
"updateContext": null
},
- "start": 5621,
- "end": 5622,
+ "start": 5645,
+ "end": 5646,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 32
},
"end": {
- "line": 197,
+ "line": 198,
"column": 33
}
}
@@ -25600,15 +25760,15 @@
"binop": null
},
"value": "pos",
- "start": 5622,
- "end": 5625,
+ "start": 5646,
+ "end": 5649,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 33
},
"end": {
- "line": 197,
+ "line": 198,
"column": 36
}
}
@@ -25626,15 +25786,15 @@
"binop": null,
"updateContext": null
},
- "start": 5625,
- "end": 5626,
+ "start": 5649,
+ "end": 5650,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 36
},
"end": {
- "line": 197,
+ "line": 198,
"column": 37
}
}
@@ -25652,15 +25812,15 @@
"binop": null
},
"value": "globalX",
- "start": 5626,
- "end": 5633,
+ "start": 5650,
+ "end": 5657,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 37
},
"end": {
- "line": 197,
+ "line": 198,
"column": 44
}
}
@@ -25678,15 +25838,15 @@
"binop": null,
"updateContext": null
},
- "start": 5633,
- "end": 5634,
+ "start": 5657,
+ "end": 5658,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 44
},
"end": {
- "line": 197,
+ "line": 198,
"column": 45
}
}
@@ -25703,15 +25863,15 @@
"postfix": false,
"binop": null
},
- "start": 5636,
- "end": 5637,
+ "start": 5660,
+ "end": 5661,
"loc": {
"start": {
- "line": 198,
+ "line": 199,
"column": 1
},
"end": {
- "line": 198,
+ "line": 199,
"column": 2
}
}
@@ -25731,15 +25891,15 @@
"updateContext": null
},
"value": "catch",
- "start": 5639,
- "end": 5644,
+ "start": 5663,
+ "end": 5668,
"loc": {
"start": {
- "line": 199,
+ "line": 200,
"column": 1
},
"end": {
- "line": 199,
+ "line": 200,
"column": 6
}
}
@@ -25756,15 +25916,15 @@
"postfix": false,
"binop": null
},
- "start": 5645,
- "end": 5646,
+ "start": 5669,
+ "end": 5670,
"loc": {
"start": {
- "line": 199,
+ "line": 200,
"column": 7
},
"end": {
- "line": 199,
+ "line": 200,
"column": 8
}
}
@@ -25782,15 +25942,15 @@
"binop": null
},
"value": "error",
- "start": 5646,
- "end": 5651,
+ "start": 5670,
+ "end": 5675,
"loc": {
"start": {
- "line": 199,
+ "line": 200,
"column": 8
},
"end": {
- "line": 199,
+ "line": 200,
"column": 13
}
}
@@ -25807,15 +25967,15 @@
"postfix": false,
"binop": null
},
- "start": 5651,
- "end": 5652,
+ "start": 5675,
+ "end": 5676,
"loc": {
"start": {
- "line": 199,
+ "line": 200,
"column": 13
},
"end": {
- "line": 199,
+ "line": 200,
"column": 14
}
}
@@ -25832,15 +25992,15 @@
"postfix": false,
"binop": null
},
- "start": 5653,
- "end": 5654,
+ "start": 5677,
+ "end": 5678,
"loc": {
"start": {
- "line": 199,
+ "line": 200,
"column": 15
},
"end": {
- "line": 199,
+ "line": 200,
"column": 16
}
}
@@ -25860,15 +26020,15 @@
"updateContext": null
},
"value": "return",
- "start": 5657,
- "end": 5663,
+ "start": 5681,
+ "end": 5687,
"loc": {
"start": {
- "line": 200,
+ "line": 201,
"column": 2
},
"end": {
- "line": 200,
+ "line": 201,
"column": 8
}
}
@@ -25887,15 +26047,15 @@
"updateContext": null
},
"value": "E",
- "start": 5664,
- "end": 5667,
+ "start": 5688,
+ "end": 5691,
"loc": {
"start": {
- "line": 200,
+ "line": 201,
"column": 9
},
"end": {
- "line": 200,
+ "line": 201,
"column": 12
}
}
@@ -25912,15 +26072,15 @@
"postfix": false,
"binop": null
},
- "start": 5669,
- "end": 5670,
+ "start": 5693,
+ "end": 5694,
"loc": {
"start": {
- "line": 201,
+ "line": 202,
"column": 1
},
"end": {
- "line": 201,
+ "line": 202,
"column": 2
}
}
@@ -25937,15 +26097,15 @@
"postfix": false,
"binop": null
},
- "start": 5671,
- "end": 5672,
+ "start": 5695,
+ "end": 5696,
"loc": {
"start": {
- "line": 202,
+ "line": 203,
"column": 0
},
"end": {
- "line": 202,
+ "line": 203,
"column": 1
}
}
@@ -25953,15 +26113,15 @@
{
"type": "CommentBlock",
"value": "*\n * Gets the coordinates of the tile directly underneath the object.\n * @param {*} obj Any valid GameObject.\n ",
- "start": 5674,
- "end": 5789,
+ "start": 5698,
+ "end": 5813,
"loc": {
"start": {
- "line": 204,
+ "line": 205,
"column": 0
},
"end": {
- "line": 207,
+ "line": 208,
"column": 3
}
}
@@ -25981,15 +26141,15 @@
"updateContext": null
},
"value": "export",
- "start": 5790,
- "end": 5796,
+ "start": 5814,
+ "end": 5820,
"loc": {
"start": {
- "line": 208,
+ "line": 209,
"column": 0
},
"end": {
- "line": 208,
+ "line": 209,
"column": 6
}
}
@@ -26008,15 +26168,15 @@
"binop": null
},
"value": "function",
- "start": 5797,
- "end": 5805,
+ "start": 5821,
+ "end": 5829,
"loc": {
"start": {
- "line": 208,
+ "line": 209,
"column": 7
},
"end": {
- "line": 208,
+ "line": 209,
"column": 15
}
}
@@ -26034,15 +26194,15 @@
"binop": null
},
"value": "getGlobalLocation",
- "start": 5806,
- "end": 5823,
+ "start": 5830,
+ "end": 5847,
"loc": {
"start": {
- "line": 208,
+ "line": 209,
"column": 16
},
"end": {
- "line": 208,
+ "line": 209,
"column": 33
}
}
@@ -26059,15 +26219,15 @@
"postfix": false,
"binop": null
},
- "start": 5824,
- "end": 5825,
+ "start": 5848,
+ "end": 5849,
"loc": {
"start": {
- "line": 208,
+ "line": 209,
"column": 34
},
"end": {
- "line": 208,
+ "line": 209,
"column": 35
}
}
@@ -26085,15 +26245,15 @@
"binop": null
},
"value": "obj",
- "start": 5825,
- "end": 5828,
+ "start": 5849,
+ "end": 5852,
"loc": {
"start": {
- "line": 208,
+ "line": 209,
"column": 35
},
"end": {
- "line": 208,
+ "line": 209,
"column": 38
}
}
@@ -26110,15 +26270,15 @@
"postfix": false,
"binop": null
},
- "start": 5828,
- "end": 5829,
+ "start": 5852,
+ "end": 5853,
"loc": {
"start": {
- "line": 208,
+ "line": 209,
"column": 38
},
"end": {
- "line": 208,
+ "line": 209,
"column": 39
}
}
@@ -26135,15 +26295,15 @@
"postfix": false,
"binop": null
},
- "start": 5830,
- "end": 5831,
+ "start": 5854,
+ "end": 5855,
"loc": {
"start": {
- "line": 208,
+ "line": 209,
"column": 40
},
"end": {
- "line": 208,
+ "line": 209,
"column": 41
}
}
@@ -26163,15 +26323,15 @@
"updateContext": null
},
"value": "return",
- "start": 5833,
- "end": 5839,
+ "start": 5857,
+ "end": 5863,
"loc": {
"start": {
- "line": 209,
+ "line": 210,
"column": 1
},
"end": {
- "line": 209,
+ "line": 210,
"column": 7
}
}
@@ -26188,15 +26348,15 @@
"postfix": false,
"binop": null
},
- "start": 5840,
- "end": 5841,
+ "start": 5864,
+ "end": 5865,
"loc": {
"start": {
- "line": 209,
+ "line": 210,
"column": 8
},
"end": {
- "line": 209,
+ "line": 210,
"column": 9
}
}
@@ -26214,15 +26374,15 @@
"binop": null
},
"value": "globalY",
- "start": 5844,
- "end": 5851,
+ "start": 5868,
+ "end": 5875,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 2
},
"end": {
- "line": 210,
+ "line": 211,
"column": 9
}
}
@@ -26240,15 +26400,15 @@
"binop": null,
"updateContext": null
},
- "start": 5851,
- "end": 5852,
+ "start": 5875,
+ "end": 5876,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 9
},
"end": {
- "line": 210,
+ "line": 211,
"column": 10
}
}
@@ -26266,15 +26426,15 @@
"binop": null
},
"value": "Math",
- "start": 5853,
- "end": 5857,
+ "start": 5877,
+ "end": 5881,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 11
},
"end": {
- "line": 210,
+ "line": 211,
"column": 15
}
}
@@ -26292,15 +26452,15 @@
"binop": null,
"updateContext": null
},
- "start": 5857,
- "end": 5858,
+ "start": 5881,
+ "end": 5882,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 15
},
"end": {
- "line": 210,
+ "line": 211,
"column": 16
}
}
@@ -26318,15 +26478,15 @@
"binop": null
},
"value": "floor",
- "start": 5858,
- "end": 5863,
+ "start": 5882,
+ "end": 5887,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 16
},
"end": {
- "line": 210,
+ "line": 211,
"column": 21
}
}
@@ -26343,15 +26503,15 @@
"postfix": false,
"binop": null
},
- "start": 5863,
- "end": 5864,
+ "start": 5887,
+ "end": 5888,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 21
},
"end": {
- "line": 210,
+ "line": 211,
"column": 22
}
}
@@ -26369,15 +26529,15 @@
"binop": null
},
"value": "obj",
- "start": 5864,
- "end": 5867,
+ "start": 5888,
+ "end": 5891,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 22
},
"end": {
- "line": 210,
+ "line": 211,
"column": 25
}
}
@@ -26395,15 +26555,15 @@
"binop": null,
"updateContext": null
},
- "start": 5867,
- "end": 5868,
+ "start": 5891,
+ "end": 5892,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 25
},
"end": {
- "line": 210,
+ "line": 211,
"column": 26
}
}
@@ -26421,15 +26581,15 @@
"binop": null
},
"value": "posY",
- "start": 5868,
- "end": 5872,
+ "start": 5892,
+ "end": 5896,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 26
},
"end": {
- "line": 210,
+ "line": 211,
"column": 30
}
}
@@ -26448,15 +26608,15 @@
"updateContext": null
},
"value": "/",
- "start": 5873,
- "end": 5874,
+ "start": 5897,
+ "end": 5898,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 31
},
"end": {
- "line": 210,
+ "line": 211,
"column": 32
}
}
@@ -26473,15 +26633,15 @@
"postfix": false,
"binop": null
},
- "start": 5875,
- "end": 5876,
+ "start": 5899,
+ "end": 5900,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 33
},
"end": {
- "line": 210,
+ "line": 211,
"column": 34
}
}
@@ -26499,15 +26659,15 @@
"binop": null
},
"value": "GLOBAL",
- "start": 5876,
- "end": 5882,
+ "start": 5900,
+ "end": 5906,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 34
},
"end": {
- "line": 210,
+ "line": 211,
"column": 40
}
}
@@ -26525,15 +26685,15 @@
"binop": null,
"updateContext": null
},
- "start": 5882,
- "end": 5883,
+ "start": 5906,
+ "end": 5907,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 40
},
"end": {
- "line": 210,
+ "line": 211,
"column": 41
}
}
@@ -26551,15 +26711,15 @@
"binop": null
},
"value": "GRID_SPACING",
- "start": 5883,
- "end": 5895,
+ "start": 5907,
+ "end": 5919,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 41
},
"end": {
- "line": 210,
+ "line": 211,
"column": 53
}
}
@@ -26578,15 +26738,15 @@
"updateContext": null
},
"value": "*",
- "start": 5896,
- "end": 5897,
+ "start": 5920,
+ "end": 5921,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 54
},
"end": {
- "line": 210,
+ "line": 211,
"column": 55
}
}
@@ -26605,15 +26765,15 @@
"updateContext": null
},
"value": 2,
- "start": 5898,
- "end": 5899,
+ "start": 5922,
+ "end": 5923,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 56
},
"end": {
- "line": 210,
+ "line": 211,
"column": 57
}
}
@@ -26630,15 +26790,15 @@
"postfix": false,
"binop": null
},
- "start": 5899,
- "end": 5900,
+ "start": 5923,
+ "end": 5924,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 57
},
"end": {
- "line": 210,
+ "line": 211,
"column": 58
}
}
@@ -26655,15 +26815,15 @@
"postfix": false,
"binop": null
},
- "start": 5900,
- "end": 5901,
+ "start": 5924,
+ "end": 5925,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 58
},
"end": {
- "line": 210,
+ "line": 211,
"column": 59
}
}
@@ -26682,15 +26842,15 @@
"updateContext": null
},
"value": "+",
- "start": 5902,
- "end": 5903,
+ "start": 5926,
+ "end": 5927,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 60
},
"end": {
- "line": 210,
+ "line": 211,
"column": 61
}
}
@@ -26709,15 +26869,15 @@
"updateContext": null
},
"value": 1,
- "start": 5904,
- "end": 5905,
+ "start": 5928,
+ "end": 5929,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 62
},
"end": {
- "line": 210,
+ "line": 211,
"column": 63
}
}
@@ -26735,15 +26895,15 @@
"binop": null,
"updateContext": null
},
- "start": 5905,
- "end": 5906,
+ "start": 5929,
+ "end": 5930,
"loc": {
"start": {
- "line": 210,
+ "line": 211,
"column": 63
},
"end": {
- "line": 210,
+ "line": 211,
"column": 64
}
}
@@ -26761,15 +26921,15 @@
"binop": null
},
"value": "globalX",
- "start": 5909,
- "end": 5916,
+ "start": 5933,
+ "end": 5940,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 2
},
"end": {
- "line": 211,
+ "line": 212,
"column": 9
}
}
@@ -26787,15 +26947,15 @@
"binop": null,
"updateContext": null
},
- "start": 5916,
- "end": 5917,
+ "start": 5940,
+ "end": 5941,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 9
},
"end": {
- "line": 211,
+ "line": 212,
"column": 10
}
}
@@ -26813,15 +26973,15 @@
"binop": null
},
"value": "Math",
- "start": 5918,
- "end": 5922,
+ "start": 5942,
+ "end": 5946,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 11
},
"end": {
- "line": 211,
+ "line": 212,
"column": 15
}
}
@@ -26839,15 +26999,15 @@
"binop": null,
"updateContext": null
},
- "start": 5922,
- "end": 5923,
+ "start": 5946,
+ "end": 5947,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 15
},
"end": {
- "line": 211,
+ "line": 212,
"column": 16
}
}
@@ -26865,15 +27025,15 @@
"binop": null
},
"value": "floor",
- "start": 5923,
- "end": 5928,
+ "start": 5947,
+ "end": 5952,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 16
},
"end": {
- "line": 211,
+ "line": 212,
"column": 21
}
}
@@ -26890,15 +27050,15 @@
"postfix": false,
"binop": null
},
- "start": 5928,
- "end": 5929,
+ "start": 5952,
+ "end": 5953,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 21
},
"end": {
- "line": 211,
+ "line": 212,
"column": 22
}
}
@@ -26916,15 +27076,15 @@
"binop": null
},
"value": "obj",
- "start": 5929,
- "end": 5932,
+ "start": 5953,
+ "end": 5956,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 22
},
"end": {
- "line": 211,
+ "line": 212,
"column": 25
}
}
@@ -26942,15 +27102,15 @@
"binop": null,
"updateContext": null
},
- "start": 5932,
- "end": 5933,
+ "start": 5956,
+ "end": 5957,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 25
},
"end": {
- "line": 211,
+ "line": 212,
"column": 26
}
}
@@ -26968,15 +27128,15 @@
"binop": null
},
"value": "posX",
- "start": 5933,
- "end": 5937,
+ "start": 5957,
+ "end": 5961,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 26
},
"end": {
- "line": 211,
+ "line": 212,
"column": 30
}
}
@@ -26995,15 +27155,15 @@
"updateContext": null
},
"value": "/",
- "start": 5938,
- "end": 5939,
+ "start": 5962,
+ "end": 5963,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 31
},
"end": {
- "line": 211,
+ "line": 212,
"column": 32
}
}
@@ -27020,15 +27180,15 @@
"postfix": false,
"binop": null
},
- "start": 5940,
- "end": 5941,
+ "start": 5964,
+ "end": 5965,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 33
},
"end": {
- "line": 211,
+ "line": 212,
"column": 34
}
}
@@ -27046,15 +27206,15 @@
"binop": null
},
"value": "GLOBAL",
- "start": 5941,
- "end": 5947,
+ "start": 5965,
+ "end": 5971,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 34
},
"end": {
- "line": 211,
+ "line": 212,
"column": 40
}
}
@@ -27072,15 +27232,15 @@
"binop": null,
"updateContext": null
},
- "start": 5947,
- "end": 5948,
+ "start": 5971,
+ "end": 5972,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 40
},
"end": {
- "line": 211,
+ "line": 212,
"column": 41
}
}
@@ -27098,15 +27258,15 @@
"binop": null
},
"value": "GRID_SPACING",
- "start": 5948,
- "end": 5960,
+ "start": 5972,
+ "end": 5984,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 41
},
"end": {
- "line": 211,
+ "line": 212,
"column": 53
}
}
@@ -27125,15 +27285,15 @@
"updateContext": null
},
"value": "*",
- "start": 5961,
- "end": 5962,
+ "start": 5985,
+ "end": 5986,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 54
},
"end": {
- "line": 211,
+ "line": 212,
"column": 55
}
}
@@ -27152,15 +27312,15 @@
"updateContext": null
},
"value": 2,
- "start": 5963,
- "end": 5964,
+ "start": 5987,
+ "end": 5988,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 56
},
"end": {
- "line": 211,
+ "line": 212,
"column": 57
}
}
@@ -27177,15 +27337,15 @@
"postfix": false,
"binop": null
},
- "start": 5964,
- "end": 5965,
+ "start": 5988,
+ "end": 5989,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 57
},
"end": {
- "line": 211,
+ "line": 212,
"column": 58
}
}
@@ -27202,15 +27362,15 @@
"postfix": false,
"binop": null
},
- "start": 5965,
- "end": 5966,
+ "start": 5989,
+ "end": 5990,
"loc": {
"start": {
- "line": 211,
+ "line": 212,
"column": 58
},
"end": {
- "line": 211,
+ "line": 212,
"column": 59
}
}
@@ -27227,15 +27387,15 @@
"postfix": false,
"binop": null
},
- "start": 5968,
- "end": 5969,
+ "start": 5992,
+ "end": 5993,
"loc": {
"start": {
- "line": 212,
+ "line": 213,
"column": 1
},
"end": {
- "line": 212,
+ "line": 213,
"column": 2
}
}
@@ -27252,15 +27412,15 @@
"postfix": false,
"binop": null
},
- "start": 5970,
- "end": 5971,
+ "start": 5994,
+ "end": 5995,
"loc": {
"start": {
- "line": 213,
+ "line": 214,
"column": 0
},
"end": {
- "line": 213,
+ "line": 214,
"column": 1
}
}
@@ -27278,15 +27438,15 @@
"binop": null,
"updateContext": null
},
- "start": 5972,
- "end": 5972,
+ "start": 5996,
+ "end": 5996,
"loc": {
"start": {
- "line": 214,
+ "line": 215,
"column": 0
},
"end": {
- "line": 214,
+ "line": 215,
"column": 0
}
}
diff --git a/docs/ast/source/client/js/obj/blueprints.js.json b/docs/ast/source/client/js/obj/blueprints.js.json
index 04d65dd..d2070b1 100644
--- a/docs/ast/source/client/js/obj/blueprints.js.json
+++ b/docs/ast/source/client/js/obj/blueprints.js.json
@@ -1,7 +1,7 @@
{
"type": "File",
"start": 0,
- "end": 4589,
+ "end": 4588,
"loc": {
"start": {
"line": 1,
@@ -15,7 +15,7 @@
"program": {
"type": "Program",
"start": 0,
- "end": 4589,
+ "end": 4588,
"loc": {
"start": {
"line": 1,
@@ -31,7 +31,7 @@
{
"type": "ExportNamedDeclaration",
"start": 710,
- "end": 4588,
+ "end": 4587,
"loc": {
"start": {
"line": 14,
@@ -47,7 +47,7 @@
"declaration": {
"type": "VariableDeclaration",
"start": 717,
- "end": 4588,
+ "end": 4587,
"loc": {
"start": {
"line": 14,
@@ -62,7 +62,7 @@
{
"type": "VariableDeclarator",
"start": 723,
- "end": 4588,
+ "end": 4587,
"loc": {
"start": {
"line": 14,
@@ -94,7 +94,7 @@
"init": {
"type": "ObjectExpression",
"start": 736,
- "end": 4588,
+ "end": 4587,
"loc": {
"start": {
"line": 14,
@@ -8798,7 +8798,7 @@
{
"type": "ObjectProperty",
"start": 4053,
- "end": 4242,
+ "end": 4241,
"loc": {
"start": {
"line": 206,
@@ -8832,7 +8832,7 @@
"value": {
"type": "ObjectExpression",
"start": 4060,
- "end": 4242,
+ "end": 4241,
"loc": {
"start": {
"line": 206,
@@ -9118,7 +9118,7 @@
{
"type": "ObjectProperty",
"start": 4179,
- "end": 4215,
+ "end": 4214,
"loc": {
"start": {
"line": 212,
@@ -9152,7 +9152,7 @@
"value": {
"type": "ObjectExpression",
"start": 4187,
- "end": 4215,
+ "end": 4214,
"loc": {
"start": {
"line": 212,
@@ -9167,7 +9167,7 @@
{
"type": "ObjectProperty",
"start": 4192,
- "end": 4211,
+ "end": 4210,
"loc": {
"start": {
"line": 213,
@@ -9175,7 +9175,7 @@
},
"end": {
"line": 213,
- "column": 22
+ "column": 21
}
},
"method": false,
@@ -9201,7 +9201,7 @@
"value": {
"type": "NumericLiteral",
"start": 4209,
- "end": 4211,
+ "end": 4210,
"loc": {
"start": {
"line": 213,
@@ -9209,14 +9209,14 @@
},
"end": {
"line": 213,
- "column": 22
+ "column": 21
}
},
"extra": {
- "rawValue": 10,
- "raw": "10"
+ "rawValue": 1,
+ "raw": "1"
},
- "value": 10
+ "value": 1
}
}
]
@@ -9224,8 +9224,8 @@
},
{
"type": "ObjectProperty",
- "start": 4219,
- "end": 4239,
+ "start": 4218,
+ "end": 4238,
"loc": {
"start": {
"line": 215,
@@ -9241,8 +9241,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4219,
- "end": 4224,
+ "start": 4218,
+ "end": 4223,
"loc": {
"start": {
"line": 215,
@@ -9258,8 +9258,8 @@
},
"value": {
"type": "ObjectExpression",
- "start": 4226,
- "end": 4239,
+ "start": 4225,
+ "end": 4238,
"loc": {
"start": {
"line": 215,
@@ -9273,8 +9273,8 @@
"properties": [
{
"type": "ObjectProperty",
- "start": 4231,
- "end": 4235,
+ "start": 4230,
+ "end": 4234,
"loc": {
"start": {
"line": 216,
@@ -9290,8 +9290,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4231,
- "end": 4232,
+ "start": 4230,
+ "end": 4231,
"loc": {
"start": {
"line": 216,
@@ -9307,8 +9307,8 @@
},
"value": {
"type": "NumericLiteral",
- "start": 4234,
- "end": 4235,
+ "start": 4233,
+ "end": 4234,
"loc": {
"start": {
"line": 216,
@@ -9334,8 +9334,8 @@
},
{
"type": "ObjectProperty",
- "start": 4245,
- "end": 4504,
+ "start": 4244,
+ "end": 4503,
"loc": {
"start": {
"line": 219,
@@ -9351,8 +9351,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4245,
- "end": 4252,
+ "start": 4244,
+ "end": 4251,
"loc": {
"start": {
"line": 219,
@@ -9368,8 +9368,8 @@
},
"value": {
"type": "ObjectExpression",
- "start": 4254,
- "end": 4504,
+ "start": 4253,
+ "end": 4503,
"loc": {
"start": {
"line": 219,
@@ -9383,8 +9383,8 @@
"properties": [
{
"type": "ObjectProperty",
- "start": 4258,
- "end": 4273,
+ "start": 4257,
+ "end": 4272,
"loc": {
"start": {
"line": 220,
@@ -9400,8 +9400,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4258,
- "end": 4262,
+ "start": 4257,
+ "end": 4261,
"loc": {
"start": {
"line": 220,
@@ -9417,8 +9417,8 @@
},
"value": {
"type": "StringLiteral",
- "start": 4264,
- "end": 4273,
+ "start": 4263,
+ "end": 4272,
"loc": {
"start": {
"line": 220,
@@ -9438,8 +9438,8 @@
},
{
"type": "ObjectProperty",
- "start": 4277,
- "end": 4291,
+ "start": 4276,
+ "end": 4290,
"loc": {
"start": {
"line": 221,
@@ -9455,8 +9455,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4277,
- "end": 4285,
+ "start": 4276,
+ "end": 4284,
"loc": {
"start": {
"line": 221,
@@ -9472,8 +9472,8 @@
},
"value": {
"type": "BooleanLiteral",
- "start": 4287,
- "end": 4291,
+ "start": 4286,
+ "end": 4290,
"loc": {
"start": {
"line": 221,
@@ -9489,8 +9489,8 @@
},
{
"type": "ObjectProperty",
- "start": 4295,
- "end": 4360,
+ "start": 4294,
+ "end": 4359,
"loc": {
"start": {
"line": 222,
@@ -9506,8 +9506,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4295,
- "end": 4302,
+ "start": 4294,
+ "end": 4301,
"loc": {
"start": {
"line": 222,
@@ -9523,8 +9523,8 @@
},
"value": {
"type": "StringLiteral",
- "start": 4304,
- "end": 4360,
+ "start": 4303,
+ "end": 4359,
"loc": {
"start": {
"line": 222,
@@ -9544,8 +9544,8 @@
},
{
"type": "ObjectProperty",
- "start": 4364,
- "end": 4386,
+ "start": 4363,
+ "end": 4385,
"loc": {
"start": {
"line": 223,
@@ -9561,8 +9561,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4364,
- "end": 4371,
+ "start": 4363,
+ "end": 4370,
"loc": {
"start": {
"line": 223,
@@ -9578,8 +9578,8 @@
},
"value": {
"type": "StringLiteral",
- "start": 4373,
- "end": 4386,
+ "start": 4372,
+ "end": 4385,
"loc": {
"start": {
"line": 223,
@@ -9599,8 +9599,8 @@
},
{
"type": "ObjectProperty",
- "start": 4390,
- "end": 4403,
+ "start": 4389,
+ "end": 4402,
"loc": {
"start": {
"line": 224,
@@ -9616,8 +9616,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4390,
- "end": 4394,
+ "start": 4389,
+ "end": 4393,
"loc": {
"start": {
"line": 224,
@@ -9633,8 +9633,8 @@
},
"value": {
"type": "StringLiteral",
- "start": 4396,
- "end": 4403,
+ "start": 4395,
+ "end": 4402,
"loc": {
"start": {
"line": 224,
@@ -9654,8 +9654,8 @@
},
{
"type": "ObjectProperty",
- "start": 4407,
- "end": 4468,
+ "start": 4406,
+ "end": 4467,
"loc": {
"start": {
"line": 225,
@@ -9671,8 +9671,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4407,
- "end": 4413,
+ "start": 4406,
+ "end": 4412,
"loc": {
"start": {
"line": 225,
@@ -9688,8 +9688,8 @@
},
"value": {
"type": "ObjectExpression",
- "start": 4415,
- "end": 4468,
+ "start": 4414,
+ "end": 4467,
"loc": {
"start": {
"line": 225,
@@ -9703,8 +9703,8 @@
"properties": [
{
"type": "ObjectProperty",
- "start": 4420,
- "end": 4428,
+ "start": 4419,
+ "end": 4427,
"loc": {
"start": {
"line": 226,
@@ -9720,8 +9720,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4420,
- "end": 4425,
+ "start": 4419,
+ "end": 4424,
"loc": {
"start": {
"line": 226,
@@ -9737,8 +9737,8 @@
},
"value": {
"type": "NumericLiteral",
- "start": 4427,
- "end": 4428,
+ "start": 4426,
+ "end": 4427,
"loc": {
"start": {
"line": 226,
@@ -9758,8 +9758,8 @@
},
{
"type": "ObjectProperty",
- "start": 4433,
- "end": 4450,
+ "start": 4432,
+ "end": 4449,
"loc": {
"start": {
"line": 227,
@@ -9775,8 +9775,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4433,
- "end": 4445,
+ "start": 4432,
+ "end": 4444,
"loc": {
"start": {
"line": 227,
@@ -9792,8 +9792,8 @@
},
"value": {
"type": "NumericLiteral",
- "start": 4447,
- "end": 4450,
+ "start": 4446,
+ "end": 4449,
"loc": {
"start": {
"line": 227,
@@ -9813,8 +9813,8 @@
},
{
"type": "ObjectProperty",
- "start": 4455,
- "end": 4464,
+ "start": 4454,
+ "end": 4463,
"loc": {
"start": {
"line": 228,
@@ -9830,8 +9830,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4455,
- "end": 4459,
+ "start": 4454,
+ "end": 4458,
"loc": {
"start": {
"line": 228,
@@ -9847,8 +9847,8 @@
},
"value": {
"type": "NumericLiteral",
- "start": 4461,
- "end": 4464,
+ "start": 4460,
+ "end": 4463,
"loc": {
"start": {
"line": 228,
@@ -9871,8 +9871,8 @@
},
{
"type": "ObjectProperty",
- "start": 4472,
- "end": 4501,
+ "start": 4471,
+ "end": 4500,
"loc": {
"start": {
"line": 230,
@@ -9888,8 +9888,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4472,
- "end": 4477,
+ "start": 4471,
+ "end": 4476,
"loc": {
"start": {
"line": 230,
@@ -9905,8 +9905,8 @@
},
"value": {
"type": "ObjectExpression",
- "start": 4479,
- "end": 4501,
+ "start": 4478,
+ "end": 4500,
"loc": {
"start": {
"line": 230,
@@ -9920,8 +9920,8 @@
"properties": [
{
"type": "ObjectProperty",
- "start": 4484,
- "end": 4488,
+ "start": 4483,
+ "end": 4487,
"loc": {
"start": {
"line": 231,
@@ -9937,8 +9937,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4484,
- "end": 4485,
+ "start": 4483,
+ "end": 4484,
"loc": {
"start": {
"line": 231,
@@ -9954,8 +9954,8 @@
},
"value": {
"type": "NumericLiteral",
- "start": 4487,
- "end": 4488,
+ "start": 4486,
+ "end": 4487,
"loc": {
"start": {
"line": 231,
@@ -9975,8 +9975,8 @@
},
{
"type": "ObjectProperty",
- "start": 4493,
- "end": 4497,
+ "start": 4492,
+ "end": 4496,
"loc": {
"start": {
"line": 232,
@@ -9992,8 +9992,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4493,
- "end": 4494,
+ "start": 4492,
+ "end": 4493,
"loc": {
"start": {
"line": 232,
@@ -10009,8 +10009,8 @@
},
"value": {
"type": "NumericLiteral",
- "start": 4496,
- "end": 4497,
+ "start": 4495,
+ "end": 4496,
"loc": {
"start": {
"line": 232,
@@ -10034,8 +10034,8 @@
{
"type": "CommentLine",
"value": " alcohol: {",
- "start": 4506,
- "end": 4519,
+ "start": 4505,
+ "end": 4518,
"loc": {
"start": {
"line": 235,
@@ -10050,8 +10050,8 @@
{
"type": "CommentLine",
"value": " \tname: 'Alcohol',",
- "start": 4521,
- "end": 4541,
+ "start": 4520,
+ "end": 4540,
"loc": {
"start": {
"line": 236,
@@ -10066,8 +10066,8 @@
{
"type": "CommentLine",
"value": " \tunlocked: false,",
- "start": 4543,
- "end": 4563,
+ "start": 4542,
+ "end": 4562,
"loc": {
"start": {
"line": 237,
@@ -10082,8 +10082,8 @@
{
"type": "CommentLine",
"value": " \ttooltip: ''",
- "start": 4565,
- "end": 4580,
+ "start": 4564,
+ "end": 4579,
"loc": {
"start": {
"line": 238,
@@ -10098,8 +10098,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 4582,
- "end": 4586,
+ "start": 4581,
+ "end": 4585,
"loc": {
"start": {
"line": 239,
@@ -10120,8 +10120,8 @@
{
"type": "CommentLine",
"value": " alcohol: {",
- "start": 4506,
- "end": 4519,
+ "start": 4505,
+ "end": 4518,
"loc": {
"start": {
"line": 235,
@@ -10136,8 +10136,8 @@
{
"type": "CommentLine",
"value": " \tname: 'Alcohol',",
- "start": 4521,
- "end": 4541,
+ "start": 4520,
+ "end": 4540,
"loc": {
"start": {
"line": 236,
@@ -10152,8 +10152,8 @@
{
"type": "CommentLine",
"value": " \tunlocked: false,",
- "start": 4543,
- "end": 4563,
+ "start": 4542,
+ "end": 4562,
"loc": {
"start": {
"line": 237,
@@ -10168,8 +10168,8 @@
{
"type": "CommentLine",
"value": " \ttooltip: ''",
- "start": 4565,
- "end": 4580,
+ "start": 4564,
+ "end": 4579,
"loc": {
"start": {
"line": 238,
@@ -10184,8 +10184,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 4582,
- "end": 4586,
+ "start": 4581,
+ "end": 4585,
"loc": {
"start": {
"line": 239,
@@ -10267,8 +10267,8 @@
{
"type": "CommentLine",
"value": " alcohol: {",
- "start": 4506,
- "end": 4519,
+ "start": 4505,
+ "end": 4518,
"loc": {
"start": {
"line": 235,
@@ -10283,8 +10283,8 @@
{
"type": "CommentLine",
"value": " \tname: 'Alcohol',",
- "start": 4521,
- "end": 4541,
+ "start": 4520,
+ "end": 4540,
"loc": {
"start": {
"line": 236,
@@ -10299,8 +10299,8 @@
{
"type": "CommentLine",
"value": " \tunlocked: false,",
- "start": 4543,
- "end": 4563,
+ "start": 4542,
+ "end": 4562,
"loc": {
"start": {
"line": 237,
@@ -10315,8 +10315,8 @@
{
"type": "CommentLine",
"value": " \ttooltip: ''",
- "start": 4565,
- "end": 4580,
+ "start": 4564,
+ "end": 4579,
"loc": {
"start": {
"line": 238,
@@ -10331,8 +10331,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 4582,
- "end": 4586,
+ "start": 4581,
+ "end": 4585,
"loc": {
"start": {
"line": 239,
@@ -27907,9 +27907,9 @@
"binop": null,
"updateContext": null
},
- "value": 10,
+ "value": 1,
"start": 4209,
- "end": 4211,
+ "end": 4210,
"loc": {
"start": {
"line": 213,
@@ -27917,7 +27917,7 @@
},
"end": {
"line": 213,
- "column": 22
+ "column": 21
}
}
},
@@ -27933,8 +27933,8 @@
"postfix": false,
"binop": null
},
- "start": 4214,
- "end": 4215,
+ "start": 4213,
+ "end": 4214,
"loc": {
"start": {
"line": 214,
@@ -27959,8 +27959,8 @@
"binop": null,
"updateContext": null
},
- "start": 4215,
- "end": 4216,
+ "start": 4214,
+ "end": 4215,
"loc": {
"start": {
"line": 214,
@@ -27985,8 +27985,8 @@
"binop": null
},
"value": "atoms",
- "start": 4219,
- "end": 4224,
+ "start": 4218,
+ "end": 4223,
"loc": {
"start": {
"line": 215,
@@ -28011,8 +28011,8 @@
"binop": null,
"updateContext": null
},
- "start": 4224,
- "end": 4225,
+ "start": 4223,
+ "end": 4224,
"loc": {
"start": {
"line": 215,
@@ -28036,8 +28036,8 @@
"postfix": false,
"binop": null
},
- "start": 4226,
- "end": 4227,
+ "start": 4225,
+ "end": 4226,
"loc": {
"start": {
"line": 215,
@@ -28062,8 +28062,8 @@
"binop": null
},
"value": "o",
- "start": 4231,
- "end": 4232,
+ "start": 4230,
+ "end": 4231,
"loc": {
"start": {
"line": 216,
@@ -28088,8 +28088,8 @@
"binop": null,
"updateContext": null
},
- "start": 4232,
- "end": 4233,
+ "start": 4231,
+ "end": 4232,
"loc": {
"start": {
"line": 216,
@@ -28115,8 +28115,8 @@
"updateContext": null
},
"value": 3,
- "start": 4234,
- "end": 4235,
+ "start": 4233,
+ "end": 4234,
"loc": {
"start": {
"line": 216,
@@ -28140,8 +28140,8 @@
"postfix": false,
"binop": null
},
- "start": 4238,
- "end": 4239,
+ "start": 4237,
+ "end": 4238,
"loc": {
"start": {
"line": 217,
@@ -28165,8 +28165,8 @@
"postfix": false,
"binop": null
},
- "start": 4241,
- "end": 4242,
+ "start": 4240,
+ "end": 4241,
"loc": {
"start": {
"line": 218,
@@ -28191,8 +28191,8 @@
"binop": null,
"updateContext": null
},
- "start": 4242,
- "end": 4243,
+ "start": 4241,
+ "end": 4242,
"loc": {
"start": {
"line": 218,
@@ -28217,8 +28217,8 @@
"binop": null
},
"value": "cyanide",
- "start": 4245,
- "end": 4252,
+ "start": 4244,
+ "end": 4251,
"loc": {
"start": {
"line": 219,
@@ -28243,8 +28243,8 @@
"binop": null,
"updateContext": null
},
- "start": 4252,
- "end": 4253,
+ "start": 4251,
+ "end": 4252,
"loc": {
"start": {
"line": 219,
@@ -28268,8 +28268,8 @@
"postfix": false,
"binop": null
},
- "start": 4254,
- "end": 4255,
+ "start": 4253,
+ "end": 4254,
"loc": {
"start": {
"line": 219,
@@ -28294,8 +28294,8 @@
"binop": null
},
"value": "name",
- "start": 4258,
- "end": 4262,
+ "start": 4257,
+ "end": 4261,
"loc": {
"start": {
"line": 220,
@@ -28320,8 +28320,8 @@
"binop": null,
"updateContext": null
},
- "start": 4262,
- "end": 4263,
+ "start": 4261,
+ "end": 4262,
"loc": {
"start": {
"line": 220,
@@ -28347,8 +28347,8 @@
"updateContext": null
},
"value": "Cyanide",
- "start": 4264,
- "end": 4273,
+ "start": 4263,
+ "end": 4272,
"loc": {
"start": {
"line": 220,
@@ -28373,8 +28373,8 @@
"binop": null,
"updateContext": null
},
- "start": 4273,
- "end": 4274,
+ "start": 4272,
+ "end": 4273,
"loc": {
"start": {
"line": 220,
@@ -28399,8 +28399,8 @@
"binop": null
},
"value": "unlocked",
- "start": 4277,
- "end": 4285,
+ "start": 4276,
+ "end": 4284,
"loc": {
"start": {
"line": 221,
@@ -28425,8 +28425,8 @@
"binop": null,
"updateContext": null
},
- "start": 4285,
- "end": 4286,
+ "start": 4284,
+ "end": 4285,
"loc": {
"start": {
"line": 221,
@@ -28453,8 +28453,8 @@
"updateContext": null
},
"value": "true",
- "start": 4287,
- "end": 4291,
+ "start": 4286,
+ "end": 4290,
"loc": {
"start": {
"line": 221,
@@ -28479,8 +28479,8 @@
"binop": null,
"updateContext": null
},
- "start": 4291,
- "end": 4292,
+ "start": 4290,
+ "end": 4291,
"loc": {
"start": {
"line": 221,
@@ -28505,8 +28505,8 @@
"binop": null
},
"value": "tooltip",
- "start": 4295,
- "end": 4302,
+ "start": 4294,
+ "end": 4301,
"loc": {
"start": {
"line": 222,
@@ -28531,8 +28531,8 @@
"binop": null,
"updateContext": null
},
- "start": 4302,
- "end": 4303,
+ "start": 4301,
+ "end": 4302,
"loc": {
"start": {
"line": 222,
@@ -28558,8 +28558,8 @@
"updateContext": null
},
"value": "Less deadly and more happy than Cyanide and Happiness.",
- "start": 4304,
- "end": 4360,
+ "start": 4303,
+ "end": 4359,
"loc": {
"start": {
"line": 222,
@@ -28584,8 +28584,8 @@
"binop": null,
"updateContext": null
},
- "start": 4360,
- "end": 4361,
+ "start": 4359,
+ "end": 4360,
"loc": {
"start": {
"line": 222,
@@ -28610,8 +28610,8 @@
"binop": null
},
"value": "texture",
- "start": 4364,
- "end": 4371,
+ "start": 4363,
+ "end": 4370,
"loc": {
"start": {
"line": 223,
@@ -28636,8 +28636,8 @@
"binop": null,
"updateContext": null
},
- "start": 4371,
- "end": 4372,
+ "start": 4370,
+ "end": 4371,
"loc": {
"start": {
"line": 223,
@@ -28663,8 +28663,8 @@
"updateContext": null
},
"value": "cyanide.png",
- "start": 4373,
- "end": 4386,
+ "start": 4372,
+ "end": 4385,
"loc": {
"start": {
"line": 223,
@@ -28689,8 +28689,8 @@
"binop": null,
"updateContext": null
},
- "start": 4386,
- "end": 4387,
+ "start": 4385,
+ "end": 4386,
"loc": {
"start": {
"line": 223,
@@ -28715,8 +28715,8 @@
"binop": null
},
"value": "type",
- "start": 4390,
- "end": 4394,
+ "start": 4389,
+ "end": 4393,
"loc": {
"start": {
"line": 224,
@@ -28741,8 +28741,8 @@
"binop": null,
"updateContext": null
},
- "start": 4394,
- "end": 4395,
+ "start": 4393,
+ "end": 4394,
"loc": {
"start": {
"line": 224,
@@ -28768,8 +28768,8 @@
"updateContext": null
},
"value": "toxic",
- "start": 4396,
- "end": 4403,
+ "start": 4395,
+ "end": 4402,
"loc": {
"start": {
"line": 224,
@@ -28794,8 +28794,8 @@
"binop": null,
"updateContext": null
},
- "start": 4403,
- "end": 4404,
+ "start": 4402,
+ "end": 4403,
"loc": {
"start": {
"line": 224,
@@ -28820,8 +28820,8 @@
"binop": null
},
"value": "params",
- "start": 4407,
- "end": 4413,
+ "start": 4406,
+ "end": 4412,
"loc": {
"start": {
"line": 225,
@@ -28846,8 +28846,8 @@
"binop": null,
"updateContext": null
},
- "start": 4413,
- "end": 4414,
+ "start": 4412,
+ "end": 4413,
"loc": {
"start": {
"line": 225,
@@ -28871,8 +28871,8 @@
"postfix": false,
"binop": null
},
- "start": 4415,
- "end": 4416,
+ "start": 4414,
+ "end": 4415,
"loc": {
"start": {
"line": 225,
@@ -28897,8 +28897,8 @@
"binop": null
},
"value": "speed",
- "start": 4420,
- "end": 4425,
+ "start": 4419,
+ "end": 4424,
"loc": {
"start": {
"line": 226,
@@ -28923,8 +28923,8 @@
"binop": null,
"updateContext": null
},
- "start": 4425,
- "end": 4426,
+ "start": 4424,
+ "end": 4425,
"loc": {
"start": {
"line": 226,
@@ -28950,8 +28950,8 @@
"updateContext": null
},
"value": 2,
- "start": 4427,
- "end": 4428,
+ "start": 4426,
+ "end": 4427,
"loc": {
"start": {
"line": 226,
@@ -28976,8 +28976,8 @@
"binop": null,
"updateContext": null
},
- "start": 4428,
- "end": 4429,
+ "start": 4427,
+ "end": 4428,
"loc": {
"start": {
"line": 226,
@@ -29002,8 +29002,8 @@
"binop": null
},
"value": "splashDamage",
- "start": 4433,
- "end": 4445,
+ "start": 4432,
+ "end": 4444,
"loc": {
"start": {
"line": 227,
@@ -29028,8 +29028,8 @@
"binop": null,
"updateContext": null
},
- "start": 4445,
- "end": 4446,
+ "start": 4444,
+ "end": 4445,
"loc": {
"start": {
"line": 227,
@@ -29055,8 +29055,8 @@
"updateContext": null
},
"value": 0.2,
- "start": 4447,
- "end": 4450,
+ "start": 4446,
+ "end": 4449,
"loc": {
"start": {
"line": 227,
@@ -29081,8 +29081,8 @@
"binop": null,
"updateContext": null
},
- "start": 4450,
- "end": 4451,
+ "start": 4449,
+ "end": 4450,
"loc": {
"start": {
"line": 227,
@@ -29107,8 +29107,8 @@
"binop": null
},
"value": "size",
- "start": 4455,
- "end": 4459,
+ "start": 4454,
+ "end": 4458,
"loc": {
"start": {
"line": 228,
@@ -29133,8 +29133,8 @@
"binop": null,
"updateContext": null
},
- "start": 4459,
- "end": 4460,
+ "start": 4458,
+ "end": 4459,
"loc": {
"start": {
"line": 228,
@@ -29160,8 +29160,8 @@
"updateContext": null
},
"value": 100,
- "start": 4461,
- "end": 4464,
+ "start": 4460,
+ "end": 4463,
"loc": {
"start": {
"line": 228,
@@ -29185,8 +29185,8 @@
"postfix": false,
"binop": null
},
- "start": 4467,
- "end": 4468,
+ "start": 4466,
+ "end": 4467,
"loc": {
"start": {
"line": 229,
@@ -29211,8 +29211,8 @@
"binop": null,
"updateContext": null
},
- "start": 4468,
- "end": 4469,
+ "start": 4467,
+ "end": 4468,
"loc": {
"start": {
"line": 229,
@@ -29237,8 +29237,8 @@
"binop": null
},
"value": "atoms",
- "start": 4472,
- "end": 4477,
+ "start": 4471,
+ "end": 4476,
"loc": {
"start": {
"line": 230,
@@ -29263,8 +29263,8 @@
"binop": null,
"updateContext": null
},
- "start": 4477,
- "end": 4478,
+ "start": 4476,
+ "end": 4477,
"loc": {
"start": {
"line": 230,
@@ -29288,8 +29288,8 @@
"postfix": false,
"binop": null
},
- "start": 4479,
- "end": 4480,
+ "start": 4478,
+ "end": 4479,
"loc": {
"start": {
"line": 230,
@@ -29314,8 +29314,8 @@
"binop": null
},
"value": "c",
- "start": 4484,
- "end": 4485,
+ "start": 4483,
+ "end": 4484,
"loc": {
"start": {
"line": 231,
@@ -29340,8 +29340,8 @@
"binop": null,
"updateContext": null
},
- "start": 4485,
- "end": 4486,
+ "start": 4484,
+ "end": 4485,
"loc": {
"start": {
"line": 231,
@@ -29367,8 +29367,8 @@
"updateContext": null
},
"value": 1,
- "start": 4487,
- "end": 4488,
+ "start": 4486,
+ "end": 4487,
"loc": {
"start": {
"line": 231,
@@ -29393,8 +29393,8 @@
"binop": null,
"updateContext": null
},
- "start": 4488,
- "end": 4489,
+ "start": 4487,
+ "end": 4488,
"loc": {
"start": {
"line": 231,
@@ -29419,8 +29419,8 @@
"binop": null
},
"value": "n",
- "start": 4493,
- "end": 4494,
+ "start": 4492,
+ "end": 4493,
"loc": {
"start": {
"line": 232,
@@ -29445,8 +29445,8 @@
"binop": null,
"updateContext": null
},
- "start": 4494,
- "end": 4495,
+ "start": 4493,
+ "end": 4494,
"loc": {
"start": {
"line": 232,
@@ -29472,8 +29472,8 @@
"updateContext": null
},
"value": 1,
- "start": 4496,
- "end": 4497,
+ "start": 4495,
+ "end": 4496,
"loc": {
"start": {
"line": 232,
@@ -29497,8 +29497,8 @@
"postfix": false,
"binop": null
},
- "start": 4500,
- "end": 4501,
+ "start": 4499,
+ "end": 4500,
"loc": {
"start": {
"line": 233,
@@ -29522,8 +29522,8 @@
"postfix": false,
"binop": null
},
- "start": 4503,
- "end": 4504,
+ "start": 4502,
+ "end": 4503,
"loc": {
"start": {
"line": 234,
@@ -29538,8 +29538,8 @@
{
"type": "CommentLine",
"value": " alcohol: {",
- "start": 4506,
- "end": 4519,
+ "start": 4505,
+ "end": 4518,
"loc": {
"start": {
"line": 235,
@@ -29554,8 +29554,8 @@
{
"type": "CommentLine",
"value": " \tname: 'Alcohol',",
- "start": 4521,
- "end": 4541,
+ "start": 4520,
+ "end": 4540,
"loc": {
"start": {
"line": 236,
@@ -29570,8 +29570,8 @@
{
"type": "CommentLine",
"value": " \tunlocked: false,",
- "start": 4543,
- "end": 4563,
+ "start": 4542,
+ "end": 4562,
"loc": {
"start": {
"line": 237,
@@ -29586,8 +29586,8 @@
{
"type": "CommentLine",
"value": " \ttooltip: ''",
- "start": 4565,
- "end": 4580,
+ "start": 4564,
+ "end": 4579,
"loc": {
"start": {
"line": 238,
@@ -29602,8 +29602,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 4582,
- "end": 4586,
+ "start": 4581,
+ "end": 4585,
"loc": {
"start": {
"line": 239,
@@ -29627,8 +29627,8 @@
"postfix": false,
"binop": null
},
- "start": 4587,
- "end": 4588,
+ "start": 4586,
+ "end": 4587,
"loc": {
"start": {
"line": 240,
@@ -29653,8 +29653,8 @@
"binop": null,
"updateContext": null
},
- "start": 4589,
- "end": 4589,
+ "start": 4588,
+ "end": 4588,
"loc": {
"start": {
"line": 241,
diff --git a/docs/ast/source/client/js/obj/player.js.json b/docs/ast/source/client/js/obj/player.js.json
index 3a92202..c657650 100644
--- a/docs/ast/source/client/js/obj/player.js.json
+++ b/docs/ast/source/client/js/obj/player.js.json
@@ -1,28 +1,28 @@
{
"type": "File",
"start": 0,
- "end": 4865,
+ "end": 5160,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
- "line": 137,
+ "line": 141,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
- "end": 4865,
+ "end": 5160,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
- "line": 137,
+ "line": 141,
"column": 0
}
},
@@ -640,14 +640,14 @@
{
"type": "ExportNamedDeclaration",
"start": 252,
- "end": 4864,
+ "end": 5159,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
- "line": 136,
+ "line": 140,
"column": 1
}
},
@@ -656,14 +656,14 @@
"declaration": {
"type": "ClassDeclaration",
"start": 259,
- "end": 4864,
+ "end": 5159,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
- "line": 136,
+ "line": 140,
"column": 1
}
},
@@ -704,14 +704,14 @@
"body": {
"type": "ClassBody",
"start": 291,
- "end": 4864,
+ "end": 5159,
"loc": {
"start": {
"line": 7,
"column": 39
},
"end": {
- "line": 136,
+ "line": 140,
"column": 1
}
},
@@ -719,7 +719,7 @@
{
"type": "ClassMethod",
"start": 1060,
- "end": 2113,
+ "end": 2106,
"loc": {
"start": {
"line": 24,
@@ -947,7 +947,7 @@
"body": {
"type": "BlockStatement",
"start": 1138,
- "end": 2113,
+ "end": 2106,
"loc": {
"start": {
"line": 24,
@@ -2767,7 +2767,7 @@
{
"type": "ExpressionStatement",
"start": 1819,
- "end": 1841,
+ "end": 1834,
"loc": {
"start": {
"line": 49,
@@ -2775,13 +2775,13 @@
},
"end": {
"line": 49,
- "column": 24
+ "column": 17
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1819,
- "end": 1841,
+ "end": 1834,
"loc": {
"start": {
"line": 49,
@@ -2789,14 +2789,14 @@
},
"end": {
"line": 49,
- "column": 24
+ "column": 17
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1819,
- "end": 1833,
+ "end": 1830,
"loc": {
"start": {
"line": 49,
@@ -2804,7 +2804,7 @@
},
"end": {
"line": 49,
- "column": 16
+ "column": 13
}
},
"object": {
@@ -2826,7 +2826,7 @@
"property": {
"type": "Identifier",
"start": 1824,
- "end": 1833,
+ "end": 1830,
"loc": {
"start": {
"line": 49,
@@ -2834,30 +2834,34 @@
},
"end": {
"line": 49,
- "column": 16
+ "column": 13
},
- "identifierName": "hasShield"
+ "identifierName": "shield"
},
- "name": "hasShield"
+ "name": "shield"
},
"computed": false,
"leadingComments": null
},
"right": {
- "type": "BooleanLiteral",
- "start": 1836,
- "end": 1841,
+ "type": "NumericLiteral",
+ "start": 1833,
+ "end": 1834,
"loc": {
"start": {
"line": 49,
- "column": 19
+ "column": 16
},
"end": {
"line": 49,
- "column": 24
+ "column": 17
}
},
- "value": false
+ "extra": {
+ "rawValue": 0,
+ "raw": "0"
+ },
+ "value": 0
},
"leadingComments": null
},
@@ -2882,8 +2886,8 @@
},
{
"type": "ExpressionStatement",
- "start": 1844,
- "end": 1868,
+ "start": 1837,
+ "end": 1861,
"loc": {
"start": {
"line": 50,
@@ -2896,8 +2900,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 1844,
- "end": 1868,
+ "start": 1837,
+ "end": 1861,
"loc": {
"start": {
"line": 50,
@@ -2911,8 +2915,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 1844,
- "end": 1859,
+ "start": 1837,
+ "end": 1852,
"loc": {
"start": {
"line": 50,
@@ -2925,8 +2929,8 @@
},
"object": {
"type": "ThisExpression",
- "start": 1844,
- "end": 1848,
+ "start": 1837,
+ "end": 1841,
"loc": {
"start": {
"line": 50,
@@ -2940,8 +2944,8 @@
},
"property": {
"type": "Identifier",
- "start": 1849,
- "end": 1859,
+ "start": 1842,
+ "end": 1852,
"loc": {
"start": {
"line": 50,
@@ -2959,8 +2963,8 @@
},
"right": {
"type": "StringLiteral",
- "start": 1862,
- "end": 1868,
+ "start": 1855,
+ "end": 1861,
"loc": {
"start": {
"line": 50,
@@ -2981,8 +2985,8 @@
},
{
"type": "ExpressionStatement",
- "start": 1872,
- "end": 1891,
+ "start": 1865,
+ "end": 1884,
"loc": {
"start": {
"line": 52,
@@ -2995,8 +2999,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 1872,
- "end": 1891,
+ "start": 1865,
+ "end": 1884,
"loc": {
"start": {
"line": 52,
@@ -3010,8 +3014,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 1872,
- "end": 1886,
+ "start": 1865,
+ "end": 1879,
"loc": {
"start": {
"line": 52,
@@ -3024,8 +3028,8 @@
},
"object": {
"type": "ThisExpression",
- "start": 1872,
- "end": 1876,
+ "start": 1865,
+ "end": 1869,
"loc": {
"start": {
"line": 52,
@@ -3039,8 +3043,8 @@
},
"property": {
"type": "Identifier",
- "start": 1877,
- "end": 1886,
+ "start": 1870,
+ "end": 1879,
"loc": {
"start": {
"line": 52,
@@ -3058,8 +3062,8 @@
},
"right": {
"type": "ObjectExpression",
- "start": 1889,
- "end": 1891,
+ "start": 1882,
+ "end": 1884,
"loc": {
"start": {
"line": 52,
@@ -3080,8 +3084,8 @@
{
"type": "CommentLine",
"value": " Object containing the values of damage that each player has dealt.",
- "start": 1892,
- "end": 1961,
+ "start": 1885,
+ "end": 1954,
"loc": {
"start": {
"line": 52,
@@ -3097,8 +3101,8 @@
},
{
"type": "ExpressionStatement",
- "start": 1964,
- "end": 1985,
+ "start": 1957,
+ "end": 1978,
"loc": {
"start": {
"line": 53,
@@ -3111,8 +3115,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 1964,
- "end": 1985,
+ "start": 1957,
+ "end": 1978,
"loc": {
"start": {
"line": 53,
@@ -3126,8 +3130,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 1964,
- "end": 1980,
+ "start": 1957,
+ "end": 1973,
"loc": {
"start": {
"line": 53,
@@ -3140,8 +3144,8 @@
},
"object": {
"type": "ThisExpression",
- "start": 1964,
- "end": 1968,
+ "start": 1957,
+ "end": 1961,
"loc": {
"start": {
"line": 53,
@@ -3156,8 +3160,8 @@
},
"property": {
"type": "Identifier",
- "start": 1969,
- "end": 1980,
+ "start": 1962,
+ "end": 1973,
"loc": {
"start": {
"line": 53,
@@ -3176,8 +3180,8 @@
},
"right": {
"type": "ObjectExpression",
- "start": 1983,
- "end": 1985,
+ "start": 1976,
+ "end": 1978,
"loc": {
"start": {
"line": 53,
@@ -3199,8 +3203,8 @@
{
"type": "CommentLine",
"value": " Object containing the values of damage that each player has dealt.",
- "start": 1892,
- "end": 1961,
+ "start": 1885,
+ "end": 1954,
"loc": {
"start": {
"line": 52,
@@ -3217,8 +3221,8 @@
{
"type": "CommentLine",
"value": " Contains Text to be drawn under the player (name, id, etc)",
- "start": 1986,
- "end": 2047,
+ "start": 1979,
+ "end": 2040,
"loc": {
"start": {
"line": 53,
@@ -3234,8 +3238,8 @@
},
{
"type": "ExpressionStatement",
- "start": 2050,
- "end": 2094,
+ "start": 2043,
+ "end": 2087,
"loc": {
"start": {
"line": 54,
@@ -3248,8 +3252,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 2050,
- "end": 2094,
+ "start": 2043,
+ "end": 2087,
"loc": {
"start": {
"line": 54,
@@ -3263,8 +3267,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 2050,
- "end": 2067,
+ "start": 2043,
+ "end": 2060,
"loc": {
"start": {
"line": 54,
@@ -3277,8 +3281,8 @@
},
"object": {
"type": "ThisExpression",
- "start": 2050,
- "end": 2054,
+ "start": 2043,
+ "end": 2047,
"loc": {
"start": {
"line": 54,
@@ -3293,8 +3297,8 @@
},
"property": {
"type": "Identifier",
- "start": 2055,
- "end": 2067,
+ "start": 2048,
+ "end": 2060,
"loc": {
"start": {
"line": 54,
@@ -3313,8 +3317,8 @@
},
"right": {
"type": "NewExpression",
- "start": 2070,
- "end": 2094,
+ "start": 2063,
+ "end": 2087,
"loc": {
"start": {
"line": 54,
@@ -3327,8 +3331,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 2074,
- "end": 2085,
+ "start": 2067,
+ "end": 2078,
"loc": {
"start": {
"line": 54,
@@ -3341,8 +3345,8 @@
},
"object": {
"type": "Identifier",
- "start": 2074,
- "end": 2078,
+ "start": 2067,
+ "end": 2071,
"loc": {
"start": {
"line": 54,
@@ -3358,8 +3362,8 @@
},
"property": {
"type": "Identifier",
- "start": 2079,
- "end": 2085,
+ "start": 2072,
+ "end": 2078,
"loc": {
"start": {
"line": 54,
@@ -3378,8 +3382,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 2086,
- "end": 2093,
+ "start": 2079,
+ "end": 2086,
"loc": {
"start": {
"line": 54,
@@ -3401,8 +3405,8 @@
{
"type": "CommentLine",
"value": " Contains Text to be drawn under the player (name, id, etc)",
- "start": 1986,
- "end": 2047,
+ "start": 1979,
+ "end": 2040,
"loc": {
"start": {
"line": 53,
@@ -3418,8 +3422,8 @@
},
{
"type": "ExpressionStatement",
- "start": 2098,
- "end": 2110,
+ "start": 2091,
+ "end": 2103,
"loc": {
"start": {
"line": 56,
@@ -3432,8 +3436,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 2098,
- "end": 2110,
+ "start": 2091,
+ "end": 2103,
"loc": {
"start": {
"line": 56,
@@ -3446,8 +3450,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 2098,
- "end": 2108,
+ "start": 2091,
+ "end": 2101,
"loc": {
"start": {
"line": 56,
@@ -3460,8 +3464,8 @@
},
"object": {
"type": "ThisExpression",
- "start": 2098,
- "end": 2102,
+ "start": 2091,
+ "end": 2095,
"loc": {
"start": {
"line": 56,
@@ -3475,8 +3479,8 @@
},
"property": {
"type": "Identifier",
- "start": 2103,
- "end": 2108,
+ "start": 2096,
+ "end": 2101,
"loc": {
"start": {
"line": 56,
@@ -3521,8 +3525,8 @@
{
"type": "CommentBlock",
"value": "*\n * First-time setup for this player. All of the functions in this method will only be called once.\n ",
- "start": 2116,
- "end": 2230,
+ "start": 2109,
+ "end": 2223,
"loc": {
"start": {
"line": 59,
@@ -3538,15 +3542,15 @@
},
{
"type": "ClassMethod",
- "start": 2232,
- "end": 3517,
+ "start": 2225,
+ "end": 3700,
"loc": {
"start": {
"line": 62,
"column": 1
},
"end": {
- "line": 94,
+ "line": 97,
"column": 2
}
},
@@ -3554,8 +3558,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 2232,
- "end": 2237,
+ "start": 2225,
+ "end": 2230,
"loc": {
"start": {
"line": 62,
@@ -3578,23 +3582,23 @@
"params": [],
"body": {
"type": "BlockStatement",
- "start": 2241,
- "end": 3517,
+ "start": 2234,
+ "end": 3700,
"loc": {
"start": {
"line": 62,
"column": 10
},
"end": {
- "line": 94,
+ "line": 97,
"column": 2
}
},
"body": [
{
"type": "ExpressionStatement",
- "start": 2270,
- "end": 2321,
+ "start": 2263,
+ "end": 2314,
"loc": {
"start": {
"line": 64,
@@ -3607,8 +3611,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 2270,
- "end": 2321,
+ "start": 2263,
+ "end": 2314,
"loc": {
"start": {
"line": 64,
@@ -3622,8 +3626,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 2270,
- "end": 2295,
+ "start": 2263,
+ "end": 2288,
"loc": {
"start": {
"line": 64,
@@ -3636,8 +3640,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 2270,
- "end": 2286,
+ "start": 2263,
+ "end": 2279,
"loc": {
"start": {
"line": 64,
@@ -3650,8 +3654,8 @@
},
"object": {
"type": "ThisExpression",
- "start": 2270,
- "end": 2274,
+ "start": 2263,
+ "end": 2267,
"loc": {
"start": {
"line": 64,
@@ -3666,8 +3670,8 @@
},
"property": {
"type": "Identifier",
- "start": 2275,
- "end": 2286,
+ "start": 2268,
+ "end": 2279,
"loc": {
"start": {
"line": 64,
@@ -3686,8 +3690,8 @@
},
"property": {
"type": "Identifier",
- "start": 2287,
- "end": 2295,
+ "start": 2280,
+ "end": 2288,
"loc": {
"start": {
"line": 64,
@@ -3706,8 +3710,8 @@
},
"right": {
"type": "NewExpression",
- "start": 2298,
- "end": 2321,
+ "start": 2291,
+ "end": 2314,
"loc": {
"start": {
"line": 64,
@@ -3720,8 +3724,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 2302,
- "end": 2311,
+ "start": 2295,
+ "end": 2304,
"loc": {
"start": {
"line": 64,
@@ -3734,8 +3738,8 @@
},
"object": {
"type": "Identifier",
- "start": 2302,
- "end": 2306,
+ "start": 2295,
+ "end": 2299,
"loc": {
"start": {
"line": 64,
@@ -3751,8 +3755,8 @@
},
"property": {
"type": "Identifier",
- "start": 2307,
- "end": 2311,
+ "start": 2300,
+ "end": 2304,
"loc": {
"start": {
"line": 64,
@@ -3771,8 +3775,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 2312,
- "end": 2320,
+ "start": 2305,
+ "end": 2313,
"loc": {
"start": {
"line": 64,
@@ -3797,8 +3801,8 @@
{
"type": "CommentLine",
"value": " Create text objects",
- "start": 2245,
- "end": 2267,
+ "start": 2238,
+ "end": 2260,
"loc": {
"start": {
"line": 63,
@@ -3814,8 +3818,8 @@
},
{
"type": "ExpressionStatement",
- "start": 2324,
- "end": 2371,
+ "start": 2317,
+ "end": 2364,
"loc": {
"start": {
"line": 65,
@@ -3828,8 +3832,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 2324,
- "end": 2371,
+ "start": 2317,
+ "end": 2364,
"loc": {
"start": {
"line": 65,
@@ -3843,8 +3847,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 2324,
- "end": 2347,
+ "start": 2317,
+ "end": 2340,
"loc": {
"start": {
"line": 65,
@@ -3857,8 +3861,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 2324,
- "end": 2340,
+ "start": 2317,
+ "end": 2333,
"loc": {
"start": {
"line": 65,
@@ -3871,8 +3875,8 @@
},
"object": {
"type": "ThisExpression",
- "start": 2324,
- "end": 2328,
+ "start": 2317,
+ "end": 2321,
"loc": {
"start": {
"line": 65,
@@ -3886,8 +3890,8 @@
},
"property": {
"type": "Identifier",
- "start": 2329,
- "end": 2340,
+ "start": 2322,
+ "end": 2333,
"loc": {
"start": {
"line": 65,
@@ -3905,8 +3909,8 @@
},
"property": {
"type": "Identifier",
- "start": 2341,
- "end": 2347,
+ "start": 2334,
+ "end": 2340,
"loc": {
"start": {
"line": 65,
@@ -3924,8 +3928,8 @@
},
"right": {
"type": "NewExpression",
- "start": 2350,
- "end": 2371,
+ "start": 2343,
+ "end": 2364,
"loc": {
"start": {
"line": 65,
@@ -3938,8 +3942,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 2354,
- "end": 2363,
+ "start": 2347,
+ "end": 2356,
"loc": {
"start": {
"line": 65,
@@ -3952,8 +3956,8 @@
},
"object": {
"type": "Identifier",
- "start": 2354,
- "end": 2358,
+ "start": 2347,
+ "end": 2351,
"loc": {
"start": {
"line": 65,
@@ -3969,8 +3973,8 @@
},
"property": {
"type": "Identifier",
- "start": 2359,
- "end": 2363,
+ "start": 2352,
+ "end": 2356,
"loc": {
"start": {
"line": 65,
@@ -3989,8 +3993,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 2364,
- "end": 2370,
+ "start": 2357,
+ "end": 2363,
"loc": {
"start": {
"line": 65,
@@ -4013,8 +4017,8 @@
},
{
"type": "ExpressionStatement",
- "start": 2374,
- "end": 2432,
+ "start": 2367,
+ "end": 2425,
"loc": {
"start": {
"line": 66,
@@ -4027,8 +4031,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 2374,
- "end": 2432,
+ "start": 2367,
+ "end": 2425,
"loc": {
"start": {
"line": 66,
@@ -4042,8 +4046,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 2374,
- "end": 2398,
+ "start": 2367,
+ "end": 2391,
"loc": {
"start": {
"line": 66,
@@ -4056,8 +4060,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 2374,
- "end": 2390,
+ "start": 2367,
+ "end": 2383,
"loc": {
"start": {
"line": 66,
@@ -4070,8 +4074,8 @@
},
"object": {
"type": "ThisExpression",
- "start": 2374,
- "end": 2378,
+ "start": 2367,
+ "end": 2371,
"loc": {
"start": {
"line": 66,
@@ -4085,8 +4089,8 @@
},
"property": {
"type": "Identifier",
- "start": 2379,
- "end": 2390,
+ "start": 2372,
+ "end": 2383,
"loc": {
"start": {
"line": 66,
@@ -4104,8 +4108,8 @@
},
"property": {
"type": "Identifier",
- "start": 2391,
- "end": 2398,
+ "start": 2384,
+ "end": 2391,
"loc": {
"start": {
"line": 66,
@@ -4123,8 +4127,8 @@
},
"right": {
"type": "NewExpression",
- "start": 2401,
- "end": 2432,
+ "start": 2394,
+ "end": 2425,
"loc": {
"start": {
"line": 66,
@@ -4137,8 +4141,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 2405,
- "end": 2414,
+ "start": 2398,
+ "end": 2407,
"loc": {
"start": {
"line": 66,
@@ -4151,8 +4155,8 @@
},
"object": {
"type": "Identifier",
- "start": 2405,
- "end": 2409,
+ "start": 2398,
+ "end": 2402,
"loc": {
"start": {
"line": 66,
@@ -4168,8 +4172,8 @@
},
"property": {
"type": "Identifier",
- "start": 2410,
- "end": 2414,
+ "start": 2403,
+ "end": 2407,
"loc": {
"start": {
"line": 66,
@@ -4188,8 +4192,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 2415,
- "end": 2431,
+ "start": 2408,
+ "end": 2424,
"loc": {
"start": {
"line": 66,
@@ -4212,8 +4216,8 @@
},
{
"type": "ExpressionStatement",
- "start": 2435,
- "end": 2486,
+ "start": 2428,
+ "end": 2479,
"loc": {
"start": {
"line": 67,
@@ -4226,8 +4230,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 2435,
- "end": 2486,
+ "start": 2428,
+ "end": 2479,
"loc": {
"start": {
"line": 67,
@@ -4241,8 +4245,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 2435,
- "end": 2460,
+ "start": 2428,
+ "end": 2453,
"loc": {
"start": {
"line": 67,
@@ -4255,8 +4259,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 2435,
- "end": 2451,
+ "start": 2428,
+ "end": 2444,
"loc": {
"start": {
"line": 67,
@@ -4269,8 +4273,8 @@
},
"object": {
"type": "ThisExpression",
- "start": 2435,
- "end": 2439,
+ "start": 2428,
+ "end": 2432,
"loc": {
"start": {
"line": 67,
@@ -4284,8 +4288,8 @@
},
"property": {
"type": "Identifier",
- "start": 2440,
- "end": 2451,
+ "start": 2433,
+ "end": 2444,
"loc": {
"start": {
"line": 67,
@@ -4303,8 +4307,8 @@
},
"property": {
"type": "Identifier",
- "start": 2452,
- "end": 2460,
+ "start": 2445,
+ "end": 2453,
"loc": {
"start": {
"line": 67,
@@ -4322,8 +4326,8 @@
},
"right": {
"type": "NewExpression",
- "start": 2463,
- "end": 2486,
+ "start": 2456,
+ "end": 2479,
"loc": {
"start": {
"line": 67,
@@ -4336,8 +4340,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 2467,
- "end": 2476,
+ "start": 2460,
+ "end": 2469,
"loc": {
"start": {
"line": 67,
@@ -4350,8 +4354,8 @@
},
"object": {
"type": "Identifier",
- "start": 2467,
- "end": 2471,
+ "start": 2460,
+ "end": 2464,
"loc": {
"start": {
"line": 67,
@@ -4367,8 +4371,8 @@
},
"property": {
"type": "Identifier",
- "start": 2472,
- "end": 2476,
+ "start": 2465,
+ "end": 2469,
"loc": {
"start": {
"line": 67,
@@ -4387,8 +4391,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 2477,
- "end": 2485,
+ "start": 2470,
+ "end": 2478,
"loc": {
"start": {
"line": 67,
@@ -4411,8 +4415,8 @@
},
{
"type": "ExpressionStatement",
- "start": 2489,
- "end": 2544,
+ "start": 2482,
+ "end": 2537,
"loc": {
"start": {
"line": 68,
@@ -4425,8 +4429,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 2489,
- "end": 2544,
+ "start": 2482,
+ "end": 2537,
"loc": {
"start": {
"line": 68,
@@ -4440,8 +4444,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 2489,
- "end": 2516,
+ "start": 2482,
+ "end": 2509,
"loc": {
"start": {
"line": 68,
@@ -4454,8 +4458,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 2489,
- "end": 2505,
+ "start": 2482,
+ "end": 2498,
"loc": {
"start": {
"line": 68,
@@ -4468,8 +4472,8 @@
},
"object": {
"type": "ThisExpression",
- "start": 2489,
- "end": 2493,
+ "start": 2482,
+ "end": 2486,
"loc": {
"start": {
"line": 68,
@@ -4483,8 +4487,8 @@
},
"property": {
"type": "Identifier",
- "start": 2494,
- "end": 2505,
+ "start": 2487,
+ "end": 2498,
"loc": {
"start": {
"line": 68,
@@ -4502,8 +4506,8 @@
},
"property": {
"type": "Identifier",
- "start": 2506,
- "end": 2516,
+ "start": 2499,
+ "end": 2509,
"loc": {
"start": {
"line": 68,
@@ -4521,8 +4525,8 @@
},
"right": {
"type": "NewExpression",
- "start": 2519,
- "end": 2544,
+ "start": 2512,
+ "end": 2537,
"loc": {
"start": {
"line": 68,
@@ -4535,8 +4539,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 2523,
- "end": 2532,
+ "start": 2516,
+ "end": 2525,
"loc": {
"start": {
"line": 68,
@@ -4549,8 +4553,8 @@
},
"object": {
"type": "Identifier",
- "start": 2523,
- "end": 2527,
+ "start": 2516,
+ "end": 2520,
"loc": {
"start": {
"line": 68,
@@ -4566,8 +4570,8 @@
},
"property": {
"type": "Identifier",
- "start": 2528,
- "end": 2532,
+ "start": 2521,
+ "end": 2525,
"loc": {
"start": {
"line": 68,
@@ -4586,8 +4590,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 2533,
- "end": 2543,
+ "start": 2526,
+ "end": 2536,
"loc": {
"start": {
"line": 68,
@@ -4604,6 +4608,205 @@
},
"value": "health: "
}
+ ]
+ }
+ }
+ },
+ {
+ "type": "ExpressionStatement",
+ "start": 2540,
+ "end": 2597,
+ "loc": {
+ "start": {
+ "line": 69,
+ "column": 2
+ },
+ "end": {
+ "line": 69,
+ "column": 59
+ }
+ },
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 2540,
+ "end": 2597,
+ "loc": {
+ "start": {
+ "line": 69,
+ "column": 2
+ },
+ "end": {
+ "line": 69,
+ "column": 59
+ }
+ },
+ "operator": "=",
+ "left": {
+ "type": "MemberExpression",
+ "start": 2540,
+ "end": 2568,
+ "loc": {
+ "start": {
+ "line": 69,
+ "column": 2
+ },
+ "end": {
+ "line": 69,
+ "column": 30
+ }
+ },
+ "object": {
+ "type": "MemberExpression",
+ "start": 2540,
+ "end": 2556,
+ "loc": {
+ "start": {
+ "line": 69,
+ "column": 2
+ },
+ "end": {
+ "line": 69,
+ "column": 18
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 2540,
+ "end": 2544,
+ "loc": {
+ "start": {
+ "line": 69,
+ "column": 2
+ },
+ "end": {
+ "line": 69,
+ "column": 6
+ }
+ }
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 2545,
+ "end": 2556,
+ "loc": {
+ "start": {
+ "line": 69,
+ "column": 7
+ },
+ "end": {
+ "line": 69,
+ "column": 18
+ },
+ "identifierName": "textObjects"
+ },
+ "name": "textObjects"
+ },
+ "computed": false
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 2557,
+ "end": 2568,
+ "loc": {
+ "start": {
+ "line": 69,
+ "column": 19
+ },
+ "end": {
+ "line": 69,
+ "column": 30
+ },
+ "identifierName": "defensetext"
+ },
+ "name": "defensetext"
+ },
+ "computed": false
+ },
+ "right": {
+ "type": "NewExpression",
+ "start": 2571,
+ "end": 2597,
+ "loc": {
+ "start": {
+ "line": 69,
+ "column": 33
+ },
+ "end": {
+ "line": 69,
+ "column": 59
+ }
+ },
+ "callee": {
+ "type": "MemberExpression",
+ "start": 2575,
+ "end": 2584,
+ "loc": {
+ "start": {
+ "line": 69,
+ "column": 37
+ },
+ "end": {
+ "line": 69,
+ "column": 46
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 2575,
+ "end": 2579,
+ "loc": {
+ "start": {
+ "line": 69,
+ "column": 37
+ },
+ "end": {
+ "line": 69,
+ "column": 41
+ },
+ "identifierName": "PIXI"
+ },
+ "name": "PIXI"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 2580,
+ "end": 2584,
+ "loc": {
+ "start": {
+ "line": 69,
+ "column": 42
+ },
+ "end": {
+ "line": 69,
+ "column": 46
+ },
+ "identifierName": "Text"
+ },
+ "name": "Text"
+ },
+ "computed": false
+ },
+ "arguments": [
+ {
+ "type": "StringLiteral",
+ "start": 2585,
+ "end": 2596,
+ "loc": {
+ "start": {
+ "line": 69,
+ "column": 47
+ },
+ "end": {
+ "line": 69,
+ "column": 58
+ }
+ },
+ "extra": {
+ "rawValue": "defense: ",
+ "raw": "'defense: '"
+ },
+ "value": "defense: "
+ }
],
"trailingComments": null
},
@@ -4613,15 +4816,15 @@
{
"type": "CommentLine",
"value": " Assign values and positions",
- "start": 2548,
- "end": 2578,
+ "start": 2601,
+ "end": 2631,
"loc": {
"start": {
- "line": 70,
+ "line": 71,
"column": 2
},
"end": {
- "line": 70,
+ "line": 71,
"column": 32
}
}
@@ -4630,99 +4833,99 @@
},
{
"type": "ExpressionStatement",
- "start": 2581,
- "end": 2646,
+ "start": 2634,
+ "end": 2699,
"loc": {
"start": {
- "line": 71,
+ "line": 72,
"column": 2
},
"end": {
- "line": 71,
+ "line": 72,
"column": 67
}
},
"expression": {
"type": "CallExpression",
- "start": 2581,
- "end": 2646,
+ "start": 2634,
+ "end": 2699,
"loc": {
"start": {
- "line": 71,
+ "line": 72,
"column": 2
},
"end": {
- "line": 71,
+ "line": 72,
"column": 67
}
},
"callee": {
"type": "MemberExpression",
- "start": 2581,
- "end": 2617,
+ "start": 2634,
+ "end": 2670,
"loc": {
"start": {
- "line": 71,
+ "line": 72,
"column": 2
},
"end": {
- "line": 71,
+ "line": 72,
"column": 38
}
},
"object": {
"type": "MemberExpression",
- "start": 2581,
- "end": 2613,
+ "start": 2634,
+ "end": 2666,
"loc": {
"start": {
- "line": 71,
+ "line": 72,
"column": 2
},
"end": {
- "line": 71,
+ "line": 72,
"column": 34
}
},
"object": {
"type": "MemberExpression",
- "start": 2581,
- "end": 2604,
+ "start": 2634,
+ "end": 2657,
"loc": {
"start": {
- "line": 71,
+ "line": 72,
"column": 2
},
"end": {
- "line": 71,
+ "line": 72,
"column": 25
}
},
"object": {
"type": "MemberExpression",
- "start": 2581,
- "end": 2597,
+ "start": 2634,
+ "end": 2650,
"loc": {
"start": {
- "line": 71,
+ "line": 72,
"column": 2
},
"end": {
- "line": 71,
+ "line": 72,
"column": 18
}
},
"object": {
"type": "ThisExpression",
- "start": 2581,
- "end": 2585,
+ "start": 2634,
+ "end": 2638,
"loc": {
"start": {
- "line": 71,
+ "line": 72,
"column": 2
},
"end": {
- "line": 71,
+ "line": 72,
"column": 6
}
},
@@ -4730,15 +4933,15 @@
},
"property": {
"type": "Identifier",
- "start": 2586,
- "end": 2597,
+ "start": 2639,
+ "end": 2650,
"loc": {
"start": {
- "line": 71,
+ "line": 72,
"column": 7
},
"end": {
- "line": 71,
+ "line": 72,
"column": 18
},
"identifierName": "textObjects"
@@ -4750,15 +4953,15 @@
},
"property": {
"type": "Identifier",
- "start": 2598,
- "end": 2604,
+ "start": 2651,
+ "end": 2657,
"loc": {
"start": {
- "line": 71,
+ "line": 72,
"column": 19
},
"end": {
- "line": 71,
+ "line": 72,
"column": 25
},
"identifierName": "idtext"
@@ -4770,15 +4973,15 @@
},
"property": {
"type": "Identifier",
- "start": 2605,
- "end": 2613,
+ "start": 2658,
+ "end": 2666,
"loc": {
"start": {
- "line": 71,
+ "line": 72,
"column": 26
},
"end": {
- "line": 71,
+ "line": 72,
"column": 34
},
"identifierName": "position"
@@ -4790,15 +4993,15 @@
},
"property": {
"type": "Identifier",
- "start": 2614,
- "end": 2617,
+ "start": 2667,
+ "end": 2670,
"loc": {
"start": {
- "line": 71,
+ "line": 72,
"column": 35
},
"end": {
- "line": 71,
+ "line": 72,
"column": 38
},
"identifierName": "set"
@@ -4811,15 +5014,15 @@
"arguments": [
{
"type": "NumericLiteral",
- "start": 2618,
- "end": 2619,
+ "start": 2671,
+ "end": 2672,
"loc": {
"start": {
- "line": 71,
+ "line": 72,
"column": 39
},
"end": {
- "line": 71,
+ "line": 72,
"column": 40
}
},
@@ -4831,43 +5034,43 @@
},
{
"type": "BinaryExpression",
- "start": 2621,
- "end": 2645,
+ "start": 2674,
+ "end": 2698,
"loc": {
"start": {
- "line": 71,
+ "line": 72,
"column": 42
},
"end": {
- "line": 71,
+ "line": 72,
"column": 66
}
},
"left": {
"type": "MemberExpression",
- "start": 2621,
- "end": 2641,
+ "start": 2674,
+ "end": 2694,
"loc": {
"start": {
- "line": 71,
+ "line": 72,
"column": 42
},
"end": {
- "line": 71,
+ "line": 72,
"column": 62
}
},
"object": {
"type": "Identifier",
- "start": 2621,
- "end": 2627,
+ "start": 2674,
+ "end": 2680,
"loc": {
"start": {
- "line": 71,
+ "line": 72,
"column": 42
},
"end": {
- "line": 71,
+ "line": 72,
"column": 48
},
"identifierName": "GLOBAL"
@@ -4876,15 +5079,15 @@
},
"property": {
"type": "Identifier",
- "start": 2628,
- "end": 2641,
+ "start": 2681,
+ "end": 2694,
"loc": {
"start": {
- "line": 71,
+ "line": 72,
"column": 49
},
"end": {
- "line": 71,
+ "line": 72,
"column": 62
},
"identifierName": "PLAYER_RADIUS"
@@ -4896,15 +5099,15 @@
"operator": "*",
"right": {
"type": "NumericLiteral",
- "start": 2644,
- "end": 2645,
+ "start": 2697,
+ "end": 2698,
"loc": {
"start": {
- "line": 71,
+ "line": 72,
"column": 65
},
"end": {
- "line": 71,
+ "line": 72,
"column": 66
}
},
@@ -4922,15 +5125,15 @@
{
"type": "CommentLine",
"value": " Assign values and positions",
- "start": 2548,
- "end": 2578,
+ "start": 2601,
+ "end": 2631,
"loc": {
"start": {
- "line": 70,
+ "line": 71,
"column": 2
},
"end": {
- "line": 70,
+ "line": 71,
"column": 32
}
}
@@ -4939,101 +5142,101 @@
},
{
"type": "ExpressionStatement",
- "start": 2649,
- "end": 2688,
+ "start": 2702,
+ "end": 2741,
"loc": {
"start": {
- "line": 72,
+ "line": 73,
"column": 2
},
"end": {
- "line": 72,
+ "line": 73,
"column": 41
}
},
"expression": {
"type": "AssignmentExpression",
- "start": 2649,
- "end": 2688,
+ "start": 2702,
+ "end": 2741,
"loc": {
"start": {
- "line": 72,
+ "line": 73,
"column": 2
},
"end": {
- "line": 72,
+ "line": 73,
"column": 41
}
},
"operator": "+=",
"left": {
"type": "MemberExpression",
- "start": 2649,
- "end": 2677,
+ "start": 2702,
+ "end": 2730,
"loc": {
"start": {
- "line": 72,
+ "line": 73,
"column": 2
},
"end": {
- "line": 72,
+ "line": 73,
"column": 30
}
},
"object": {
"type": "MemberExpression",
- "start": 2649,
- "end": 2672,
+ "start": 2702,
+ "end": 2725,
"loc": {
"start": {
- "line": 72,
+ "line": 73,
"column": 2
},
"end": {
- "line": 72,
+ "line": 73,
"column": 25
}
},
"object": {
"type": "MemberExpression",
- "start": 2649,
- "end": 2665,
+ "start": 2702,
+ "end": 2718,
"loc": {
"start": {
- "line": 72,
+ "line": 73,
"column": 2
},
"end": {
- "line": 72,
+ "line": 73,
"column": 18
}
},
"object": {
"type": "ThisExpression",
- "start": 2649,
- "end": 2653,
+ "start": 2702,
+ "end": 2706,
"loc": {
"start": {
- "line": 72,
+ "line": 73,
"column": 2
},
"end": {
- "line": 72,
+ "line": 73,
"column": 6
}
}
},
"property": {
"type": "Identifier",
- "start": 2654,
- "end": 2665,
+ "start": 2707,
+ "end": 2718,
"loc": {
"start": {
- "line": 72,
+ "line": 73,
"column": 7
},
"end": {
- "line": 72,
+ "line": 73,
"column": 18
},
"identifierName": "textObjects"
@@ -5044,15 +5247,15 @@
},
"property": {
"type": "Identifier",
- "start": 2666,
- "end": 2672,
+ "start": 2719,
+ "end": 2725,
"loc": {
"start": {
- "line": 72,
+ "line": 73,
"column": 19
},
"end": {
- "line": 72,
+ "line": 73,
"column": 25
},
"identifierName": "idtext"
@@ -5063,15 +5266,15 @@
},
"property": {
"type": "Identifier",
- "start": 2673,
- "end": 2677,
+ "start": 2726,
+ "end": 2730,
"loc": {
"start": {
- "line": 72,
+ "line": 73,
"column": 26
},
"end": {
- "line": 72,
+ "line": 73,
"column": 30
},
"identifierName": "text"
@@ -5082,44 +5285,44 @@
},
"right": {
"type": "MemberExpression",
- "start": 2681,
- "end": 2688,
+ "start": 2734,
+ "end": 2741,
"loc": {
"start": {
- "line": 72,
+ "line": 73,
"column": 34
},
"end": {
- "line": 72,
+ "line": 73,
"column": 41
}
},
"object": {
"type": "ThisExpression",
- "start": 2681,
- "end": 2685,
+ "start": 2734,
+ "end": 2738,
"loc": {
"start": {
- "line": 72,
+ "line": 73,
"column": 34
},
"end": {
- "line": 72,
+ "line": 73,
"column": 38
}
}
},
"property": {
"type": "Identifier",
- "start": 2686,
- "end": 2688,
+ "start": 2739,
+ "end": 2741,
"loc": {
"start": {
- "line": 72,
+ "line": 73,
"column": 39
},
"end": {
- "line": 72,
+ "line": 73,
"column": 41
},
"identifierName": "id"
@@ -5132,114 +5335,114 @@
},
{
"type": "ExpressionStatement",
- "start": 2691,
- "end": 2764,
+ "start": 2744,
+ "end": 2817,
"loc": {
"start": {
- "line": 73,
+ "line": 74,
"column": 2
},
"end": {
- "line": 73,
+ "line": 74,
"column": 75
}
},
"expression": {
"type": "CallExpression",
- "start": 2691,
- "end": 2764,
+ "start": 2744,
+ "end": 2817,
"loc": {
"start": {
- "line": 73,
+ "line": 74,
"column": 2
},
"end": {
- "line": 73,
+ "line": 74,
"column": 75
}
},
"callee": {
"type": "MemberExpression",
- "start": 2691,
- "end": 2729,
+ "start": 2744,
+ "end": 2782,
"loc": {
"start": {
- "line": 73,
+ "line": 74,
"column": 2
},
"end": {
- "line": 73,
+ "line": 74,
"column": 40
}
},
"object": {
"type": "MemberExpression",
- "start": 2691,
- "end": 2725,
+ "start": 2744,
+ "end": 2778,
"loc": {
"start": {
- "line": 73,
+ "line": 74,
"column": 2
},
"end": {
- "line": 73,
+ "line": 74,
"column": 36
}
},
"object": {
"type": "MemberExpression",
- "start": 2691,
- "end": 2716,
+ "start": 2744,
+ "end": 2769,
"loc": {
"start": {
- "line": 73,
+ "line": 74,
"column": 2
},
"end": {
- "line": 73,
+ "line": 74,
"column": 27
}
},
"object": {
"type": "MemberExpression",
- "start": 2691,
- "end": 2707,
+ "start": 2744,
+ "end": 2760,
"loc": {
"start": {
- "line": 73,
+ "line": 74,
"column": 2
},
"end": {
- "line": 73,
+ "line": 74,
"column": 18
}
},
"object": {
"type": "ThisExpression",
- "start": 2691,
- "end": 2695,
+ "start": 2744,
+ "end": 2748,
"loc": {
"start": {
- "line": 73,
+ "line": 74,
"column": 2
},
"end": {
- "line": 73,
+ "line": 74,
"column": 6
}
}
},
"property": {
"type": "Identifier",
- "start": 2696,
- "end": 2707,
+ "start": 2749,
+ "end": 2760,
"loc": {
"start": {
- "line": 73,
+ "line": 74,
"column": 7
},
"end": {
- "line": 73,
+ "line": 74,
"column": 18
},
"identifierName": "textObjects"
@@ -5250,15 +5453,15 @@
},
"property": {
"type": "Identifier",
- "start": 2708,
- "end": 2716,
+ "start": 2761,
+ "end": 2769,
"loc": {
"start": {
- "line": 73,
+ "line": 74,
"column": 19
},
"end": {
- "line": 73,
+ "line": 74,
"column": 27
},
"identifierName": "nametext"
@@ -5269,15 +5472,15 @@
},
"property": {
"type": "Identifier",
- "start": 2717,
- "end": 2725,
+ "start": 2770,
+ "end": 2778,
"loc": {
"start": {
- "line": 73,
+ "line": 74,
"column": 28
},
"end": {
- "line": 73,
+ "line": 74,
"column": 36
},
"identifierName": "position"
@@ -5288,15 +5491,15 @@
},
"property": {
"type": "Identifier",
- "start": 2726,
- "end": 2729,
+ "start": 2779,
+ "end": 2782,
"loc": {
"start": {
- "line": 73,
+ "line": 74,
"column": 37
},
"end": {
- "line": 73,
+ "line": 74,
"column": 40
},
"identifierName": "set"
@@ -5308,15 +5511,15 @@
"arguments": [
{
"type": "NumericLiteral",
- "start": 2730,
- "end": 2731,
+ "start": 2783,
+ "end": 2784,
"loc": {
"start": {
- "line": 73,
+ "line": 74,
"column": 41
},
"end": {
- "line": 73,
+ "line": 74,
"column": 42
}
},
@@ -5328,57 +5531,57 @@
},
{
"type": "BinaryExpression",
- "start": 2733,
- "end": 2763,
+ "start": 2786,
+ "end": 2816,
"loc": {
"start": {
- "line": 73,
+ "line": 74,
"column": 44
},
"end": {
- "line": 73,
+ "line": 74,
"column": 74
}
},
"left": {
"type": "BinaryExpression",
- "start": 2733,
- "end": 2757,
+ "start": 2786,
+ "end": 2810,
"loc": {
"start": {
- "line": 73,
+ "line": 74,
"column": 44
},
"end": {
- "line": 73,
+ "line": 74,
"column": 68
}
},
"left": {
"type": "MemberExpression",
- "start": 2733,
- "end": 2753,
+ "start": 2786,
+ "end": 2806,
"loc": {
"start": {
- "line": 73,
+ "line": 74,
"column": 44
},
"end": {
- "line": 73,
+ "line": 74,
"column": 64
}
},
"object": {
"type": "Identifier",
- "start": 2733,
- "end": 2739,
+ "start": 2786,
+ "end": 2792,
"loc": {
"start": {
- "line": 73,
+ "line": 74,
"column": 44
},
"end": {
- "line": 73,
+ "line": 74,
"column": 50
},
"identifierName": "GLOBAL"
@@ -5387,15 +5590,15 @@
},
"property": {
"type": "Identifier",
- "start": 2740,
- "end": 2753,
+ "start": 2793,
+ "end": 2806,
"loc": {
"start": {
- "line": 73,
+ "line": 74,
"column": 51
},
"end": {
- "line": 73,
+ "line": 74,
"column": 64
},
"identifierName": "PLAYER_RADIUS"
@@ -5407,15 +5610,15 @@
"operator": "*",
"right": {
"type": "NumericLiteral",
- "start": 2756,
- "end": 2757,
+ "start": 2809,
+ "end": 2810,
"loc": {
"start": {
- "line": 73,
+ "line": 74,
"column": 67
},
"end": {
- "line": 73,
+ "line": 74,
"column": 68
}
},
@@ -5429,15 +5632,15 @@
"operator": "+",
"right": {
"type": "NumericLiteral",
- "start": 2760,
- "end": 2763,
+ "start": 2813,
+ "end": 2816,
"loc": {
"start": {
- "line": 73,
+ "line": 74,
"column": 71
},
"end": {
- "line": 73,
+ "line": 74,
"column": 74
}
},
@@ -5453,101 +5656,101 @@
},
{
"type": "ExpressionStatement",
- "start": 2767,
- "end": 2810,
+ "start": 2820,
+ "end": 2863,
"loc": {
"start": {
- "line": 74,
+ "line": 75,
"column": 2
},
"end": {
- "line": 74,
+ "line": 75,
"column": 45
}
},
"expression": {
"type": "AssignmentExpression",
- "start": 2767,
- "end": 2810,
+ "start": 2820,
+ "end": 2863,
"loc": {
"start": {
- "line": 74,
+ "line": 75,
"column": 2
},
"end": {
- "line": 74,
+ "line": 75,
"column": 45
}
},
"operator": "+=",
"left": {
"type": "MemberExpression",
- "start": 2767,
- "end": 2797,
+ "start": 2820,
+ "end": 2850,
"loc": {
"start": {
- "line": 74,
+ "line": 75,
"column": 2
},
"end": {
- "line": 74,
+ "line": 75,
"column": 32
}
},
"object": {
"type": "MemberExpression",
- "start": 2767,
- "end": 2792,
+ "start": 2820,
+ "end": 2845,
"loc": {
"start": {
- "line": 74,
+ "line": 75,
"column": 2
},
"end": {
- "line": 74,
+ "line": 75,
"column": 27
}
},
"object": {
"type": "MemberExpression",
- "start": 2767,
- "end": 2783,
+ "start": 2820,
+ "end": 2836,
"loc": {
"start": {
- "line": 74,
+ "line": 75,
"column": 2
},
"end": {
- "line": 74,
+ "line": 75,
"column": 18
}
},
"object": {
"type": "ThisExpression",
- "start": 2767,
- "end": 2771,
+ "start": 2820,
+ "end": 2824,
"loc": {
"start": {
- "line": 74,
+ "line": 75,
"column": 2
},
"end": {
- "line": 74,
+ "line": 75,
"column": 6
}
}
},
"property": {
"type": "Identifier",
- "start": 2772,
- "end": 2783,
+ "start": 2825,
+ "end": 2836,
"loc": {
"start": {
- "line": 74,
+ "line": 75,
"column": 7
},
"end": {
- "line": 74,
+ "line": 75,
"column": 18
},
"identifierName": "textObjects"
@@ -5558,15 +5761,15 @@
},
"property": {
"type": "Identifier",
- "start": 2784,
- "end": 2792,
+ "start": 2837,
+ "end": 2845,
"loc": {
"start": {
- "line": 74,
+ "line": 75,
"column": 19
},
"end": {
- "line": 74,
+ "line": 75,
"column": 27
},
"identifierName": "nametext"
@@ -5577,15 +5780,15 @@
},
"property": {
"type": "Identifier",
- "start": 2793,
- "end": 2797,
+ "start": 2846,
+ "end": 2850,
"loc": {
"start": {
- "line": 74,
+ "line": 75,
"column": 28
},
"end": {
- "line": 74,
+ "line": 75,
"column": 32
},
"identifierName": "text"
@@ -5596,44 +5799,44 @@
},
"right": {
"type": "MemberExpression",
- "start": 2801,
- "end": 2810,
+ "start": 2854,
+ "end": 2863,
"loc": {
"start": {
- "line": 74,
+ "line": 75,
"column": 36
},
"end": {
- "line": 74,
+ "line": 75,
"column": 45
}
},
"object": {
"type": "ThisExpression",
- "start": 2801,
- "end": 2805,
+ "start": 2854,
+ "end": 2858,
"loc": {
"start": {
- "line": 74,
+ "line": 75,
"column": 36
},
"end": {
- "line": 74,
+ "line": 75,
"column": 40
}
}
},
"property": {
"type": "Identifier",
- "start": 2806,
- "end": 2810,
+ "start": 2859,
+ "end": 2863,
"loc": {
"start": {
- "line": 74,
+ "line": 75,
"column": 41
},
"end": {
- "line": 74,
+ "line": 75,
"column": 45
},
"identifierName": "name"
@@ -5646,114 +5849,114 @@
},
{
"type": "ExpressionStatement",
- "start": 2813,
- "end": 2885,
+ "start": 2866,
+ "end": 2938,
"loc": {
"start": {
- "line": 75,
+ "line": 76,
"column": 2
},
"end": {
- "line": 75,
+ "line": 76,
"column": 74
}
},
"expression": {
"type": "CallExpression",
- "start": 2813,
- "end": 2885,
+ "start": 2866,
+ "end": 2938,
"loc": {
"start": {
- "line": 75,
+ "line": 76,
"column": 2
},
"end": {
- "line": 75,
+ "line": 76,
"column": 74
}
},
"callee": {
"type": "MemberExpression",
- "start": 2813,
- "end": 2850,
+ "start": 2866,
+ "end": 2903,
"loc": {
"start": {
- "line": 75,
+ "line": 76,
"column": 2
},
"end": {
- "line": 75,
+ "line": 76,
"column": 39
}
},
"object": {
"type": "MemberExpression",
- "start": 2813,
- "end": 2846,
+ "start": 2866,
+ "end": 2899,
"loc": {
"start": {
- "line": 75,
+ "line": 76,
"column": 2
},
"end": {
- "line": 75,
+ "line": 76,
"column": 35
}
},
"object": {
"type": "MemberExpression",
- "start": 2813,
- "end": 2837,
+ "start": 2866,
+ "end": 2890,
"loc": {
"start": {
- "line": 75,
+ "line": 76,
"column": 2
},
"end": {
- "line": 75,
+ "line": 76,
"column": 26
}
},
"object": {
"type": "MemberExpression",
- "start": 2813,
- "end": 2829,
+ "start": 2866,
+ "end": 2882,
"loc": {
"start": {
- "line": 75,
+ "line": 76,
"column": 2
},
"end": {
- "line": 75,
+ "line": 76,
"column": 18
}
},
"object": {
"type": "ThisExpression",
- "start": 2813,
- "end": 2817,
+ "start": 2866,
+ "end": 2870,
"loc": {
"start": {
- "line": 75,
+ "line": 76,
"column": 2
},
"end": {
- "line": 75,
+ "line": 76,
"column": 6
}
}
},
"property": {
"type": "Identifier",
- "start": 2818,
- "end": 2829,
+ "start": 2871,
+ "end": 2882,
"loc": {
"start": {
- "line": 75,
+ "line": 76,
"column": 7
},
"end": {
- "line": 75,
+ "line": 76,
"column": 18
},
"identifierName": "textObjects"
@@ -5764,15 +5967,15 @@
},
"property": {
"type": "Identifier",
- "start": 2830,
- "end": 2837,
+ "start": 2883,
+ "end": 2890,
"loc": {
"start": {
- "line": 75,
+ "line": 76,
"column": 19
},
"end": {
- "line": 75,
+ "line": 76,
"column": 26
},
"identifierName": "postext"
@@ -5783,15 +5986,15 @@
},
"property": {
"type": "Identifier",
- "start": 2838,
- "end": 2846,
+ "start": 2891,
+ "end": 2899,
"loc": {
"start": {
- "line": 75,
+ "line": 76,
"column": 27
},
"end": {
- "line": 75,
+ "line": 76,
"column": 35
},
"identifierName": "position"
@@ -5802,15 +6005,15 @@
},
"property": {
"type": "Identifier",
- "start": 2847,
- "end": 2850,
+ "start": 2900,
+ "end": 2903,
"loc": {
"start": {
- "line": 75,
+ "line": 76,
"column": 36
},
"end": {
- "line": 75,
+ "line": 76,
"column": 39
},
"identifierName": "set"
@@ -5822,15 +6025,15 @@
"arguments": [
{
"type": "NumericLiteral",
- "start": 2851,
- "end": 2852,
+ "start": 2904,
+ "end": 2905,
"loc": {
"start": {
- "line": 75,
+ "line": 76,
"column": 40
},
"end": {
- "line": 75,
+ "line": 76,
"column": 41
}
},
@@ -5842,57 +6045,57 @@
},
{
"type": "BinaryExpression",
- "start": 2854,
- "end": 2884,
+ "start": 2907,
+ "end": 2937,
"loc": {
"start": {
- "line": 75,
+ "line": 76,
"column": 43
},
"end": {
- "line": 75,
+ "line": 76,
"column": 73
}
},
"left": {
"type": "BinaryExpression",
- "start": 2854,
- "end": 2878,
+ "start": 2907,
+ "end": 2931,
"loc": {
"start": {
- "line": 75,
+ "line": 76,
"column": 43
},
"end": {
- "line": 75,
+ "line": 76,
"column": 67
}
},
"left": {
"type": "MemberExpression",
- "start": 2854,
- "end": 2874,
+ "start": 2907,
+ "end": 2927,
"loc": {
"start": {
- "line": 75,
+ "line": 76,
"column": 43
},
"end": {
- "line": 75,
+ "line": 76,
"column": 63
}
},
"object": {
"type": "Identifier",
- "start": 2854,
- "end": 2860,
+ "start": 2907,
+ "end": 2913,
"loc": {
"start": {
- "line": 75,
+ "line": 76,
"column": 43
},
"end": {
- "line": 75,
+ "line": 76,
"column": 49
},
"identifierName": "GLOBAL"
@@ -5901,15 +6104,15 @@
},
"property": {
"type": "Identifier",
- "start": 2861,
- "end": 2874,
+ "start": 2914,
+ "end": 2927,
"loc": {
"start": {
- "line": 75,
+ "line": 76,
"column": 50
},
"end": {
- "line": 75,
+ "line": 76,
"column": 63
},
"identifierName": "PLAYER_RADIUS"
@@ -5921,15 +6124,15 @@
"operator": "*",
"right": {
"type": "NumericLiteral",
- "start": 2877,
- "end": 2878,
+ "start": 2930,
+ "end": 2931,
"loc": {
"start": {
- "line": 75,
+ "line": 76,
"column": 66
},
"end": {
- "line": 75,
+ "line": 76,
"column": 67
}
},
@@ -5943,15 +6146,15 @@
"operator": "+",
"right": {
"type": "NumericLiteral",
- "start": 2881,
- "end": 2884,
+ "start": 2934,
+ "end": 2937,
"loc": {
"start": {
- "line": 75,
+ "line": 76,
"column": 70
},
"end": {
- "line": 75,
+ "line": 76,
"column": 73
}
},
@@ -5967,101 +6170,101 @@
},
{
"type": "ExpressionStatement",
- "start": 2888,
- "end": 2931,
+ "start": 2941,
+ "end": 2984,
"loc": {
"start": {
- "line": 76,
+ "line": 77,
"column": 2
},
"end": {
- "line": 76,
+ "line": 77,
"column": 45
}
},
"expression": {
"type": "AssignmentExpression",
- "start": 2888,
- "end": 2931,
+ "start": 2941,
+ "end": 2984,
"loc": {
"start": {
- "line": 76,
+ "line": 77,
"column": 2
},
"end": {
- "line": 76,
+ "line": 77,
"column": 45
}
},
"operator": "+=",
"left": {
"type": "MemberExpression",
- "start": 2888,
- "end": 2918,
+ "start": 2941,
+ "end": 2971,
"loc": {
"start": {
- "line": 76,
+ "line": 77,
"column": 2
},
"end": {
- "line": 76,
+ "line": 77,
"column": 32
}
},
"object": {
"type": "MemberExpression",
- "start": 2888,
- "end": 2913,
+ "start": 2941,
+ "end": 2966,
"loc": {
"start": {
- "line": 76,
+ "line": 77,
"column": 2
},
"end": {
- "line": 76,
+ "line": 77,
"column": 27
}
},
"object": {
"type": "MemberExpression",
- "start": 2888,
- "end": 2904,
+ "start": 2941,
+ "end": 2957,
"loc": {
"start": {
- "line": 76,
+ "line": 77,
"column": 2
},
"end": {
- "line": 76,
+ "line": 77,
"column": 18
}
},
"object": {
"type": "ThisExpression",
- "start": 2888,
- "end": 2892,
+ "start": 2941,
+ "end": 2945,
"loc": {
"start": {
- "line": 76,
+ "line": 77,
"column": 2
},
"end": {
- "line": 76,
+ "line": 77,
"column": 6
}
}
},
"property": {
"type": "Identifier",
- "start": 2893,
- "end": 2904,
+ "start": 2946,
+ "end": 2957,
"loc": {
"start": {
- "line": 76,
+ "line": 77,
"column": 7
},
"end": {
- "line": 76,
+ "line": 77,
"column": 18
},
"identifierName": "textObjects"
@@ -6072,15 +6275,15 @@
},
"property": {
"type": "Identifier",
- "start": 2905,
- "end": 2913,
+ "start": 2958,
+ "end": 2966,
"loc": {
"start": {
- "line": 76,
+ "line": 77,
"column": 19
},
"end": {
- "line": 76,
+ "line": 77,
"column": 27
},
"identifierName": "teamtext"
@@ -6091,15 +6294,15 @@
},
"property": {
"type": "Identifier",
- "start": 2914,
- "end": 2918,
+ "start": 2967,
+ "end": 2971,
"loc": {
"start": {
- "line": 76,
+ "line": 77,
"column": 28
},
"end": {
- "line": 76,
+ "line": 77,
"column": 32
},
"identifierName": "text"
@@ -6110,44 +6313,44 @@
},
"right": {
"type": "MemberExpression",
- "start": 2922,
- "end": 2931,
+ "start": 2975,
+ "end": 2984,
"loc": {
"start": {
- "line": 76,
+ "line": 77,
"column": 36
},
"end": {
- "line": 76,
+ "line": 77,
"column": 45
}
},
"object": {
"type": "ThisExpression",
- "start": 2922,
- "end": 2926,
+ "start": 2975,
+ "end": 2979,
"loc": {
"start": {
- "line": 76,
+ "line": 77,
"column": 36
},
"end": {
- "line": 76,
+ "line": 77,
"column": 40
}
}
},
"property": {
"type": "Identifier",
- "start": 2927,
- "end": 2931,
+ "start": 2980,
+ "end": 2984,
"loc": {
"start": {
- "line": 76,
+ "line": 77,
"column": 41
},
"end": {
- "line": 76,
+ "line": 77,
"column": 45
},
"identifierName": "team"
@@ -6160,114 +6363,114 @@
},
{
"type": "ExpressionStatement",
- "start": 2934,
- "end": 3007,
+ "start": 2987,
+ "end": 3060,
"loc": {
"start": {
- "line": 77,
+ "line": 78,
"column": 2
},
"end": {
- "line": 77,
+ "line": 78,
"column": 75
}
},
"expression": {
"type": "CallExpression",
- "start": 2934,
- "end": 3007,
+ "start": 2987,
+ "end": 3060,
"loc": {
"start": {
- "line": 77,
+ "line": 78,
"column": 2
},
"end": {
- "line": 77,
+ "line": 78,
"column": 75
}
},
"callee": {
"type": "MemberExpression",
- "start": 2934,
- "end": 2972,
+ "start": 2987,
+ "end": 3025,
"loc": {
"start": {
- "line": 77,
+ "line": 78,
"column": 2
},
"end": {
- "line": 77,
+ "line": 78,
"column": 40
}
},
"object": {
"type": "MemberExpression",
- "start": 2934,
- "end": 2968,
+ "start": 2987,
+ "end": 3021,
"loc": {
"start": {
- "line": 77,
+ "line": 78,
"column": 2
},
"end": {
- "line": 77,
+ "line": 78,
"column": 36
}
},
"object": {
"type": "MemberExpression",
- "start": 2934,
- "end": 2959,
+ "start": 2987,
+ "end": 3012,
"loc": {
"start": {
- "line": 77,
+ "line": 78,
"column": 2
},
"end": {
- "line": 77,
+ "line": 78,
"column": 27
}
},
"object": {
"type": "MemberExpression",
- "start": 2934,
- "end": 2950,
+ "start": 2987,
+ "end": 3003,
"loc": {
"start": {
- "line": 77,
+ "line": 78,
"column": 2
},
"end": {
- "line": 77,
+ "line": 78,
"column": 18
}
},
"object": {
"type": "ThisExpression",
- "start": 2934,
- "end": 2938,
+ "start": 2987,
+ "end": 2991,
"loc": {
"start": {
- "line": 77,
+ "line": 78,
"column": 2
},
"end": {
- "line": 77,
+ "line": 78,
"column": 6
}
}
},
"property": {
"type": "Identifier",
- "start": 2939,
- "end": 2950,
+ "start": 2992,
+ "end": 3003,
"loc": {
"start": {
- "line": 77,
+ "line": 78,
"column": 7
},
"end": {
- "line": 77,
+ "line": 78,
"column": 18
},
"identifierName": "textObjects"
@@ -6278,15 +6481,15 @@
},
"property": {
"type": "Identifier",
- "start": 2951,
- "end": 2959,
+ "start": 3004,
+ "end": 3012,
"loc": {
"start": {
- "line": 77,
+ "line": 78,
"column": 19
},
"end": {
- "line": 77,
+ "line": 78,
"column": 27
},
"identifierName": "teamtext"
@@ -6297,15 +6500,15 @@
},
"property": {
"type": "Identifier",
- "start": 2960,
- "end": 2968,
+ "start": 3013,
+ "end": 3021,
"loc": {
"start": {
- "line": 77,
+ "line": 78,
"column": 28
},
"end": {
- "line": 77,
+ "line": 78,
"column": 36
},
"identifierName": "position"
@@ -6316,15 +6519,15 @@
},
"property": {
"type": "Identifier",
- "start": 2969,
- "end": 2972,
+ "start": 3022,
+ "end": 3025,
"loc": {
"start": {
- "line": 77,
+ "line": 78,
"column": 37
},
"end": {
- "line": 77,
+ "line": 78,
"column": 40
},
"identifierName": "set"
@@ -6336,15 +6539,15 @@
"arguments": [
{
"type": "NumericLiteral",
- "start": 2973,
- "end": 2974,
+ "start": 3026,
+ "end": 3027,
"loc": {
"start": {
- "line": 77,
+ "line": 78,
"column": 41
},
"end": {
- "line": 77,
+ "line": 78,
"column": 42
}
},
@@ -6356,57 +6559,57 @@
},
{
"type": "BinaryExpression",
- "start": 2976,
- "end": 3006,
+ "start": 3029,
+ "end": 3059,
"loc": {
"start": {
- "line": 77,
+ "line": 78,
"column": 44
},
"end": {
- "line": 77,
+ "line": 78,
"column": 74
}
},
"left": {
"type": "BinaryExpression",
- "start": 2976,
- "end": 3000,
+ "start": 3029,
+ "end": 3053,
"loc": {
"start": {
- "line": 77,
+ "line": 78,
"column": 44
},
"end": {
- "line": 77,
+ "line": 78,
"column": 68
}
},
"left": {
"type": "MemberExpression",
- "start": 2976,
- "end": 2996,
+ "start": 3029,
+ "end": 3049,
"loc": {
"start": {
- "line": 77,
+ "line": 78,
"column": 44
},
"end": {
- "line": 77,
+ "line": 78,
"column": 64
}
},
"object": {
"type": "Identifier",
- "start": 2976,
- "end": 2982,
+ "start": 3029,
+ "end": 3035,
"loc": {
"start": {
- "line": 77,
+ "line": 78,
"column": 44
},
"end": {
- "line": 77,
+ "line": 78,
"column": 50
},
"identifierName": "GLOBAL"
@@ -6415,15 +6618,15 @@
},
"property": {
"type": "Identifier",
- "start": 2983,
- "end": 2996,
+ "start": 3036,
+ "end": 3049,
"loc": {
"start": {
- "line": 77,
+ "line": 78,
"column": 51
},
"end": {
- "line": 77,
+ "line": 78,
"column": 64
},
"identifierName": "PLAYER_RADIUS"
@@ -6435,15 +6638,15 @@
"operator": "*",
"right": {
"type": "NumericLiteral",
- "start": 2999,
- "end": 3000,
+ "start": 3052,
+ "end": 3053,
"loc": {
"start": {
- "line": 77,
+ "line": 78,
"column": 67
},
"end": {
- "line": 77,
+ "line": 78,
"column": 68
}
},
@@ -6457,15 +6660,15 @@
"operator": "+",
"right": {
"type": "NumericLiteral",
- "start": 3003,
- "end": 3006,
+ "start": 3056,
+ "end": 3059,
"loc": {
"start": {
- "line": 77,
+ "line": 78,
"column": 71
},
"end": {
- "line": 77,
+ "line": 78,
"column": 74
}
},
@@ -6476,1954 +6679,1604 @@
"value": 300
}
}
- ],
- "trailingComments": null
- },
- "trailingComments": [
- {
- "type": "CommentLine",
- "value": " create text and assign color",
- "start": 3011,
- "end": 3042,
- "loc": {
- "start": {
- "line": 79,
- "column": 2
- },
- "end": {
- "line": 79,
- "column": 33
- }
- }
- }
- ]
+ ]
+ }
},
{
- "type": "ForInStatement",
- "start": 3045,
- "end": 3280,
+ "type": "ExpressionStatement",
+ "start": 3063,
+ "end": 3111,
"loc": {
"start": {
- "line": 80,
+ "line": 79,
"column": 2
},
"end": {
- "line": 87,
- "column": 3
+ "line": 79,
+ "column": 50
}
},
- "left": {
- "type": "VariableDeclaration",
- "start": 3050,
- "end": 3058,
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 3063,
+ "end": 3111,
"loc": {
"start": {
- "line": 80,
- "column": 7
+ "line": 79,
+ "column": 2
},
"end": {
- "line": 80,
- "column": 15
+ "line": 79,
+ "column": 50
}
},
- "declarations": [
- {
- "type": "VariableDeclarator",
- "start": 3054,
- "end": 3058,
+ "operator": "+=",
+ "left": {
+ "type": "MemberExpression",
+ "start": 3063,
+ "end": 3096,
+ "loc": {
+ "start": {
+ "line": 79,
+ "column": 2
+ },
+ "end": {
+ "line": 79,
+ "column": 35
+ }
+ },
+ "object": {
+ "type": "MemberExpression",
+ "start": 3063,
+ "end": 3091,
"loc": {
"start": {
- "line": 80,
- "column": 11
+ "line": 79,
+ "column": 2
},
"end": {
- "line": 80,
- "column": 15
+ "line": 79,
+ "column": 30
}
},
- "id": {
+ "object": {
+ "type": "MemberExpression",
+ "start": 3063,
+ "end": 3079,
+ "loc": {
+ "start": {
+ "line": 79,
+ "column": 2
+ },
+ "end": {
+ "line": 79,
+ "column": 18
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 3063,
+ "end": 3067,
+ "loc": {
+ "start": {
+ "line": 79,
+ "column": 2
+ },
+ "end": {
+ "line": 79,
+ "column": 6
+ }
+ }
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 3068,
+ "end": 3079,
+ "loc": {
+ "start": {
+ "line": 79,
+ "column": 7
+ },
+ "end": {
+ "line": 79,
+ "column": 18
+ },
+ "identifierName": "textObjects"
+ },
+ "name": "textObjects"
+ },
+ "computed": false
+ },
+ "property": {
"type": "Identifier",
- "start": 3054,
- "end": 3058,
+ "start": 3080,
+ "end": 3091,
"loc": {
"start": {
- "line": 80,
- "column": 11
+ "line": 79,
+ "column": 19
},
"end": {
- "line": 80,
- "column": 15
+ "line": 79,
+ "column": 30
},
- "identifierName": "item"
+ "identifierName": "defensetext"
},
- "name": "item",
- "leadingComments": null
+ "name": "defensetext"
},
- "init": null,
- "leadingComments": null
- }
- ],
- "kind": "let",
- "leadingComments": null
- },
- "right": {
- "type": "MemberExpression",
- "start": 3062,
- "end": 3078,
- "loc": {
- "start": {
- "line": 80,
- "column": 19
+ "computed": false
},
- "end": {
- "line": 80,
- "column": 35
- }
- },
- "object": {
- "type": "ThisExpression",
- "start": 3062,
- "end": 3066,
- "loc": {
- "start": {
- "line": 80,
- "column": 19
+ "property": {
+ "type": "Identifier",
+ "start": 3092,
+ "end": 3096,
+ "loc": {
+ "start": {
+ "line": 79,
+ "column": 31
+ },
+ "end": {
+ "line": 79,
+ "column": 35
+ },
+ "identifierName": "text"
},
- "end": {
- "line": 80,
- "column": 23
- }
- }
+ "name": "text"
+ },
+ "computed": false
},
- "property": {
- "type": "Identifier",
- "start": 3067,
- "end": 3078,
+ "right": {
+ "type": "MemberExpression",
+ "start": 3100,
+ "end": 3111,
"loc": {
"start": {
- "line": 80,
- "column": 24
+ "line": 79,
+ "column": 39
},
"end": {
- "line": 80,
- "column": 35
+ "line": 79,
+ "column": 50
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 3100,
+ "end": 3104,
+ "loc": {
+ "start": {
+ "line": 79,
+ "column": 39
+ },
+ "end": {
+ "line": 79,
+ "column": 43
+ }
+ }
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 3105,
+ "end": 3111,
+ "loc": {
+ "start": {
+ "line": 79,
+ "column": 44
+ },
+ "end": {
+ "line": 79,
+ "column": 50
+ },
+ "identifierName": "shield"
},
- "identifierName": "textObjects"
+ "name": "shield"
},
- "name": "textObjects"
+ "computed": false
+ }
+ }
+ },
+ {
+ "type": "ExpressionStatement",
+ "start": 3114,
+ "end": 3190,
+ "loc": {
+ "start": {
+ "line": 80,
+ "column": 2
},
- "computed": false
+ "end": {
+ "line": 80,
+ "column": 78
+ }
},
- "body": {
- "type": "BlockStatement",
- "start": 3080,
- "end": 3280,
+ "expression": {
+ "type": "CallExpression",
+ "start": 3114,
+ "end": 3190,
"loc": {
"start": {
"line": 80,
- "column": 37
+ "column": 2
},
"end": {
- "line": 87,
- "column": 3
+ "line": 80,
+ "column": 78
}
},
- "body": [
- {
- "type": "ExpressionStatement",
- "start": 3100,
- "end": 3235,
+ "callee": {
+ "type": "MemberExpression",
+ "start": 3114,
+ "end": 3155,
+ "loc": {
+ "start": {
+ "line": 80,
+ "column": 2
+ },
+ "end": {
+ "line": 80,
+ "column": 43
+ }
+ },
+ "object": {
+ "type": "MemberExpression",
+ "start": 3114,
+ "end": 3151,
"loc": {
"start": {
- "line": 82,
- "column": 3
+ "line": 80,
+ "column": 2
},
"end": {
- "line": 85,
- "column": 5
+ "line": 80,
+ "column": 39
}
},
- "expression": {
- "type": "AssignmentExpression",
- "start": 3100,
- "end": 3235,
+ "object": {
+ "type": "MemberExpression",
+ "start": 3114,
+ "end": 3142,
"loc": {
"start": {
- "line": 82,
- "column": 3
+ "line": 80,
+ "column": 2
},
"end": {
- "line": 85,
- "column": 5
+ "line": 80,
+ "column": 30
}
},
- "operator": "=",
- "left": {
+ "object": {
"type": "MemberExpression",
- "start": 3100,
- "end": 3128,
+ "start": 3114,
+ "end": 3130,
"loc": {
"start": {
- "line": 82,
- "column": 3
+ "line": 80,
+ "column": 2
},
"end": {
- "line": 82,
- "column": 31
+ "line": 80,
+ "column": 18
}
},
"object": {
- "type": "MemberExpression",
- "start": 3100,
- "end": 3122,
+ "type": "ThisExpression",
+ "start": 3114,
+ "end": 3118,
"loc": {
"start": {
- "line": 82,
- "column": 3
+ "line": 80,
+ "column": 2
},
"end": {
- "line": 82,
- "column": 25
+ "line": 80,
+ "column": 6
}
- },
- "object": {
- "type": "MemberExpression",
- "start": 3100,
- "end": 3116,
- "loc": {
- "start": {
- "line": 82,
- "column": 3
- },
- "end": {
- "line": 82,
- "column": 19
- }
- },
- "object": {
- "type": "ThisExpression",
- "start": 3100,
- "end": 3104,
- "loc": {
- "start": {
- "line": 82,
- "column": 3
- },
- "end": {
- "line": 82,
- "column": 7
- }
- },
- "leadingComments": null
- },
- "property": {
- "type": "Identifier",
- "start": 3105,
- "end": 3116,
- "loc": {
- "start": {
- "line": 82,
- "column": 8
- },
- "end": {
- "line": 82,
- "column": 19
- },
- "identifierName": "textObjects"
- },
- "name": "textObjects"
- },
- "computed": false,
- "leadingComments": null
- },
- "property": {
- "type": "Identifier",
- "start": 3117,
- "end": 3121,
- "loc": {
- "start": {
- "line": 82,
- "column": 20
- },
- "end": {
- "line": 82,
- "column": 24
- },
- "identifierName": "item"
- },
- "name": "item"
- },
- "computed": true,
- "leadingComments": null
+ }
},
"property": {
"type": "Identifier",
- "start": 3123,
- "end": 3128,
+ "start": 3119,
+ "end": 3130,
"loc": {
"start": {
- "line": 82,
- "column": 26
+ "line": 80,
+ "column": 7
},
"end": {
- "line": 82,
- "column": 31
+ "line": 80,
+ "column": 18
},
- "identifierName": "style"
+ "identifierName": "textObjects"
},
- "name": "style"
+ "name": "textObjects"
},
- "computed": false,
- "leadingComments": null
+ "computed": false
},
- "right": {
- "type": "NewExpression",
+ "property": {
+ "type": "Identifier",
"start": 3131,
- "end": 3235,
+ "end": 3142,
"loc": {
"start": {
- "line": 82,
- "column": 34
+ "line": 80,
+ "column": 19
},
"end": {
- "line": 85,
- "column": 5
+ "line": 80,
+ "column": 30
+ },
+ "identifierName": "defensetext"
+ },
+ "name": "defensetext"
+ },
+ "computed": false
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 3143,
+ "end": 3151,
+ "loc": {
+ "start": {
+ "line": 80,
+ "column": 31
+ },
+ "end": {
+ "line": 80,
+ "column": 39
+ },
+ "identifierName": "position"
+ },
+ "name": "position"
+ },
+ "computed": false
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 3152,
+ "end": 3155,
+ "loc": {
+ "start": {
+ "line": 80,
+ "column": 40
+ },
+ "end": {
+ "line": 80,
+ "column": 43
+ },
+ "identifierName": "set"
+ },
+ "name": "set"
+ },
+ "computed": false
+ },
+ "arguments": [
+ {
+ "type": "NumericLiteral",
+ "start": 3156,
+ "end": 3157,
+ "loc": {
+ "start": {
+ "line": 80,
+ "column": 44
+ },
+ "end": {
+ "line": 80,
+ "column": 45
+ }
+ },
+ "extra": {
+ "rawValue": 0,
+ "raw": "0"
+ },
+ "value": 0
+ },
+ {
+ "type": "BinaryExpression",
+ "start": 3159,
+ "end": 3189,
+ "loc": {
+ "start": {
+ "line": 80,
+ "column": 47
+ },
+ "end": {
+ "line": 80,
+ "column": 77
+ }
+ },
+ "left": {
+ "type": "BinaryExpression",
+ "start": 3159,
+ "end": 3183,
+ "loc": {
+ "start": {
+ "line": 80,
+ "column": 47
+ },
+ "end": {
+ "line": 80,
+ "column": 71
+ }
+ },
+ "left": {
+ "type": "MemberExpression",
+ "start": 3159,
+ "end": 3179,
+ "loc": {
+ "start": {
+ "line": 80,
+ "column": 47
+ },
+ "end": {
+ "line": 80,
+ "column": 67
}
},
- "callee": {
- "type": "MemberExpression",
- "start": 3135,
- "end": 3149,
+ "object": {
+ "type": "Identifier",
+ "start": 3159,
+ "end": 3165,
"loc": {
"start": {
- "line": 82,
- "column": 38
+ "line": 80,
+ "column": 47
},
"end": {
- "line": 82,
- "column": 52
- }
- },
- "object": {
- "type": "Identifier",
- "start": 3135,
- "end": 3139,
- "loc": {
- "start": {
- "line": 82,
- "column": 38
- },
- "end": {
- "line": 82,
- "column": 42
- },
- "identifierName": "PIXI"
+ "line": 80,
+ "column": 53
},
- "name": "PIXI"
+ "identifierName": "GLOBAL"
},
- "property": {
- "type": "Identifier",
- "start": 3140,
- "end": 3149,
- "loc": {
- "start": {
- "line": 82,
- "column": 43
- },
- "end": {
- "line": 82,
- "column": 52
- },
- "identifierName": "TextStyle"
+ "name": "GLOBAL"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 3166,
+ "end": 3179,
+ "loc": {
+ "start": {
+ "line": 80,
+ "column": 54
},
- "name": "TextStyle"
+ "end": {
+ "line": 80,
+ "column": 67
+ },
+ "identifierName": "PLAYER_RADIUS"
},
- "computed": false
+ "name": "PLAYER_RADIUS"
},
- "arguments": [
- {
- "type": "ObjectExpression",
- "start": 3150,
- "end": 3234,
- "loc": {
- "start": {
- "line": 82,
- "column": 53
- },
- "end": {
- "line": 85,
- "column": 4
- }
- },
- "properties": [
- {
- "type": "ObjectProperty",
- "start": 3156,
- "end": 3210,
- "loc": {
- "start": {
- "line": 83,
- "column": 4
- },
- "end": {
- "line": 83,
- "column": 58
- }
- },
- "method": false,
- "shorthand": false,
- "computed": false,
- "key": {
- "type": "Identifier",
- "start": 3156,
- "end": 3160,
- "loc": {
- "start": {
- "line": 83,
- "column": 4
- },
- "end": {
- "line": 83,
- "column": 8
- },
- "identifierName": "fill"
- },
- "name": "fill"
- },
- "value": {
- "type": "BinaryExpression",
- "start": 3162,
- "end": 3210,
- "loc": {
- "start": {
- "line": 83,
- "column": 10
- },
- "end": {
- "line": 83,
- "column": 58
- }
- },
- "left": {
- "type": "StringLiteral",
- "start": 3162,
- "end": 3166,
- "loc": {
- "start": {
- "line": 83,
- "column": 10
- },
- "end": {
- "line": 83,
- "column": 14
- }
- },
- "extra": {
- "rawValue": "0x",
- "raw": "'0x'"
- },
- "value": "0x"
- },
- "operator": "+",
- "right": {
- "type": "MemberExpression",
- "start": 3169,
- "end": 3210,
- "loc": {
- "start": {
- "line": 83,
- "column": 17
- },
- "end": {
- "line": 83,
- "column": 58
- }
- },
- "object": {
- "type": "MemberExpression",
- "start": 3169,
- "end": 3187,
- "loc": {
- "start": {
- "line": 83,
- "column": 17
- },
- "end": {
- "line": 83,
- "column": 35
- }
- },
- "object": {
- "type": "Identifier",
- "start": 3169,
- "end": 3175,
- "loc": {
- "start": {
- "line": 83,
- "column": 17
- },
- "end": {
- "line": 83,
- "column": 23
- },
- "identifierName": "GLOBAL"
- },
- "name": "GLOBAL"
- },
- "property": {
- "type": "Identifier",
- "start": 3176,
- "end": 3187,
- "loc": {
- "start": {
- "line": 83,
- "column": 24
- },
- "end": {
- "line": 83,
- "column": 35
- },
- "identifierName": "TEAM_COLORS"
- },
- "name": "TEAM_COLORS"
- },
- "computed": false
- },
- "property": {
- "type": "MemberExpression",
- "start": 3188,
- "end": 3209,
- "loc": {
- "start": {
- "line": 83,
- "column": 36
- },
- "end": {
- "line": 83,
- "column": 57
- }
- },
- "object": {
- "type": "Identifier",
- "start": 3188,
- "end": 3198,
- "loc": {
- "start": {
- "line": 83,
- "column": 36
- },
- "end": {
- "line": 83,
- "column": 46
- },
- "identifierName": "teamColors"
- },
- "name": "teamColors"
- },
- "property": {
- "type": "MemberExpression",
- "start": 3199,
- "end": 3208,
- "loc": {
- "start": {
- "line": 83,
- "column": 47
- },
- "end": {
- "line": 83,
- "column": 56
- }
- },
- "object": {
- "type": "ThisExpression",
- "start": 3199,
- "end": 3203,
- "loc": {
- "start": {
- "line": 83,
- "column": 47
- },
- "end": {
- "line": 83,
- "column": 51
- }
- }
- },
- "property": {
- "type": "Identifier",
- "start": 3204,
- "end": 3208,
- "loc": {
- "start": {
- "line": 83,
- "column": 52
- },
- "end": {
- "line": 83,
- "column": 56
- },
- "identifierName": "team"
- },
- "name": "team"
- },
- "computed": false
- },
- "computed": true
- },
- "computed": true
- }
- }
- },
- {
- "type": "ObjectProperty",
- "start": 3216,
- "end": 3229,
- "loc": {
- "start": {
- "line": 84,
- "column": 4
- },
- "end": {
- "line": 84,
- "column": 17
- }
- },
- "method": false,
- "shorthand": false,
- "computed": false,
- "key": {
- "type": "Identifier",
- "start": 3216,
- "end": 3224,
- "loc": {
- "start": {
- "line": 84,
- "column": 4
- },
- "end": {
- "line": 84,
- "column": 12
- },
- "identifierName": "fontSize"
- },
- "name": "fontSize"
- },
- "value": {
- "type": "NumericLiteral",
- "start": 3226,
- "end": 3229,
- "loc": {
- "start": {
- "line": 84,
- "column": 14
- },
- "end": {
- "line": 84,
- "column": 17
- }
- },
- "extra": {
- "rawValue": 120,
- "raw": "120"
- },
- "value": 120
- }
- }
- ]
- }
- ]
+ "computed": false
},
- "leadingComments": null
- },
- "leadingComments": [
- {
- "type": "CommentLine",
- "value": " Add text",
- "start": 3085,
- "end": 3096,
+ "operator": "*",
+ "right": {
+ "type": "NumericLiteral",
+ "start": 3182,
+ "end": 3183,
"loc": {
"start": {
- "line": 81,
- "column": 3
+ "line": 80,
+ "column": 70
},
"end": {
- "line": 81,
- "column": 14
+ "line": 80,
+ "column": 71
}
- }
- }
- ]
- },
- {
- "type": "ExpressionStatement",
- "start": 3239,
- "end": 3276,
- "loc": {
- "start": {
- "line": 86,
- "column": 3
- },
- "end": {
- "line": 86,
- "column": 40
+ },
+ "extra": {
+ "rawValue": 9,
+ "raw": "9"
+ },
+ "value": 9
}
},
- "expression": {
- "type": "CallExpression",
- "start": 3239,
- "end": 3276,
+ "operator": "+",
+ "right": {
+ "type": "NumericLiteral",
+ "start": 3186,
+ "end": 3189,
"loc": {
"start": {
- "line": 86,
- "column": 3
+ "line": 80,
+ "column": 74
},
"end": {
- "line": 86,
- "column": 40
+ "line": 80,
+ "column": 77
}
},
- "callee": {
- "type": "MemberExpression",
- "start": 3239,
- "end": 3252,
- "loc": {
- "start": {
- "line": 86,
- "column": 3
- },
- "end": {
- "line": 86,
- "column": 16
- }
- },
- "object": {
- "type": "ThisExpression",
- "start": 3239,
- "end": 3243,
- "loc": {
- "start": {
- "line": 86,
- "column": 3
- },
- "end": {
- "line": 86,
- "column": 7
- }
- }
- },
- "property": {
- "type": "Identifier",
- "start": 3244,
- "end": 3252,
- "loc": {
- "start": {
- "line": 86,
- "column": 8
- },
- "end": {
- "line": 86,
- "column": 16
- },
- "identifierName": "addChild"
- },
- "name": "addChild"
- },
- "computed": false
+ "extra": {
+ "rawValue": 400,
+ "raw": "400"
},
- "arguments": [
- {
- "type": "MemberExpression",
- "start": 3253,
- "end": 3275,
- "loc": {
- "start": {
- "line": 86,
- "column": 17
- },
- "end": {
- "line": 86,
- "column": 39
- }
- },
- "object": {
- "type": "MemberExpression",
- "start": 3253,
- "end": 3269,
- "loc": {
- "start": {
- "line": 86,
- "column": 17
- },
- "end": {
- "line": 86,
- "column": 33
- }
- },
- "object": {
- "type": "ThisExpression",
- "start": 3253,
- "end": 3257,
- "loc": {
- "start": {
- "line": 86,
- "column": 17
- },
- "end": {
- "line": 86,
- "column": 21
- }
- }
- },
- "property": {
- "type": "Identifier",
- "start": 3258,
- "end": 3269,
- "loc": {
- "start": {
- "line": 86,
- "column": 22
- },
- "end": {
- "line": 86,
- "column": 33
- },
- "identifierName": "textObjects"
- },
- "name": "textObjects"
- },
- "computed": false
- },
- "property": {
- "type": "Identifier",
- "start": 3270,
- "end": 3274,
- "loc": {
- "start": {
- "line": 86,
- "column": 34
- },
- "end": {
- "line": 86,
- "column": 38
- },
- "identifierName": "item"
- },
- "name": "item"
- },
- "computed": true
- }
- ]
+ "value": 400
}
}
],
- "directives": [],
"trailingComments": null
},
- "leadingComments": [
+ "trailingComments": [
{
"type": "CommentLine",
"value": " create text and assign color",
- "start": 3011,
- "end": 3042,
+ "start": 3194,
+ "end": 3225,
"loc": {
"start": {
- "line": 79,
+ "line": 82,
"column": 2
},
"end": {
- "line": 79,
+ "line": 82,
"column": 33
}
}
}
- ],
- "trailingComments": [
- {
- "type": "CommentLine",
- "value": " Create player sprite child",
- "start": 3284,
- "end": 3313,
- "loc": {
- "start": {
- "line": 89,
- "column": 2
- },
- "end": {
- "line": 89,
- "column": 31
- }
- }
- }
]
},
{
- "type": "ExpressionStatement",
- "start": 3316,
- "end": 3354,
+ "type": "ForInStatement",
+ "start": 3228,
+ "end": 3463,
"loc": {
"start": {
- "line": 90,
+ "line": 83,
"column": 2
},
"end": {
"line": 90,
- "column": 40
+ "column": 3
}
},
- "expression": {
- "type": "CallExpression",
- "start": 3316,
- "end": 3354,
+ "left": {
+ "type": "VariableDeclaration",
+ "start": 3233,
+ "end": 3241,
"loc": {
"start": {
- "line": 90,
- "column": 2
+ "line": 83,
+ "column": 7
},
"end": {
- "line": 90,
- "column": 40
+ "line": 83,
+ "column": 15
}
},
- "callee": {
- "type": "MemberExpression",
- "start": 3316,
- "end": 3344,
- "loc": {
- "start": {
- "line": 90,
- "column": 2
- },
- "end": {
- "line": 90,
- "column": 30
- }
- },
- "object": {
- "type": "MemberExpression",
- "start": 3316,
- "end": 3340,
+ "declarations": [
+ {
+ "type": "VariableDeclarator",
+ "start": 3237,
+ "end": 3241,
"loc": {
"start": {
- "line": 90,
- "column": 2
+ "line": 83,
+ "column": 11
},
"end": {
- "line": 90,
- "column": 26
+ "line": 83,
+ "column": 15
}
},
- "object": {
- "type": "MemberExpression",
- "start": 3316,
- "end": 3333,
- "loc": {
- "start": {
- "line": 90,
- "column": 2
- },
- "end": {
- "line": 90,
- "column": 19
- }
- },
- "object": {
- "type": "ThisExpression",
- "start": 3316,
- "end": 3320,
- "loc": {
- "start": {
- "line": 90,
- "column": 2
- },
- "end": {
- "line": 90,
- "column": 6
- }
- },
- "leadingComments": null
- },
- "property": {
- "type": "Identifier",
- "start": 3321,
- "end": 3333,
- "loc": {
- "start": {
- "line": 90,
- "column": 7
- },
- "end": {
- "line": 90,
- "column": 19
- },
- "identifierName": "playerSprite"
- },
- "name": "playerSprite"
- },
- "computed": false,
- "leadingComments": null
- },
- "property": {
+ "id": {
"type": "Identifier",
- "start": 3334,
- "end": 3340,
+ "start": 3237,
+ "end": 3241,
"loc": {
"start": {
- "line": 90,
- "column": 20
+ "line": 83,
+ "column": 11
},
"end": {
- "line": 90,
- "column": 26
+ "line": 83,
+ "column": 15
},
- "identifierName": "anchor"
+ "identifierName": "item"
},
- "name": "anchor"
+ "name": "item",
+ "leadingComments": null
},
- "computed": false,
+ "init": null,
"leadingComments": null
- },
- "property": {
- "type": "Identifier",
- "start": 3341,
- "end": 3344,
- "loc": {
- "start": {
- "line": 90,
- "column": 27
- },
- "end": {
- "line": 90,
- "column": 30
- },
- "identifierName": "set"
- },
- "name": "set"
- },
- "computed": false,
- "leadingComments": null
- },
- "arguments": [
- {
- "type": "NumericLiteral",
- "start": 3345,
- "end": 3348,
- "loc": {
- "start": {
- "line": 90,
- "column": 31
- },
- "end": {
- "line": 90,
- "column": 34
- }
- },
- "extra": {
- "rawValue": 0.5,
- "raw": "0.5"
- },
- "value": 0.5
- },
- {
- "type": "NumericLiteral",
- "start": 3350,
- "end": 3353,
- "loc": {
- "start": {
- "line": 90,
- "column": 36
- },
- "end": {
- "line": 90,
- "column": 39
- }
- },
- "extra": {
- "rawValue": 0.5,
- "raw": "0.5"
- },
- "value": 0.5
}
],
+ "kind": "let",
"leadingComments": null
},
- "leadingComments": [
- {
- "type": "CommentLine",
- "value": " Create player sprite child",
- "start": 3284,
- "end": 3313,
- "loc": {
- "start": {
- "line": 89,
- "column": 2
- },
- "end": {
- "line": 89,
- "column": 31
- }
- }
- }
- ]
- },
- {
- "type": "ExpressionStatement",
- "start": 3357,
- "end": 3439,
- "loc": {
- "start": {
- "line": 91,
- "column": 2
- },
- "end": {
- "line": 91,
- "column": 84
- }
- },
- "expression": {
- "type": "CallExpression",
- "start": 3357,
- "end": 3439,
+ "right": {
+ "type": "MemberExpression",
+ "start": 3245,
+ "end": 3261,
"loc": {
"start": {
- "line": 91,
- "column": 2
+ "line": 83,
+ "column": 19
},
"end": {
- "line": 91,
- "column": 84
+ "line": 83,
+ "column": 35
}
},
- "callee": {
- "type": "MemberExpression",
- "start": 3357,
- "end": 3387,
+ "object": {
+ "type": "ThisExpression",
+ "start": 3245,
+ "end": 3249,
"loc": {
"start": {
- "line": 91,
- "column": 2
+ "line": 83,
+ "column": 19
},
"end": {
- "line": 91,
- "column": 32
+ "line": 83,
+ "column": 23
}
- },
- "object": {
- "type": "MemberExpression",
- "start": 3357,
- "end": 3383,
- "loc": {
- "start": {
- "line": 91,
- "column": 2
- },
- "end": {
- "line": 91,
- "column": 28
- }
- },
- "object": {
- "type": "MemberExpression",
- "start": 3357,
- "end": 3374,
- "loc": {
- "start": {
- "line": 91,
- "column": 2
- },
- "end": {
- "line": 91,
- "column": 19
- }
- },
- "object": {
- "type": "ThisExpression",
- "start": 3357,
- "end": 3361,
- "loc": {
- "start": {
- "line": 91,
- "column": 2
- },
- "end": {
- "line": 91,
- "column": 6
- }
- }
- },
- "property": {
- "type": "Identifier",
- "start": 3362,
- "end": 3374,
- "loc": {
- "start": {
- "line": 91,
- "column": 7
- },
- "end": {
- "line": 91,
- "column": 19
- },
- "identifierName": "playerSprite"
- },
- "name": "playerSprite"
- },
- "computed": false
+ }
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 3250,
+ "end": 3261,
+ "loc": {
+ "start": {
+ "line": 83,
+ "column": 24
},
- "property": {
- "type": "Identifier",
- "start": 3375,
- "end": 3383,
- "loc": {
- "start": {
- "line": 91,
- "column": 20
- },
- "end": {
- "line": 91,
- "column": 28
- },
- "identifierName": "position"
- },
- "name": "position"
+ "end": {
+ "line": 83,
+ "column": 35
},
- "computed": false
+ "identifierName": "textObjects"
},
- "property": {
- "type": "Identifier",
- "start": 3384,
- "end": 3387,
- "loc": {
- "start": {
- "line": 91,
- "column": 29
- },
- "end": {
- "line": 91,
- "column": 32
- },
- "identifierName": "set"
- },
- "name": "set"
+ "name": "textObjects"
+ },
+ "computed": false
+ },
+ "body": {
+ "type": "BlockStatement",
+ "start": 3263,
+ "end": 3463,
+ "loc": {
+ "start": {
+ "line": 83,
+ "column": 37
},
- "computed": false
+ "end": {
+ "line": 90,
+ "column": 3
+ }
},
- "arguments": [
+ "body": [
{
- "type": "BinaryExpression",
- "start": 3388,
- "end": 3412,
+ "type": "ExpressionStatement",
+ "start": 3283,
+ "end": 3418,
"loc": {
"start": {
- "line": 91,
- "column": 33
+ "line": 85,
+ "column": 3
},
"end": {
- "line": 91,
- "column": 57
+ "line": 88,
+ "column": 5
}
},
- "left": {
- "type": "MemberExpression",
- "start": 3388,
- "end": 3408,
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 3283,
+ "end": 3418,
"loc": {
"start": {
- "line": 91,
- "column": 33
+ "line": 85,
+ "column": 3
},
"end": {
- "line": 91,
- "column": 53
+ "line": 88,
+ "column": 5
}
},
- "object": {
- "type": "Identifier",
- "start": 3388,
- "end": 3394,
+ "operator": "=",
+ "left": {
+ "type": "MemberExpression",
+ "start": 3283,
+ "end": 3311,
"loc": {
"start": {
- "line": 91,
- "column": 33
+ "line": 85,
+ "column": 3
},
"end": {
- "line": 91,
- "column": 39
- },
- "identifierName": "GLOBAL"
+ "line": 85,
+ "column": 31
+ }
},
- "name": "GLOBAL"
- },
- "property": {
- "type": "Identifier",
- "start": 3395,
- "end": 3408,
- "loc": {
- "start": {
- "line": 91,
- "column": 40
+ "object": {
+ "type": "MemberExpression",
+ "start": 3283,
+ "end": 3305,
+ "loc": {
+ "start": {
+ "line": 85,
+ "column": 3
+ },
+ "end": {
+ "line": 85,
+ "column": 25
+ }
},
- "end": {
- "line": 91,
- "column": 53
+ "object": {
+ "type": "MemberExpression",
+ "start": 3283,
+ "end": 3299,
+ "loc": {
+ "start": {
+ "line": 85,
+ "column": 3
+ },
+ "end": {
+ "line": 85,
+ "column": 19
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 3283,
+ "end": 3287,
+ "loc": {
+ "start": {
+ "line": 85,
+ "column": 3
+ },
+ "end": {
+ "line": 85,
+ "column": 7
+ }
+ },
+ "leadingComments": null
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 3288,
+ "end": 3299,
+ "loc": {
+ "start": {
+ "line": 85,
+ "column": 8
+ },
+ "end": {
+ "line": 85,
+ "column": 19
+ },
+ "identifierName": "textObjects"
+ },
+ "name": "textObjects"
+ },
+ "computed": false,
+ "leadingComments": null
},
- "identifierName": "PLAYER_RADIUS"
- },
- "name": "PLAYER_RADIUS"
- },
- "computed": false
- },
- "operator": "*",
- "right": {
- "type": "NumericLiteral",
- "start": 3411,
- "end": 3412,
- "loc": {
- "start": {
- "line": 91,
- "column": 56
+ "property": {
+ "type": "Identifier",
+ "start": 3300,
+ "end": 3304,
+ "loc": {
+ "start": {
+ "line": 85,
+ "column": 20
+ },
+ "end": {
+ "line": 85,
+ "column": 24
+ },
+ "identifierName": "item"
+ },
+ "name": "item"
+ },
+ "computed": true,
+ "leadingComments": null
},
- "end": {
- "line": 91,
- "column": 57
- }
- },
- "extra": {
- "rawValue": 5,
- "raw": "5"
- },
- "value": 5
- }
- },
- {
- "type": "BinaryExpression",
- "start": 3414,
- "end": 3438,
- "loc": {
- "start": {
- "line": 91,
- "column": 59
- },
- "end": {
- "line": 91,
- "column": 83
- }
- },
- "left": {
- "type": "MemberExpression",
- "start": 3414,
- "end": 3434,
- "loc": {
- "start": {
- "line": 91,
- "column": 59
+ "property": {
+ "type": "Identifier",
+ "start": 3306,
+ "end": 3311,
+ "loc": {
+ "start": {
+ "line": 85,
+ "column": 26
+ },
+ "end": {
+ "line": 85,
+ "column": 31
+ },
+ "identifierName": "style"
+ },
+ "name": "style"
},
- "end": {
- "line": 91,
- "column": 79
- }
+ "computed": false,
+ "leadingComments": null
},
- "object": {
- "type": "Identifier",
- "start": 3414,
- "end": 3420,
+ "right": {
+ "type": "NewExpression",
+ "start": 3314,
+ "end": 3418,
"loc": {
"start": {
- "line": 91,
- "column": 59
- },
- "end": {
- "line": 91,
- "column": 65
- },
- "identifierName": "GLOBAL"
- },
- "name": "GLOBAL"
- },
- "property": {
- "type": "Identifier",
- "start": 3421,
- "end": 3434,
- "loc": {
- "start": {
- "line": 91,
- "column": 66
+ "line": 85,
+ "column": 34
},
"end": {
- "line": 91,
- "column": 79
- },
- "identifierName": "PLAYER_RADIUS"
- },
- "name": "PLAYER_RADIUS"
- },
- "computed": false
- },
- "operator": "*",
- "right": {
- "type": "NumericLiteral",
- "start": 3437,
- "end": 3438,
- "loc": {
- "start": {
- "line": 91,
- "column": 82
- },
- "end": {
- "line": 91,
- "column": 83
- }
- },
- "extra": {
- "rawValue": 5,
- "raw": "5"
- },
- "value": 5
- }
- }
- ]
- }
- },
- {
- "type": "ExpressionStatement",
- "start": 3442,
- "end": 3479,
- "loc": {
- "start": {
- "line": 92,
- "column": 2
- },
- "end": {
- "line": 92,
- "column": 39
- }
- },
- "expression": {
- "type": "CallExpression",
- "start": 3442,
- "end": 3479,
- "loc": {
- "start": {
- "line": 92,
- "column": 2
- },
- "end": {
- "line": 92,
- "column": 39
- }
- },
- "callee": {
- "type": "MemberExpression",
- "start": 3442,
- "end": 3469,
- "loc": {
- "start": {
- "line": 92,
- "column": 2
- },
- "end": {
- "line": 92,
- "column": 29
- }
- },
- "object": {
- "type": "MemberExpression",
- "start": 3442,
- "end": 3465,
- "loc": {
- "start": {
- "line": 92,
- "column": 2
- },
- "end": {
- "line": 92,
- "column": 25
- }
- },
- "object": {
- "type": "MemberExpression",
- "start": 3442,
- "end": 3459,
- "loc": {
- "start": {
- "line": 92,
- "column": 2
+ "line": 88,
+ "column": 5
+ }
},
- "end": {
- "line": 92,
- "column": 19
- }
- },
- "object": {
- "type": "ThisExpression",
- "start": 3442,
- "end": 3446,
- "loc": {
- "start": {
- "line": 92,
- "column": 2
+ "callee": {
+ "type": "MemberExpression",
+ "start": 3318,
+ "end": 3332,
+ "loc": {
+ "start": {
+ "line": 85,
+ "column": 38
+ },
+ "end": {
+ "line": 85,
+ "column": 52
+ }
},
- "end": {
- "line": 92,
- "column": 6
- }
- }
- },
- "property": {
- "type": "Identifier",
- "start": 3447,
- "end": 3459,
- "loc": {
- "start": {
- "line": 92,
- "column": 7
+ "object": {
+ "type": "Identifier",
+ "start": 3318,
+ "end": 3322,
+ "loc": {
+ "start": {
+ "line": 85,
+ "column": 38
+ },
+ "end": {
+ "line": 85,
+ "column": 42
+ },
+ "identifierName": "PIXI"
+ },
+ "name": "PIXI"
},
- "end": {
- "line": 92,
- "column": 19
+ "property": {
+ "type": "Identifier",
+ "start": 3323,
+ "end": 3332,
+ "loc": {
+ "start": {
+ "line": 85,
+ "column": 43
+ },
+ "end": {
+ "line": 85,
+ "column": 52
+ },
+ "identifierName": "TextStyle"
+ },
+ "name": "TextStyle"
},
- "identifierName": "playerSprite"
- },
- "name": "playerSprite"
- },
- "computed": false
- },
- "property": {
- "type": "Identifier",
- "start": 3460,
- "end": 3465,
- "loc": {
- "start": {
- "line": 92,
- "column": 20
- },
- "end": {
- "line": 92,
- "column": 25
+ "computed": false
},
- "identifierName": "scale"
- },
- "name": "scale"
- },
- "computed": false
- },
- "property": {
- "type": "Identifier",
- "start": 3466,
- "end": 3469,
- "loc": {
- "start": {
- "line": 92,
- "column": 26
- },
- "end": {
- "line": 92,
- "column": 29
- },
- "identifierName": "set"
- },
- "name": "set"
- },
- "computed": false
- },
- "arguments": [
- {
- "type": "NumericLiteral",
- "start": 3470,
- "end": 3473,
- "loc": {
- "start": {
- "line": 92,
- "column": 30
- },
- "end": {
- "line": 92,
- "column": 33
- }
- },
- "extra": {
- "rawValue": 1.3,
- "raw": "1.3"
- },
- "value": 1.3
- },
- {
- "type": "NumericLiteral",
- "start": 3475,
- "end": 3478,
- "loc": {
- "start": {
- "line": 92,
- "column": 35
- },
- "end": {
- "line": 92,
- "column": 38
- }
- },
- "extra": {
- "rawValue": 1.3,
- "raw": "1.3"
- },
- "value": 1.3
- }
- ]
- }
- },
- {
- "type": "ExpressionStatement",
- "start": 3482,
- "end": 3514,
- "loc": {
- "start": {
- "line": 93,
- "column": 2
- },
- "end": {
- "line": 93,
- "column": 34
- }
- },
- "expression": {
- "type": "CallExpression",
- "start": 3482,
- "end": 3514,
- "loc": {
- "start": {
- "line": 93,
- "column": 2
- },
- "end": {
- "line": 93,
- "column": 34
- }
- },
- "callee": {
- "type": "MemberExpression",
- "start": 3482,
- "end": 3495,
- "loc": {
- "start": {
- "line": 93,
- "column": 2
- },
- "end": {
- "line": 93,
- "column": 15
- }
+ "arguments": [
+ {
+ "type": "ObjectExpression",
+ "start": 3333,
+ "end": 3417,
+ "loc": {
+ "start": {
+ "line": 85,
+ "column": 53
+ },
+ "end": {
+ "line": 88,
+ "column": 4
+ }
+ },
+ "properties": [
+ {
+ "type": "ObjectProperty",
+ "start": 3339,
+ "end": 3393,
+ "loc": {
+ "start": {
+ "line": 86,
+ "column": 4
+ },
+ "end": {
+ "line": 86,
+ "column": 58
+ }
+ },
+ "method": false,
+ "shorthand": false,
+ "computed": false,
+ "key": {
+ "type": "Identifier",
+ "start": 3339,
+ "end": 3343,
+ "loc": {
+ "start": {
+ "line": 86,
+ "column": 4
+ },
+ "end": {
+ "line": 86,
+ "column": 8
+ },
+ "identifierName": "fill"
+ },
+ "name": "fill"
+ },
+ "value": {
+ "type": "BinaryExpression",
+ "start": 3345,
+ "end": 3393,
+ "loc": {
+ "start": {
+ "line": 86,
+ "column": 10
+ },
+ "end": {
+ "line": 86,
+ "column": 58
+ }
+ },
+ "left": {
+ "type": "StringLiteral",
+ "start": 3345,
+ "end": 3349,
+ "loc": {
+ "start": {
+ "line": 86,
+ "column": 10
+ },
+ "end": {
+ "line": 86,
+ "column": 14
+ }
+ },
+ "extra": {
+ "rawValue": "0x",
+ "raw": "'0x'"
+ },
+ "value": "0x"
+ },
+ "operator": "+",
+ "right": {
+ "type": "MemberExpression",
+ "start": 3352,
+ "end": 3393,
+ "loc": {
+ "start": {
+ "line": 86,
+ "column": 17
+ },
+ "end": {
+ "line": 86,
+ "column": 58
+ }
+ },
+ "object": {
+ "type": "MemberExpression",
+ "start": 3352,
+ "end": 3370,
+ "loc": {
+ "start": {
+ "line": 86,
+ "column": 17
+ },
+ "end": {
+ "line": 86,
+ "column": 35
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 3352,
+ "end": 3358,
+ "loc": {
+ "start": {
+ "line": 86,
+ "column": 17
+ },
+ "end": {
+ "line": 86,
+ "column": 23
+ },
+ "identifierName": "GLOBAL"
+ },
+ "name": "GLOBAL"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 3359,
+ "end": 3370,
+ "loc": {
+ "start": {
+ "line": 86,
+ "column": 24
+ },
+ "end": {
+ "line": 86,
+ "column": 35
+ },
+ "identifierName": "TEAM_COLORS"
+ },
+ "name": "TEAM_COLORS"
+ },
+ "computed": false
+ },
+ "property": {
+ "type": "MemberExpression",
+ "start": 3371,
+ "end": 3392,
+ "loc": {
+ "start": {
+ "line": 86,
+ "column": 36
+ },
+ "end": {
+ "line": 86,
+ "column": 57
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 3371,
+ "end": 3381,
+ "loc": {
+ "start": {
+ "line": 86,
+ "column": 36
+ },
+ "end": {
+ "line": 86,
+ "column": 46
+ },
+ "identifierName": "teamColors"
+ },
+ "name": "teamColors"
+ },
+ "property": {
+ "type": "MemberExpression",
+ "start": 3382,
+ "end": 3391,
+ "loc": {
+ "start": {
+ "line": 86,
+ "column": 47
+ },
+ "end": {
+ "line": 86,
+ "column": 56
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 3382,
+ "end": 3386,
+ "loc": {
+ "start": {
+ "line": 86,
+ "column": 47
+ },
+ "end": {
+ "line": 86,
+ "column": 51
+ }
+ }
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 3387,
+ "end": 3391,
+ "loc": {
+ "start": {
+ "line": 86,
+ "column": 52
+ },
+ "end": {
+ "line": 86,
+ "column": 56
+ },
+ "identifierName": "team"
+ },
+ "name": "team"
+ },
+ "computed": false
+ },
+ "computed": true
+ },
+ "computed": true
+ }
+ }
+ },
+ {
+ "type": "ObjectProperty",
+ "start": 3399,
+ "end": 3412,
+ "loc": {
+ "start": {
+ "line": 87,
+ "column": 4
+ },
+ "end": {
+ "line": 87,
+ "column": 17
+ }
+ },
+ "method": false,
+ "shorthand": false,
+ "computed": false,
+ "key": {
+ "type": "Identifier",
+ "start": 3399,
+ "end": 3407,
+ "loc": {
+ "start": {
+ "line": 87,
+ "column": 4
+ },
+ "end": {
+ "line": 87,
+ "column": 12
+ },
+ "identifierName": "fontSize"
+ },
+ "name": "fontSize"
+ },
+ "value": {
+ "type": "NumericLiteral",
+ "start": 3409,
+ "end": 3412,
+ "loc": {
+ "start": {
+ "line": 87,
+ "column": 14
+ },
+ "end": {
+ "line": 87,
+ "column": 17
+ }
+ },
+ "extra": {
+ "rawValue": 120,
+ "raw": "120"
+ },
+ "value": 120
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "leadingComments": null
+ },
+ "leadingComments": [
+ {
+ "type": "CommentLine",
+ "value": " Add text",
+ "start": 3268,
+ "end": 3279,
+ "loc": {
+ "start": {
+ "line": 84,
+ "column": 3
+ },
+ "end": {
+ "line": 84,
+ "column": 14
+ }
+ }
+ }
+ ]
},
- "object": {
- "type": "ThisExpression",
- "start": 3482,
- "end": 3486,
+ {
+ "type": "ExpressionStatement",
+ "start": 3422,
+ "end": 3459,
"loc": {
"start": {
- "line": 93,
- "column": 2
+ "line": 89,
+ "column": 3
},
"end": {
- "line": 93,
- "column": 6
+ "line": 89,
+ "column": 40
}
- }
- },
- "property": {
- "type": "Identifier",
- "start": 3487,
- "end": 3495,
- "loc": {
- "start": {
- "line": 93,
- "column": 7
+ },
+ "expression": {
+ "type": "CallExpression",
+ "start": 3422,
+ "end": 3459,
+ "loc": {
+ "start": {
+ "line": 89,
+ "column": 3
+ },
+ "end": {
+ "line": 89,
+ "column": 40
+ }
},
- "end": {
- "line": 93,
- "column": 15
+ "callee": {
+ "type": "MemberExpression",
+ "start": 3422,
+ "end": 3435,
+ "loc": {
+ "start": {
+ "line": 89,
+ "column": 3
+ },
+ "end": {
+ "line": 89,
+ "column": 16
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 3422,
+ "end": 3426,
+ "loc": {
+ "start": {
+ "line": 89,
+ "column": 3
+ },
+ "end": {
+ "line": 89,
+ "column": 7
+ }
+ }
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 3427,
+ "end": 3435,
+ "loc": {
+ "start": {
+ "line": 89,
+ "column": 8
+ },
+ "end": {
+ "line": 89,
+ "column": 16
+ },
+ "identifierName": "addChild"
+ },
+ "name": "addChild"
+ },
+ "computed": false
},
- "identifierName": "addChild"
+ "arguments": [
+ {
+ "type": "MemberExpression",
+ "start": 3436,
+ "end": 3458,
+ "loc": {
+ "start": {
+ "line": 89,
+ "column": 17
+ },
+ "end": {
+ "line": 89,
+ "column": 39
+ }
+ },
+ "object": {
+ "type": "MemberExpression",
+ "start": 3436,
+ "end": 3452,
+ "loc": {
+ "start": {
+ "line": 89,
+ "column": 17
+ },
+ "end": {
+ "line": 89,
+ "column": 33
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 3436,
+ "end": 3440,
+ "loc": {
+ "start": {
+ "line": 89,
+ "column": 17
+ },
+ "end": {
+ "line": 89,
+ "column": 21
+ }
+ }
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 3441,
+ "end": 3452,
+ "loc": {
+ "start": {
+ "line": 89,
+ "column": 22
+ },
+ "end": {
+ "line": 89,
+ "column": 33
+ },
+ "identifierName": "textObjects"
+ },
+ "name": "textObjects"
+ },
+ "computed": false
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 3453,
+ "end": 3457,
+ "loc": {
+ "start": {
+ "line": 89,
+ "column": 34
+ },
+ "end": {
+ "line": 89,
+ "column": 38
+ },
+ "identifierName": "item"
+ },
+ "name": "item"
+ },
+ "computed": true
+ }
+ ]
+ }
+ }
+ ],
+ "directives": [],
+ "trailingComments": null
+ },
+ "leadingComments": [
+ {
+ "type": "CommentLine",
+ "value": " create text and assign color",
+ "start": 3194,
+ "end": 3225,
+ "loc": {
+ "start": {
+ "line": 82,
+ "column": 2
},
- "name": "addChild"
+ "end": {
+ "line": 82,
+ "column": 33
+ }
+ }
+ }
+ ],
+ "trailingComments": [
+ {
+ "type": "CommentLine",
+ "value": " Create player sprite child",
+ "start": 3467,
+ "end": 3496,
+ "loc": {
+ "start": {
+ "line": 92,
+ "column": 2
+ },
+ "end": {
+ "line": 92,
+ "column": 31
+ }
+ }
+ }
+ ]
+ },
+ {
+ "type": "ExpressionStatement",
+ "start": 3499,
+ "end": 3537,
+ "loc": {
+ "start": {
+ "line": 93,
+ "column": 2
+ },
+ "end": {
+ "line": 93,
+ "column": 40
+ }
+ },
+ "expression": {
+ "type": "CallExpression",
+ "start": 3499,
+ "end": 3537,
+ "loc": {
+ "start": {
+ "line": 93,
+ "column": 2
},
- "computed": false
+ "end": {
+ "line": 93,
+ "column": 40
+ }
},
- "arguments": [
- {
+ "callee": {
+ "type": "MemberExpression",
+ "start": 3499,
+ "end": 3527,
+ "loc": {
+ "start": {
+ "line": 93,
+ "column": 2
+ },
+ "end": {
+ "line": 93,
+ "column": 30
+ }
+ },
+ "object": {
"type": "MemberExpression",
- "start": 3496,
- "end": 3513,
+ "start": 3499,
+ "end": 3523,
"loc": {
"start": {
"line": 93,
- "column": 16
+ "column": 2
},
"end": {
"line": 93,
- "column": 33
+ "column": 26
}
},
"object": {
- "type": "ThisExpression",
- "start": 3496,
- "end": 3500,
+ "type": "MemberExpression",
+ "start": 3499,
+ "end": 3516,
"loc": {
"start": {
"line": 93,
- "column": 16
+ "column": 2
},
"end": {
"line": 93,
- "column": 20
+ "column": 19
}
- }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 3499,
+ "end": 3503,
+ "loc": {
+ "start": {
+ "line": 93,
+ "column": 2
+ },
+ "end": {
+ "line": 93,
+ "column": 6
+ }
+ },
+ "leadingComments": null
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 3504,
+ "end": 3516,
+ "loc": {
+ "start": {
+ "line": 93,
+ "column": 7
+ },
+ "end": {
+ "line": 93,
+ "column": 19
+ },
+ "identifierName": "playerSprite"
+ },
+ "name": "playerSprite"
+ },
+ "computed": false,
+ "leadingComments": null
},
"property": {
"type": "Identifier",
- "start": 3501,
- "end": 3513,
+ "start": 3517,
+ "end": 3523,
"loc": {
"start": {
"line": 93,
- "column": 21
+ "column": 20
},
"end": {
"line": 93,
- "column": 33
+ "column": 26
},
- "identifierName": "playerSprite"
+ "identifierName": "anchor"
},
- "name": "playerSprite"
- },
- "computed": false
- }
- ]
- }
- }
- ],
- "directives": [],
- "trailingComments": null
- },
- "leadingComments": [
- {
- "type": "CommentBlock",
- "value": "*\n * First-time setup for this player. All of the functions in this method will only be called once.\n ",
- "start": 2116,
- "end": 2230,
- "loc": {
- "start": {
- "line": 59,
- "column": 1
- },
- "end": {
- "line": 61,
- "column": 7
- }
- }
- }
- ],
- "trailingComments": [
- {
- "type": "CommentBlock",
- "value": "*\n * Draws all components of a given player.\n * This method should be included in the ticker and called once a frame.\n * Therefore, all setup tasks\n * should be called in setup().\n ",
- "start": 3519,
- "end": 3724,
- "loc": {
- "start": {
- "line": 95,
- "column": 1
- },
- "end": {
- "line": 100,
- "column": 6
- }
- }
- }
- ]
- },
- {
- "type": "ClassMethod",
- "start": 3726,
- "end": 4168,
- "loc": {
- "start": {
- "line": 101,
- "column": 1
- },
- "end": {
- "line": 116,
- "column": 2
- }
- },
- "static": false,
- "computed": false,
- "key": {
- "type": "Identifier",
- "start": 3726,
- "end": 3730,
- "loc": {
- "start": {
- "line": 101,
- "column": 1
- },
- "end": {
- "line": 101,
- "column": 5
- },
- "identifierName": "tick"
- },
- "name": "tick",
- "leadingComments": null
- },
- "kind": "method",
- "id": null,
- "generator": false,
- "expression": false,
- "async": false,
- "params": [],
- "body": {
- "type": "BlockStatement",
- "start": 3734,
- "end": 4168,
- "loc": {
- "start": {
- "line": 101,
- "column": 9
- },
- "end": {
- "line": 116,
- "column": 2
- }
- },
- "body": [
- {
- "type": "ExpressionStatement",
- "start": 3752,
- "end": 3768,
- "loc": {
- "start": {
- "line": 103,
- "column": 2
- },
- "end": {
- "line": 103,
- "column": 18
- }
- },
- "expression": {
- "type": "CallExpression",
- "start": 3752,
- "end": 3768,
- "loc": {
- "start": {
- "line": 103,
- "column": 2
- },
- "end": {
- "line": 103,
- "column": 18
- }
- },
- "callee": {
- "type": "MemberExpression",
- "start": 3752,
- "end": 3762,
- "loc": {
- "start": {
- "line": 103,
- "column": 2
- },
- "end": {
- "line": 103,
- "column": 12
- }
- },
- "object": {
- "type": "Super",
- "start": 3752,
- "end": 3757,
- "loc": {
- "start": {
- "line": 103,
- "column": 2
- },
- "end": {
- "line": 103,
- "column": 7
- }
+ "name": "anchor"
},
+ "computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
- "start": 3758,
- "end": 3762,
+ "start": 3524,
+ "end": 3527,
"loc": {
"start": {
- "line": 103,
- "column": 8
+ "line": 93,
+ "column": 27
},
"end": {
- "line": 103,
- "column": 12
+ "line": 93,
+ "column": 30
},
- "identifierName": "tick"
+ "identifierName": "set"
},
- "name": "tick"
+ "name": "set"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
- "type": "BooleanLiteral",
- "start": 3763,
- "end": 3767,
+ "type": "NumericLiteral",
+ "start": 3528,
+ "end": 3531,
"loc": {
"start": {
- "line": 103,
- "column": 13
+ "line": 93,
+ "column": 31
},
"end": {
- "line": 103,
- "column": 17
+ "line": 93,
+ "column": 34
}
},
- "value": true
+ "extra": {
+ "rawValue": 0.5,
+ "raw": "0.5"
+ },
+ "value": 0.5
+ },
+ {
+ "type": "NumericLiteral",
+ "start": 3533,
+ "end": 3536,
+ "loc": {
+ "start": {
+ "line": 93,
+ "column": 36
+ },
+ "end": {
+ "line": 93,
+ "column": 39
+ }
+ },
+ "extra": {
+ "rawValue": 0.5,
+ "raw": "0.5"
+ },
+ "value": 0.5
}
],
- "leadingComments": null,
- "trailingComments": null
+ "leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
- "value": " Movement",
- "start": 3738,
- "end": 3749,
- "loc": {
- "start": {
- "line": 102,
- "column": 2
- },
- "end": {
- "line": 102,
- "column": 13
- }
- }
- }
- ],
- "trailingComments": [
- {
- "type": "CommentLine",
- "value": " Update text",
- "start": 3772,
- "end": 3786,
+ "value": " Create player sprite child",
+ "start": 3467,
+ "end": 3496,
"loc": {
"start": {
- "line": 105,
+ "line": 92,
"column": 2
},
"end": {
- "line": 105,
- "column": 16
+ "line": 92,
+ "column": 31
}
}
}
@@ -8431,2645 +8284,3935 @@
},
{
"type": "ExpressionStatement",
- "start": 3789,
- "end": 3885,
+ "start": 3540,
+ "end": 3622,
"loc": {
"start": {
- "line": 106,
+ "line": 94,
"column": 2
},
"end": {
- "line": 106,
- "column": 98
+ "line": 94,
+ "column": 84
}
},
"expression": {
- "type": "AssignmentExpression",
- "start": 3789,
- "end": 3885,
+ "type": "CallExpression",
+ "start": 3540,
+ "end": 3622,
"loc": {
"start": {
- "line": 106,
+ "line": 94,
"column": 2
},
"end": {
- "line": 106,
- "column": 98
+ "line": 94,
+ "column": 84
}
},
- "operator": "=",
- "left": {
+ "callee": {
"type": "MemberExpression",
- "start": 3789,
- "end": 3818,
+ "start": 3540,
+ "end": 3570,
"loc": {
"start": {
- "line": 106,
+ "line": 94,
"column": 2
},
"end": {
- "line": 106,
- "column": 31
+ "line": 94,
+ "column": 32
}
},
"object": {
"type": "MemberExpression",
- "start": 3789,
- "end": 3813,
+ "start": 3540,
+ "end": 3566,
"loc": {
"start": {
- "line": 106,
+ "line": 94,
"column": 2
},
"end": {
- "line": 106,
- "column": 26
+ "line": 94,
+ "column": 28
}
},
"object": {
"type": "MemberExpression",
- "start": 3789,
- "end": 3805,
+ "start": 3540,
+ "end": 3557,
"loc": {
"start": {
- "line": 106,
+ "line": 94,
"column": 2
},
"end": {
- "line": 106,
- "column": 18
+ "line": 94,
+ "column": 19
}
},
"object": {
"type": "ThisExpression",
- "start": 3789,
- "end": 3793,
+ "start": 3540,
+ "end": 3544,
"loc": {
"start": {
- "line": 106,
+ "line": 94,
"column": 2
},
"end": {
- "line": 106,
+ "line": 94,
"column": 6
}
- },
- "leadingComments": null
+ }
},
"property": {
"type": "Identifier",
- "start": 3794,
- "end": 3805,
+ "start": 3545,
+ "end": 3557,
"loc": {
"start": {
- "line": 106,
+ "line": 94,
"column": 7
},
"end": {
- "line": 106,
- "column": 18
+ "line": 94,
+ "column": 19
},
- "identifierName": "textObjects"
+ "identifierName": "playerSprite"
},
- "name": "textObjects"
+ "name": "playerSprite"
},
- "computed": false,
- "leadingComments": null
+ "computed": false
},
"property": {
"type": "Identifier",
- "start": 3806,
- "end": 3813,
+ "start": 3558,
+ "end": 3566,
"loc": {
"start": {
- "line": 106,
- "column": 19
+ "line": 94,
+ "column": 20
},
"end": {
- "line": 106,
- "column": 26
+ "line": 94,
+ "column": 28
},
- "identifierName": "postext"
+ "identifierName": "position"
},
- "name": "postext"
+ "name": "position"
},
- "computed": false,
- "leadingComments": null
+ "computed": false
},
"property": {
"type": "Identifier",
- "start": 3814,
- "end": 3818,
+ "start": 3567,
+ "end": 3570,
"loc": {
"start": {
- "line": 106,
- "column": 27
+ "line": 94,
+ "column": 29
},
"end": {
- "line": 106,
- "column": 31
+ "line": 94,
+ "column": 32
},
- "identifierName": "text"
+ "identifierName": "set"
},
- "name": "text"
+ "name": "set"
},
- "computed": false,
- "leadingComments": null
+ "computed": false
},
- "right": {
- "type": "BinaryExpression",
- "start": 3821,
- "end": 3885,
- "loc": {
- "start": {
- "line": 106,
- "column": 34
- },
- "end": {
- "line": 106,
- "column": 98
- }
- },
- "left": {
+ "arguments": [
+ {
"type": "BinaryExpression",
- "start": 3821,
- "end": 3879,
+ "start": 3571,
+ "end": 3595,
"loc": {
"start": {
- "line": 106,
- "column": 34
+ "line": 94,
+ "column": 33
},
"end": {
- "line": 106,
- "column": 92
+ "line": 94,
+ "column": 57
}
},
"left": {
- "type": "BinaryExpression",
- "start": 3821,
- "end": 3855,
+ "type": "MemberExpression",
+ "start": 3571,
+ "end": 3591,
"loc": {
"start": {
- "line": 106,
- "column": 34
+ "line": 94,
+ "column": 33
},
"end": {
- "line": 106,
- "column": 68
+ "line": 94,
+ "column": 53
}
},
- "left": {
- "type": "BinaryExpression",
- "start": 3821,
- "end": 3848,
+ "object": {
+ "type": "Identifier",
+ "start": 3571,
+ "end": 3577,
"loc": {
"start": {
- "line": 106,
- "column": 34
+ "line": 94,
+ "column": 33
},
"end": {
- "line": 106,
- "column": 61
- }
- },
- "left": {
- "type": "StringLiteral",
- "start": 3821,
- "end": 3824,
- "loc": {
- "start": {
- "line": 106,
- "column": 34
- },
- "end": {
- "line": 106,
- "column": 37
- }
- },
- "extra": {
- "rawValue": "(",
- "raw": "'('"
+ "line": 94,
+ "column": 39
},
- "value": "("
+ "identifierName": "GLOBAL"
},
- "operator": "+",
- "right": {
- "type": "CallExpression",
- "start": 3827,
- "end": 3848,
- "loc": {
- "start": {
- "line": 106,
- "column": 40
- },
- "end": {
- "line": 106,
- "column": 61
- }
- },
- "callee": {
- "type": "MemberExpression",
- "start": 3827,
- "end": 3837,
- "loc": {
- "start": {
- "line": 106,
- "column": 40
- },
- "end": {
- "line": 106,
- "column": 50
- }
- },
- "object": {
- "type": "Identifier",
- "start": 3827,
- "end": 3831,
- "loc": {
- "start": {
- "line": 106,
- "column": 40
- },
- "end": {
- "line": 106,
- "column": 44
- },
- "identifierName": "Math"
- },
- "name": "Math"
- },
- "property": {
- "type": "Identifier",
- "start": 3832,
- "end": 3837,
- "loc": {
- "start": {
- "line": 106,
- "column": 45
- },
- "end": {
- "line": 106,
- "column": 50
- },
- "identifierName": "round"
- },
- "name": "round"
- },
- "computed": false
- },
- "arguments": [
- {
- "type": "MemberExpression",
- "start": 3838,
- "end": 3847,
- "loc": {
- "start": {
- "line": 106,
- "column": 51
- },
- "end": {
- "line": 106,
- "column": 60
- }
- },
- "object": {
- "type": "ThisExpression",
- "start": 3838,
- "end": 3842,
- "loc": {
- "start": {
- "line": 106,
- "column": 51
- },
- "end": {
- "line": 106,
- "column": 55
- }
- }
- },
- "property": {
- "type": "Identifier",
- "start": 3843,
- "end": 3847,
- "loc": {
- "start": {
- "line": 106,
- "column": 56
- },
- "end": {
- "line": 106,
- "column": 60
- },
- "identifierName": "posX"
- },
- "name": "posX"
- },
- "computed": false
- }
- ]
- }
+ "name": "GLOBAL"
},
- "operator": "+",
- "right": {
- "type": "StringLiteral",
- "start": 3851,
- "end": 3855,
+ "property": {
+ "type": "Identifier",
+ "start": 3578,
+ "end": 3591,
"loc": {
"start": {
- "line": 106,
- "column": 64
+ "line": 94,
+ "column": 40
},
"end": {
- "line": 106,
- "column": 68
- }
+ "line": 94,
+ "column": 53
+ },
+ "identifierName": "PLAYER_RADIUS"
},
- "extra": {
- "rawValue": ", ",
- "raw": "', '"
+ "name": "PLAYER_RADIUS"
+ },
+ "computed": false
+ },
+ "operator": "*",
+ "right": {
+ "type": "NumericLiteral",
+ "start": 3594,
+ "end": 3595,
+ "loc": {
+ "start": {
+ "line": 94,
+ "column": 56
},
- "value": ", "
+ "end": {
+ "line": 94,
+ "column": 57
+ }
+ },
+ "extra": {
+ "rawValue": 5,
+ "raw": "5"
+ },
+ "value": 5
+ }
+ },
+ {
+ "type": "BinaryExpression",
+ "start": 3597,
+ "end": 3621,
+ "loc": {
+ "start": {
+ "line": 94,
+ "column": 59
+ },
+ "end": {
+ "line": 94,
+ "column": 83
}
},
- "operator": "+",
- "right": {
- "type": "CallExpression",
- "start": 3858,
- "end": 3879,
+ "left": {
+ "type": "MemberExpression",
+ "start": 3597,
+ "end": 3617,
"loc": {
"start": {
- "line": 106,
- "column": 71
+ "line": 94,
+ "column": 59
},
"end": {
- "line": 106,
- "column": 92
+ "line": 94,
+ "column": 79
}
},
- "callee": {
- "type": "MemberExpression",
- "start": 3858,
- "end": 3868,
+ "object": {
+ "type": "Identifier",
+ "start": 3597,
+ "end": 3603,
"loc": {
"start": {
- "line": 106,
- "column": 71
+ "line": 94,
+ "column": 59
},
"end": {
- "line": 106,
- "column": 81
- }
- },
- "object": {
- "type": "Identifier",
- "start": 3858,
- "end": 3862,
- "loc": {
- "start": {
- "line": 106,
- "column": 71
- },
- "end": {
- "line": 106,
- "column": 75
- },
- "identifierName": "Math"
- },
- "name": "Math"
- },
- "property": {
- "type": "Identifier",
- "start": 3863,
- "end": 3868,
- "loc": {
- "start": {
- "line": 106,
- "column": 76
- },
- "end": {
- "line": 106,
- "column": 81
- },
- "identifierName": "round"
+ "line": 94,
+ "column": 65
},
- "name": "round"
+ "identifierName": "GLOBAL"
},
- "computed": false
+ "name": "GLOBAL"
},
- "arguments": [
- {
- "type": "MemberExpression",
- "start": 3869,
- "end": 3878,
- "loc": {
- "start": {
- "line": 106,
- "column": 82
- },
- "end": {
- "line": 106,
- "column": 91
- }
- },
- "object": {
- "type": "ThisExpression",
- "start": 3869,
- "end": 3873,
- "loc": {
- "start": {
- "line": 106,
- "column": 82
- },
- "end": {
- "line": 106,
- "column": 86
- }
- }
+ "property": {
+ "type": "Identifier",
+ "start": 3604,
+ "end": 3617,
+ "loc": {
+ "start": {
+ "line": 94,
+ "column": 66
},
- "property": {
- "type": "Identifier",
- "start": 3874,
- "end": 3878,
- "loc": {
- "start": {
- "line": 106,
- "column": 87
- },
- "end": {
- "line": 106,
- "column": 91
- },
- "identifierName": "posY"
- },
- "name": "posY"
+ "end": {
+ "line": 94,
+ "column": 79
},
- "computed": false
- }
- ]
- }
- },
- "operator": "+",
- "right": {
- "type": "StringLiteral",
- "start": 3882,
- "end": 3885,
- "loc": {
- "start": {
- "line": 106,
- "column": 95
+ "identifierName": "PLAYER_RADIUS"
+ },
+ "name": "PLAYER_RADIUS"
},
- "end": {
- "line": 106,
- "column": 98
- }
- },
- "extra": {
- "rawValue": ")",
- "raw": "')'"
- },
- "value": ")"
- }
- },
- "leadingComments": null
- },
- "leadingComments": [
- {
- "type": "CommentLine",
- "value": " Update text",
- "start": 3772,
- "end": 3786,
- "loc": {
- "start": {
- "line": 105,
- "column": 2
+ "computed": false
},
- "end": {
- "line": 105,
- "column": 16
+ "operator": "*",
+ "right": {
+ "type": "NumericLiteral",
+ "start": 3620,
+ "end": 3621,
+ "loc": {
+ "start": {
+ "line": 94,
+ "column": 82
+ },
+ "end": {
+ "line": 94,
+ "column": 83
+ }
+ },
+ "extra": {
+ "rawValue": 5,
+ "raw": "5"
+ },
+ "value": 5
}
}
- }
- ]
+ ]
+ }
},
{
"type": "ExpressionStatement",
- "start": 3888,
- "end": 3947,
+ "start": 3625,
+ "end": 3662,
"loc": {
"start": {
- "line": 107,
+ "line": 95,
"column": 2
},
"end": {
- "line": 107,
- "column": 61
+ "line": 95,
+ "column": 39
}
},
"expression": {
- "type": "AssignmentExpression",
- "start": 3888,
- "end": 3947,
+ "type": "CallExpression",
+ "start": 3625,
+ "end": 3662,
"loc": {
"start": {
- "line": 107,
+ "line": 95,
"column": 2
},
"end": {
- "line": 107,
- "column": 61
+ "line": 95,
+ "column": 39
}
},
- "operator": "=",
- "left": {
+ "callee": {
"type": "MemberExpression",
- "start": 3888,
- "end": 3920,
+ "start": 3625,
+ "end": 3652,
"loc": {
"start": {
- "line": 107,
+ "line": 95,
"column": 2
},
"end": {
- "line": 107,
- "column": 34
+ "line": 95,
+ "column": 29
}
},
"object": {
"type": "MemberExpression",
- "start": 3888,
- "end": 3915,
+ "start": 3625,
+ "end": 3648,
"loc": {
"start": {
- "line": 107,
+ "line": 95,
"column": 2
},
"end": {
- "line": 107,
- "column": 29
+ "line": 95,
+ "column": 25
}
},
"object": {
"type": "MemberExpression",
- "start": 3888,
- "end": 3904,
+ "start": 3625,
+ "end": 3642,
"loc": {
"start": {
- "line": 107,
+ "line": 95,
"column": 2
},
"end": {
- "line": 107,
- "column": 18
+ "line": 95,
+ "column": 19
}
},
"object": {
"type": "ThisExpression",
- "start": 3888,
- "end": 3892,
+ "start": 3625,
+ "end": 3629,
"loc": {
"start": {
- "line": 107,
+ "line": 95,
"column": 2
},
"end": {
- "line": 107,
+ "line": 95,
"column": 6
}
}
},
"property": {
"type": "Identifier",
- "start": 3893,
- "end": 3904,
+ "start": 3630,
+ "end": 3642,
"loc": {
"start": {
- "line": 107,
+ "line": 95,
"column": 7
},
"end": {
- "line": 107,
- "column": 18
+ "line": 95,
+ "column": 19
},
- "identifierName": "textObjects"
+ "identifierName": "playerSprite"
},
- "name": "textObjects"
+ "name": "playerSprite"
},
"computed": false
},
"property": {
"type": "Identifier",
- "start": 3905,
- "end": 3915,
+ "start": 3643,
+ "end": 3648,
"loc": {
"start": {
- "line": 107,
- "column": 19
+ "line": 95,
+ "column": 20
},
"end": {
- "line": 107,
- "column": 29
+ "line": 95,
+ "column": 25
},
- "identifierName": "healthtext"
+ "identifierName": "scale"
},
- "name": "healthtext"
+ "name": "scale"
},
"computed": false
},
"property": {
"type": "Identifier",
- "start": 3916,
- "end": 3920,
+ "start": 3649,
+ "end": 3652,
"loc": {
"start": {
- "line": 107,
- "column": 30
+ "line": 95,
+ "column": 26
},
"end": {
- "line": 107,
- "column": 34
+ "line": 95,
+ "column": 29
},
- "identifierName": "text"
+ "identifierName": "set"
},
- "name": "text"
+ "name": "set"
},
"computed": false
},
- "right": {
- "type": "BinaryExpression",
- "start": 3923,
- "end": 3947,
- "loc": {
- "start": {
- "line": 107,
- "column": 37
- },
- "end": {
- "line": 107,
- "column": 61
- }
- },
- "left": {
- "type": "StringLiteral",
- "start": 3923,
- "end": 3933,
+ "arguments": [
+ {
+ "type": "NumericLiteral",
+ "start": 3653,
+ "end": 3656,
"loc": {
"start": {
- "line": 107,
- "column": 37
+ "line": 95,
+ "column": 30
},
"end": {
- "line": 107,
- "column": 47
+ "line": 95,
+ "column": 33
}
},
"extra": {
- "rawValue": "health: ",
- "raw": "'health: '"
+ "rawValue": 1.3,
+ "raw": "1.3"
},
- "value": "health: "
+ "value": 1.3
},
- "operator": "+",
- "right": {
- "type": "MemberExpression",
- "start": 3936,
- "end": 3947,
+ {
+ "type": "NumericLiteral",
+ "start": 3658,
+ "end": 3661,
"loc": {
"start": {
- "line": 107,
- "column": 50
+ "line": 95,
+ "column": 35
},
"end": {
- "line": 107,
- "column": 61
- }
- },
- "object": {
- "type": "ThisExpression",
- "start": 3936,
- "end": 3940,
- "loc": {
- "start": {
- "line": 107,
- "column": 50
- },
- "end": {
- "line": 107,
- "column": 54
- }
+ "line": 95,
+ "column": 38
}
},
- "property": {
- "type": "Identifier",
- "start": 3941,
- "end": 3947,
- "loc": {
- "start": {
- "line": 107,
- "column": 55
- },
- "end": {
- "line": 107,
- "column": 61
- },
- "identifierName": "health"
- },
- "name": "health",
- "leadingComments": null,
- "trailingComments": null
- },
- "computed": false,
- "trailingComments": null
- },
- "trailingComments": null
- },
- "trailingComments": null
- },
- "trailingComments": [
- {
- "type": "CommentLine",
- "value": " Rotation",
- "start": 3951,
- "end": 3962,
- "loc": {
- "start": {
- "line": 109,
- "column": 2
+ "extra": {
+ "rawValue": 1.3,
+ "raw": "1.3"
},
- "end": {
- "line": 109,
- "column": 13
- }
+ "value": 1.3
}
- }
- ]
+ ]
+ }
},
{
"type": "ExpressionStatement",
- "start": 3965,
- "end": 4091,
+ "start": 3665,
+ "end": 3697,
"loc": {
"start": {
- "line": 110,
+ "line": 96,
"column": 2
},
"end": {
- "line": 110,
- "column": 128
+ "line": 96,
+ "column": 34
}
},
"expression": {
- "type": "AssignmentExpression",
- "start": 3965,
- "end": 4091,
+ "type": "CallExpression",
+ "start": 3665,
+ "end": 3697,
"loc": {
"start": {
- "line": 110,
+ "line": 96,
"column": 2
},
"end": {
- "line": 110,
- "column": 128
+ "line": 96,
+ "column": 34
}
},
- "operator": "+=",
- "left": {
+ "callee": {
"type": "MemberExpression",
- "start": 3965,
- "end": 3991,
+ "start": 3665,
+ "end": 3678,
"loc": {
"start": {
- "line": 110,
+ "line": 96,
"column": 2
},
"end": {
- "line": 110,
- "column": 28
+ "line": 96,
+ "column": 15
}
},
"object": {
- "type": "MemberExpression",
- "start": 3965,
- "end": 3982,
+ "type": "ThisExpression",
+ "start": 3665,
+ "end": 3669,
"loc": {
"start": {
- "line": 110,
+ "line": 96,
"column": 2
},
"end": {
- "line": 110,
- "column": 19
+ "line": 96,
+ "column": 6
+ }
+ }
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 3670,
+ "end": 3678,
+ "loc": {
+ "start": {
+ "line": 96,
+ "column": 7
+ },
+ "end": {
+ "line": 96,
+ "column": 15
+ },
+ "identifierName": "addChild"
+ },
+ "name": "addChild"
+ },
+ "computed": false
+ },
+ "arguments": [
+ {
+ "type": "MemberExpression",
+ "start": 3679,
+ "end": 3696,
+ "loc": {
+ "start": {
+ "line": 96,
+ "column": 16
+ },
+ "end": {
+ "line": 96,
+ "column": 33
}
},
"object": {
"type": "ThisExpression",
- "start": 3965,
- "end": 3969,
+ "start": 3679,
+ "end": 3683,
"loc": {
"start": {
- "line": 110,
- "column": 2
+ "line": 96,
+ "column": 16
},
"end": {
- "line": 110,
- "column": 6
+ "line": 96,
+ "column": 20
}
- },
- "leadingComments": null
+ }
},
"property": {
"type": "Identifier",
- "start": 3970,
- "end": 3982,
+ "start": 3684,
+ "end": 3696,
"loc": {
"start": {
- "line": 110,
- "column": 7
+ "line": 96,
+ "column": 21
},
"end": {
- "line": 110,
- "column": 19
+ "line": 96,
+ "column": 33
},
"identifierName": "playerSprite"
},
"name": "playerSprite"
},
- "computed": false,
- "leadingComments": null
- },
- "property": {
- "type": "Identifier",
- "start": 3983,
- "end": 3991,
- "loc": {
- "start": {
- "line": 110,
- "column": 20
- },
+ "computed": false
+ }
+ ]
+ }
+ }
+ ],
+ "directives": [],
+ "trailingComments": null
+ },
+ "leadingComments": [
+ {
+ "type": "CommentBlock",
+ "value": "*\n * First-time setup for this player. All of the functions in this method will only be called once.\n ",
+ "start": 2109,
+ "end": 2223,
+ "loc": {
+ "start": {
+ "line": 59,
+ "column": 1
+ },
+ "end": {
+ "line": 61,
+ "column": 7
+ }
+ }
+ }
+ ],
+ "trailingComments": [
+ {
+ "type": "CommentBlock",
+ "value": "*\n * Draws all components of a given player.\n * This method should be included in the ticker and called once a frame.\n * Therefore, all setup tasks\n * should be called in setup().\n ",
+ "start": 3702,
+ "end": 3907,
+ "loc": {
+ "start": {
+ "line": 98,
+ "column": 1
+ },
+ "end": {
+ "line": 103,
+ "column": 6
+ }
+ }
+ }
+ ]
+ },
+ {
+ "type": "ClassMethod",
+ "start": 3909,
+ "end": 4463,
+ "loc": {
+ "start": {
+ "line": 104,
+ "column": 1
+ },
+ "end": {
+ "line": 120,
+ "column": 2
+ }
+ },
+ "static": false,
+ "computed": false,
+ "key": {
+ "type": "Identifier",
+ "start": 3909,
+ "end": 3913,
+ "loc": {
+ "start": {
+ "line": 104,
+ "column": 1
+ },
+ "end": {
+ "line": 104,
+ "column": 5
+ },
+ "identifierName": "tick"
+ },
+ "name": "tick",
+ "leadingComments": null
+ },
+ "kind": "method",
+ "id": null,
+ "generator": false,
+ "expression": false,
+ "async": false,
+ "params": [],
+ "body": {
+ "type": "BlockStatement",
+ "start": 3917,
+ "end": 4463,
+ "loc": {
+ "start": {
+ "line": 104,
+ "column": 9
+ },
+ "end": {
+ "line": 120,
+ "column": 2
+ }
+ },
+ "body": [
+ {
+ "type": "ExpressionStatement",
+ "start": 3935,
+ "end": 3951,
+ "loc": {
+ "start": {
+ "line": 106,
+ "column": 2
+ },
+ "end": {
+ "line": 106,
+ "column": 18
+ }
+ },
+ "expression": {
+ "type": "CallExpression",
+ "start": 3935,
+ "end": 3951,
+ "loc": {
+ "start": {
+ "line": 106,
+ "column": 2
+ },
+ "end": {
+ "line": 106,
+ "column": 18
+ }
+ },
+ "callee": {
+ "type": "MemberExpression",
+ "start": 3935,
+ "end": 3945,
+ "loc": {
+ "start": {
+ "line": 106,
+ "column": 2
+ },
+ "end": {
+ "line": 106,
+ "column": 12
+ }
+ },
+ "object": {
+ "type": "Super",
+ "start": 3935,
+ "end": 3940,
+ "loc": {
+ "start": {
+ "line": 106,
+ "column": 2
+ },
"end": {
- "line": 110,
- "column": 28
+ "line": 106,
+ "column": 7
+ }
+ },
+ "leadingComments": null
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 3941,
+ "end": 3945,
+ "loc": {
+ "start": {
+ "line": 106,
+ "column": 8
},
- "identifierName": "rotation"
+ "end": {
+ "line": 106,
+ "column": 12
+ },
+ "identifierName": "tick"
},
- "name": "rotation"
+ "name": "tick"
},
"computed": false,
"leadingComments": null
},
- "right": {
- "type": "ConditionalExpression",
- "start": 3995,
- "end": 4091,
+ "arguments": [
+ {
+ "type": "BooleanLiteral",
+ "start": 3946,
+ "end": 3950,
+ "loc": {
+ "start": {
+ "line": 106,
+ "column": 13
+ },
+ "end": {
+ "line": 106,
+ "column": 17
+ }
+ },
+ "value": true
+ }
+ ],
+ "leadingComments": null,
+ "trailingComments": null
+ },
+ "leadingComments": [
+ {
+ "type": "CommentLine",
+ "value": " Movement",
+ "start": 3921,
+ "end": 3932,
"loc": {
"start": {
- "line": 110,
- "column": 32
+ "line": 105,
+ "column": 2
},
"end": {
- "line": 110,
- "column": 128
+ "line": 105,
+ "column": 13
+ }
+ }
+ }
+ ],
+ "trailingComments": [
+ {
+ "type": "CommentLine",
+ "value": " Update text",
+ "start": 3955,
+ "end": 3969,
+ "loc": {
+ "start": {
+ "line": 108,
+ "column": 2
+ },
+ "end": {
+ "line": 108,
+ "column": 16
}
+ }
+ }
+ ]
+ },
+ {
+ "type": "ExpressionStatement",
+ "start": 3972,
+ "end": 4068,
+ "loc": {
+ "start": {
+ "line": 109,
+ "column": 2
+ },
+ "end": {
+ "line": 109,
+ "column": 98
+ }
+ },
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 3972,
+ "end": 4068,
+ "loc": {
+ "start": {
+ "line": 109,
+ "column": 2
},
- "test": {
- "type": "LogicalExpression",
- "start": 3996,
- "end": 4030,
+ "end": {
+ "line": 109,
+ "column": 98
+ }
+ },
+ "operator": "=",
+ "left": {
+ "type": "MemberExpression",
+ "start": 3972,
+ "end": 4001,
+ "loc": {
+ "start": {
+ "line": 109,
+ "column": 2
+ },
+ "end": {
+ "line": 109,
+ "column": 31
+ }
+ },
+ "object": {
+ "type": "MemberExpression",
+ "start": 3972,
+ "end": 3996,
"loc": {
"start": {
- "line": 110,
- "column": 33
+ "line": 109,
+ "column": 2
},
"end": {
- "line": 110,
- "column": 67
+ "line": 109,
+ "column": 26
}
},
- "left": {
- "type": "BinaryExpression",
- "start": 3996,
- "end": 4017,
+ "object": {
+ "type": "MemberExpression",
+ "start": 3972,
+ "end": 3988,
"loc": {
"start": {
- "line": 110,
- "column": 33
+ "line": 109,
+ "column": 2
},
"end": {
- "line": 110,
- "column": 54
+ "line": 109,
+ "column": 18
}
},
- "left": {
- "type": "MemberExpression",
- "start": 3996,
- "end": 4003,
+ "object": {
+ "type": "ThisExpression",
+ "start": 3972,
+ "end": 3976,
"loc": {
"start": {
- "line": 110,
- "column": 33
+ "line": 109,
+ "column": 2
},
"end": {
- "line": 110,
- "column": 40
- }
- },
- "object": {
- "type": "ThisExpression",
- "start": 3996,
- "end": 4000,
- "loc": {
- "start": {
- "line": 110,
- "column": 33
- },
- "end": {
- "line": 110,
- "column": 37
- }
+ "line": 109,
+ "column": 6
}
},
- "property": {
- "type": "Identifier",
- "start": 4001,
- "end": 4003,
- "loc": {
- "start": {
- "line": 110,
- "column": 38
- },
- "end": {
- "line": 110,
- "column": 40
- },
- "identifierName": "id"
- },
- "name": "id"
- },
- "computed": false
+ "leadingComments": null
},
- "operator": "===",
- "right": {
- "type": "MemberExpression",
- "start": 4008,
- "end": 4017,
+ "property": {
+ "type": "Identifier",
+ "start": 3977,
+ "end": 3988,
"loc": {
"start": {
- "line": 110,
- "column": 45
+ "line": 109,
+ "column": 7
},
"end": {
- "line": 110,
- "column": 54
- }
- },
- "object": {
- "type": "Identifier",
- "start": 4008,
- "end": 4014,
- "loc": {
- "start": {
- "line": 110,
- "column": 45
- },
- "end": {
- "line": 110,
- "column": 51
- },
- "identifierName": "socket"
- },
- "name": "socket"
- },
- "property": {
- "type": "Identifier",
- "start": 4015,
- "end": 4017,
- "loc": {
- "start": {
- "line": 110,
- "column": 52
- },
- "end": {
- "line": 110,
- "column": 54
- },
- "identifierName": "id"
+ "line": 109,
+ "column": 18
},
- "name": "id"
- },
- "computed": false
- }
- },
- "operator": "&&",
- "right": {
- "type": "Identifier",
- "start": 4021,
- "end": 4030,
- "loc": {
- "start": {
- "line": 110,
- "column": 58
- },
- "end": {
- "line": 110,
- "column": 67
- },
- "identifierName": "mouseDown"
- },
- "name": "mouseDown"
- },
- "extra": {
- "parenthesized": true,
- "parenStart": 3995
- }
- },
- "consequent": {
- "type": "MemberExpression",
- "start": 4034,
- "end": 4066,
- "loc": {
- "start": {
- "line": 110,
- "column": 71
- },
- "end": {
- "line": 110,
- "column": 103
- }
- },
- "object": {
- "type": "Identifier",
- "start": 4034,
- "end": 4040,
- "loc": {
- "start": {
- "line": 110,
- "column": 71
- },
- "end": {
- "line": 110,
- "column": 77
+ "identifierName": "textObjects"
},
- "identifierName": "GLOBAL"
+ "name": "textObjects"
},
- "name": "GLOBAL"
+ "computed": false,
+ "leadingComments": null
},
"property": {
"type": "Identifier",
- "start": 4041,
- "end": 4066,
+ "start": 3989,
+ "end": 3996,
"loc": {
"start": {
- "line": 110,
- "column": 78
+ "line": 109,
+ "column": 19
},
"end": {
- "line": 110,
- "column": 103
+ "line": 109,
+ "column": 26
},
- "identifierName": "PLAYER_EXPEDITED_ROTATION"
+ "identifierName": "postext"
},
- "name": "PLAYER_EXPEDITED_ROTATION"
+ "name": "postext"
},
- "computed": false
+ "computed": false,
+ "leadingComments": null
},
- "alternate": {
- "type": "MemberExpression",
- "start": 4069,
- "end": 4091,
+ "property": {
+ "type": "Identifier",
+ "start": 3997,
+ "end": 4001,
"loc": {
"start": {
- "line": 110,
- "column": 106
+ "line": 109,
+ "column": 27
},
"end": {
- "line": 110,
- "column": 128
- }
- },
- "object": {
- "type": "Identifier",
- "start": 4069,
- "end": 4075,
- "loc": {
- "start": {
- "line": 110,
- "column": 106
- },
- "end": {
- "line": 110,
- "column": 112
- },
- "identifierName": "GLOBAL"
- },
- "name": "GLOBAL"
- },
- "property": {
- "type": "Identifier",
- "start": 4076,
- "end": 4091,
- "loc": {
- "start": {
- "line": 110,
- "column": 113
- },
- "end": {
- "line": 110,
- "column": 128
- },
- "identifierName": "PLAYER_ROTATION"
+ "line": 109,
+ "column": 31
},
- "name": "PLAYER_ROTATION",
- "leadingComments": null,
- "trailingComments": null
+ "identifierName": "text"
},
- "computed": false,
- "trailingComments": null
+ "name": "text"
},
- "trailingComments": null
+ "computed": false,
+ "leadingComments": null
},
- "leadingComments": null,
- "trailingComments": null
- },
- "leadingComments": [
- {
- "type": "CommentLine",
- "value": " Rotation",
- "start": 3951,
- "end": 3962,
+ "right": {
+ "type": "BinaryExpression",
+ "start": 4004,
+ "end": 4068,
"loc": {
"start": {
"line": 109,
- "column": 2
+ "column": 34
},
"end": {
"line": 109,
- "column": 13
- }
- }
- }
- ],
- "trailingComments": [
- {
- "type": "CommentLine",
- "value": " Draw other player",
- "start": 4095,
- "end": 4115,
- "loc": {
- "start": {
- "line": 112,
- "column": 2
- },
- "end": {
- "line": 112,
- "column": 22
- }
- }
- }
- ]
- },
- {
- "type": "IfStatement",
- "start": 4118,
- "end": 4165,
- "loc": {
- "start": {
- "line": 113,
- "column": 2
- },
- "end": {
- "line": 115,
- "column": 3
- }
- },
- "test": {
- "type": "BinaryExpression",
- "start": 4122,
- "end": 4143,
- "loc": {
- "start": {
- "line": 113,
- "column": 6
- },
- "end": {
- "line": 113,
- "column": 27
- }
- },
- "left": {
- "type": "MemberExpression",
- "start": 4122,
- "end": 4129,
- "loc": {
- "start": {
- "line": 113,
- "column": 6
- },
- "end": {
- "line": 113,
- "column": 13
+ "column": 98
}
},
- "object": {
- "type": "ThisExpression",
- "start": 4122,
- "end": 4126,
+ "left": {
+ "type": "BinaryExpression",
+ "start": 4004,
+ "end": 4062,
"loc": {
"start": {
- "line": 113,
- "column": 6
+ "line": 109,
+ "column": 34
},
"end": {
- "line": 113,
- "column": 10
+ "line": 109,
+ "column": 92
}
},
- "leadingComments": null
- },
- "property": {
- "type": "Identifier",
- "start": 4127,
- "end": 4129,
- "loc": {
- "start": {
- "line": 113,
- "column": 11
- },
- "end": {
- "line": 113,
- "column": 13
- },
- "identifierName": "id"
- },
- "name": "id"
- },
- "computed": false,
- "leadingComments": null
- },
- "operator": "!==",
- "right": {
- "type": "MemberExpression",
- "start": 4134,
- "end": 4143,
- "loc": {
- "start": {
- "line": 113,
- "column": 18
- },
- "end": {
- "line": 113,
- "column": 27
- }
- },
- "object": {
- "type": "Identifier",
- "start": 4134,
- "end": 4140,
- "loc": {
- "start": {
- "line": 113,
- "column": 18
- },
- "end": {
- "line": 113,
- "column": 24
- },
- "identifierName": "socket"
- },
- "name": "socket"
- },
- "property": {
- "type": "Identifier",
- "start": 4141,
- "end": 4143,
- "loc": {
- "start": {
- "line": 113,
- "column": 25
- },
- "end": {
- "line": 113,
- "column": 27
+ "left": {
+ "type": "BinaryExpression",
+ "start": 4004,
+ "end": 4038,
+ "loc": {
+ "start": {
+ "line": 109,
+ "column": 34
+ },
+ "end": {
+ "line": 109,
+ "column": 68
+ }
},
- "identifierName": "id"
- },
- "name": "id"
- },
- "computed": false
- },
- "leadingComments": null
- },
- "consequent": {
- "type": "BlockStatement",
- "start": 4145,
- "end": 4165,
- "loc": {
- "start": {
- "line": 113,
- "column": 29
- },
- "end": {
- "line": 115,
- "column": 3
- }
- },
- "body": [
- {
- "type": "ExpressionStatement",
- "start": 4150,
- "end": 4161,
- "loc": {
- "start": {
- "line": 114,
- "column": 3
+ "left": {
+ "type": "BinaryExpression",
+ "start": 4004,
+ "end": 4031,
+ "loc": {
+ "start": {
+ "line": 109,
+ "column": 34
+ },
+ "end": {
+ "line": 109,
+ "column": 61
+ }
+ },
+ "left": {
+ "type": "StringLiteral",
+ "start": 4004,
+ "end": 4007,
+ "loc": {
+ "start": {
+ "line": 109,
+ "column": 34
+ },
+ "end": {
+ "line": 109,
+ "column": 37
+ }
+ },
+ "extra": {
+ "rawValue": "(",
+ "raw": "'('"
+ },
+ "value": "("
+ },
+ "operator": "+",
+ "right": {
+ "type": "CallExpression",
+ "start": 4010,
+ "end": 4031,
+ "loc": {
+ "start": {
+ "line": 109,
+ "column": 40
+ },
+ "end": {
+ "line": 109,
+ "column": 61
+ }
+ },
+ "callee": {
+ "type": "MemberExpression",
+ "start": 4010,
+ "end": 4020,
+ "loc": {
+ "start": {
+ "line": 109,
+ "column": 40
+ },
+ "end": {
+ "line": 109,
+ "column": 50
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 4010,
+ "end": 4014,
+ "loc": {
+ "start": {
+ "line": 109,
+ "column": 40
+ },
+ "end": {
+ "line": 109,
+ "column": 44
+ },
+ "identifierName": "Math"
+ },
+ "name": "Math"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4015,
+ "end": 4020,
+ "loc": {
+ "start": {
+ "line": 109,
+ "column": 45
+ },
+ "end": {
+ "line": 109,
+ "column": 50
+ },
+ "identifierName": "round"
+ },
+ "name": "round"
+ },
+ "computed": false
+ },
+ "arguments": [
+ {
+ "type": "MemberExpression",
+ "start": 4021,
+ "end": 4030,
+ "loc": {
+ "start": {
+ "line": 109,
+ "column": 51
+ },
+ "end": {
+ "line": 109,
+ "column": 60
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 4021,
+ "end": 4025,
+ "loc": {
+ "start": {
+ "line": 109,
+ "column": 51
+ },
+ "end": {
+ "line": 109,
+ "column": 55
+ }
+ }
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4026,
+ "end": 4030,
+ "loc": {
+ "start": {
+ "line": 109,
+ "column": 56
+ },
+ "end": {
+ "line": 109,
+ "column": 60
+ },
+ "identifierName": "posX"
+ },
+ "name": "posX"
+ },
+ "computed": false
+ }
+ ]
+ }
},
- "end": {
- "line": 114,
- "column": 14
+ "operator": "+",
+ "right": {
+ "type": "StringLiteral",
+ "start": 4034,
+ "end": 4038,
+ "loc": {
+ "start": {
+ "line": 109,
+ "column": 64
+ },
+ "end": {
+ "line": 109,
+ "column": 68
+ }
+ },
+ "extra": {
+ "rawValue": ", ",
+ "raw": "', '"
+ },
+ "value": ", "
}
},
- "expression": {
+ "operator": "+",
+ "right": {
"type": "CallExpression",
- "start": 4150,
- "end": 4161,
+ "start": 4041,
+ "end": 4062,
"loc": {
"start": {
- "line": 114,
- "column": 3
+ "line": 109,
+ "column": 71
},
"end": {
- "line": 114,
- "column": 14
+ "line": 109,
+ "column": 92
}
},
"callee": {
"type": "MemberExpression",
- "start": 4150,
- "end": 4159,
+ "start": 4041,
+ "end": 4051,
"loc": {
"start": {
- "line": 114,
- "column": 3
+ "line": 109,
+ "column": 71
},
"end": {
- "line": 114,
- "column": 12
+ "line": 109,
+ "column": 81
}
},
"object": {
- "type": "ThisExpression",
- "start": 4150,
- "end": 4154,
+ "type": "Identifier",
+ "start": 4041,
+ "end": 4045,
"loc": {
"start": {
- "line": 114,
- "column": 3
+ "line": 109,
+ "column": 71
},
"end": {
- "line": 114,
- "column": 7
- }
- }
+ "line": 109,
+ "column": 75
+ },
+ "identifierName": "Math"
+ },
+ "name": "Math"
},
"property": {
"type": "Identifier",
- "start": 4155,
- "end": 4159,
+ "start": 4046,
+ "end": 4051,
"loc": {
"start": {
- "line": 114,
- "column": 8
+ "line": 109,
+ "column": 76
},
"end": {
- "line": 114,
- "column": 12
+ "line": 109,
+ "column": 81
},
- "identifierName": "draw"
+ "identifierName": "round"
},
- "name": "draw"
+ "name": "round"
},
"computed": false
},
- "arguments": []
+ "arguments": [
+ {
+ "type": "MemberExpression",
+ "start": 4052,
+ "end": 4061,
+ "loc": {
+ "start": {
+ "line": 109,
+ "column": 82
+ },
+ "end": {
+ "line": 109,
+ "column": 91
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 4052,
+ "end": 4056,
+ "loc": {
+ "start": {
+ "line": 109,
+ "column": 82
+ },
+ "end": {
+ "line": 109,
+ "column": 86
+ }
+ }
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4057,
+ "end": 4061,
+ "loc": {
+ "start": {
+ "line": 109,
+ "column": 87
+ },
+ "end": {
+ "line": 109,
+ "column": 91
+ },
+ "identifierName": "posY"
+ },
+ "name": "posY"
+ },
+ "computed": false
+ }
+ ]
}
+ },
+ "operator": "+",
+ "right": {
+ "type": "StringLiteral",
+ "start": 4065,
+ "end": 4068,
+ "loc": {
+ "start": {
+ "line": 109,
+ "column": 95
+ },
+ "end": {
+ "line": 109,
+ "column": 98
+ }
+ },
+ "extra": {
+ "rawValue": ")",
+ "raw": "')'"
+ },
+ "value": ")"
}
- ],
- "directives": []
+ },
+ "leadingComments": null
},
- "alternate": null,
"leadingComments": [
{
"type": "CommentLine",
- "value": " Draw other player",
- "start": 4095,
- "end": 4115,
+ "value": " Update text",
+ "start": 3955,
+ "end": 3969,
"loc": {
"start": {
- "line": 112,
+ "line": 108,
"column": 2
},
"end": {
- "line": 112,
- "column": 22
+ "line": 108,
+ "column": 16
}
}
}
]
- }
- ],
- "directives": [],
- "trailingComments": null
- },
- "leadingComments": [
- {
- "type": "CommentBlock",
- "value": "*\n * Draws all components of a given player.\n * This method should be included in the ticker and called once a frame.\n * Therefore, all setup tasks\n * should be called in setup().\n ",
- "start": 3519,
- "end": 3724,
- "loc": {
- "start": {
- "line": 95,
- "column": 1
- },
- "end": {
- "line": 100,
- "column": 6
- }
- }
- }
- ],
- "trailingComments": [
- {
- "type": "CommentBlock",
- "value": "*\n\t * Notifies the player to check for a sprite change (shield, etc).\n\t * @param {boolean} hasShield True if the player has shield from an element\n\t * @param {string} stronghold 'team' if player is in team stronghold, 'notteam' if player is in enemy stronghold, 'none', if not in a stronghold\n\t ",
- "start": 4171,
- "end": 4470,
- "loc": {
- "start": {
- "line": 118,
- "column": 1
- },
- "end": {
- "line": 122,
- "column": 4
- }
- }
- }
- ]
- },
- {
- "type": "ClassMethod",
- "start": 4472,
- "end": 4862,
- "loc": {
- "start": {
- "line": 123,
- "column": 1
- },
- "end": {
- "line": 135,
- "column": 2
- }
- },
- "static": false,
- "computed": false,
- "key": {
- "type": "Identifier",
- "start": 4472,
- "end": 4484,
- "loc": {
- "start": {
- "line": 123,
- "column": 1
- },
- "end": {
- "line": 123,
- "column": 13
- },
- "identifierName": "changeSprite"
- },
- "name": "changeSprite",
- "leadingComments": null
- },
- "kind": "method",
- "id": null,
- "generator": false,
- "expression": false,
- "async": false,
- "params": [
- {
- "type": "Identifier",
- "start": 4485,
- "end": 4494,
- "loc": {
- "start": {
- "line": 123,
- "column": 14
- },
- "end": {
- "line": 123,
- "column": 23
- },
- "identifierName": "hasShield"
- },
- "name": "hasShield"
- },
- {
- "type": "Identifier",
- "start": 4496,
- "end": 4506,
- "loc": {
- "start": {
- "line": 123,
- "column": 25
- },
- "end": {
- "line": 123,
- "column": 35
- },
- "identifierName": "stronghold"
- },
- "name": "stronghold"
- }
- ],
- "body": {
- "type": "BlockStatement",
- "start": 4508,
- "end": 4862,
- "loc": {
- "start": {
- "line": 123,
- "column": 37
},
- "end": {
- "line": 135,
- "column": 2
- }
- },
- "body": [
{
"type": "ExpressionStatement",
- "start": 4528,
- "end": 4554,
+ "start": 4071,
+ "end": 4130,
"loc": {
"start": {
- "line": 125,
+ "line": 110,
"column": 2
},
"end": {
- "line": 125,
- "column": 28
+ "line": 110,
+ "column": 61
}
},
"expression": {
"type": "AssignmentExpression",
- "start": 4528,
- "end": 4554,
+ "start": 4071,
+ "end": 4130,
"loc": {
"start": {
- "line": 125,
+ "line": 110,
"column": 2
},
"end": {
- "line": 125,
- "column": 28
+ "line": 110,
+ "column": 61
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 4528,
- "end": 4542,
+ "start": 4071,
+ "end": 4103,
"loc": {
"start": {
- "line": 125,
+ "line": 110,
"column": 2
},
"end": {
- "line": 125,
- "column": 16
+ "line": 110,
+ "column": 34
}
},
"object": {
- "type": "ThisExpression",
- "start": 4528,
- "end": 4532,
+ "type": "MemberExpression",
+ "start": 4071,
+ "end": 4098,
"loc": {
"start": {
- "line": 125,
+ "line": 110,
"column": 2
},
"end": {
- "line": 125,
- "column": 6
+ "line": 110,
+ "column": 29
}
},
- "leadingComments": null
+ "object": {
+ "type": "MemberExpression",
+ "start": 4071,
+ "end": 4087,
+ "loc": {
+ "start": {
+ "line": 110,
+ "column": 2
+ },
+ "end": {
+ "line": 110,
+ "column": 18
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 4071,
+ "end": 4075,
+ "loc": {
+ "start": {
+ "line": 110,
+ "column": 2
+ },
+ "end": {
+ "line": 110,
+ "column": 6
+ }
+ }
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4076,
+ "end": 4087,
+ "loc": {
+ "start": {
+ "line": 110,
+ "column": 7
+ },
+ "end": {
+ "line": 110,
+ "column": 18
+ },
+ "identifierName": "textObjects"
+ },
+ "name": "textObjects"
+ },
+ "computed": false
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4088,
+ "end": 4098,
+ "loc": {
+ "start": {
+ "line": 110,
+ "column": 19
+ },
+ "end": {
+ "line": 110,
+ "column": 29
+ },
+ "identifierName": "healthtext"
+ },
+ "name": "healthtext"
+ },
+ "computed": false
},
"property": {
"type": "Identifier",
- "start": 4533,
- "end": 4542,
+ "start": 4099,
+ "end": 4103,
"loc": {
"start": {
- "line": 125,
- "column": 7
+ "line": 110,
+ "column": 30
},
"end": {
- "line": 125,
- "column": 16
+ "line": 110,
+ "column": 34
},
- "identifierName": "hasShield"
+ "identifierName": "text"
},
- "name": "hasShield"
+ "name": "text"
},
- "computed": false,
- "leadingComments": null
+ "computed": false
},
"right": {
- "type": "Identifier",
- "start": 4545,
- "end": 4554,
+ "type": "BinaryExpression",
+ "start": 4106,
+ "end": 4130,
"loc": {
"start": {
- "line": 125,
- "column": 19
- },
- "end": {
- "line": 125,
- "column": 28
- },
- "identifierName": "hasShield"
- },
- "name": "hasShield"
- },
- "leadingComments": null
- },
- "leadingComments": [
- {
- "type": "CommentLine",
- "value": " Set values",
- "start": 4512,
- "end": 4525,
- "loc": {
- "start": {
- "line": 124,
- "column": 2
- },
- "end": {
- "line": 124,
- "column": 15
- }
- }
- }
- ]
- },
- {
- "type": "ExpressionStatement",
- "start": 4557,
- "end": 4585,
- "loc": {
- "start": {
- "line": 126,
- "column": 2
- },
- "end": {
- "line": 126,
- "column": 30
- }
- },
- "expression": {
- "type": "AssignmentExpression",
- "start": 4557,
- "end": 4585,
- "loc": {
- "start": {
- "line": 126,
- "column": 2
- },
- "end": {
- "line": 126,
- "column": 30
- }
- },
- "operator": "=",
- "left": {
- "type": "MemberExpression",
- "start": 4557,
- "end": 4572,
- "loc": {
- "start": {
- "line": 126,
- "column": 2
+ "line": 110,
+ "column": 37
},
"end": {
- "line": 126,
- "column": 17
+ "line": 110,
+ "column": 61
}
},
- "object": {
- "type": "ThisExpression",
- "start": 4557,
- "end": 4561,
+ "left": {
+ "type": "StringLiteral",
+ "start": 4106,
+ "end": 4116,
"loc": {
"start": {
- "line": 126,
- "column": 2
+ "line": 110,
+ "column": 37
},
"end": {
- "line": 126,
- "column": 6
+ "line": 110,
+ "column": 47
}
- }
+ },
+ "extra": {
+ "rawValue": "health: ",
+ "raw": "'health: '"
+ },
+ "value": "health: "
},
- "property": {
- "type": "Identifier",
- "start": 4562,
- "end": 4572,
+ "operator": "+",
+ "right": {
+ "type": "MemberExpression",
+ "start": 4119,
+ "end": 4130,
"loc": {
"start": {
- "line": 126,
- "column": 7
+ "line": 110,
+ "column": 50
},
"end": {
- "line": 126,
- "column": 17
- },
- "identifierName": "stronghold"
- },
- "name": "stronghold"
- },
- "computed": false
- },
- "right": {
- "type": "Identifier",
- "start": 4575,
- "end": 4585,
- "loc": {
- "start": {
- "line": 126,
- "column": 20
+ "line": 110,
+ "column": 61
+ }
},
- "end": {
- "line": 126,
- "column": 30
+ "object": {
+ "type": "ThisExpression",
+ "start": 4119,
+ "end": 4123,
+ "loc": {
+ "start": {
+ "line": 110,
+ "column": 50
+ },
+ "end": {
+ "line": 110,
+ "column": 54
+ }
+ }
},
- "identifierName": "stronghold"
- },
- "name": "stronghold",
- "leadingComments": null,
- "trailingComments": null
- },
- "trailingComments": null
- },
- "trailingComments": [
- {
- "type": "CommentLine",
- "value": " Set sprite",
- "start": 4589,
- "end": 4602,
- "loc": {
- "start": {
- "line": 128,
- "column": 2
+ "property": {
+ "type": "Identifier",
+ "start": 4124,
+ "end": 4130,
+ "loc": {
+ "start": {
+ "line": 110,
+ "column": 55
+ },
+ "end": {
+ "line": 110,
+ "column": 61
+ },
+ "identifierName": "health"
+ },
+ "name": "health"
},
- "end": {
- "line": 128,
- "column": 15
- }
+ "computed": false
}
}
- ]
+ }
},
{
- "type": "IfStatement",
- "start": 4605,
- "end": 4859,
+ "type": "ExpressionStatement",
+ "start": 4133,
+ "end": 4242,
"loc": {
"start": {
- "line": 129,
+ "line": 111,
"column": 2
},
"end": {
- "line": 134,
- "column": 3
+ "line": 111,
+ "column": 111
}
},
- "test": {
- "type": "LogicalExpression",
- "start": 4609,
- "end": 4653,
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 4133,
+ "end": 4242,
"loc": {
"start": {
- "line": 129,
- "column": 6
+ "line": 111,
+ "column": 2
},
"end": {
- "line": 129,
- "column": 50
+ "line": 111,
+ "column": 111
}
},
+ "operator": "=",
"left": {
"type": "MemberExpression",
- "start": 4609,
- "end": 4623,
+ "start": 4133,
+ "end": 4166,
"loc": {
"start": {
- "line": 129,
- "column": 6
+ "line": 111,
+ "column": 2
},
"end": {
- "line": 129,
- "column": 20
+ "line": 111,
+ "column": 35
}
},
"object": {
- "type": "ThisExpression",
- "start": 4609,
- "end": 4613,
+ "type": "MemberExpression",
+ "start": 4133,
+ "end": 4161,
"loc": {
"start": {
- "line": 129,
- "column": 6
+ "line": 111,
+ "column": 2
},
"end": {
- "line": 129,
- "column": 10
+ "line": 111,
+ "column": 30
}
},
- "leadingComments": null
+ "object": {
+ "type": "MemberExpression",
+ "start": 4133,
+ "end": 4149,
+ "loc": {
+ "start": {
+ "line": 111,
+ "column": 2
+ },
+ "end": {
+ "line": 111,
+ "column": 18
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 4133,
+ "end": 4137,
+ "loc": {
+ "start": {
+ "line": 111,
+ "column": 2
+ },
+ "end": {
+ "line": 111,
+ "column": 6
+ }
+ }
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4138,
+ "end": 4149,
+ "loc": {
+ "start": {
+ "line": 111,
+ "column": 7
+ },
+ "end": {
+ "line": 111,
+ "column": 18
+ },
+ "identifierName": "textObjects"
+ },
+ "name": "textObjects"
+ },
+ "computed": false
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4150,
+ "end": 4161,
+ "loc": {
+ "start": {
+ "line": 111,
+ "column": 19
+ },
+ "end": {
+ "line": 111,
+ "column": 30
+ },
+ "identifierName": "defensetext"
+ },
+ "name": "defensetext"
+ },
+ "computed": false
},
"property": {
"type": "Identifier",
- "start": 4614,
- "end": 4623,
+ "start": 4162,
+ "end": 4166,
"loc": {
"start": {
- "line": 129,
- "column": 11
+ "line": 111,
+ "column": 31
},
"end": {
- "line": 129,
- "column": 20
+ "line": 111,
+ "column": 35
},
- "identifierName": "hasShield"
+ "identifierName": "text"
},
- "name": "hasShield"
+ "name": "text"
},
- "computed": false,
- "leadingComments": null
+ "computed": false
},
- "operator": "||",
"right": {
"type": "BinaryExpression",
- "start": 4627,
- "end": 4653,
+ "start": 4169,
+ "end": 4242,
"loc": {
"start": {
- "line": 129,
- "column": 24
+ "line": 111,
+ "column": 38
},
"end": {
- "line": 129,
- "column": 50
+ "line": 111,
+ "column": 111
}
},
"left": {
- "type": "MemberExpression",
- "start": 4627,
- "end": 4642,
+ "type": "BinaryExpression",
+ "start": 4169,
+ "end": 4194,
"loc": {
"start": {
- "line": 129,
- "column": 24
+ "line": 111,
+ "column": 38
},
"end": {
- "line": 129,
- "column": 39
+ "line": 111,
+ "column": 63
}
},
- "object": {
- "type": "ThisExpression",
- "start": 4627,
- "end": 4631,
+ "left": {
+ "type": "StringLiteral",
+ "start": 4169,
+ "end": 4180,
"loc": {
"start": {
- "line": 129,
- "column": 24
+ "line": 111,
+ "column": 38
},
"end": {
- "line": 129,
- "column": 28
+ "line": 111,
+ "column": 49
}
- }
+ },
+ "extra": {
+ "rawValue": "defense: ",
+ "raw": "'defense: '"
+ },
+ "value": "defense: "
},
- "property": {
- "type": "Identifier",
- "start": 4632,
- "end": 4642,
+ "operator": "+",
+ "right": {
+ "type": "MemberExpression",
+ "start": 4183,
+ "end": 4194,
"loc": {
"start": {
- "line": 129,
- "column": 29
+ "line": 111,
+ "column": 52
},
"end": {
- "line": 129,
- "column": 39
+ "line": 111,
+ "column": 63
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 4183,
+ "end": 4187,
+ "loc": {
+ "start": {
+ "line": 111,
+ "column": 52
+ },
+ "end": {
+ "line": 111,
+ "column": 56
+ }
+ }
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4188,
+ "end": 4194,
+ "loc": {
+ "start": {
+ "line": 111,
+ "column": 57
+ },
+ "end": {
+ "line": 111,
+ "column": 63
+ },
+ "identifierName": "shield"
},
- "identifierName": "stronghold"
+ "name": "shield"
},
- "name": "stronghold"
- },
- "computed": false
+ "computed": false
+ }
},
- "operator": "===",
+ "operator": "+",
"right": {
- "type": "StringLiteral",
- "start": 4647,
- "end": 4653,
- "loc": {
- "start": {
- "line": 129,
- "column": 44
- },
- "end": {
- "line": 129,
- "column": 50
- }
- },
- "extra": {
- "rawValue": "team",
- "raw": "'team'"
- },
- "value": "team"
- }
- },
- "leadingComments": null
- },
- "consequent": {
- "type": "BlockStatement",
- "start": 4655,
- "end": 4756,
- "loc": {
- "start": {
- "line": 129,
- "column": 52
- },
- "end": {
- "line": 131,
- "column": 3
- }
- },
- "body": [
- {
- "type": "ExpressionStatement",
- "start": 4660,
- "end": 4752,
+ "type": "ConditionalExpression",
+ "start": 4198,
+ "end": 4241,
"loc": {
"start": {
- "line": 130,
- "column": 3
+ "line": 111,
+ "column": 67
},
"end": {
- "line": 130,
- "column": 95
+ "line": 111,
+ "column": 110
}
},
- "expression": {
- "type": "AssignmentExpression",
- "start": 4660,
- "end": 4752,
+ "test": {
+ "type": "BinaryExpression",
+ "start": 4199,
+ "end": 4225,
"loc": {
"start": {
- "line": 130,
- "column": 3
+ "line": 111,
+ "column": 68
},
"end": {
- "line": 130,
- "column": 95
+ "line": 111,
+ "column": 94
}
},
- "operator": "=",
"left": {
"type": "MemberExpression",
- "start": 4660,
- "end": 4685,
+ "start": 4199,
+ "end": 4214,
"loc": {
"start": {
- "line": 130,
- "column": 3
+ "line": 111,
+ "column": 68
},
"end": {
- "line": 130,
- "column": 28
+ "line": 111,
+ "column": 83
}
},
"object": {
- "type": "MemberExpression",
- "start": 4660,
- "end": 4677,
+ "type": "ThisExpression",
+ "start": 4199,
+ "end": 4203,
"loc": {
"start": {
- "line": 130,
- "column": 3
+ "line": 111,
+ "column": 68
},
"end": {
- "line": 130,
- "column": 20
- }
- },
- "object": {
- "type": "ThisExpression",
- "start": 4660,
- "end": 4664,
- "loc": {
- "start": {
- "line": 130,
- "column": 3
- },
- "end": {
- "line": 130,
- "column": 7
- }
+ "line": 111,
+ "column": 72
}
- },
- "property": {
- "type": "Identifier",
- "start": 4665,
- "end": 4677,
- "loc": {
- "start": {
- "line": 130,
- "column": 8
- },
- "end": {
- "line": 130,
- "column": 20
- },
- "identifierName": "playerSprite"
- },
- "name": "playerSprite"
- },
- "computed": false
+ }
},
"property": {
"type": "Identifier",
- "start": 4678,
- "end": 4685,
+ "start": 4204,
+ "end": 4214,
"loc": {
"start": {
- "line": 130,
- "column": 21
+ "line": 111,
+ "column": 73
},
"end": {
- "line": 130,
- "column": 28
+ "line": 111,
+ "column": 83
},
- "identifierName": "texture"
+ "identifierName": "stronghold"
},
- "name": "texture"
+ "name": "stronghold"
},
"computed": false
},
+ "operator": "===",
"right": {
- "type": "MemberExpression",
- "start": 4688,
- "end": 4752,
+ "type": "StringLiteral",
+ "start": 4219,
+ "end": 4225,
"loc": {
"start": {
- "line": 130,
- "column": 31
+ "line": 111,
+ "column": 88
},
"end": {
- "line": 130,
- "column": 95
+ "line": 111,
+ "column": 94
}
},
- "object": {
- "type": "MemberExpression",
- "start": 4688,
- "end": 4708,
- "loc": {
- "start": {
- "line": 130,
- "column": 31
- },
- "end": {
- "line": 130,
- "column": 51
- }
- },
- "object": {
- "type": "Identifier",
- "start": 4688,
- "end": 4699,
- "loc": {
- "start": {
- "line": 130,
- "column": 31
- },
- "end": {
- "line": 130,
- "column": 42
- },
- "identifierName": "spritesheet"
- },
- "name": "spritesheet"
- },
- "property": {
- "type": "Identifier",
- "start": 4700,
- "end": 4708,
- "loc": {
- "start": {
- "line": 130,
- "column": 43
- },
- "end": {
- "line": 130,
- "column": 51
- },
- "identifierName": "textures"
- },
- "name": "textures"
- },
- "computed": false
- },
- "property": {
- "type": "BinaryExpression",
- "start": 4709,
- "end": 4751,
- "loc": {
- "start": {
- "line": 130,
- "column": 52
- },
- "end": {
- "line": 130,
- "column": 94
- }
- },
- "left": {
- "type": "MemberExpression",
- "start": 4709,
- "end": 4730,
- "loc": {
- "start": {
- "line": 130,
- "column": 52
- },
- "end": {
- "line": 130,
- "column": 73
- }
- },
- "object": {
- "type": "Identifier",
- "start": 4709,
- "end": 4719,
- "loc": {
- "start": {
- "line": 130,
- "column": 52
- },
- "end": {
- "line": 130,
- "column": 62
- },
- "identifierName": "teamColors"
- },
- "name": "teamColors"
- },
- "property": {
- "type": "MemberExpression",
- "start": 4720,
- "end": 4729,
- "loc": {
- "start": {
- "line": 130,
- "column": 63
- },
- "end": {
- "line": 130,
- "column": 72
- }
- },
- "object": {
- "type": "ThisExpression",
- "start": 4720,
- "end": 4724,
- "loc": {
- "start": {
- "line": 130,
- "column": 63
- },
- "end": {
- "line": 130,
- "column": 67
- }
- }
- },
- "property": {
- "type": "Identifier",
- "start": 4725,
- "end": 4729,
- "loc": {
- "start": {
- "line": 130,
- "column": 68
- },
- "end": {
- "line": 130,
- "column": 72
- },
- "identifierName": "team"
- },
- "name": "team"
- },
- "computed": false
- },
- "computed": true
- },
- "operator": "+",
- "right": {
- "type": "StringLiteral",
- "start": 4733,
- "end": 4751,
- "loc": {
- "start": {
- "line": 130,
- "column": 76
- },
- "end": {
- "line": 130,
- "column": 94
- }
- },
- "extra": {
- "rawValue": "playershield.png",
- "raw": "'playershield.png'"
- },
- "value": "playershield.png"
- }
+ "extra": {
+ "rawValue": "team",
+ "raw": "'team'"
},
- "computed": true
+ "value": "team"
+ },
+ "extra": {
+ "parenthesized": true,
+ "parenStart": 4198
}
+ },
+ "consequent": {
+ "type": "StringLiteral",
+ "start": 4229,
+ "end": 4236,
+ "loc": {
+ "start": {
+ "line": 111,
+ "column": 98
+ },
+ "end": {
+ "line": 111,
+ "column": 105
+ }
+ },
+ "extra": {
+ "rawValue": " (+5)",
+ "raw": "' (+5)'"
+ },
+ "value": " (+5)"
+ },
+ "alternate": {
+ "type": "StringLiteral",
+ "start": 4239,
+ "end": 4241,
+ "loc": {
+ "start": {
+ "line": 111,
+ "column": 108
+ },
+ "end": {
+ "line": 111,
+ "column": 110
+ }
+ },
+ "extra": {
+ "rawValue": "",
+ "raw": "''"
+ },
+ "value": ""
+ },
+ "extra": {
+ "parenthesized": true,
+ "parenStart": 4197
+ }
+ },
+ "trailingComments": null
+ },
+ "trailingComments": null
+ },
+ "trailingComments": [
+ {
+ "type": "CommentLine",
+ "value": " Rotation",
+ "start": 4246,
+ "end": 4257,
+ "loc": {
+ "start": {
+ "line": 113,
+ "column": 2
+ },
+ "end": {
+ "line": 113,
+ "column": 13
}
}
- ],
- "directives": []
+ }
+ ]
+ },
+ {
+ "type": "ExpressionStatement",
+ "start": 4260,
+ "end": 4386,
+ "loc": {
+ "start": {
+ "line": 114,
+ "column": 2
+ },
+ "end": {
+ "line": 114,
+ "column": 128
+ }
},
- "alternate": {
- "type": "BlockStatement",
- "start": 4764,
- "end": 4859,
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 4260,
+ "end": 4386,
"loc": {
"start": {
- "line": 132,
- "column": 7
+ "line": 114,
+ "column": 2
},
"end": {
- "line": 134,
- "column": 3
+ "line": 114,
+ "column": 128
}
},
- "body": [
- {
- "type": "ExpressionStatement",
- "start": 4769,
- "end": 4855,
+ "operator": "+=",
+ "left": {
+ "type": "MemberExpression",
+ "start": 4260,
+ "end": 4286,
+ "loc": {
+ "start": {
+ "line": 114,
+ "column": 2
+ },
+ "end": {
+ "line": 114,
+ "column": 28
+ }
+ },
+ "object": {
+ "type": "MemberExpression",
+ "start": 4260,
+ "end": 4277,
"loc": {
"start": {
- "line": 133,
- "column": 3
+ "line": 114,
+ "column": 2
},
"end": {
- "line": 133,
- "column": 89
+ "line": 114,
+ "column": 19
}
},
- "expression": {
- "type": "AssignmentExpression",
- "start": 4769,
- "end": 4855,
+ "object": {
+ "type": "ThisExpression",
+ "start": 4260,
+ "end": 4264,
"loc": {
"start": {
- "line": 133,
- "column": 3
+ "line": 114,
+ "column": 2
},
"end": {
- "line": 133,
- "column": 89
+ "line": 114,
+ "column": 6
+ }
+ },
+ "leadingComments": null
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4265,
+ "end": 4277,
+ "loc": {
+ "start": {
+ "line": 114,
+ "column": 7
+ },
+ "end": {
+ "line": 114,
+ "column": 19
+ },
+ "identifierName": "playerSprite"
+ },
+ "name": "playerSprite"
+ },
+ "computed": false,
+ "leadingComments": null
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4278,
+ "end": 4286,
+ "loc": {
+ "start": {
+ "line": 114,
+ "column": 20
+ },
+ "end": {
+ "line": 114,
+ "column": 28
+ },
+ "identifierName": "rotation"
+ },
+ "name": "rotation"
+ },
+ "computed": false,
+ "leadingComments": null
+ },
+ "right": {
+ "type": "ConditionalExpression",
+ "start": 4290,
+ "end": 4386,
+ "loc": {
+ "start": {
+ "line": 114,
+ "column": 32
+ },
+ "end": {
+ "line": 114,
+ "column": 128
+ }
+ },
+ "test": {
+ "type": "LogicalExpression",
+ "start": 4291,
+ "end": 4325,
+ "loc": {
+ "start": {
+ "line": 114,
+ "column": 33
+ },
+ "end": {
+ "line": 114,
+ "column": 67
+ }
+ },
+ "left": {
+ "type": "BinaryExpression",
+ "start": 4291,
+ "end": 4312,
+ "loc": {
+ "start": {
+ "line": 114,
+ "column": 33
+ },
+ "end": {
+ "line": 114,
+ "column": 54
}
},
- "operator": "=",
"left": {
"type": "MemberExpression",
- "start": 4769,
- "end": 4794,
+ "start": 4291,
+ "end": 4298,
"loc": {
"start": {
- "line": 133,
- "column": 3
+ "line": 114,
+ "column": 33
},
"end": {
- "line": 133,
- "column": 28
+ "line": 114,
+ "column": 40
}
},
"object": {
- "type": "MemberExpression",
- "start": 4769,
- "end": 4786,
+ "type": "ThisExpression",
+ "start": 4291,
+ "end": 4295,
"loc": {
"start": {
- "line": 133,
- "column": 3
+ "line": 114,
+ "column": 33
},
"end": {
- "line": 133,
- "column": 20
- }
- },
- "object": {
- "type": "ThisExpression",
- "start": 4769,
- "end": 4773,
- "loc": {
- "start": {
- "line": 133,
- "column": 3
- },
- "end": {
- "line": 133,
- "column": 7
- }
+ "line": 114,
+ "column": 37
}
- },
- "property": {
- "type": "Identifier",
- "start": 4774,
- "end": 4786,
- "loc": {
- "start": {
- "line": 133,
- "column": 8
- },
- "end": {
- "line": 133,
- "column": 20
- },
- "identifierName": "playerSprite"
- },
- "name": "playerSprite"
- },
- "computed": false
+ }
},
"property": {
"type": "Identifier",
- "start": 4787,
- "end": 4794,
+ "start": 4296,
+ "end": 4298,
"loc": {
"start": {
- "line": 133,
- "column": 21
+ "line": 114,
+ "column": 38
},
"end": {
- "line": 133,
- "column": 28
+ "line": 114,
+ "column": 40
},
- "identifierName": "texture"
+ "identifierName": "id"
},
- "name": "texture"
+ "name": "id"
},
"computed": false
},
+ "operator": "===",
"right": {
"type": "MemberExpression",
- "start": 4797,
- "end": 4855,
+ "start": 4303,
+ "end": 4312,
"loc": {
"start": {
- "line": 133,
- "column": 31
+ "line": 114,
+ "column": 45
},
"end": {
- "line": 133,
- "column": 89
+ "line": 114,
+ "column": 54
}
},
"object": {
- "type": "MemberExpression",
- "start": 4797,
- "end": 4817,
+ "type": "Identifier",
+ "start": 4303,
+ "end": 4309,
"loc": {
"start": {
- "line": 133,
- "column": 31
+ "line": 114,
+ "column": 45
},
"end": {
- "line": 133,
+ "line": 114,
"column": 51
- }
- },
- "object": {
- "type": "Identifier",
- "start": 4797,
- "end": 4808,
- "loc": {
- "start": {
- "line": 133,
- "column": 31
- },
- "end": {
- "line": 133,
- "column": 42
- },
- "identifierName": "spritesheet"
},
- "name": "spritesheet"
+ "identifierName": "socket"
},
- "property": {
- "type": "Identifier",
- "start": 4809,
- "end": 4817,
- "loc": {
- "start": {
- "line": 133,
- "column": 43
- },
- "end": {
- "line": 133,
- "column": 51
- },
- "identifierName": "textures"
- },
- "name": "textures"
- },
- "computed": false
+ "name": "socket"
},
"property": {
- "type": "BinaryExpression",
- "start": 4818,
- "end": 4854,
+ "type": "Identifier",
+ "start": 4310,
+ "end": 4312,
"loc": {
"start": {
- "line": 133,
+ "line": 114,
"column": 52
},
"end": {
- "line": 133,
- "column": 88
- }
- },
- "left": {
- "type": "MemberExpression",
- "start": 4818,
- "end": 4839,
- "loc": {
- "start": {
- "line": 133,
- "column": 52
- },
- "end": {
- "line": 133,
- "column": 73
- }
- },
- "object": {
- "type": "Identifier",
- "start": 4818,
- "end": 4828,
- "loc": {
- "start": {
- "line": 133,
- "column": 52
- },
- "end": {
- "line": 133,
- "column": 62
- },
- "identifierName": "teamColors"
- },
- "name": "teamColors"
- },
- "property": {
- "type": "MemberExpression",
- "start": 4829,
- "end": 4838,
- "loc": {
- "start": {
- "line": 133,
- "column": 63
- },
- "end": {
- "line": 133,
- "column": 72
- }
- },
- "object": {
- "type": "ThisExpression",
- "start": 4829,
- "end": 4833,
- "loc": {
- "start": {
- "line": 133,
- "column": 63
- },
- "end": {
- "line": 133,
- "column": 67
- }
- }
- },
- "property": {
- "type": "Identifier",
- "start": 4834,
- "end": 4838,
- "loc": {
- "start": {
- "line": 133,
- "column": 68
- },
- "end": {
- "line": 133,
- "column": 72
- },
- "identifierName": "team"
- },
- "name": "team"
- },
- "computed": false
+ "line": 114,
+ "column": 54
},
- "computed": true
+ "identifierName": "id"
},
- "operator": "+",
- "right": {
- "type": "StringLiteral",
- "start": 4842,
- "end": 4854,
- "loc": {
- "start": {
- "line": 133,
- "column": 76
- },
- "end": {
- "line": 133,
- "column": 88
- }
- },
- "extra": {
- "rawValue": "player.png",
- "raw": "'player.png'"
- },
- "value": "player.png"
- }
+ "name": "id"
},
- "computed": true
+ "computed": false
}
+ },
+ "operator": "&&",
+ "right": {
+ "type": "Identifier",
+ "start": 4316,
+ "end": 4325,
+ "loc": {
+ "start": {
+ "line": 114,
+ "column": 58
+ },
+ "end": {
+ "line": 114,
+ "column": 67
+ },
+ "identifierName": "mouseDown"
+ },
+ "name": "mouseDown"
+ },
+ "extra": {
+ "parenthesized": true,
+ "parenStart": 4290
}
- }
- ],
- "directives": []
+ },
+ "consequent": {
+ "type": "MemberExpression",
+ "start": 4329,
+ "end": 4361,
+ "loc": {
+ "start": {
+ "line": 114,
+ "column": 71
+ },
+ "end": {
+ "line": 114,
+ "column": 103
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 4329,
+ "end": 4335,
+ "loc": {
+ "start": {
+ "line": 114,
+ "column": 71
+ },
+ "end": {
+ "line": 114,
+ "column": 77
+ },
+ "identifierName": "GLOBAL"
+ },
+ "name": "GLOBAL"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4336,
+ "end": 4361,
+ "loc": {
+ "start": {
+ "line": 114,
+ "column": 78
+ },
+ "end": {
+ "line": 114,
+ "column": 103
+ },
+ "identifierName": "PLAYER_EXPEDITED_ROTATION"
+ },
+ "name": "PLAYER_EXPEDITED_ROTATION"
+ },
+ "computed": false
+ },
+ "alternate": {
+ "type": "MemberExpression",
+ "start": 4364,
+ "end": 4386,
+ "loc": {
+ "start": {
+ "line": 114,
+ "column": 106
+ },
+ "end": {
+ "line": 114,
+ "column": 128
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 4364,
+ "end": 4370,
+ "loc": {
+ "start": {
+ "line": 114,
+ "column": 106
+ },
+ "end": {
+ "line": 114,
+ "column": 112
+ },
+ "identifierName": "GLOBAL"
+ },
+ "name": "GLOBAL"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4371,
+ "end": 4386,
+ "loc": {
+ "start": {
+ "line": 114,
+ "column": 113
+ },
+ "end": {
+ "line": 114,
+ "column": 128
+ },
+ "identifierName": "PLAYER_ROTATION"
+ },
+ "name": "PLAYER_ROTATION",
+ "leadingComments": null,
+ "trailingComments": null
+ },
+ "computed": false,
+ "trailingComments": null
+ },
+ "trailingComments": null
+ },
+ "leadingComments": null,
+ "trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
- "value": " Set sprite",
- "start": 4589,
- "end": 4602,
+ "value": " Rotation",
+ "start": 4246,
+ "end": 4257,
"loc": {
"start": {
- "line": 128,
+ "line": 113,
"column": 2
},
"end": {
- "line": 128,
- "column": 15
+ "line": 113,
+ "column": 13
+ }
+ }
+ }
+ ],
+ "trailingComments": [
+ {
+ "type": "CommentLine",
+ "value": " Draw other player",
+ "start": 4390,
+ "end": 4410,
+ "loc": {
+ "start": {
+ "line": 116,
+ "column": 2
+ },
+ "end": {
+ "line": 116,
+ "column": 22
}
}
}
]
- }
- ],
- "directives": []
- },
- "leadingComments": [
- {
- "type": "CommentBlock",
- "value": "*\n\t * Notifies the player to check for a sprite change (shield, etc).\n\t * @param {boolean} hasShield True if the player has shield from an element\n\t * @param {string} stronghold 'team' if player is in team stronghold, 'notteam' if player is in enemy stronghold, 'none', if not in a stronghold\n\t ",
- "start": 4171,
- "end": 4470,
- "loc": {
- "start": {
- "line": 118,
- "column": 1
- },
- "end": {
- "line": 122,
- "column": 4
- }
- }
- }
- ]
+ },
+ {
+ "type": "IfStatement",
+ "start": 4413,
+ "end": 4460,
+ "loc": {
+ "start": {
+ "line": 117,
+ "column": 2
+ },
+ "end": {
+ "line": 119,
+ "column": 3
+ }
+ },
+ "test": {
+ "type": "BinaryExpression",
+ "start": 4417,
+ "end": 4438,
+ "loc": {
+ "start": {
+ "line": 117,
+ "column": 6
+ },
+ "end": {
+ "line": 117,
+ "column": 27
+ }
+ },
+ "left": {
+ "type": "MemberExpression",
+ "start": 4417,
+ "end": 4424,
+ "loc": {
+ "start": {
+ "line": 117,
+ "column": 6
+ },
+ "end": {
+ "line": 117,
+ "column": 13
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 4417,
+ "end": 4421,
+ "loc": {
+ "start": {
+ "line": 117,
+ "column": 6
+ },
+ "end": {
+ "line": 117,
+ "column": 10
+ }
+ },
+ "leadingComments": null
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4422,
+ "end": 4424,
+ "loc": {
+ "start": {
+ "line": 117,
+ "column": 11
+ },
+ "end": {
+ "line": 117,
+ "column": 13
+ },
+ "identifierName": "id"
+ },
+ "name": "id"
+ },
+ "computed": false,
+ "leadingComments": null
+ },
+ "operator": "!==",
+ "right": {
+ "type": "MemberExpression",
+ "start": 4429,
+ "end": 4438,
+ "loc": {
+ "start": {
+ "line": 117,
+ "column": 18
+ },
+ "end": {
+ "line": 117,
+ "column": 27
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 4429,
+ "end": 4435,
+ "loc": {
+ "start": {
+ "line": 117,
+ "column": 18
+ },
+ "end": {
+ "line": 117,
+ "column": 24
+ },
+ "identifierName": "socket"
+ },
+ "name": "socket"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4436,
+ "end": 4438,
+ "loc": {
+ "start": {
+ "line": 117,
+ "column": 25
+ },
+ "end": {
+ "line": 117,
+ "column": 27
+ },
+ "identifierName": "id"
+ },
+ "name": "id"
+ },
+ "computed": false
+ },
+ "leadingComments": null
+ },
+ "consequent": {
+ "type": "BlockStatement",
+ "start": 4440,
+ "end": 4460,
+ "loc": {
+ "start": {
+ "line": 117,
+ "column": 29
+ },
+ "end": {
+ "line": 119,
+ "column": 3
+ }
+ },
+ "body": [
+ {
+ "type": "ExpressionStatement",
+ "start": 4445,
+ "end": 4456,
+ "loc": {
+ "start": {
+ "line": 118,
+ "column": 3
+ },
+ "end": {
+ "line": 118,
+ "column": 14
+ }
+ },
+ "expression": {
+ "type": "CallExpression",
+ "start": 4445,
+ "end": 4456,
+ "loc": {
+ "start": {
+ "line": 118,
+ "column": 3
+ },
+ "end": {
+ "line": 118,
+ "column": 14
+ }
+ },
+ "callee": {
+ "type": "MemberExpression",
+ "start": 4445,
+ "end": 4454,
+ "loc": {
+ "start": {
+ "line": 118,
+ "column": 3
+ },
+ "end": {
+ "line": 118,
+ "column": 12
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 4445,
+ "end": 4449,
+ "loc": {
+ "start": {
+ "line": 118,
+ "column": 3
+ },
+ "end": {
+ "line": 118,
+ "column": 7
+ }
+ }
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4450,
+ "end": 4454,
+ "loc": {
+ "start": {
+ "line": 118,
+ "column": 8
+ },
+ "end": {
+ "line": 118,
+ "column": 12
+ },
+ "identifierName": "draw"
+ },
+ "name": "draw"
+ },
+ "computed": false
+ },
+ "arguments": []
+ }
+ }
+ ],
+ "directives": []
+ },
+ "alternate": null,
+ "leadingComments": [
+ {
+ "type": "CommentLine",
+ "value": " Draw other player",
+ "start": 4390,
+ "end": 4410,
+ "loc": {
+ "start": {
+ "line": 116,
+ "column": 2
+ },
+ "end": {
+ "line": 116,
+ "column": 22
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "directives": [],
+ "trailingComments": null
+ },
+ "leadingComments": [
+ {
+ "type": "CommentBlock",
+ "value": "*\n * Draws all components of a given player.\n * This method should be included in the ticker and called once a frame.\n * Therefore, all setup tasks\n * should be called in setup().\n ",
+ "start": 3702,
+ "end": 3907,
+ "loc": {
+ "start": {
+ "line": 98,
+ "column": 1
+ },
+ "end": {
+ "line": 103,
+ "column": 6
+ }
+ }
+ }
+ ],
+ "trailingComments": [
+ {
+ "type": "CommentBlock",
+ "value": "*\n\t * Notifies the player to check for a sprite change (shield, etc).\n\t * @param {number} shield Number of extra defense points from buffs, elements, etc.\n\t * @param {string} stronghold 'team' if player is in team stronghold, 'notteam' if player is in enemy stronghold, 'none', if not in a stronghold\n\t ",
+ "start": 4466,
+ "end": 4773,
+ "loc": {
+ "start": {
+ "line": 122,
+ "column": 1
+ },
+ "end": {
+ "line": 126,
+ "column": 4
+ }
+ }
+ }
+ ]
+ },
+ {
+ "type": "ClassMethod",
+ "start": 4775,
+ "end": 5157,
+ "loc": {
+ "start": {
+ "line": 127,
+ "column": 1
+ },
+ "end": {
+ "line": 139,
+ "column": 2
+ }
+ },
+ "static": false,
+ "computed": false,
+ "key": {
+ "type": "Identifier",
+ "start": 4775,
+ "end": 4787,
+ "loc": {
+ "start": {
+ "line": 127,
+ "column": 1
+ },
+ "end": {
+ "line": 127,
+ "column": 13
+ },
+ "identifierName": "changeSprite"
+ },
+ "name": "changeSprite",
+ "leadingComments": null
+ },
+ "kind": "method",
+ "id": null,
+ "generator": false,
+ "expression": false,
+ "async": false,
+ "params": [
+ {
+ "type": "Identifier",
+ "start": 4788,
+ "end": 4794,
+ "loc": {
+ "start": {
+ "line": 127,
+ "column": 14
+ },
+ "end": {
+ "line": 127,
+ "column": 20
+ },
+ "identifierName": "shield"
+ },
+ "name": "shield"
+ },
+ {
+ "type": "Identifier",
+ "start": 4796,
+ "end": 4806,
+ "loc": {
+ "start": {
+ "line": 127,
+ "column": 22
+ },
+ "end": {
+ "line": 127,
+ "column": 32
+ },
+ "identifierName": "stronghold"
+ },
+ "name": "stronghold"
+ }
+ ],
+ "body": {
+ "type": "BlockStatement",
+ "start": 4808,
+ "end": 5157,
+ "loc": {
+ "start": {
+ "line": 127,
+ "column": 34
+ },
+ "end": {
+ "line": 139,
+ "column": 2
+ }
+ },
+ "body": [
+ {
+ "type": "ExpressionStatement",
+ "start": 4828,
+ "end": 4848,
+ "loc": {
+ "start": {
+ "line": 129,
+ "column": 2
+ },
+ "end": {
+ "line": 129,
+ "column": 22
+ }
+ },
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 4828,
+ "end": 4848,
+ "loc": {
+ "start": {
+ "line": 129,
+ "column": 2
+ },
+ "end": {
+ "line": 129,
+ "column": 22
+ }
+ },
+ "operator": "=",
+ "left": {
+ "type": "MemberExpression",
+ "start": 4828,
+ "end": 4839,
+ "loc": {
+ "start": {
+ "line": 129,
+ "column": 2
+ },
+ "end": {
+ "line": 129,
+ "column": 13
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 4828,
+ "end": 4832,
+ "loc": {
+ "start": {
+ "line": 129,
+ "column": 2
+ },
+ "end": {
+ "line": 129,
+ "column": 6
+ }
+ },
+ "leadingComments": null
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4833,
+ "end": 4839,
+ "loc": {
+ "start": {
+ "line": 129,
+ "column": 7
+ },
+ "end": {
+ "line": 129,
+ "column": 13
+ },
+ "identifierName": "shield"
+ },
+ "name": "shield"
+ },
+ "computed": false,
+ "leadingComments": null
+ },
+ "right": {
+ "type": "Identifier",
+ "start": 4842,
+ "end": 4848,
+ "loc": {
+ "start": {
+ "line": 129,
+ "column": 16
+ },
+ "end": {
+ "line": 129,
+ "column": 22
+ },
+ "identifierName": "shield"
+ },
+ "name": "shield"
+ },
+ "leadingComments": null
+ },
+ "leadingComments": [
+ {
+ "type": "CommentLine",
+ "value": " Set values",
+ "start": 4812,
+ "end": 4825,
+ "loc": {
+ "start": {
+ "line": 128,
+ "column": 2
+ },
+ "end": {
+ "line": 128,
+ "column": 15
+ }
+ }
+ }
+ ]
+ },
+ {
+ "type": "ExpressionStatement",
+ "start": 4851,
+ "end": 4879,
+ "loc": {
+ "start": {
+ "line": 130,
+ "column": 2
+ },
+ "end": {
+ "line": 130,
+ "column": 30
+ }
+ },
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 4851,
+ "end": 4879,
+ "loc": {
+ "start": {
+ "line": 130,
+ "column": 2
+ },
+ "end": {
+ "line": 130,
+ "column": 30
+ }
+ },
+ "operator": "=",
+ "left": {
+ "type": "MemberExpression",
+ "start": 4851,
+ "end": 4866,
+ "loc": {
+ "start": {
+ "line": 130,
+ "column": 2
+ },
+ "end": {
+ "line": 130,
+ "column": 17
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 4851,
+ "end": 4855,
+ "loc": {
+ "start": {
+ "line": 130,
+ "column": 2
+ },
+ "end": {
+ "line": 130,
+ "column": 6
+ }
+ }
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4856,
+ "end": 4866,
+ "loc": {
+ "start": {
+ "line": 130,
+ "column": 7
+ },
+ "end": {
+ "line": 130,
+ "column": 17
+ },
+ "identifierName": "stronghold"
+ },
+ "name": "stronghold"
+ },
+ "computed": false
+ },
+ "right": {
+ "type": "Identifier",
+ "start": 4869,
+ "end": 4879,
+ "loc": {
+ "start": {
+ "line": 130,
+ "column": 20
+ },
+ "end": {
+ "line": 130,
+ "column": 30
+ },
+ "identifierName": "stronghold"
+ },
+ "name": "stronghold",
+ "leadingComments": null,
+ "trailingComments": null
+ },
+ "trailingComments": null
+ },
+ "trailingComments": [
+ {
+ "type": "CommentLine",
+ "value": " Set sprite",
+ "start": 4883,
+ "end": 4896,
+ "loc": {
+ "start": {
+ "line": 132,
+ "column": 2
+ },
+ "end": {
+ "line": 132,
+ "column": 15
+ }
+ }
+ }
+ ]
+ },
+ {
+ "type": "IfStatement",
+ "start": 4899,
+ "end": 5154,
+ "loc": {
+ "start": {
+ "line": 133,
+ "column": 2
+ },
+ "end": {
+ "line": 138,
+ "column": 3
+ }
+ },
+ "test": {
+ "type": "LogicalExpression",
+ "start": 4903,
+ "end": 4948,
+ "loc": {
+ "start": {
+ "line": 133,
+ "column": 6
+ },
+ "end": {
+ "line": 133,
+ "column": 51
+ }
+ },
+ "left": {
+ "type": "BinaryExpression",
+ "start": 4903,
+ "end": 4918,
+ "loc": {
+ "start": {
+ "line": 133,
+ "column": 6
+ },
+ "end": {
+ "line": 133,
+ "column": 21
+ }
+ },
+ "left": {
+ "type": "MemberExpression",
+ "start": 4903,
+ "end": 4914,
+ "loc": {
+ "start": {
+ "line": 133,
+ "column": 6
+ },
+ "end": {
+ "line": 133,
+ "column": 17
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 4903,
+ "end": 4907,
+ "loc": {
+ "start": {
+ "line": 133,
+ "column": 6
+ },
+ "end": {
+ "line": 133,
+ "column": 10
+ }
+ },
+ "leadingComments": null
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4908,
+ "end": 4914,
+ "loc": {
+ "start": {
+ "line": 133,
+ "column": 11
+ },
+ "end": {
+ "line": 133,
+ "column": 17
+ },
+ "identifierName": "shield"
+ },
+ "name": "shield"
+ },
+ "computed": false,
+ "leadingComments": null
+ },
+ "operator": ">",
+ "right": {
+ "type": "NumericLiteral",
+ "start": 4917,
+ "end": 4918,
+ "loc": {
+ "start": {
+ "line": 133,
+ "column": 20
+ },
+ "end": {
+ "line": 133,
+ "column": 21
+ }
+ },
+ "extra": {
+ "rawValue": 0,
+ "raw": "0"
+ },
+ "value": 0
+ },
+ "leadingComments": null
+ },
+ "operator": "||",
+ "right": {
+ "type": "BinaryExpression",
+ "start": 4922,
+ "end": 4948,
+ "loc": {
+ "start": {
+ "line": 133,
+ "column": 25
+ },
+ "end": {
+ "line": 133,
+ "column": 51
+ }
+ },
+ "left": {
+ "type": "MemberExpression",
+ "start": 4922,
+ "end": 4937,
+ "loc": {
+ "start": {
+ "line": 133,
+ "column": 25
+ },
+ "end": {
+ "line": 133,
+ "column": 40
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 4922,
+ "end": 4926,
+ "loc": {
+ "start": {
+ "line": 133,
+ "column": 25
+ },
+ "end": {
+ "line": 133,
+ "column": 29
+ }
+ }
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4927,
+ "end": 4937,
+ "loc": {
+ "start": {
+ "line": 133,
+ "column": 30
+ },
+ "end": {
+ "line": 133,
+ "column": 40
+ },
+ "identifierName": "stronghold"
+ },
+ "name": "stronghold"
+ },
+ "computed": false
+ },
+ "operator": "===",
+ "right": {
+ "type": "StringLiteral",
+ "start": 4942,
+ "end": 4948,
+ "loc": {
+ "start": {
+ "line": 133,
+ "column": 45
+ },
+ "end": {
+ "line": 133,
+ "column": 51
+ }
+ },
+ "extra": {
+ "rawValue": "team",
+ "raw": "'team'"
+ },
+ "value": "team"
+ }
+ },
+ "leadingComments": null
+ },
+ "consequent": {
+ "type": "BlockStatement",
+ "start": 4950,
+ "end": 5051,
+ "loc": {
+ "start": {
+ "line": 133,
+ "column": 53
+ },
+ "end": {
+ "line": 135,
+ "column": 3
+ }
+ },
+ "body": [
+ {
+ "type": "ExpressionStatement",
+ "start": 4955,
+ "end": 5047,
+ "loc": {
+ "start": {
+ "line": 134,
+ "column": 3
+ },
+ "end": {
+ "line": 134,
+ "column": 95
+ }
+ },
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 4955,
+ "end": 5047,
+ "loc": {
+ "start": {
+ "line": 134,
+ "column": 3
+ },
+ "end": {
+ "line": 134,
+ "column": 95
+ }
+ },
+ "operator": "=",
+ "left": {
+ "type": "MemberExpression",
+ "start": 4955,
+ "end": 4980,
+ "loc": {
+ "start": {
+ "line": 134,
+ "column": 3
+ },
+ "end": {
+ "line": 134,
+ "column": 28
+ }
+ },
+ "object": {
+ "type": "MemberExpression",
+ "start": 4955,
+ "end": 4972,
+ "loc": {
+ "start": {
+ "line": 134,
+ "column": 3
+ },
+ "end": {
+ "line": 134,
+ "column": 20
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 4955,
+ "end": 4959,
+ "loc": {
+ "start": {
+ "line": 134,
+ "column": 3
+ },
+ "end": {
+ "line": 134,
+ "column": 7
+ }
+ }
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4960,
+ "end": 4972,
+ "loc": {
+ "start": {
+ "line": 134,
+ "column": 8
+ },
+ "end": {
+ "line": 134,
+ "column": 20
+ },
+ "identifierName": "playerSprite"
+ },
+ "name": "playerSprite"
+ },
+ "computed": false
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4973,
+ "end": 4980,
+ "loc": {
+ "start": {
+ "line": 134,
+ "column": 21
+ },
+ "end": {
+ "line": 134,
+ "column": 28
+ },
+ "identifierName": "texture"
+ },
+ "name": "texture"
+ },
+ "computed": false
+ },
+ "right": {
+ "type": "MemberExpression",
+ "start": 4983,
+ "end": 5047,
+ "loc": {
+ "start": {
+ "line": 134,
+ "column": 31
+ },
+ "end": {
+ "line": 134,
+ "column": 95
+ }
+ },
+ "object": {
+ "type": "MemberExpression",
+ "start": 4983,
+ "end": 5003,
+ "loc": {
+ "start": {
+ "line": 134,
+ "column": 31
+ },
+ "end": {
+ "line": 134,
+ "column": 51
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 4983,
+ "end": 4994,
+ "loc": {
+ "start": {
+ "line": 134,
+ "column": 31
+ },
+ "end": {
+ "line": 134,
+ "column": 42
+ },
+ "identifierName": "spritesheet"
+ },
+ "name": "spritesheet"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 4995,
+ "end": 5003,
+ "loc": {
+ "start": {
+ "line": 134,
+ "column": 43
+ },
+ "end": {
+ "line": 134,
+ "column": 51
+ },
+ "identifierName": "textures"
+ },
+ "name": "textures"
+ },
+ "computed": false
+ },
+ "property": {
+ "type": "BinaryExpression",
+ "start": 5004,
+ "end": 5046,
+ "loc": {
+ "start": {
+ "line": 134,
+ "column": 52
+ },
+ "end": {
+ "line": 134,
+ "column": 94
+ }
+ },
+ "left": {
+ "type": "MemberExpression",
+ "start": 5004,
+ "end": 5025,
+ "loc": {
+ "start": {
+ "line": 134,
+ "column": 52
+ },
+ "end": {
+ "line": 134,
+ "column": 73
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 5004,
+ "end": 5014,
+ "loc": {
+ "start": {
+ "line": 134,
+ "column": 52
+ },
+ "end": {
+ "line": 134,
+ "column": 62
+ },
+ "identifierName": "teamColors"
+ },
+ "name": "teamColors"
+ },
+ "property": {
+ "type": "MemberExpression",
+ "start": 5015,
+ "end": 5024,
+ "loc": {
+ "start": {
+ "line": 134,
+ "column": 63
+ },
+ "end": {
+ "line": 134,
+ "column": 72
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 5015,
+ "end": 5019,
+ "loc": {
+ "start": {
+ "line": 134,
+ "column": 63
+ },
+ "end": {
+ "line": 134,
+ "column": 67
+ }
+ }
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 5020,
+ "end": 5024,
+ "loc": {
+ "start": {
+ "line": 134,
+ "column": 68
+ },
+ "end": {
+ "line": 134,
+ "column": 72
+ },
+ "identifierName": "team"
+ },
+ "name": "team"
+ },
+ "computed": false
+ },
+ "computed": true
+ },
+ "operator": "+",
+ "right": {
+ "type": "StringLiteral",
+ "start": 5028,
+ "end": 5046,
+ "loc": {
+ "start": {
+ "line": 134,
+ "column": 76
+ },
+ "end": {
+ "line": 134,
+ "column": 94
+ }
+ },
+ "extra": {
+ "rawValue": "playershield.png",
+ "raw": "'playershield.png'"
+ },
+ "value": "playershield.png"
+ }
+ },
+ "computed": true
+ }
+ }
+ }
+ ],
+ "directives": []
+ },
+ "alternate": {
+ "type": "BlockStatement",
+ "start": 5059,
+ "end": 5154,
+ "loc": {
+ "start": {
+ "line": 136,
+ "column": 7
+ },
+ "end": {
+ "line": 138,
+ "column": 3
+ }
+ },
+ "body": [
+ {
+ "type": "ExpressionStatement",
+ "start": 5064,
+ "end": 5150,
+ "loc": {
+ "start": {
+ "line": 137,
+ "column": 3
+ },
+ "end": {
+ "line": 137,
+ "column": 89
+ }
+ },
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 5064,
+ "end": 5150,
+ "loc": {
+ "start": {
+ "line": 137,
+ "column": 3
+ },
+ "end": {
+ "line": 137,
+ "column": 89
+ }
+ },
+ "operator": "=",
+ "left": {
+ "type": "MemberExpression",
+ "start": 5064,
+ "end": 5089,
+ "loc": {
+ "start": {
+ "line": 137,
+ "column": 3
+ },
+ "end": {
+ "line": 137,
+ "column": 28
+ }
+ },
+ "object": {
+ "type": "MemberExpression",
+ "start": 5064,
+ "end": 5081,
+ "loc": {
+ "start": {
+ "line": 137,
+ "column": 3
+ },
+ "end": {
+ "line": 137,
+ "column": 20
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 5064,
+ "end": 5068,
+ "loc": {
+ "start": {
+ "line": 137,
+ "column": 3
+ },
+ "end": {
+ "line": 137,
+ "column": 7
+ }
+ }
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 5069,
+ "end": 5081,
+ "loc": {
+ "start": {
+ "line": 137,
+ "column": 8
+ },
+ "end": {
+ "line": 137,
+ "column": 20
+ },
+ "identifierName": "playerSprite"
+ },
+ "name": "playerSprite"
+ },
+ "computed": false
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 5082,
+ "end": 5089,
+ "loc": {
+ "start": {
+ "line": 137,
+ "column": 21
+ },
+ "end": {
+ "line": 137,
+ "column": 28
+ },
+ "identifierName": "texture"
+ },
+ "name": "texture"
+ },
+ "computed": false
+ },
+ "right": {
+ "type": "MemberExpression",
+ "start": 5092,
+ "end": 5150,
+ "loc": {
+ "start": {
+ "line": 137,
+ "column": 31
+ },
+ "end": {
+ "line": 137,
+ "column": 89
+ }
+ },
+ "object": {
+ "type": "MemberExpression",
+ "start": 5092,
+ "end": 5112,
+ "loc": {
+ "start": {
+ "line": 137,
+ "column": 31
+ },
+ "end": {
+ "line": 137,
+ "column": 51
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 5092,
+ "end": 5103,
+ "loc": {
+ "start": {
+ "line": 137,
+ "column": 31
+ },
+ "end": {
+ "line": 137,
+ "column": 42
+ },
+ "identifierName": "spritesheet"
+ },
+ "name": "spritesheet"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 5104,
+ "end": 5112,
+ "loc": {
+ "start": {
+ "line": 137,
+ "column": 43
+ },
+ "end": {
+ "line": 137,
+ "column": 51
+ },
+ "identifierName": "textures"
+ },
+ "name": "textures"
+ },
+ "computed": false
+ },
+ "property": {
+ "type": "BinaryExpression",
+ "start": 5113,
+ "end": 5149,
+ "loc": {
+ "start": {
+ "line": 137,
+ "column": 52
+ },
+ "end": {
+ "line": 137,
+ "column": 88
+ }
+ },
+ "left": {
+ "type": "MemberExpression",
+ "start": 5113,
+ "end": 5134,
+ "loc": {
+ "start": {
+ "line": 137,
+ "column": 52
+ },
+ "end": {
+ "line": 137,
+ "column": 73
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 5113,
+ "end": 5123,
+ "loc": {
+ "start": {
+ "line": 137,
+ "column": 52
+ },
+ "end": {
+ "line": 137,
+ "column": 62
+ },
+ "identifierName": "teamColors"
+ },
+ "name": "teamColors"
+ },
+ "property": {
+ "type": "MemberExpression",
+ "start": 5124,
+ "end": 5133,
+ "loc": {
+ "start": {
+ "line": 137,
+ "column": 63
+ },
+ "end": {
+ "line": 137,
+ "column": 72
+ }
+ },
+ "object": {
+ "type": "ThisExpression",
+ "start": 5124,
+ "end": 5128,
+ "loc": {
+ "start": {
+ "line": 137,
+ "column": 63
+ },
+ "end": {
+ "line": 137,
+ "column": 67
+ }
+ }
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 5129,
+ "end": 5133,
+ "loc": {
+ "start": {
+ "line": 137,
+ "column": 68
+ },
+ "end": {
+ "line": 137,
+ "column": 72
+ },
+ "identifierName": "team"
+ },
+ "name": "team"
+ },
+ "computed": false
+ },
+ "computed": true
+ },
+ "operator": "+",
+ "right": {
+ "type": "StringLiteral",
+ "start": 5137,
+ "end": 5149,
+ "loc": {
+ "start": {
+ "line": 137,
+ "column": 76
+ },
+ "end": {
+ "line": 137,
+ "column": 88
+ }
+ },
+ "extra": {
+ "rawValue": "player.png",
+ "raw": "'player.png'"
+ },
+ "value": "player.png"
+ }
+ },
+ "computed": true
+ }
+ }
+ }
+ ],
+ "directives": []
+ },
+ "leadingComments": [
+ {
+ "type": "CommentLine",
+ "value": " Set sprite",
+ "start": 4883,
+ "end": 4896,
+ "loc": {
+ "start": {
+ "line": 132,
+ "column": 2
+ },
+ "end": {
+ "line": 132,
+ "column": 15
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "directives": []
+ },
+ "leadingComments": [
+ {
+ "type": "CommentBlock",
+ "value": "*\n\t * Notifies the player to check for a sprite change (shield, etc).\n\t * @param {number} shield Number of extra defense points from buffs, elements, etc.\n\t * @param {string} stronghold 'team' if player is in team stronghold, 'notteam' if player is in enemy stronghold, 'none', if not in a stronghold\n\t ",
+ "start": 4466,
+ "end": 4773,
+ "loc": {
+ "start": {
+ "line": 122,
+ "column": 1
+ },
+ "end": {
+ "line": 126,
+ "column": 4
+ }
+ }
+ }
+ ]
}
]
},
@@ -11077,418 +12220,2083 @@
"trailingComments": []
}
}
- ],
- "directives": []
- },
- "comments": [
+ ],
+ "directives": []
+ },
+ "comments": [
+ {
+ "type": "CommentBlock",
+ "value": "*\n * Constructor for creating a new Player in the server side.\n * Player is a Sprite instance that can be added to the stage.\n * Each Player should only be created once, and updated subsequently with\n * setData().\n * @param {PIXI.Texture} texture The texture associated with this sprite\n * @param {string} id Socket ID of the player\n * @param {string} name Name of the player\n * @param {string} room Room that the player belongs to\n * @param {string} team Team that the player belongs to\n * @param {number} health Health of the player\n * @param {number} x Global x-coordinate\n * @param {number} y Global y-coordinate\n * @param {number} vx Horizontal velocity\n * @param {number} vy Vertical velocity\n ",
+ "start": 294,
+ "end": 1058,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 1
+ },
+ "end": {
+ "line": 23,
+ "column": 7
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Call GameObject",
+ "start": 1142,
+ "end": 1160,
+ "loc": {
+ "start": {
+ "line": 25,
+ "column": 2
+ },
+ "end": {
+ "line": 25,
+ "column": 20
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Pixi Values",
+ "start": 1199,
+ "end": 1213,
+ "loc": {
+ "start": {
+ "line": 28,
+ "column": 2
+ },
+ "end": {
+ "line": 28,
+ "column": 16
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " console.log('this player');",
+ "start": 1325,
+ "end": 1355,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 3
+ },
+ "end": {
+ "line": 33,
+ "column": 33
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " take this player off screen until it can be processed",
+ "start": 1421,
+ "end": 1477,
+ "loc": {
+ "start": {
+ "line": 37,
+ "column": 9
+ },
+ "end": {
+ "line": 37,
+ "column": 65
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Custom fields",
+ "start": 1500,
+ "end": 1516,
+ "loc": {
+ "start": {
+ "line": 41,
+ "column": 2
+ },
+ "end": {
+ "line": 41,
+ "column": 18
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Set the health of the player",
+ "start": 1597,
+ "end": 1628,
+ "loc": {
+ "start": {
+ "line": 45,
+ "column": 23
+ },
+ "end": {
+ "line": 45,
+ "column": 54
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Sets the experience of the player(Passed in)",
+ "start": 1684,
+ "end": 1731,
+ "loc": {
+ "start": {
+ "line": 47,
+ "column": 31
+ },
+ "end": {
+ "line": 47,
+ "column": 78
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Speed multiplier. Increased/decreased by different compounds",
+ "start": 1753,
+ "end": 1816,
+ "loc": {
+ "start": {
+ "line": 48,
+ "column": 21
+ },
+ "end": {
+ "line": 48,
+ "column": 84
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Object containing the values of damage that each player has dealt.",
+ "start": 1885,
+ "end": 1954,
+ "loc": {
+ "start": {
+ "line": 52,
+ "column": 22
+ },
+ "end": {
+ "line": 52,
+ "column": 91
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Contains Text to be drawn under the player (name, id, etc)",
+ "start": 1979,
+ "end": 2040,
+ "loc": {
+ "start": {
+ "line": 53,
+ "column": 24
+ },
+ "end": {
+ "line": 53,
+ "column": 85
+ }
+ }
+ },
+ {
+ "type": "CommentBlock",
+ "value": "*\n * First-time setup for this player. All of the functions in this method will only be called once.\n ",
+ "start": 2109,
+ "end": 2223,
+ "loc": {
+ "start": {
+ "line": 59,
+ "column": 1
+ },
+ "end": {
+ "line": 61,
+ "column": 7
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Create text objects",
+ "start": 2238,
+ "end": 2260,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 2
+ },
+ "end": {
+ "line": 63,
+ "column": 24
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Assign values and positions",
+ "start": 2601,
+ "end": 2631,
+ "loc": {
+ "start": {
+ "line": 71,
+ "column": 2
+ },
+ "end": {
+ "line": 71,
+ "column": 32
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " create text and assign color",
+ "start": 3194,
+ "end": 3225,
+ "loc": {
+ "start": {
+ "line": 82,
+ "column": 2
+ },
+ "end": {
+ "line": 82,
+ "column": 33
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Add text",
+ "start": 3268,
+ "end": 3279,
+ "loc": {
+ "start": {
+ "line": 84,
+ "column": 3
+ },
+ "end": {
+ "line": 84,
+ "column": 14
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Create player sprite child",
+ "start": 3467,
+ "end": 3496,
+ "loc": {
+ "start": {
+ "line": 92,
+ "column": 2
+ },
+ "end": {
+ "line": 92,
+ "column": 31
+ }
+ }
+ },
+ {
+ "type": "CommentBlock",
+ "value": "*\n * Draws all components of a given player.\n * This method should be included in the ticker and called once a frame.\n * Therefore, all setup tasks\n * should be called in setup().\n ",
+ "start": 3702,
+ "end": 3907,
+ "loc": {
+ "start": {
+ "line": 98,
+ "column": 1
+ },
+ "end": {
+ "line": 103,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Movement",
+ "start": 3921,
+ "end": 3932,
+ "loc": {
+ "start": {
+ "line": 105,
+ "column": 2
+ },
+ "end": {
+ "line": 105,
+ "column": 13
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Update text",
+ "start": 3955,
+ "end": 3969,
+ "loc": {
+ "start": {
+ "line": 108,
+ "column": 2
+ },
+ "end": {
+ "line": 108,
+ "column": 16
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Rotation",
+ "start": 4246,
+ "end": 4257,
+ "loc": {
+ "start": {
+ "line": 113,
+ "column": 2
+ },
+ "end": {
+ "line": 113,
+ "column": 13
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Draw other player",
+ "start": 4390,
+ "end": 4410,
+ "loc": {
+ "start": {
+ "line": 116,
+ "column": 2
+ },
+ "end": {
+ "line": 116,
+ "column": 22
+ }
+ }
+ },
+ {
+ "type": "CommentBlock",
+ "value": "*\n\t * Notifies the player to check for a sprite change (shield, etc).\n\t * @param {number} shield Number of extra defense points from buffs, elements, etc.\n\t * @param {string} stronghold 'team' if player is in team stronghold, 'notteam' if player is in enemy stronghold, 'none', if not in a stronghold\n\t ",
+ "start": 4466,
+ "end": 4773,
+ "loc": {
+ "start": {
+ "line": 122,
+ "column": 1
+ },
+ "end": {
+ "line": 126,
+ "column": 4
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Set values",
+ "start": 4812,
+ "end": 4825,
+ "loc": {
+ "start": {
+ "line": 128,
+ "column": 2
+ },
+ "end": {
+ "line": 128,
+ "column": 15
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Set sprite",
+ "start": 4883,
+ "end": 4896,
+ "loc": {
+ "start": {
+ "line": 132,
+ "column": 2
+ },
+ "end": {
+ "line": 132,
+ "column": 15
+ }
+ }
+ }
+ ],
+ "tokens": [
+ {
+ "type": {
+ "label": "import",
+ "keyword": "import",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "import",
+ "start": 0,
+ "end": 6,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 0
+ },
+ "end": {
+ "line": 1,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 7,
+ "end": 8,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 7
+ },
+ "end": {
+ "line": 1,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "GLOBAL",
+ "start": 9,
+ "end": 15,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 9
+ },
+ "end": {
+ "line": 1,
+ "column": 15
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 16,
+ "end": 17,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 16
+ },
+ "end": {
+ "line": 1,
+ "column": 17
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 18,
+ "end": 22,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 18
+ },
+ "end": {
+ "line": 1,
+ "column": 22
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "../global.js",
+ "start": 23,
+ "end": 37,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 23
+ },
+ "end": {
+ "line": 1,
+ "column": 37
+ }
+ }
+ },
+ {
+ "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": 38,
+ "end": 44,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 0
+ },
+ "end": {
+ "line": 2,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "*",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": 10,
+ "updateContext": null
+ },
+ "value": "*",
+ "start": 45,
+ "end": 46,
+ "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": "as",
+ "start": 47,
+ "end": 49,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 9
+ },
+ "end": {
+ "line": 2,
+ "column": 11
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "PIXI",
+ "start": 50,
+ "end": 54,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 12
+ },
+ "end": {
+ "line": 2,
+ "column": 16
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 55,
+ "end": 59,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 17
+ },
+ "end": {
+ "line": 2,
+ "column": 21
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "pixi.js",
+ "start": 60,
+ "end": 69,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 22
+ },
+ "end": {
+ "line": 2,
+ "column": 31
+ }
+ }
+ },
+ {
+ "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": 70,
+ "end": 76,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 0
+ },
+ "end": {
+ "line": 3,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 77,
+ "end": 78,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 7
+ },
+ "end": {
+ "line": 3,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "screenCenterX",
+ "start": 79,
+ "end": 92,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 9
+ },
+ "end": {
+ "line": 3,
+ "column": 22
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 92,
+ "end": 93,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 22
+ },
+ "end": {
+ "line": 3,
+ "column": 23
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "screenCenterY",
+ "start": 94,
+ "end": 107,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 24
+ },
+ "end": {
+ "line": 3,
+ "column": 37
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 107,
+ "end": 108,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 37
+ },
+ "end": {
+ "line": 3,
+ "column": 38
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "mouseDown",
+ "start": 109,
+ "end": 118,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 39
+ },
+ "end": {
+ "line": 3,
+ "column": 48
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 118,
+ "end": 119,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 48
+ },
+ "end": {
+ "line": 3,
+ "column": 49
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "spritesheet",
+ "start": 120,
+ "end": 131,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 50
+ },
+ "end": {
+ "line": 3,
+ "column": 61
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 132,
+ "end": 133,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 62
+ },
+ "end": {
+ "line": 3,
+ "column": 63
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 134,
+ "end": 138,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 64
+ },
+ "end": {
+ "line": 3,
+ "column": 68
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "../pixigame.js",
+ "start": 139,
+ "end": 155,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 69
+ },
+ "end": {
+ "line": 3,
+ "column": 85
+ }
+ }
+ },
+ {
+ "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": 156,
+ "end": 162,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 0
+ },
+ "end": {
+ "line": 4,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 163,
+ "end": 164,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 7
+ },
+ "end": {
+ "line": 4,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "socket",
+ "start": 165,
+ "end": 171,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 9
+ },
+ "end": {
+ "line": 4,
+ "column": 15
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 171,
+ "end": 172,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 15
+ },
+ "end": {
+ "line": 4,
+ "column": 16
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "teamColors",
+ "start": 173,
+ "end": 183,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 17
+ },
+ "end": {
+ "line": 4,
+ "column": 27
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 184,
+ "end": 185,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 28
+ },
+ "end": {
+ "line": 4,
+ "column": 29
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 186,
+ "end": 190,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 30
+ },
+ "end": {
+ "line": 4,
+ "column": 34
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "../socket.js",
+ "start": 191,
+ "end": 205,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 35
+ },
+ "end": {
+ "line": 4,
+ "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": 206,
+ "end": 212,
+ "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": 213,
+ "end": 214,
+ "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": "GameObject",
+ "start": 215,
+ "end": 225,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 9
+ },
+ "end": {
+ "line": 5,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 226,
+ "end": 227,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 20
+ },
+ "end": {
+ "line": 5,
+ "column": 21
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 228,
+ "end": 232,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 22
+ },
+ "end": {
+ "line": 5,
+ "column": 26
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "./gameobject.js",
+ "start": 233,
+ "end": 250,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 27
+ },
+ "end": {
+ "line": 5,
+ "column": 44
+ }
+ }
+ },
{
- "type": "CommentBlock",
- "value": "*\n * Constructor for creating a new Player in the server side.\n * Player is a Sprite instance that can be added to the stage.\n * Each Player should only be created once, and updated subsequently with\n * setData().\n * @param {PIXI.Texture} texture The texture associated with this sprite\n * @param {string} id Socket ID of the player\n * @param {string} name Name of the player\n * @param {string} room Room that the player belongs to\n * @param {string} team Team that the player belongs to\n * @param {number} health Health of the player\n * @param {number} x Global x-coordinate\n * @param {number} y Global y-coordinate\n * @param {number} vx Horizontal velocity\n * @param {number} vy Vertical velocity\n ",
- "start": 294,
- "end": 1058,
+ "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": 252,
+ "end": 258,
"loc": {
"start": {
- "line": 8,
- "column": 1
+ "line": 7,
+ "column": 0
},
"end": {
- "line": 23,
+ "line": 7,
+ "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": 259,
+ "end": 264,
+ "loc": {
+ "start": {
+ "line": 7,
"column": 7
+ },
+ "end": {
+ "line": 7,
+ "column": 12
}
}
},
{
- "type": "CommentLine",
- "value": " Call GameObject",
- "start": 1142,
- "end": 1160,
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "Player",
+ "start": 265,
+ "end": 271,
"loc": {
"start": {
- "line": 25,
- "column": 2
+ "line": 7,
+ "column": 13
},
"end": {
- "line": 25,
+ "line": 7,
+ "column": 19
+ }
+ }
+ },
+ {
+ "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": 272,
+ "end": 279,
+ "loc": {
+ "start": {
+ "line": 7,
"column": 20
+ },
+ "end": {
+ "line": 7,
+ "column": 27
}
}
},
{
- "type": "CommentLine",
- "value": " Pixi Values",
- "start": 1199,
- "end": 1213,
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "GameObject",
+ "start": 280,
+ "end": 290,
"loc": {
"start": {
- "line": 28,
- "column": 2
+ "line": 7,
+ "column": 28
},
"end": {
- "line": 28,
- "column": 16
+ "line": 7,
+ "column": 38
}
}
},
{
- "type": "CommentLine",
- "value": " console.log('this player');",
- "start": 1325,
- "end": 1355,
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 291,
+ "end": 292,
"loc": {
"start": {
- "line": 33,
- "column": 3
+ "line": 7,
+ "column": 39
},
"end": {
- "line": 33,
- "column": 33
+ "line": 7,
+ "column": 40
}
}
},
{
- "type": "CommentLine",
- "value": " take this player off screen until it can be processed",
- "start": 1421,
- "end": 1477,
+ "type": "CommentBlock",
+ "value": "*\n * Constructor for creating a new Player in the server side.\n * Player is a Sprite instance that can be added to the stage.\n * Each Player should only be created once, and updated subsequently with\n * setData().\n * @param {PIXI.Texture} texture The texture associated with this sprite\n * @param {string} id Socket ID of the player\n * @param {string} name Name of the player\n * @param {string} room Room that the player belongs to\n * @param {string} team Team that the player belongs to\n * @param {number} health Health of the player\n * @param {number} x Global x-coordinate\n * @param {number} y Global y-coordinate\n * @param {number} vx Horizontal velocity\n * @param {number} vy Vertical velocity\n ",
+ "start": 294,
+ "end": 1058,
"loc": {
"start": {
- "line": 37,
- "column": 9
+ "line": 8,
+ "column": 1
},
"end": {
- "line": 37,
- "column": 65
+ "line": 23,
+ "column": 7
}
}
},
{
- "type": "CommentLine",
- "value": " Custom fields",
- "start": 1500,
- "end": 1516,
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "constructor",
+ "start": 1060,
+ "end": 1071,
"loc": {
"start": {
- "line": 41,
- "column": 2
+ "line": 24,
+ "column": 1
},
"end": {
- "line": 41,
- "column": 18
+ "line": 24,
+ "column": 12
}
}
},
{
- "type": "CommentLine",
- "value": " Set the health of the player",
- "start": 1597,
- "end": 1628,
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1072,
+ "end": 1073,
"loc": {
"start": {
- "line": 45,
- "column": 23
+ "line": 24,
+ "column": 13
},
"end": {
- "line": 45,
- "column": 54
+ "line": 24,
+ "column": 14
}
}
},
{
- "type": "CommentLine",
- "value": " Sets the experience of the player(Passed in)",
- "start": 1684,
- "end": 1731,
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "texture",
+ "start": 1073,
+ "end": 1080,
"loc": {
"start": {
- "line": 47,
- "column": 31
+ "line": 24,
+ "column": 14
},
"end": {
- "line": 47,
- "column": 78
+ "line": 24,
+ "column": 21
}
}
},
{
- "type": "CommentLine",
- "value": " Speed multiplier. Increased/decreased by different compounds",
- "start": 1753,
- "end": 1816,
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1080,
+ "end": 1081,
"loc": {
"start": {
- "line": 48,
+ "line": 24,
"column": 21
},
"end": {
- "line": 48,
- "column": 84
- }
- }
- },
- {
- "type": "CommentLine",
- "value": " Object containing the values of damage that each player has dealt.",
- "start": 1892,
- "end": 1961,
- "loc": {
- "start": {
- "line": 52,
+ "line": 24,
"column": 22
- },
- "end": {
- "line": 52,
- "column": 91
}
}
},
{
- "type": "CommentLine",
- "value": " Contains Text to be drawn under the player (name, id, etc)",
- "start": 1986,
- "end": 2047,
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "id",
+ "start": 1082,
+ "end": 1084,
"loc": {
"start": {
- "line": 53,
- "column": 24
+ "line": 24,
+ "column": 23
},
"end": {
- "line": 53,
- "column": 85
+ "line": 24,
+ "column": 25
}
}
},
{
- "type": "CommentBlock",
- "value": "*\n * First-time setup for this player. All of the functions in this method will only be called once.\n ",
- "start": 2116,
- "end": 2230,
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1084,
+ "end": 1085,
"loc": {
"start": {
- "line": 59,
- "column": 1
+ "line": 24,
+ "column": 25
},
"end": {
- "line": 61,
- "column": 7
+ "line": 24,
+ "column": 26
}
}
},
{
- "type": "CommentLine",
- "value": " Create text objects",
- "start": 2245,
- "end": 2267,
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "name",
+ "start": 1086,
+ "end": 1090,
"loc": {
"start": {
- "line": 63,
- "column": 2
+ "line": 24,
+ "column": 27
},
"end": {
- "line": 63,
- "column": 24
+ "line": 24,
+ "column": 31
}
}
},
{
- "type": "CommentLine",
- "value": " Assign values and positions",
- "start": 2548,
- "end": 2578,
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1090,
+ "end": 1091,
"loc": {
"start": {
- "line": 70,
- "column": 2
+ "line": 24,
+ "column": 31
},
"end": {
- "line": 70,
+ "line": 24,
"column": 32
}
}
},
{
- "type": "CommentLine",
- "value": " create text and assign color",
- "start": 3011,
- "end": 3042,
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "room",
+ "start": 1092,
+ "end": 1096,
"loc": {
"start": {
- "line": 79,
- "column": 2
+ "line": 24,
+ "column": 33
},
"end": {
- "line": 79,
- "column": 33
+ "line": 24,
+ "column": 37
}
}
},
{
- "type": "CommentLine",
- "value": " Add text",
- "start": 3085,
- "end": 3096,
+ "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": 81,
- "column": 3
+ "line": 24,
+ "column": 37
},
"end": {
- "line": 81,
- "column": 14
+ "line": 24,
+ "column": 38
}
}
},
{
- "type": "CommentLine",
- "value": " Create player sprite child",
- "start": 3284,
- "end": 3313,
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "team",
+ "start": 1098,
+ "end": 1102,
"loc": {
"start": {
- "line": 89,
- "column": 2
+ "line": 24,
+ "column": 39
},
"end": {
- "line": 89,
- "column": 31
+ "line": 24,
+ "column": 43
}
}
},
{
- "type": "CommentBlock",
- "value": "*\n * Draws all components of a given player.\n * This method should be included in the ticker and called once a frame.\n * Therefore, all setup tasks\n * should be called in setup().\n ",
- "start": 3519,
- "end": 3724,
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1102,
+ "end": 1103,
"loc": {
"start": {
- "line": 95,
- "column": 1
+ "line": 24,
+ "column": 43
},
"end": {
- "line": 100,
- "column": 6
+ "line": 24,
+ "column": 44
}
}
},
{
- "type": "CommentLine",
- "value": " Movement",
- "start": 3738,
- "end": 3749,
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "health",
+ "start": 1104,
+ "end": 1110,
"loc": {
"start": {
- "line": 102,
- "column": 2
+ "line": 24,
+ "column": 45
},
"end": {
- "line": 102,
- "column": 13
+ "line": 24,
+ "column": 51
}
}
},
{
- "type": "CommentLine",
- "value": " Update text",
- "start": 3772,
- "end": 3786,
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1110,
+ "end": 1111,
"loc": {
"start": {
- "line": 105,
- "column": 2
+ "line": 24,
+ "column": 51
},
"end": {
- "line": 105,
- "column": 16
+ "line": 24,
+ "column": 52
}
}
},
{
- "type": "CommentLine",
- "value": " Rotation",
- "start": 3951,
- "end": 3962,
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "x",
+ "start": 1112,
+ "end": 1113,
"loc": {
"start": {
- "line": 109,
- "column": 2
+ "line": 24,
+ "column": 53
},
"end": {
- "line": 109,
- "column": 13
+ "line": 24,
+ "column": 54
}
}
},
{
- "type": "CommentLine",
- "value": " Draw other player",
- "start": 4095,
- "end": 4115,
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1113,
+ "end": 1114,
"loc": {
"start": {
- "line": 112,
- "column": 2
+ "line": 24,
+ "column": 54
},
"end": {
- "line": 112,
- "column": 22
+ "line": 24,
+ "column": 55
}
}
},
{
- "type": "CommentBlock",
- "value": "*\n\t * Notifies the player to check for a sprite change (shield, etc).\n\t * @param {boolean} hasShield True if the player has shield from an element\n\t * @param {string} stronghold 'team' if player is in team stronghold, 'notteam' if player is in enemy stronghold, 'none', if not in a stronghold\n\t ",
- "start": 4171,
- "end": 4470,
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "y",
+ "start": 1115,
+ "end": 1116,
"loc": {
"start": {
- "line": 118,
- "column": 1
+ "line": 24,
+ "column": 56
},
"end": {
- "line": 122,
- "column": 4
+ "line": 24,
+ "column": 57
}
}
},
{
- "type": "CommentLine",
- "value": " Set values",
- "start": 4512,
- "end": 4525,
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1116,
+ "end": 1117,
"loc": {
"start": {
- "line": 124,
- "column": 2
+ "line": 24,
+ "column": 57
},
"end": {
- "line": 124,
- "column": 15
+ "line": 24,
+ "column": 58
}
}
},
{
- "type": "CommentLine",
- "value": " Set sprite",
- "start": 4589,
- "end": 4602,
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "vx",
+ "start": 1118,
+ "end": 1120,
"loc": {
"start": {
- "line": 128,
- "column": 2
+ "line": 24,
+ "column": 59
},
"end": {
- "line": 128,
- "column": 15
+ "line": 24,
+ "column": 61
}
}
- }
- ],
- "tokens": [
+ },
{
"type": {
- "label": "import",
- "keyword": "import",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -11497,24 +14305,23 @@
"binop": null,
"updateContext": null
},
- "value": "import",
- "start": 0,
- "end": 6,
+ "start": 1120,
+ "end": 1121,
"loc": {
"start": {
- "line": 1,
- "column": 0
+ "line": 24,
+ "column": 61
},
"end": {
- "line": 1,
- "column": 6
+ "line": 24,
+ "column": 62
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -11523,50 +14330,51 @@
"postfix": false,
"binop": null
},
- "start": 7,
- "end": 8,
+ "value": "vy",
+ "start": 1122,
+ "end": 1124,
"loc": {
"start": {
- "line": 1,
- "column": 7
+ "line": 24,
+ "column": 63
},
"end": {
- "line": 1,
- "column": 8
+ "line": 24,
+ "column": 65
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "GLOBAL",
- "start": 9,
- "end": 15,
+ "start": 1124,
+ "end": 1125,
"loc": {
"start": {
- "line": 1,
- "column": 9
+ "line": 24,
+ "column": 65
},
"end": {
- "line": 1,
- "column": 15
+ "line": 24,
+ "column": 66
}
}
},
{
"type": {
- "label": "}",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -11574,24 +14382,25 @@
"postfix": false,
"binop": null
},
- "start": 16,
- "end": 17,
+ "value": "experience",
+ "start": 1126,
+ "end": 1136,
"loc": {
"start": {
- "line": 1,
- "column": 16
+ "line": 24,
+ "column": 67
},
"end": {
- "line": 1,
- "column": 17
+ "line": 24,
+ "column": 77
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -11599,51 +14408,64 @@
"postfix": false,
"binop": null
},
- "value": "from",
- "start": 18,
- "end": 22,
+ "start": 1136,
+ "end": 1137,
"loc": {
"start": {
- "line": 1,
- "column": 18
+ "line": 24,
+ "column": 77
},
"end": {
- "line": 1,
- "column": 22
+ "line": 24,
+ "column": 78
}
}
},
{
"type": {
- "label": "string",
- "beforeExpr": false,
+ "label": "{",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "../global.js",
- "start": 23,
- "end": 37,
+ "start": 1138,
+ "end": 1139,
+ "loc": {
+ "start": {
+ "line": 24,
+ "column": 79
+ },
+ "end": {
+ "line": 24,
+ "column": 80
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Call GameObject",
+ "start": 1142,
+ "end": 1160,
"loc": {
"start": {
- "line": 1,
- "column": 23
+ "line": 25,
+ "column": 2
},
"end": {
- "line": 1,
- "column": 37
+ "line": 25,
+ "column": 20
}
}
},
{
"type": {
- "label": "import",
- "keyword": "import",
+ "label": "super",
+ "keyword": "super",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -11654,43 +14476,41 @@
"binop": null,
"updateContext": null
},
- "value": "import",
- "start": 38,
- "end": 44,
+ "value": "super",
+ "start": 1163,
+ "end": 1168,
"loc": {
"start": {
- "line": 2,
- "column": 0
+ "line": 26,
+ "column": 2
},
"end": {
- "line": 2,
- "column": 6
+ "line": 26,
+ "column": 7
}
}
},
{
"type": {
- "label": "*",
+ "label": "(",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": 10,
- "updateContext": null
+ "binop": null
},
- "value": "*",
- "start": 45,
- "end": 46,
+ "start": 1168,
+ "end": 1169,
"loc": {
"start": {
- "line": 2,
+ "line": 26,
"column": 7
},
"end": {
- "line": 2,
+ "line": 26,
"column": 8
}
}
@@ -11707,42 +14527,42 @@
"postfix": false,
"binop": null
},
- "value": "as",
- "start": 47,
- "end": 49,
+ "value": "texture",
+ "start": 1169,
+ "end": 1176,
"loc": {
"start": {
- "line": 2,
- "column": 9
+ "line": 26,
+ "column": 8
},
"end": {
- "line": 2,
- "column": 11
+ "line": 26,
+ "column": 15
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "PIXI",
- "start": 50,
- "end": 54,
+ "start": 1176,
+ "end": 1177,
"loc": {
"start": {
- "line": 2,
- "column": 12
+ "line": 26,
+ "column": 15
},
"end": {
- "line": 2,
+ "line": 26,
"column": 16
}
}
@@ -11759,25 +14579,25 @@
"postfix": false,
"binop": null
},
- "value": "from",
- "start": 55,
- "end": 59,
+ "value": "id",
+ "start": 1178,
+ "end": 1180,
"loc": {
"start": {
- "line": 2,
+ "line": 26,
"column": 17
},
"end": {
- "line": 2,
- "column": 21
+ "line": 26,
+ "column": 19
}
}
},
{
"type": {
- "label": "string",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -11786,24 +14606,22 @@
"binop": null,
"updateContext": null
},
- "value": "pixi.js",
- "start": 60,
- "end": 69,
+ "start": 1180,
+ "end": 1181,
"loc": {
"start": {
- "line": 2,
- "column": 22
+ "line": 26,
+ "column": 19
},
"end": {
- "line": 2,
- "column": 31
+ "line": 26,
+ "column": 20
}
}
},
{
"type": {
- "label": "import",
- "keyword": "import",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -11811,45 +14629,45 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "import",
- "start": 70,
- "end": 76,
+ "value": "x",
+ "start": 1182,
+ "end": 1183,
"loc": {
"start": {
- "line": 3,
- "column": 0
+ "line": 26,
+ "column": 21
},
"end": {
- "line": 3,
- "column": 6
+ "line": 26,
+ "column": 22
}
}
},
{
"type": {
- "label": "{",
+ "label": ",",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 77,
- "end": 78,
+ "start": 1183,
+ "end": 1184,
"loc": {
"start": {
- "line": 3,
- "column": 7
+ "line": 26,
+ "column": 22
},
"end": {
- "line": 3,
- "column": 8
+ "line": 26,
+ "column": 23
}
}
},
@@ -11865,17 +14683,17 @@
"postfix": false,
"binop": null
},
- "value": "screenCenterX",
- "start": 79,
- "end": 92,
+ "value": "y",
+ "start": 1185,
+ "end": 1186,
"loc": {
"start": {
- "line": 3,
- "column": 9
+ "line": 26,
+ "column": 24
},
"end": {
- "line": 3,
- "column": 22
+ "line": 26,
+ "column": 25
}
}
},
@@ -11892,16 +14710,16 @@
"binop": null,
"updateContext": null
},
- "start": 92,
- "end": 93,
+ "start": 1186,
+ "end": 1187,
"loc": {
"start": {
- "line": 3,
- "column": 22
+ "line": 26,
+ "column": 25
},
"end": {
- "line": 3,
- "column": 23
+ "line": 26,
+ "column": 26
}
}
},
@@ -11917,17 +14735,17 @@
"postfix": false,
"binop": null
},
- "value": "screenCenterY",
- "start": 94,
- "end": 107,
+ "value": "vx",
+ "start": 1188,
+ "end": 1190,
"loc": {
"start": {
- "line": 3,
- "column": 24
+ "line": 26,
+ "column": 27
},
"end": {
- "line": 3,
- "column": 37
+ "line": 26,
+ "column": 29
}
}
},
@@ -11944,16 +14762,16 @@
"binop": null,
"updateContext": null
},
- "start": 107,
- "end": 108,
+ "start": 1190,
+ "end": 1191,
"loc": {
"start": {
- "line": 3,
- "column": 37
+ "line": 26,
+ "column": 29
},
"end": {
- "line": 3,
- "column": 38
+ "line": 26,
+ "column": 30
}
}
},
@@ -11969,49 +14787,65 @@
"postfix": false,
"binop": null
},
- "value": "mouseDown",
- "start": 109,
- "end": 118,
+ "value": "vy",
+ "start": 1192,
+ "end": 1194,
"loc": {
"start": {
- "line": 3,
- "column": 39
+ "line": 26,
+ "column": 31
},
"end": {
- "line": 3,
- "column": 48
+ "line": 26,
+ "column": 33
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
+ "label": ")",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 118,
- "end": 119,
+ "start": 1194,
+ "end": 1195,
"loc": {
"start": {
- "line": 3,
- "column": 48
+ "line": 26,
+ "column": 33
+ },
+ "end": {
+ "line": 26,
+ "column": 34
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Pixi Values",
+ "start": 1199,
+ "end": 1213,
+ "loc": {
+ "start": {
+ "line": 28,
+ "column": 2
},
"end": {
- "line": 3,
- "column": 49
+ "line": 28,
+ "column": 16
}
}
},
{
"type": {
- "label": "name",
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -12019,25 +14853,26 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "spritesheet",
- "start": 120,
- "end": 131,
+ "value": "this",
+ "start": 1216,
+ "end": 1220,
"loc": {
"start": {
- "line": 3,
- "column": 50
+ "line": 29,
+ "column": 2
},
"end": {
- "line": 3,
- "column": 61
+ "line": 29,
+ "column": 6
}
}
},
{
"type": {
- "label": "}",
+ "label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -12045,18 +14880,19 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 132,
- "end": 133,
+ "start": 1220,
+ "end": 1221,
"loc": {
"start": {
- "line": 3,
- "column": 62
+ "line": 29,
+ "column": 6
},
"end": {
- "line": 3,
- "column": 63
+ "line": 29,
+ "column": 7
}
}
},
@@ -12072,51 +14908,50 @@
"postfix": false,
"binop": null
},
- "value": "from",
- "start": 134,
- "end": 138,
+ "value": "width",
+ "start": 1221,
+ "end": 1226,
"loc": {
"start": {
- "line": 3,
- "column": 64
+ "line": 29,
+ "column": 7
},
"end": {
- "line": 3,
- "column": 68
+ "line": 29,
+ "column": 12
}
}
},
{
"type": {
- "label": "string",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "../pixigame.js",
- "start": 139,
- "end": 155,
+ "value": "=",
+ "start": 1227,
+ "end": 1228,
"loc": {
"start": {
- "line": 3,
- "column": 69
+ "line": 29,
+ "column": 13
},
"end": {
- "line": 3,
- "column": 85
+ "line": 29,
+ "column": 14
}
}
},
{
"type": {
- "label": "import",
- "keyword": "import",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -12124,45 +14959,45 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "import",
- "start": 156,
- "end": 162,
+ "value": "GLOBAL",
+ "start": 1229,
+ "end": 1235,
"loc": {
"start": {
- "line": 4,
- "column": 0
+ "line": 29,
+ "column": 15
},
"end": {
- "line": 4,
- "column": 6
+ "line": 29,
+ "column": 21
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 163,
- "end": 164,
+ "start": 1235,
+ "end": 1236,
"loc": {
"start": {
- "line": 4,
- "column": 7
+ "line": 29,
+ "column": 21
},
"end": {
- "line": 4,
- "column": 8
+ "line": 29,
+ "column": 22
}
}
},
@@ -12178,23 +15013,23 @@
"postfix": false,
"binop": null
},
- "value": "socket",
- "start": 165,
- "end": 171,
+ "value": "PLAYER_RADIUS",
+ "start": 1236,
+ "end": 1249,
"loc": {
"start": {
- "line": 4,
- "column": 9
+ "line": 29,
+ "column": 22
},
"end": {
- "line": 4,
- "column": 15
+ "line": 29,
+ "column": 35
}
}
},
{
"type": {
- "label": ",",
+ "label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -12202,25 +15037,26 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
+ "binop": 10,
"updateContext": null
},
- "start": 171,
- "end": 172,
+ "value": "*",
+ "start": 1250,
+ "end": 1251,
"loc": {
"start": {
- "line": 4,
- "column": 15
+ "line": 29,
+ "column": 36
},
"end": {
- "line": 4,
- "column": 16
+ "line": 29,
+ "column": 37
}
}
},
{
"type": {
- "label": "name",
+ "label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -12228,76 +15064,80 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "teamColors",
- "start": 173,
- "end": 183,
+ "value": 2,
+ "start": 1252,
+ "end": 1253,
"loc": {
"start": {
- "line": 4,
- "column": 17
+ "line": 29,
+ "column": 38
},
"end": {
- "line": 4,
- "column": 27
+ "line": 29,
+ "column": 39
}
}
},
{
"type": {
- "label": "}",
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 184,
- "end": 185,
+ "value": "this",
+ "start": 1256,
+ "end": 1260,
"loc": {
"start": {
- "line": 4,
- "column": 28
+ "line": 30,
+ "column": 2
},
"end": {
- "line": 4,
- "column": 29
+ "line": 30,
+ "column": 6
}
}
},
{
"type": {
- "label": "name",
+ "label": ".",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "from",
- "start": 186,
- "end": 190,
+ "start": 1260,
+ "end": 1261,
"loc": {
"start": {
- "line": 4,
- "column": 30
+ "line": 30,
+ "column": 6
},
"end": {
- "line": 4,
- "column": 34
+ "line": 30,
+ "column": 7
}
}
},
{
"type": {
- "label": "string",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -12305,55 +15145,53 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "../socket.js",
- "start": 191,
- "end": 205,
+ "value": "height",
+ "start": 1261,
+ "end": 1267,
"loc": {
"start": {
- "line": 4,
- "column": 35
+ "line": 30,
+ "column": 7
},
"end": {
- "line": 4,
- "column": 49
+ "line": 30,
+ "column": 13
}
}
},
{
"type": {
- "label": "import",
- "keyword": "import",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "import",
- "start": 206,
- "end": 212,
+ "value": "=",
+ "start": 1268,
+ "end": 1269,
"loc": {
"start": {
- "line": 5,
- "column": 0
+ "line": 30,
+ "column": 14
},
"end": {
- "line": 5,
- "column": 6
+ "line": 30,
+ "column": 15
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -12362,50 +15200,51 @@
"postfix": false,
"binop": null
},
- "start": 213,
- "end": 214,
+ "value": "GLOBAL",
+ "start": 1270,
+ "end": 1276,
"loc": {
"start": {
- "line": 5,
- "column": 7
+ "line": 30,
+ "column": 16
},
"end": {
- "line": 5,
- "column": 8
+ "line": 30,
+ "column": 22
}
}
},
{
"type": {
- "label": "name",
+ "label": ".",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "GameObject",
- "start": 215,
- "end": 225,
+ "start": 1276,
+ "end": 1277,
"loc": {
"start": {
- "line": 5,
- "column": 9
+ "line": 30,
+ "column": 22
},
"end": {
- "line": 5,
- "column": 19
+ "line": 30,
+ "column": 23
}
}
},
{
"type": {
- "label": "}",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -12413,48 +15252,50 @@
"postfix": false,
"binop": null
},
- "start": 226,
- "end": 227,
+ "value": "PLAYER_RADIUS",
+ "start": 1277,
+ "end": 1290,
"loc": {
"start": {
- "line": 5,
- "column": 20
+ "line": 30,
+ "column": 23
},
"end": {
- "line": 5,
- "column": 21
+ "line": 30,
+ "column": 36
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": "*",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": 10,
+ "updateContext": null
},
- "value": "from",
- "start": 228,
- "end": 232,
+ "value": "*",
+ "start": 1291,
+ "end": 1292,
"loc": {
"start": {
- "line": 5,
- "column": 22
+ "line": 30,
+ "column": 37
},
"end": {
- "line": 5,
- "column": 26
+ "line": 30,
+ "column": 38
}
}
},
{
"type": {
- "label": "string",
+ "label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -12465,24 +15306,24 @@
"binop": null,
"updateContext": null
},
- "value": "./gameobject.js",
- "start": 233,
- "end": 250,
+ "value": 2,
+ "start": 1293,
+ "end": 1294,
"loc": {
"start": {
- "line": 5,
- "column": 27
+ "line": 30,
+ "column": 39
},
"end": {
- "line": 5,
- "column": 44
+ "line": 30,
+ "column": 40
}
}
},
{
"type": {
- "label": "export",
- "keyword": "export",
+ "label": "if",
+ "keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -12493,45 +15334,42 @@
"binop": null,
"updateContext": null
},
- "value": "export",
- "start": 252,
- "end": 258,
+ "value": "if",
+ "start": 1298,
+ "end": 1300,
"loc": {
"start": {
- "line": 7,
- "column": 0
+ "line": 32,
+ "column": 2
},
"end": {
- "line": 7,
- "column": 6
+ "line": 32,
+ "column": 4
}
}
},
{
"type": {
- "label": "class",
- "keyword": "class",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "class",
- "start": 259,
- "end": 264,
+ "start": 1301,
+ "end": 1302,
"loc": {
"start": {
- "line": 7,
- "column": 7
+ "line": 32,
+ "column": 5
},
"end": {
- "line": 7,
- "column": 12
+ "line": 32,
+ "column": 6
}
}
},
@@ -12547,24 +15385,23 @@
"postfix": false,
"binop": null
},
- "value": "Player",
- "start": 265,
- "end": 271,
+ "value": "id",
+ "start": 1302,
+ "end": 1304,
"loc": {
"start": {
- "line": 7,
- "column": 13
+ "line": 32,
+ "column": 6
},
"end": {
- "line": 7,
- "column": 19
+ "line": 32,
+ "column": 8
}
}
},
{
"type": {
- "label": "extends",
- "keyword": "extends",
+ "label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -12572,20 +15409,20 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
+ "binop": 6,
"updateContext": null
},
- "value": "extends",
- "start": 272,
- "end": 279,
+ "value": "===",
+ "start": 1305,
+ "end": 1308,
"loc": {
"start": {
- "line": 7,
- "column": 20
+ "line": 32,
+ "column": 9
},
"end": {
- "line": 7,
- "column": 27
+ "line": 32,
+ "column": 12
}
}
},
@@ -12601,66 +15438,77 @@
"postfix": false,
"binop": null
},
- "value": "GameObject",
- "start": 280,
- "end": 290,
+ "value": "socket",
+ "start": 1309,
+ "end": 1315,
"loc": {
"start": {
- "line": 7,
- "column": 28
+ "line": 32,
+ "column": 13
},
"end": {
- "line": 7,
- "column": 38
+ "line": 32,
+ "column": 19
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 291,
- "end": 292,
+ "start": 1315,
+ "end": 1316,
"loc": {
"start": {
- "line": 7,
- "column": 39
+ "line": 32,
+ "column": 19
},
"end": {
- "line": 7,
- "column": 40
+ "line": 32,
+ "column": 20
}
}
},
{
- "type": "CommentBlock",
- "value": "*\n * Constructor for creating a new Player in the server side.\n * Player is a Sprite instance that can be added to the stage.\n * Each Player should only be created once, and updated subsequently with\n * setData().\n * @param {PIXI.Texture} texture The texture associated with this sprite\n * @param {string} id Socket ID of the player\n * @param {string} name Name of the player\n * @param {string} room Room that the player belongs to\n * @param {string} team Team that the player belongs to\n * @param {number} health Health of the player\n * @param {number} x Global x-coordinate\n * @param {number} y Global y-coordinate\n * @param {number} vx Horizontal velocity\n * @param {number} vy Vertical velocity\n ",
- "start": 294,
- "end": 1058,
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "id",
+ "start": 1316,
+ "end": 1318,
"loc": {
"start": {
- "line": 8,
- "column": 1
+ "line": 32,
+ "column": 20
},
"end": {
- "line": 23,
- "column": 7
+ "line": 32,
+ "column": 22
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -12668,23 +15516,22 @@
"postfix": false,
"binop": null
},
- "value": "constructor",
- "start": 1060,
- "end": 1071,
+ "start": 1318,
+ "end": 1319,
"loc": {
"start": {
- "line": 24,
- "column": 1
+ "line": 32,
+ "column": 22
},
"end": {
- "line": 24,
- "column": 12
+ "line": 32,
+ "column": 23
}
}
},
{
"type": {
- "label": "(",
+ "label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
@@ -12694,22 +15541,39 @@
"postfix": false,
"binop": null
},
- "start": 1072,
- "end": 1073,
+ "start": 1320,
+ "end": 1321,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 24
+ },
+ "end": {
+ "line": 32,
+ "column": 25
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " console.log('this player');",
+ "start": 1325,
+ "end": 1355,
"loc": {
"start": {
- "line": 24,
- "column": 13
+ "line": 33,
+ "column": 3
},
"end": {
- "line": 24,
- "column": 14
+ "line": 33,
+ "column": 33
}
}
},
{
"type": {
- "label": "name",
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -12717,26 +15581,27 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "texture",
- "start": 1073,
- "end": 1080,
+ "value": "this",
+ "start": 1359,
+ "end": 1363,
"loc": {
"start": {
- "line": 24,
- "column": 14
+ "line": 34,
+ "column": 3
},
"end": {
- "line": 24,
- "column": 21
+ "line": 34,
+ "column": 7
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -12746,16 +15611,16 @@
"binop": null,
"updateContext": null
},
- "start": 1080,
- "end": 1081,
+ "start": 1363,
+ "end": 1364,
"loc": {
"start": {
- "line": 24,
- "column": 21
+ "line": 34,
+ "column": 7
},
"end": {
- "line": 24,
- "column": 22
+ "line": 34,
+ "column": 8
}
}
},
@@ -12771,43 +15636,44 @@
"postfix": false,
"binop": null
},
- "value": "id",
- "start": 1082,
- "end": 1084,
+ "value": "x",
+ "start": 1364,
+ "end": 1365,
"loc": {
"start": {
- "line": 24,
- "column": 23
+ "line": 34,
+ "column": 8
},
"end": {
- "line": 24,
- "column": 25
+ "line": 34,
+ "column": 9
}
}
},
{
"type": {
- "label": ",",
+ "label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "start": 1084,
- "end": 1085,
+ "value": "=",
+ "start": 1366,
+ "end": 1367,
"loc": {
"start": {
- "line": 24,
- "column": 25
+ "line": 34,
+ "column": 10
},
"end": {
- "line": 24,
- "column": 26
+ "line": 34,
+ "column": 11
}
}
},
@@ -12823,24 +15689,52 @@
"postfix": false,
"binop": null
},
- "value": "name",
- "start": 1086,
- "end": 1090,
+ "value": "screenCenterX",
+ "start": 1368,
+ "end": 1381,
"loc": {
"start": {
- "line": 24,
- "column": 27
+ "line": 34,
+ "column": 12
},
"end": {
- "line": 24,
- "column": 31
+ "line": 34,
+ "column": 25
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
+ "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": 1385,
+ "end": 1389,
+ "loc": {
+ "start": {
+ "line": 35,
+ "column": 3
+ },
+ "end": {
+ "line": 35,
+ "column": 7
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -12850,16 +15744,16 @@
"binop": null,
"updateContext": null
},
- "start": 1090,
- "end": 1091,
+ "start": 1389,
+ "end": 1390,
"loc": {
"start": {
- "line": 24,
- "column": 31
+ "line": 35,
+ "column": 7
},
"end": {
- "line": 24,
- "column": 32
+ "line": 35,
+ "column": 8
}
}
},
@@ -12875,43 +15769,44 @@
"postfix": false,
"binop": null
},
- "value": "room",
- "start": 1092,
- "end": 1096,
+ "value": "y",
+ "start": 1390,
+ "end": 1391,
"loc": {
"start": {
- "line": 24,
- "column": 33
+ "line": 35,
+ "column": 8
},
"end": {
- "line": 24,
- "column": 37
+ "line": 35,
+ "column": 9
}
}
},
{
"type": {
- "label": ",",
+ "label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "start": 1096,
- "end": 1097,
+ "value": "=",
+ "start": 1392,
+ "end": 1393,
"loc": {
"start": {
- "line": 24,
- "column": 37
+ "line": 35,
+ "column": 10
},
"end": {
- "line": 24,
- "column": 38
+ "line": 35,
+ "column": 11
}
}
},
@@ -12927,101 +15822,118 @@
"postfix": false,
"binop": null
},
- "value": "team",
- "start": 1098,
- "end": 1102,
+ "value": "screenCenterY",
+ "start": 1394,
+ "end": 1407,
"loc": {
"start": {
- "line": 24,
- "column": 39
+ "line": 35,
+ "column": 12
},
"end": {
- "line": 24,
- "column": 43
+ "line": 35,
+ "column": 25
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
+ "label": "}",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1102,
- "end": 1103,
+ "start": 1410,
+ "end": 1411,
"loc": {
"start": {
- "line": 24,
- "column": 43
+ "line": 36,
+ "column": 2
},
"end": {
- "line": 24,
- "column": 44
+ "line": 36,
+ "column": 3
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": "else",
+ "keyword": "else",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "health",
- "start": 1104,
- "end": 1110,
+ "value": "else",
+ "start": 1414,
+ "end": 1418,
"loc": {
"start": {
- "line": 24,
- "column": 45
+ "line": 37,
+ "column": 2
},
"end": {
- "line": 24,
- "column": 51
+ "line": 37,
+ "column": 6
}
}
},
{
"type": {
- "label": ",",
+ "label": "{",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1110,
- "end": 1111,
+ "start": 1419,
+ "end": 1420,
"loc": {
"start": {
- "line": 24,
- "column": 51
+ "line": 37,
+ "column": 7
+ },
+ "end": {
+ "line": 37,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " take this player off screen until it can be processed",
+ "start": 1421,
+ "end": 1477,
+ "loc": {
+ "start": {
+ "line": 37,
+ "column": 9
},
"end": {
- "line": 24,
- "column": 52
+ "line": 37,
+ "column": 65
}
}
},
{
"type": {
- "label": "name",
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -13029,26 +15941,27 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "x",
- "start": 1112,
- "end": 1113,
+ "value": "this",
+ "start": 1481,
+ "end": 1485,
"loc": {
"start": {
- "line": 24,
- "column": 53
+ "line": 38,
+ "column": 3
},
"end": {
- "line": 24,
- "column": 54
+ "line": 38,
+ "column": 7
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -13058,16 +15971,16 @@
"binop": null,
"updateContext": null
},
- "start": 1113,
- "end": 1114,
+ "start": 1485,
+ "end": 1486,
"loc": {
"start": {
- "line": 24,
- "column": 54
+ "line": 38,
+ "column": 7
},
"end": {
- "line": 24,
- "column": 55
+ "line": 38,
+ "column": 8
}
}
},
@@ -13083,51 +15996,50 @@
"postfix": false,
"binop": null
},
- "value": "y",
- "start": 1115,
- "end": 1116,
+ "value": "hide",
+ "start": 1486,
+ "end": 1490,
"loc": {
"start": {
- "line": 24,
- "column": 56
+ "line": 38,
+ "column": 8
},
"end": {
- "line": 24,
- "column": 57
+ "line": 38,
+ "column": 12
}
}
},
{
"type": {
- "label": ",",
+ "label": "(",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1116,
- "end": 1117,
+ "start": 1490,
+ "end": 1491,
"loc": {
"start": {
- "line": 24,
- "column": 57
+ "line": 38,
+ "column": 12
},
"end": {
- "line": 24,
- "column": 58
+ "line": 38,
+ "column": 13
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -13135,49 +16047,64 @@
"postfix": false,
"binop": null
},
- "value": "vx",
- "start": 1118,
- "end": 1120,
+ "start": 1491,
+ "end": 1492,
"loc": {
"start": {
- "line": 24,
- "column": 59
+ "line": 38,
+ "column": 13
},
"end": {
- "line": 24,
- "column": 61
+ "line": 38,
+ "column": 14
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
+ "label": "}",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1120,
- "end": 1121,
+ "start": 1495,
+ "end": 1496,
"loc": {
"start": {
- "line": 24,
- "column": 61
+ "line": 39,
+ "column": 2
},
"end": {
- "line": 24,
- "column": 62
+ "line": 39,
+ "column": 3
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Custom fields",
+ "start": 1500,
+ "end": 1516,
+ "loc": {
+ "start": {
+ "line": 41,
+ "column": 2
+ },
+ "end": {
+ "line": 41,
+ "column": 18
}
}
},
{
"type": {
- "label": "name",
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -13185,26 +16112,27 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "vy",
- "start": 1122,
- "end": 1124,
+ "value": "this",
+ "start": 1519,
+ "end": 1523,
"loc": {
"start": {
- "line": 24,
- "column": 63
+ "line": 42,
+ "column": 2
},
"end": {
- "line": 24,
- "column": 65
+ "line": 42,
+ "column": 6
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -13214,16 +16142,16 @@
"binop": null,
"updateContext": null
},
- "start": 1124,
- "end": 1125,
+ "start": 1523,
+ "end": 1524,
"loc": {
"start": {
- "line": 24,
- "column": 65
+ "line": 42,
+ "column": 6
},
"end": {
- "line": 24,
- "column": 66
+ "line": 42,
+ "column": 7
}
}
},
@@ -13239,49 +16167,51 @@
"postfix": false,
"binop": null
},
- "value": "experience",
- "start": 1126,
- "end": 1136,
+ "value": "name",
+ "start": 1524,
+ "end": 1528,
"loc": {
"start": {
- "line": 24,
- "column": 67
+ "line": 42,
+ "column": 7
},
"end": {
- "line": 24,
- "column": 77
+ "line": 42,
+ "column": 11
}
}
},
{
"type": {
- "label": ")",
- "beforeExpr": false,
+ "label": "=",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1136,
- "end": 1137,
+ "value": "=",
+ "start": 1529,
+ "end": 1530,
"loc": {
"start": {
- "line": 24,
- "column": 77
+ "line": 42,
+ "column": 12
},
"end": {
- "line": 24,
- "column": 78
+ "line": 42,
+ "column": 13
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -13290,41 +16220,53 @@
"postfix": false,
"binop": null
},
- "start": 1138,
- "end": 1139,
+ "value": "name",
+ "start": 1531,
+ "end": 1535,
"loc": {
"start": {
- "line": 24,
- "column": 79
+ "line": 42,
+ "column": 14
},
"end": {
- "line": 24,
- "column": 80
+ "line": 42,
+ "column": 18
}
}
},
{
- "type": "CommentLine",
- "value": " Call GameObject",
- "start": 1142,
- "end": 1160,
+ "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": 1538,
+ "end": 1542,
"loc": {
"start": {
- "line": 25,
+ "line": 43,
"column": 2
},
"end": {
- "line": 25,
- "column": 20
+ "line": 43,
+ "column": 6
}
}
},
{
"type": {
- "label": "super",
- "keyword": "super",
+ "label": ".",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -13333,24 +16275,23 @@
"binop": null,
"updateContext": null
},
- "value": "super",
- "start": 1163,
- "end": 1168,
+ "start": 1542,
+ "end": 1543,
"loc": {
- "start": {
- "line": 26,
- "column": 2
+ "start": {
+ "line": 43,
+ "column": 6
},
"end": {
- "line": 26,
+ "line": 43,
"column": 7
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -13359,74 +16300,77 @@
"postfix": false,
"binop": null
},
- "start": 1168,
- "end": 1169,
+ "value": "room",
+ "start": 1543,
+ "end": 1547,
"loc": {
"start": {
- "line": 26,
+ "line": 43,
"column": 7
},
"end": {
- "line": 26,
- "column": 8
+ "line": 43,
+ "column": 11
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "texture",
- "start": 1169,
- "end": 1176,
+ "value": "=",
+ "start": 1548,
+ "end": 1549,
"loc": {
"start": {
- "line": 26,
- "column": 8
+ "line": 43,
+ "column": 12
},
"end": {
- "line": 26,
- "column": 15
+ "line": 43,
+ "column": 13
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1176,
- "end": 1177,
+ "value": "room",
+ "start": 1550,
+ "end": 1554,
"loc": {
"start": {
- "line": 26,
- "column": 15
+ "line": 43,
+ "column": 14
},
"end": {
- "line": 26,
- "column": 16
+ "line": 43,
+ "column": 18
}
}
},
{
"type": {
- "label": "name",
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -13434,26 +16378,27 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "id",
- "start": 1178,
- "end": 1180,
+ "value": "this",
+ "start": 1557,
+ "end": 1561,
"loc": {
"start": {
- "line": 26,
- "column": 17
+ "line": 44,
+ "column": 2
},
"end": {
- "line": 26,
- "column": 19
+ "line": 44,
+ "column": 6
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -13463,16 +16408,16 @@
"binop": null,
"updateContext": null
},
- "start": 1180,
- "end": 1181,
+ "start": 1561,
+ "end": 1562,
"loc": {
"start": {
- "line": 26,
- "column": 19
+ "line": 44,
+ "column": 6
},
"end": {
- "line": 26,
- "column": 20
+ "line": 44,
+ "column": 7
}
}
},
@@ -13488,43 +16433,44 @@
"postfix": false,
"binop": null
},
- "value": "x",
- "start": 1182,
- "end": 1183,
+ "value": "team",
+ "start": 1562,
+ "end": 1566,
"loc": {
"start": {
- "line": 26,
- "column": 21
+ "line": 44,
+ "column": 7
},
"end": {
- "line": 26,
- "column": 22
+ "line": 44,
+ "column": 11
}
}
},
{
"type": {
- "label": ",",
+ "label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "start": 1183,
- "end": 1184,
+ "value": "=",
+ "start": 1567,
+ "end": 1568,
"loc": {
"start": {
- "line": 26,
- "column": 22
+ "line": 44,
+ "column": 12
},
"end": {
- "line": 26,
- "column": 23
+ "line": 44,
+ "column": 13
}
}
},
@@ -13540,25 +16486,26 @@
"postfix": false,
"binop": null
},
- "value": "y",
- "start": 1185,
- "end": 1186,
+ "value": "team",
+ "start": 1569,
+ "end": 1573,
"loc": {
"start": {
- "line": 26,
- "column": 24
+ "line": 44,
+ "column": 14
},
"end": {
- "line": 26,
- "column": 25
+ "line": 44,
+ "column": 18
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "this",
+ "keyword": "this",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -13567,102 +16514,104 @@
"binop": null,
"updateContext": null
},
- "start": 1186,
- "end": 1187,
+ "value": "this",
+ "start": 1576,
+ "end": 1580,
"loc": {
"start": {
- "line": 26,
- "column": 25
+ "line": 45,
+ "column": 2
},
"end": {
- "line": 26,
- "column": 26
+ "line": 45,
+ "column": 6
}
}
},
{
"type": {
- "label": "name",
+ "label": ".",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "vx",
- "start": 1188,
- "end": 1190,
+ "start": 1580,
+ "end": 1581,
"loc": {
"start": {
- "line": 26,
- "column": 27
+ "line": 45,
+ "column": 6
},
"end": {
- "line": 26,
- "column": 29
+ "line": 45,
+ "column": 7
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1190,
- "end": 1191,
+ "value": "health",
+ "start": 1581,
+ "end": 1587,
"loc": {
"start": {
- "line": 26,
- "column": 29
+ "line": 45,
+ "column": 7
},
"end": {
- "line": 26,
- "column": 30
+ "line": 45,
+ "column": 13
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "vy",
- "start": 1192,
- "end": 1194,
+ "value": "=",
+ "start": 1588,
+ "end": 1589,
"loc": {
"start": {
- "line": 26,
- "column": 31
+ "line": 45,
+ "column": 14
},
"end": {
- "line": 26,
- "column": 33
+ "line": 45,
+ "column": 15
}
}
},
{
"type": {
- "label": ")",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -13670,32 +16619,33 @@
"postfix": false,
"binop": null
},
- "start": 1194,
- "end": 1195,
+ "value": "health",
+ "start": 1590,
+ "end": 1596,
"loc": {
"start": {
- "line": 26,
- "column": 33
+ "line": 45,
+ "column": 16
},
"end": {
- "line": 26,
- "column": 34
+ "line": 45,
+ "column": 22
}
}
},
{
"type": "CommentLine",
- "value": " Pixi Values",
- "start": 1199,
- "end": 1213,
+ "value": " Set the health of the player",
+ "start": 1597,
+ "end": 1628,
"loc": {
"start": {
- "line": 28,
- "column": 2
+ "line": 45,
+ "column": 23
},
"end": {
- "line": 28,
- "column": 16
+ "line": 45,
+ "column": 54
}
}
},
@@ -13714,15 +16664,15 @@
"updateContext": null
},
"value": "this",
- "start": 1216,
- "end": 1220,
+ "start": 1631,
+ "end": 1635,
"loc": {
"start": {
- "line": 29,
+ "line": 46,
"column": 2
},
"end": {
- "line": 29,
+ "line": 46,
"column": 6
}
}
@@ -13740,15 +16690,15 @@
"binop": null,
"updateContext": null
},
- "start": 1220,
- "end": 1221,
+ "start": 1635,
+ "end": 1636,
"loc": {
"start": {
- "line": 29,
+ "line": 46,
"column": 6
},
"end": {
- "line": 29,
+ "line": 46,
"column": 7
}
}
@@ -13765,17 +16715,17 @@
"postfix": false,
"binop": null
},
- "value": "width",
- "start": 1221,
- "end": 1226,
+ "value": "isMoving",
+ "start": 1636,
+ "end": 1644,
"loc": {
"start": {
- "line": 29,
+ "line": 46,
"column": 7
},
"end": {
- "line": 29,
- "column": 12
+ "line": 46,
+ "column": 15
}
}
},
@@ -13793,22 +16743,23 @@
"updateContext": null
},
"value": "=",
- "start": 1227,
- "end": 1228,
+ "start": 1645,
+ "end": 1646,
"loc": {
"start": {
- "line": 29,
- "column": 13
+ "line": 46,
+ "column": 16
},
"end": {
- "line": 29,
- "column": 14
+ "line": 46,
+ "column": 17
}
}
},
{
"type": {
- "label": "name",
+ "label": "false",
+ "keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -13816,19 +16767,48 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "GLOBAL",
- "start": 1229,
- "end": 1235,
+ "value": "false",
+ "start": 1647,
+ "end": 1652,
"loc": {
"start": {
- "line": 29,
- "column": 15
+ "line": 46,
+ "column": 18
},
"end": {
- "line": 29,
- "column": 21
+ "line": 46,
+ "column": 23
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "this",
+ "keyword": "this",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "this",
+ "start": 1655,
+ "end": 1659,
+ "loc": {
+ "start": {
+ "line": 47,
+ "column": 2
+ },
+ "end": {
+ "line": 47,
+ "column": 6
}
}
},
@@ -13845,16 +16825,16 @@
"binop": null,
"updateContext": null
},
- "start": 1235,
- "end": 1236,
+ "start": 1659,
+ "end": 1660,
"loc": {
"start": {
- "line": 29,
- "column": 21
+ "line": 47,
+ "column": 6
},
"end": {
- "line": 29,
- "column": 22
+ "line": 47,
+ "column": 7
}
}
},
@@ -13870,50 +16850,50 @@
"postfix": false,
"binop": null
},
- "value": "PLAYER_RADIUS",
- "start": 1236,
- "end": 1249,
+ "value": "experience",
+ "start": 1660,
+ "end": 1670,
"loc": {
"start": {
- "line": 29,
- "column": 22
+ "line": 47,
+ "column": 7
},
"end": {
- "line": 29,
- "column": 35
+ "line": 47,
+ "column": 17
}
}
},
{
"type": {
- "label": "*",
+ "label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
- "binop": 10,
+ "binop": null,
"updateContext": null
},
- "value": "*",
- "start": 1250,
- "end": 1251,
+ "value": "=",
+ "start": 1671,
+ "end": 1672,
"loc": {
"start": {
- "line": 29,
- "column": 36
+ "line": 47,
+ "column": 18
},
"end": {
- "line": 29,
- "column": 37
+ "line": 47,
+ "column": 19
}
}
},
{
"type": {
- "label": "num",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -13921,20 +16901,35 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": 2,
- "start": 1252,
- "end": 1253,
+ "value": "experience",
+ "start": 1673,
+ "end": 1683,
"loc": {
"start": {
- "line": 29,
- "column": 38
+ "line": 47,
+ "column": 20
},
"end": {
- "line": 29,
- "column": 39
+ "line": 47,
+ "column": 30
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Sets the experience of the player(Passed in)",
+ "start": 1684,
+ "end": 1731,
+ "loc": {
+ "start": {
+ "line": 47,
+ "column": 31
+ },
+ "end": {
+ "line": 47,
+ "column": 78
}
}
},
@@ -13953,15 +16948,15 @@
"updateContext": null
},
"value": "this",
- "start": 1256,
- "end": 1260,
+ "start": 1734,
+ "end": 1738,
"loc": {
"start": {
- "line": 30,
+ "line": 48,
"column": 2
},
"end": {
- "line": 30,
+ "line": 48,
"column": 6
}
}
@@ -13979,15 +16974,15 @@
"binop": null,
"updateContext": null
},
- "start": 1260,
- "end": 1261,
+ "start": 1738,
+ "end": 1739,
"loc": {
"start": {
- "line": 30,
+ "line": 48,
"column": 6
},
"end": {
- "line": 30,
+ "line": 48,
"column": 7
}
}
@@ -14004,17 +16999,17 @@
"postfix": false,
"binop": null
},
- "value": "height",
- "start": 1261,
- "end": 1267,
+ "value": "speedMult",
+ "start": 1739,
+ "end": 1748,
"loc": {
"start": {
- "line": 30,
+ "line": 48,
"column": 7
},
"end": {
- "line": 30,
- "column": 13
+ "line": 48,
+ "column": 16
}
}
},
@@ -14032,22 +17027,66 @@
"updateContext": null
},
"value": "=",
- "start": 1268,
- "end": 1269,
+ "start": 1749,
+ "end": 1750,
"loc": {
"start": {
- "line": 30,
- "column": 14
+ "line": 48,
+ "column": 17
+ },
+ "end": {
+ "line": 48,
+ "column": 18
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "num",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": 1,
+ "start": 1751,
+ "end": 1752,
+ "loc": {
+ "start": {
+ "line": 48,
+ "column": 19
+ },
+ "end": {
+ "line": 48,
+ "column": 20
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Speed multiplier. Increased/decreased by different compounds",
+ "start": 1753,
+ "end": 1816,
+ "loc": {
+ "start": {
+ "line": 48,
+ "column": 21
},
"end": {
- "line": 30,
- "column": 15
+ "line": 48,
+ "column": 84
}
}
},
{
"type": {
- "label": "name",
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -14055,19 +17094,20 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "GLOBAL",
- "start": 1270,
- "end": 1276,
+ "value": "this",
+ "start": 1819,
+ "end": 1823,
"loc": {
"start": {
- "line": 30,
- "column": 16
+ "line": 49,
+ "column": 2
},
"end": {
- "line": 30,
- "column": 22
+ "line": 49,
+ "column": 6
}
}
},
@@ -14084,16 +17124,16 @@
"binop": null,
"updateContext": null
},
- "start": 1276,
- "end": 1277,
+ "start": 1823,
+ "end": 1824,
"loc": {
"start": {
- "line": 30,
- "column": 22
+ "line": 49,
+ "column": 6
},
"end": {
- "line": 30,
- "column": 23
+ "line": 49,
+ "column": 7
}
}
},
@@ -14109,44 +17149,44 @@
"postfix": false,
"binop": null
},
- "value": "PLAYER_RADIUS",
- "start": 1277,
- "end": 1290,
+ "value": "shield",
+ "start": 1824,
+ "end": 1830,
"loc": {
"start": {
- "line": 30,
- "column": 23
+ "line": 49,
+ "column": 7
},
"end": {
- "line": 30,
- "column": 36
+ "line": 49,
+ "column": 13
}
}
},
{
"type": {
- "label": "*",
+ "label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
- "binop": 10,
+ "binop": null,
"updateContext": null
},
- "value": "*",
- "start": 1291,
- "end": 1292,
+ "value": "=",
+ "start": 1831,
+ "end": 1832,
"loc": {
"start": {
- "line": 30,
- "column": 37
+ "line": 49,
+ "column": 14
},
"end": {
- "line": 30,
- "column": 38
+ "line": 49,
+ "column": 15
}
}
},
@@ -14163,26 +17203,26 @@
"binop": null,
"updateContext": null
},
- "value": 2,
- "start": 1293,
- "end": 1294,
+ "value": 0,
+ "start": 1833,
+ "end": 1834,
"loc": {
"start": {
- "line": 30,
- "column": 39
+ "line": 49,
+ "column": 16
},
"end": {
- "line": 30,
- "column": 40
+ "line": 49,
+ "column": 17
}
}
},
{
"type": {
- "label": "if",
- "keyword": "if",
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -14191,42 +17231,43 @@
"binop": null,
"updateContext": null
},
- "value": "if",
- "start": 1298,
- "end": 1300,
+ "value": "this",
+ "start": 1837,
+ "end": 1841,
"loc": {
"start": {
- "line": 32,
+ "line": 50,
"column": 2
},
"end": {
- "line": 32,
- "column": 4
+ "line": 50,
+ "column": 6
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1301,
- "end": 1302,
+ "start": 1841,
+ "end": 1842,
"loc": {
"start": {
- "line": 32,
- "column": 5
+ "line": 50,
+ "column": 6
},
"end": {
- "line": 32,
- "column": 6
+ "line": 50,
+ "column": 7
}
}
},
@@ -14242,50 +17283,78 @@
"postfix": false,
"binop": null
},
- "value": "id",
- "start": 1302,
- "end": 1304,
+ "value": "stronghold",
+ "start": 1842,
+ "end": 1852,
"loc": {
"start": {
- "line": 32,
- "column": 6
+ "line": 50,
+ "column": 7
},
"end": {
- "line": 32,
- "column": 8
+ "line": 50,
+ "column": 17
}
}
},
{
"type": {
- "label": "==/!=",
+ "label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 1853,
+ "end": 1854,
+ "loc": {
+ "start": {
+ "line": 50,
+ "column": 18
+ },
+ "end": {
+ "line": 50,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": 6,
+ "binop": null,
"updateContext": null
},
- "value": "===",
- "start": 1305,
- "end": 1308,
+ "value": "none",
+ "start": 1855,
+ "end": 1861,
"loc": {
"start": {
- "line": 32,
- "column": 9
+ "line": 50,
+ "column": 20
},
"end": {
- "line": 32,
- "column": 12
+ "line": 50,
+ "column": 26
}
}
},
{
"type": {
- "label": "name",
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -14293,19 +17362,20 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "socket",
- "start": 1309,
- "end": 1315,
+ "value": "this",
+ "start": 1865,
+ "end": 1869,
"loc": {
"start": {
- "line": 32,
- "column": 13
+ "line": 52,
+ "column": 2
},
"end": {
- "line": 32,
- "column": 19
+ "line": 52,
+ "column": 6
}
}
},
@@ -14322,16 +17392,16 @@
"binop": null,
"updateContext": null
},
- "start": 1315,
- "end": 1316,
+ "start": 1869,
+ "end": 1870,
"loc": {
"start": {
- "line": 32,
- "column": 19
+ "line": 52,
+ "column": 6
},
"end": {
- "line": 32,
- "column": 20
+ "line": 52,
+ "column": 7
}
}
},
@@ -14347,42 +17417,44 @@
"postfix": false,
"binop": null
},
- "value": "id",
- "start": 1316,
- "end": 1318,
+ "value": "damagedBy",
+ "start": 1870,
+ "end": 1879,
"loc": {
"start": {
- "line": 32,
- "column": 20
+ "line": 52,
+ "column": 7
},
"end": {
- "line": 32,
- "column": 22
+ "line": 52,
+ "column": 16
}
}
},
{
"type": {
- "label": ")",
- "beforeExpr": false,
+ "label": "=",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1318,
- "end": 1319,
+ "value": "=",
+ "start": 1880,
+ "end": 1881,
"loc": {
"start": {
- "line": 32,
- "column": 22
+ "line": 52,
+ "column": 17
},
"end": {
- "line": 32,
- "column": 23
+ "line": 52,
+ "column": 18
}
}
},
@@ -14398,32 +17470,57 @@
"postfix": false,
"binop": null
},
- "start": 1320,
- "end": 1321,
+ "start": 1882,
+ "end": 1883,
"loc": {
"start": {
- "line": 32,
- "column": 24
+ "line": 52,
+ "column": 19
+ },
+ "end": {
+ "line": 52,
+ "column": 20
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1883,
+ "end": 1884,
+ "loc": {
+ "start": {
+ "line": 52,
+ "column": 20
},
"end": {
- "line": 32,
- "column": 25
+ "line": 52,
+ "column": 21
}
}
},
{
"type": "CommentLine",
- "value": " console.log('this player');",
- "start": 1325,
- "end": 1355,
+ "value": " Object containing the values of damage that each player has dealt.",
+ "start": 1885,
+ "end": 1954,
"loc": {
"start": {
- "line": 33,
- "column": 3
+ "line": 52,
+ "column": 22
},
"end": {
- "line": 33,
- "column": 33
+ "line": 52,
+ "column": 91
}
}
},
@@ -14442,16 +17539,16 @@
"updateContext": null
},
"value": "this",
- "start": 1359,
- "end": 1363,
+ "start": 1957,
+ "end": 1961,
"loc": {
"start": {
- "line": 34,
- "column": 3
+ "line": 53,
+ "column": 2
},
"end": {
- "line": 34,
- "column": 7
+ "line": 53,
+ "column": 6
}
}
},
@@ -14468,16 +17565,16 @@
"binop": null,
"updateContext": null
},
- "start": 1363,
- "end": 1364,
+ "start": 1961,
+ "end": 1962,
"loc": {
"start": {
- "line": 34,
- "column": 7
+ "line": 53,
+ "column": 6
},
"end": {
- "line": 34,
- "column": 8
+ "line": 53,
+ "column": 7
}
}
},
@@ -14493,17 +17590,17 @@
"postfix": false,
"binop": null
},
- "value": "x",
- "start": 1364,
- "end": 1365,
+ "value": "textObjects",
+ "start": 1962,
+ "end": 1973,
"loc": {
"start": {
- "line": 34,
- "column": 8
+ "line": 53,
+ "column": 7
},
"end": {
- "line": 34,
- "column": 9
+ "line": 53,
+ "column": 18
}
}
},
@@ -14521,23 +17618,23 @@
"updateContext": null
},
"value": "=",
- "start": 1366,
- "end": 1367,
+ "start": 1974,
+ "end": 1975,
"loc": {
"start": {
- "line": 34,
- "column": 10
+ "line": 53,
+ "column": 19
},
"end": {
- "line": 34,
- "column": 11
+ "line": 53,
+ "column": 20
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "{",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -14546,77 +17643,64 @@
"postfix": false,
"binop": null
},
- "value": "screenCenterX",
- "start": 1368,
- "end": 1381,
+ "start": 1976,
+ "end": 1977,
"loc": {
"start": {
- "line": 34,
- "column": 12
+ "line": 53,
+ "column": 21
},
"end": {
- "line": 34,
- "column": 25
+ "line": 53,
+ "column": 22
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
+ "label": "}",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "this",
- "start": 1385,
- "end": 1389,
+ "start": 1977,
+ "end": 1978,
"loc": {
"start": {
- "line": 35,
- "column": 3
+ "line": 53,
+ "column": 22
},
"end": {
- "line": 35,
- "column": 7
+ "line": 53,
+ "column": 23
}
}
},
{
- "type": {
- "label": ".",
- "beforeExpr": false,
- "startsExpr": false,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null,
- "updateContext": null
- },
- "start": 1389,
- "end": 1390,
+ "type": "CommentLine",
+ "value": " Contains Text to be drawn under the player (name, id, etc)",
+ "start": 1979,
+ "end": 2040,
"loc": {
"start": {
- "line": 35,
- "column": 7
+ "line": 53,
+ "column": 24
},
"end": {
- "line": 35,
- "column": 8
+ "line": 53,
+ "column": 85
}
}
},
{
"type": {
- "label": "name",
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -14624,46 +17708,46 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "y",
- "start": 1390,
- "end": 1391,
+ "value": "this",
+ "start": 2043,
+ "end": 2047,
"loc": {
"start": {
- "line": 35,
- "column": 8
+ "line": 54,
+ "column": 2
},
"end": {
- "line": 35,
- "column": 9
+ "line": 54,
+ "column": 6
}
}
},
{
"type": {
- "label": "=",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 1392,
- "end": 1393,
+ "start": 2047,
+ "end": 2048,
"loc": {
"start": {
- "line": 35,
- "column": 10
+ "line": 54,
+ "column": 6
},
"end": {
- "line": 35,
- "column": 11
+ "line": 54,
+ "column": 7
}
}
},
@@ -14679,76 +17763,51 @@
"postfix": false,
"binop": null
},
- "value": "screenCenterY",
- "start": 1394,
- "end": 1407,
- "loc": {
- "start": {
- "line": 35,
- "column": 12
- },
- "end": {
- "line": 35,
- "column": 25
- }
- }
- },
- {
- "type": {
- "label": "}",
- "beforeExpr": false,
- "startsExpr": false,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null
- },
- "start": 1410,
- "end": 1411,
+ "value": "playerSprite",
+ "start": 2048,
+ "end": 2060,
"loc": {
"start": {
- "line": 36,
- "column": 2
+ "line": 54,
+ "column": 7
},
"end": {
- "line": 36,
- "column": 3
+ "line": 54,
+ "column": 19
}
}
},
{
"type": {
- "label": "else",
- "keyword": "else",
+ "label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "else",
- "start": 1414,
- "end": 1418,
+ "value": "=",
+ "start": 2061,
+ "end": 2062,
"loc": {
"start": {
- "line": 37,
- "column": 2
+ "line": 54,
+ "column": 20
},
"end": {
- "line": 37,
- "column": 6
+ "line": 54,
+ "column": 21
}
}
},
{
"type": {
- "label": "{",
+ "label": "new",
+ "keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
@@ -14756,41 +17815,26 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1419,
- "end": 1420,
- "loc": {
- "start": {
- "line": 37,
- "column": 7
- },
- "end": {
- "line": 37,
- "column": 8
- }
- }
- },
- {
- "type": "CommentLine",
- "value": " take this player off screen until it can be processed",
- "start": 1421,
- "end": 1477,
+ "value": "new",
+ "start": 2063,
+ "end": 2066,
"loc": {
"start": {
- "line": 37,
- "column": 9
+ "line": 54,
+ "column": 22
},
"end": {
- "line": 37,
- "column": 65
+ "line": 54,
+ "column": 25
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -14798,20 +17842,19 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "this",
- "start": 1481,
- "end": 1485,
+ "value": "PIXI",
+ "start": 2067,
+ "end": 2071,
"loc": {
- "start": {
- "line": 38,
- "column": 3
+ "start": {
+ "line": 54,
+ "column": 26
},
"end": {
- "line": 38,
- "column": 7
+ "line": 54,
+ "column": 30
}
}
},
@@ -14828,16 +17871,16 @@
"binop": null,
"updateContext": null
},
- "start": 1485,
- "end": 1486,
+ "start": 2071,
+ "end": 2072,
"loc": {
"start": {
- "line": 38,
- "column": 7
+ "line": 54,
+ "column": 30
},
"end": {
- "line": 38,
- "column": 8
+ "line": 54,
+ "column": 31
}
}
},
@@ -14853,17 +17896,17 @@
"postfix": false,
"binop": null
},
- "value": "hide",
- "start": 1486,
- "end": 1490,
+ "value": "Sprite",
+ "start": 2072,
+ "end": 2078,
"loc": {
"start": {
- "line": 38,
- "column": 8
+ "line": 54,
+ "column": 31
},
"end": {
- "line": 38,
- "column": 12
+ "line": 54,
+ "column": 37
}
}
},
@@ -14879,24 +17922,24 @@
"postfix": false,
"binop": null
},
- "start": 1490,
- "end": 1491,
+ "start": 2078,
+ "end": 2079,
"loc": {
"start": {
- "line": 38,
- "column": 12
+ "line": 54,
+ "column": 37
},
"end": {
- "line": 38,
- "column": 13
+ "line": 54,
+ "column": 38
}
}
},
{
"type": {
- "label": ")",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -14904,22 +17947,23 @@
"postfix": false,
"binop": null
},
- "start": 1491,
- "end": 1492,
+ "value": "texture",
+ "start": 2079,
+ "end": 2086,
"loc": {
"start": {
- "line": 38,
- "column": 13
+ "line": 54,
+ "column": 38
},
"end": {
- "line": 38,
- "column": 14
+ "line": 54,
+ "column": 45
}
}
},
{
"type": {
- "label": "}",
+ "label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -14929,32 +17973,16 @@
"postfix": false,
"binop": null
},
- "start": 1495,
- "end": 1496,
- "loc": {
- "start": {
- "line": 39,
- "column": 2
- },
- "end": {
- "line": 39,
- "column": 3
- }
- }
- },
- {
- "type": "CommentLine",
- "value": " Custom fields",
- "start": 1500,
- "end": 1516,
+ "start": 2086,
+ "end": 2087,
"loc": {
"start": {
- "line": 41,
- "column": 2
+ "line": 54,
+ "column": 45
},
"end": {
- "line": 41,
- "column": 18
+ "line": 54,
+ "column": 46
}
}
},
@@ -14973,15 +18001,15 @@
"updateContext": null
},
"value": "this",
- "start": 1519,
- "end": 1523,
+ "start": 2091,
+ "end": 2095,
"loc": {
"start": {
- "line": 42,
+ "line": 56,
"column": 2
},
"end": {
- "line": 42,
+ "line": 56,
"column": 6
}
}
@@ -14999,15 +18027,15 @@
"binop": null,
"updateContext": null
},
- "start": 1523,
- "end": 1524,
+ "start": 2095,
+ "end": 2096,
"loc": {
"start": {
- "line": 42,
+ "line": 56,
"column": 6
},
"end": {
- "line": 42,
+ "line": 56,
"column": 7
}
}
@@ -15024,52 +18052,50 @@
"postfix": false,
"binop": null
},
- "value": "name",
- "start": 1524,
- "end": 1528,
+ "value": "setup",
+ "start": 2096,
+ "end": 2101,
"loc": {
"start": {
- "line": 42,
+ "line": 56,
"column": 7
},
"end": {
- "line": 42,
- "column": 11
+ "line": 56,
+ "column": 12
}
}
},
{
"type": {
- "label": "=",
+ "label": "(",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "=",
- "start": 1529,
- "end": 1530,
+ "start": 2101,
+ "end": 2102,
"loc": {
"start": {
- "line": 42,
+ "line": 56,
"column": 12
},
"end": {
- "line": 42,
+ "line": 56,
"column": 13
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -15077,70 +18103,56 @@
"postfix": false,
"binop": null
},
- "value": "name",
- "start": 1531,
- "end": 1535,
+ "start": 2102,
+ "end": 2103,
"loc": {
"start": {
- "line": 42,
- "column": 14
+ "line": 56,
+ "column": 13
},
"end": {
- "line": 42,
- "column": 18
+ "line": 56,
+ "column": 14
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
+ "label": "}",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "this",
- "start": 1538,
- "end": 1542,
+ "start": 2105,
+ "end": 2106,
"loc": {
"start": {
- "line": 43,
- "column": 2
+ "line": 57,
+ "column": 1
},
"end": {
- "line": 43,
- "column": 6
+ "line": 57,
+ "column": 2
}
}
},
{
- "type": {
- "label": ".",
- "beforeExpr": false,
- "startsExpr": false,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null,
- "updateContext": null
- },
- "start": 1542,
- "end": 1543,
+ "type": "CommentBlock",
+ "value": "*\n * First-time setup for this player. All of the functions in this method will only be called once.\n ",
+ "start": 2109,
+ "end": 2223,
"loc": {
"start": {
- "line": 43,
- "column": 6
+ "line": 59,
+ "column": 1
},
"end": {
- "line": 43,
+ "line": 61,
"column": 7
}
}
@@ -15157,51 +18169,24 @@
"postfix": false,
"binop": null
},
- "value": "room",
- "start": 1543,
- "end": 1547,
+ "value": "setup",
+ "start": 2225,
+ "end": 2230,
"loc": {
"start": {
- "line": 43,
- "column": 7
+ "line": 62,
+ "column": 1
},
"end": {
- "line": 43,
- "column": 11
+ "line": 62,
+ "column": 6
}
}
},
{
"type": {
- "label": "=",
+ "label": "(",
"beforeExpr": true,
- "startsExpr": false,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": true,
- "prefix": false,
- "postfix": false,
- "binop": null,
- "updateContext": null
- },
- "value": "=",
- "start": 1548,
- "end": 1549,
- "loc": {
- "start": {
- "line": 43,
- "column": 12
- },
- "end": {
- "line": 43,
- "column": 13
- }
- }
- },
- {
- "type": {
- "label": "name",
- "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -15210,51 +18195,22 @@
"postfix": false,
"binop": null
},
- "value": "room",
- "start": 1550,
- "end": 1554,
- "loc": {
- "start": {
- "line": 43,
- "column": 14
- },
- "end": {
- "line": 43,
- "column": 18
- }
- }
- },
- {
- "type": {
- "label": "this",
- "keyword": "this",
- "beforeExpr": false,
- "startsExpr": true,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null,
- "updateContext": null
- },
- "value": "this",
- "start": 1557,
- "end": 1561,
+ "start": 2231,
+ "end": 2232,
"loc": {
"start": {
- "line": 44,
- "column": 2
+ "line": 62,
+ "column": 7
},
"end": {
- "line": 44,
- "column": 6
+ "line": 62,
+ "column": 8
}
}
},
{
"type": {
- "label": ".",
+ "label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -15262,26 +18218,25 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1561,
- "end": 1562,
+ "start": 2232,
+ "end": 2233,
"loc": {
"start": {
- "line": 44,
- "column": 6
+ "line": 62,
+ "column": 8
},
"end": {
- "line": 44,
- "column": 7
+ "line": 62,
+ "column": 9
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "{",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -15290,77 +18245,92 @@
"postfix": false,
"binop": null
},
- "value": "team",
- "start": 1562,
- "end": 1566,
+ "start": 2234,
+ "end": 2235,
"loc": {
"start": {
- "line": 44,
- "column": 7
+ "line": 62,
+ "column": 10
},
"end": {
- "line": 44,
+ "line": 62,
"column": 11
}
}
},
+ {
+ "type": "CommentLine",
+ "value": " Create text objects",
+ "start": 2238,
+ "end": 2260,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 2
+ },
+ "end": {
+ "line": 63,
+ "column": 24
+ }
+ }
+ },
{
"type": {
- "label": "=",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "this",
+ "keyword": "this",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 1567,
- "end": 1568,
+ "value": "this",
+ "start": 2263,
+ "end": 2267,
"loc": {
"start": {
- "line": 44,
- "column": 12
+ "line": 64,
+ "column": 2
},
"end": {
- "line": 44,
- "column": 13
+ "line": 64,
+ "column": 6
}
}
},
{
"type": {
- "label": "name",
+ "label": ".",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "team",
- "start": 1569,
- "end": 1573,
+ "start": 2267,
+ "end": 2268,
"loc": {
"start": {
- "line": 44,
- "column": 14
+ "line": 64,
+ "column": 6
},
"end": {
- "line": 44,
- "column": 18
+ "line": 64,
+ "column": 7
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -15368,20 +18338,19 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "this",
- "start": 1576,
- "end": 1580,
+ "value": "textObjects",
+ "start": 2268,
+ "end": 2279,
"loc": {
"start": {
- "line": 45,
- "column": 2
+ "line": 64,
+ "column": 7
},
"end": {
- "line": 45,
- "column": 6
+ "line": 64,
+ "column": 18
}
}
},
@@ -15398,16 +18367,16 @@
"binop": null,
"updateContext": null
},
- "start": 1580,
- "end": 1581,
+ "start": 2279,
+ "end": 2280,
"loc": {
"start": {
- "line": 45,
- "column": 6
+ "line": 64,
+ "column": 18
},
"end": {
- "line": 45,
- "column": 7
+ "line": 64,
+ "column": 19
}
}
},
@@ -15423,17 +18392,17 @@
"postfix": false,
"binop": null
},
- "value": "health",
- "start": 1581,
- "end": 1587,
+ "value": "nametext",
+ "start": 2280,
+ "end": 2288,
"loc": {
"start": {
- "line": 45,
- "column": 7
+ "line": 64,
+ "column": 19
},
"end": {
- "line": 45,
- "column": 13
+ "line": 64,
+ "column": 27
}
}
},
@@ -15451,67 +18420,78 @@
"updateContext": null
},
"value": "=",
- "start": 1588,
- "end": 1589,
+ "start": 2289,
+ "end": 2290,
"loc": {
"start": {
- "line": 45,
- "column": 14
+ "line": 64,
+ "column": 28
},
"end": {
- "line": 45,
- "column": 15
+ "line": 64,
+ "column": 29
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "new",
+ "keyword": "new",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "health",
- "start": 1590,
- "end": 1596,
+ "value": "new",
+ "start": 2291,
+ "end": 2294,
"loc": {
"start": {
- "line": 45,
- "column": 16
+ "line": 64,
+ "column": 30
},
"end": {
- "line": 45,
- "column": 22
+ "line": 64,
+ "column": 33
}
}
},
{
- "type": "CommentLine",
- "value": " Set the health of the player",
- "start": 1597,
- "end": 1628,
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "PIXI",
+ "start": 2295,
+ "end": 2299,
"loc": {
"start": {
- "line": 45,
- "column": 23
+ "line": 64,
+ "column": 34
},
"end": {
- "line": 45,
- "column": 54
+ "line": 64,
+ "column": 38
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
+ "label": ".",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -15520,50 +18500,49 @@
"binop": null,
"updateContext": null
},
- "value": "this",
- "start": 1631,
- "end": 1635,
+ "start": 2299,
+ "end": 2300,
"loc": {
"start": {
- "line": 46,
- "column": 2
+ "line": 64,
+ "column": 38
},
"end": {
- "line": 46,
- "column": 6
+ "line": 64,
+ "column": 39
}
}
},
{
"type": {
- "label": ".",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1635,
- "end": 1636,
+ "value": "Text",
+ "start": 2300,
+ "end": 2304,
"loc": {
"start": {
- "line": 46,
- "column": 6
+ "line": 64,
+ "column": 39
},
"end": {
- "line": 46,
- "column": 7
+ "line": 64,
+ "column": 43
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "(",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -15572,72 +18551,68 @@
"postfix": false,
"binop": null
},
- "value": "isMoving",
- "start": 1636,
- "end": 1644,
+ "start": 2304,
+ "end": 2305,
"loc": {
"start": {
- "line": 46,
- "column": 7
+ "line": 64,
+ "column": 43
},
"end": {
- "line": 46,
- "column": 15
+ "line": 64,
+ "column": 44
}
}
},
{
"type": {
- "label": "=",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 1645,
- "end": 1646,
+ "value": "name: ",
+ "start": 2305,
+ "end": 2313,
"loc": {
"start": {
- "line": 46,
- "column": 16
+ "line": 64,
+ "column": 44
},
"end": {
- "line": 46,
- "column": 17
+ "line": 64,
+ "column": 52
}
}
},
{
"type": {
- "label": "false",
- "keyword": "false",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "false",
- "start": 1647,
- "end": 1652,
+ "start": 2313,
+ "end": 2314,
"loc": {
"start": {
- "line": 46,
- "column": 18
+ "line": 64,
+ "column": 52
},
"end": {
- "line": 46,
- "column": 23
+ "line": 64,
+ "column": 53
}
}
},
@@ -15656,15 +18631,15 @@
"updateContext": null
},
"value": "this",
- "start": 1655,
- "end": 1659,
+ "start": 2317,
+ "end": 2321,
"loc": {
"start": {
- "line": 47,
+ "line": 65,
"column": 2
},
"end": {
- "line": 47,
+ "line": 65,
"column": 6
}
}
@@ -15682,15 +18657,15 @@
"binop": null,
"updateContext": null
},
- "start": 1659,
- "end": 1660,
+ "start": 2321,
+ "end": 2322,
"loc": {
"start": {
- "line": 47,
+ "line": 65,
"column": 6
},
"end": {
- "line": 47,
+ "line": 65,
"column": 7
}
}
@@ -15707,43 +18682,42 @@
"postfix": false,
"binop": null
},
- "value": "experience",
- "start": 1660,
- "end": 1670,
+ "value": "textObjects",
+ "start": 2322,
+ "end": 2333,
"loc": {
"start": {
- "line": 47,
+ "line": 65,
"column": 7
},
"end": {
- "line": 47,
- "column": 17
+ "line": 65,
+ "column": 18
}
}
},
{
"type": {
- "label": "=",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 1671,
- "end": 1672,
+ "start": 2333,
+ "end": 2334,
"loc": {
"start": {
- "line": 47,
+ "line": 65,
"column": 18
},
"end": {
- "line": 47,
+ "line": 65,
"column": 19
}
}
@@ -15760,69 +18734,53 @@
"postfix": false,
"binop": null
},
- "value": "experience",
- "start": 1673,
- "end": 1683,
- "loc": {
- "start": {
- "line": 47,
- "column": 20
- },
- "end": {
- "line": 47,
- "column": 30
- }
- }
- },
- {
- "type": "CommentLine",
- "value": " Sets the experience of the player(Passed in)",
- "start": 1684,
- "end": 1731,
+ "value": "idtext",
+ "start": 2334,
+ "end": 2340,
"loc": {
"start": {
- "line": 47,
- "column": 31
+ "line": 65,
+ "column": 19
},
"end": {
- "line": 47,
- "column": 78
+ "line": 65,
+ "column": 25
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "this",
- "start": 1734,
- "end": 1738,
+ "value": "=",
+ "start": 2341,
+ "end": 2342,
"loc": {
"start": {
- "line": 48,
- "column": 2
+ "line": 65,
+ "column": 26
},
"end": {
- "line": 48,
- "column": 6
+ "line": 65,
+ "column": 27
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "new",
+ "keyword": "new",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -15831,16 +18789,17 @@
"binop": null,
"updateContext": null
},
- "start": 1738,
- "end": 1739,
+ "value": "new",
+ "start": 2343,
+ "end": 2346,
"loc": {
"start": {
- "line": 48,
- "column": 6
+ "line": 65,
+ "column": 28
},
"end": {
- "line": 48,
- "column": 7
+ "line": 65,
+ "column": 31
}
}
},
@@ -15856,50 +18815,49 @@
"postfix": false,
"binop": null
},
- "value": "speedMult",
- "start": 1739,
- "end": 1748,
+ "value": "PIXI",
+ "start": 2347,
+ "end": 2351,
"loc": {
"start": {
- "line": 48,
- "column": 7
+ "line": 65,
+ "column": 32
},
"end": {
- "line": 48,
- "column": 16
+ "line": 65,
+ "column": 36
}
}
},
{
"type": {
- "label": "=",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 1749,
- "end": 1750,
+ "start": 2351,
+ "end": 2352,
"loc": {
"start": {
- "line": 48,
- "column": 17
+ "line": 65,
+ "column": 36
},
"end": {
- "line": 48,
- "column": 18
+ "line": 65,
+ "column": 37
}
}
},
{
"type": {
- "label": "num",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -15907,72 +18865,52 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": 1,
- "start": 1751,
- "end": 1752,
- "loc": {
- "start": {
- "line": 48,
- "column": 19
- },
- "end": {
- "line": 48,
- "column": 20
- }
- }
- },
- {
- "type": "CommentLine",
- "value": " Speed multiplier. Increased/decreased by different compounds",
- "start": 1753,
- "end": 1816,
+ "value": "Text",
+ "start": 2352,
+ "end": 2356,
"loc": {
"start": {
- "line": 48,
- "column": 21
+ "line": 65,
+ "column": 37
},
"end": {
- "line": 48,
- "column": 84
+ "line": 65,
+ "column": 41
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
- "beforeExpr": false,
+ "label": "(",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "this",
- "start": 1819,
- "end": 1823,
+ "start": 2356,
+ "end": 2357,
"loc": {
"start": {
- "line": 49,
- "column": 2
+ "line": 65,
+ "column": 41
},
"end": {
- "line": 49,
- "column": 6
+ "line": 65,
+ "column": 42
}
}
},
{
"type": {
- "label": ".",
+ "label": "string",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -15981,24 +18919,25 @@
"binop": null,
"updateContext": null
},
- "start": 1823,
- "end": 1824,
+ "value": "id: ",
+ "start": 2357,
+ "end": 2363,
"loc": {
"start": {
- "line": 49,
- "column": 6
+ "line": 65,
+ "column": 42
},
"end": {
- "line": 49,
- "column": 7
+ "line": 65,
+ "column": 48
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -16006,53 +18945,52 @@
"postfix": false,
"binop": null
},
- "value": "hasShield",
- "start": 1824,
- "end": 1833,
+ "start": 2363,
+ "end": 2364,
"loc": {
"start": {
- "line": 49,
- "column": 7
+ "line": 65,
+ "column": 48
},
"end": {
- "line": 49,
- "column": 16
+ "line": 65,
+ "column": 49
}
}
},
{
"type": {
- "label": "=",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "this",
+ "keyword": "this",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 1834,
- "end": 1835,
+ "value": "this",
+ "start": 2367,
+ "end": 2371,
"loc": {
"start": {
- "line": 49,
- "column": 17
+ "line": 66,
+ "column": 2
},
"end": {
- "line": 49,
- "column": 18
+ "line": 66,
+ "column": 6
}
}
},
{
"type": {
- "label": "false",
- "keyword": "false",
+ "label": ".",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -16061,24 +18999,22 @@
"binop": null,
"updateContext": null
},
- "value": "false",
- "start": 1836,
- "end": 1841,
+ "start": 2371,
+ "end": 2372,
"loc": {
"start": {
- "line": 49,
- "column": 19
+ "line": 66,
+ "column": 6
},
"end": {
- "line": 49,
- "column": 24
+ "line": 66,
+ "column": 7
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -16086,20 +19022,19 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "this",
- "start": 1844,
- "end": 1848,
+ "value": "textObjects",
+ "start": 2372,
+ "end": 2383,
"loc": {
"start": {
- "line": 50,
- "column": 2
+ "line": 66,
+ "column": 7
},
"end": {
- "line": 50,
- "column": 6
+ "line": 66,
+ "column": 18
}
}
},
@@ -16116,16 +19051,16 @@
"binop": null,
"updateContext": null
},
- "start": 1848,
- "end": 1849,
+ "start": 2383,
+ "end": 2384,
"loc": {
"start": {
- "line": 50,
- "column": 6
+ "line": 66,
+ "column": 18
},
"end": {
- "line": 50,
- "column": 7
+ "line": 66,
+ "column": 19
}
}
},
@@ -16141,17 +19076,17 @@
"postfix": false,
"binop": null
},
- "value": "stronghold",
- "start": 1849,
- "end": 1859,
+ "value": "postext",
+ "start": 2384,
+ "end": 2391,
"loc": {
"start": {
- "line": 50,
- "column": 7
+ "line": 66,
+ "column": 19
},
"end": {
- "line": 50,
- "column": 17
+ "line": 66,
+ "column": 26
}
}
},
@@ -16169,23 +19104,24 @@
"updateContext": null
},
"value": "=",
- "start": 1860,
- "end": 1861,
+ "start": 2392,
+ "end": 2393,
"loc": {
"start": {
- "line": 50,
- "column": 18
+ "line": 66,
+ "column": 27
},
"end": {
- "line": 50,
- "column": 19
+ "line": 66,
+ "column": 28
}
}
},
{
"type": {
- "label": "string",
- "beforeExpr": false,
+ "label": "new",
+ "keyword": "new",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -16195,24 +19131,23 @@
"binop": null,
"updateContext": null
},
- "value": "none",
- "start": 1862,
- "end": 1868,
+ "value": "new",
+ "start": 2394,
+ "end": 2397,
"loc": {
"start": {
- "line": 50,
- "column": 20
+ "line": 66,
+ "column": 29
},
"end": {
- "line": 50,
- "column": 26
+ "line": 66,
+ "column": 32
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -16220,20 +19155,19 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "this",
- "start": 1872,
- "end": 1876,
+ "value": "PIXI",
+ "start": 2398,
+ "end": 2402,
"loc": {
"start": {
- "line": 52,
- "column": 2
+ "line": 66,
+ "column": 33
},
"end": {
- "line": 52,
- "column": 6
+ "line": 66,
+ "column": 37
}
}
},
@@ -16250,16 +19184,16 @@
"binop": null,
"updateContext": null
},
- "start": 1876,
- "end": 1877,
+ "start": 2402,
+ "end": 2403,
"loc": {
"start": {
- "line": 52,
- "column": 6
+ "line": 66,
+ "column": 37
},
"end": {
- "line": 52,
- "column": 7
+ "line": 66,
+ "column": 38
}
}
},
@@ -16275,75 +19209,75 @@
"postfix": false,
"binop": null
},
- "value": "damagedBy",
- "start": 1877,
- "end": 1886,
+ "value": "Text",
+ "start": 2403,
+ "end": 2407,
"loc": {
"start": {
- "line": 52,
- "column": 7
+ "line": 66,
+ "column": 38
},
"end": {
- "line": 52,
- "column": 16
+ "line": 66,
+ "column": 42
}
}
},
{
"type": {
- "label": "=",
+ "label": "(",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "=",
- "start": 1887,
- "end": 1888,
+ "start": 2407,
+ "end": 2408,
"loc": {
"start": {
- "line": 52,
- "column": 17
+ "line": 66,
+ "column": 42
},
"end": {
- "line": 52,
- "column": 18
+ "line": 66,
+ "column": 43
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
+ "label": "string",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1889,
- "end": 1890,
+ "value": "placeholderpos",
+ "start": 2408,
+ "end": 2424,
"loc": {
"start": {
- "line": 52,
- "column": 19
+ "line": 66,
+ "column": 43
},
"end": {
- "line": 52,
- "column": 20
+ "line": 66,
+ "column": 59
}
}
},
{
"type": {
- "label": "}",
+ "label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -16353,32 +19287,16 @@
"postfix": false,
"binop": null
},
- "start": 1890,
- "end": 1891,
- "loc": {
- "start": {
- "line": 52,
- "column": 20
- },
- "end": {
- "line": 52,
- "column": 21
- }
- }
- },
- {
- "type": "CommentLine",
- "value": " Object containing the values of damage that each player has dealt.",
- "start": 1892,
- "end": 1961,
+ "start": 2424,
+ "end": 2425,
"loc": {
"start": {
- "line": 52,
- "column": 22
+ "line": 66,
+ "column": 59
},
"end": {
- "line": 52,
- "column": 91
+ "line": 66,
+ "column": 60
}
}
},
@@ -16397,15 +19315,15 @@
"updateContext": null
},
"value": "this",
- "start": 1964,
- "end": 1968,
+ "start": 2428,
+ "end": 2432,
"loc": {
"start": {
- "line": 53,
+ "line": 67,
"column": 2
},
"end": {
- "line": 53,
+ "line": 67,
"column": 6
}
}
@@ -16423,15 +19341,15 @@
"binop": null,
"updateContext": null
},
- "start": 1968,
- "end": 1969,
+ "start": 2432,
+ "end": 2433,
"loc": {
"start": {
- "line": 53,
+ "line": 67,
"column": 6
},
"end": {
- "line": 53,
+ "line": 67,
"column": 7
}
}
@@ -16449,16 +19367,68 @@
"binop": null
},
"value": "textObjects",
- "start": 1969,
- "end": 1980,
+ "start": 2433,
+ "end": 2444,
"loc": {
"start": {
- "line": 53,
+ "line": 67,
"column": 7
},
"end": {
- "line": 53,
+ "line": 67,
+ "column": 18
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 2444,
+ "end": 2445,
+ "loc": {
+ "start": {
+ "line": 67,
"column": 18
+ },
+ "end": {
+ "line": 67,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "teamtext",
+ "start": 2445,
+ "end": 2453,
+ "loc": {
+ "start": {
+ "line": 67,
+ "column": 19
+ },
+ "end": {
+ "line": 67,
+ "column": 27
}
}
},
@@ -16469,30 +19439,58 @@
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 2454,
+ "end": 2455,
+ "loc": {
+ "start": {
+ "line": 67,
+ "column": 28
+ },
+ "end": {
+ "line": 67,
+ "column": 29
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "new",
+ "keyword": "new",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 1981,
- "end": 1982,
+ "value": "new",
+ "start": 2456,
+ "end": 2459,
"loc": {
"start": {
- "line": 53,
- "column": 19
+ "line": 67,
+ "column": 30
},
"end": {
- "line": 53,
- "column": 20
+ "line": 67,
+ "column": 33
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -16501,22 +19499,23 @@
"postfix": false,
"binop": null
},
- "start": 1983,
- "end": 1984,
+ "value": "PIXI",
+ "start": 2460,
+ "end": 2464,
"loc": {
"start": {
- "line": 53,
- "column": 21
+ "line": 67,
+ "column": 34
},
"end": {
- "line": 53,
- "column": 22
+ "line": 67,
+ "column": 38
}
}
},
{
"type": {
- "label": "}",
+ "label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -16524,70 +19523,78 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1984,
- "end": 1985,
+ "start": 2464,
+ "end": 2465,
"loc": {
"start": {
- "line": 53,
- "column": 22
+ "line": 67,
+ "column": 38
},
"end": {
- "line": 53,
- "column": 23
+ "line": 67,
+ "column": 39
}
}
},
{
- "type": "CommentLine",
- "value": " Contains Text to be drawn under the player (name, id, etc)",
- "start": 1986,
- "end": 2047,
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "Text",
+ "start": 2465,
+ "end": 2469,
"loc": {
"start": {
- "line": 53,
- "column": 24
+ "line": 67,
+ "column": 39
},
"end": {
- "line": 53,
- "column": 85
+ "line": 67,
+ "column": 43
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
- "beforeExpr": false,
+ "label": "(",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "this",
- "start": 2050,
- "end": 2054,
+ "start": 2469,
+ "end": 2470,
"loc": {
"start": {
- "line": 54,
- "column": 2
+ "line": 67,
+ "column": 43
},
"end": {
- "line": 54,
- "column": 6
+ "line": 67,
+ "column": 44
}
}
},
{
"type": {
- "label": ".",
+ "label": "string",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -16596,24 +19603,25 @@
"binop": null,
"updateContext": null
},
- "start": 2054,
- "end": 2055,
+ "value": "team: ",
+ "start": 2470,
+ "end": 2478,
"loc": {
"start": {
- "line": 54,
- "column": 6
+ "line": 67,
+ "column": 44
},
"end": {
- "line": 54,
- "column": 7
+ "line": 67,
+ "column": 52
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -16621,53 +19629,52 @@
"postfix": false,
"binop": null
},
- "value": "playerSprite",
- "start": 2055,
- "end": 2067,
+ "start": 2478,
+ "end": 2479,
"loc": {
"start": {
- "line": 54,
- "column": 7
+ "line": 67,
+ "column": 52
},
"end": {
- "line": 54,
- "column": 19
+ "line": 67,
+ "column": 53
}
}
},
{
"type": {
- "label": "=",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "this",
+ "keyword": "this",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 2068,
- "end": 2069,
+ "value": "this",
+ "start": 2482,
+ "end": 2486,
"loc": {
"start": {
- "line": 54,
- "column": 20
+ "line": 68,
+ "column": 2
},
"end": {
- "line": 54,
- "column": 21
+ "line": 68,
+ "column": 6
}
}
},
{
"type": {
- "label": "new",
- "keyword": "new",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -16676,17 +19683,16 @@
"binop": null,
"updateContext": null
},
- "value": "new",
- "start": 2070,
- "end": 2073,
+ "start": 2486,
+ "end": 2487,
"loc": {
"start": {
- "line": 54,
- "column": 22
+ "line": 68,
+ "column": 6
},
"end": {
- "line": 54,
- "column": 25
+ "line": 68,
+ "column": 7
}
}
},
@@ -16702,17 +19708,17 @@
"postfix": false,
"binop": null
},
- "value": "PIXI",
- "start": 2074,
- "end": 2078,
+ "value": "textObjects",
+ "start": 2487,
+ "end": 2498,
"loc": {
"start": {
- "line": 54,
- "column": 26
+ "line": 68,
+ "column": 7
},
"end": {
- "line": 54,
- "column": 30
+ "line": 68,
+ "column": 18
}
}
},
@@ -16729,16 +19735,16 @@
"binop": null,
"updateContext": null
},
- "start": 2078,
- "end": 2079,
+ "start": 2498,
+ "end": 2499,
"loc": {
"start": {
- "line": 54,
- "column": 30
+ "line": 68,
+ "column": 18
},
"end": {
- "line": 54,
- "column": 31
+ "line": 68,
+ "column": 19
}
}
},
@@ -16754,100 +19760,78 @@
"postfix": false,
"binop": null
},
- "value": "Sprite",
- "start": 2079,
- "end": 2085,
+ "value": "healthtext",
+ "start": 2499,
+ "end": 2509,
"loc": {
"start": {
- "line": 54,
- "column": 31
+ "line": 68,
+ "column": 19
},
"end": {
- "line": 54,
- "column": 37
+ "line": 68,
+ "column": 29
}
}
},
{
"type": {
- "label": "(",
+ "label": "=",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 2085,
- "end": 2086,
+ "value": "=",
+ "start": 2510,
+ "end": 2511,
"loc": {
"start": {
- "line": 54,
- "column": 37
+ "line": 68,
+ "column": 30
},
"end": {
- "line": 54,
- "column": 38
+ "line": 68,
+ "column": 31
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "new",
+ "keyword": "new",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
- },
- "value": "texture",
- "start": 2086,
- "end": 2093,
- "loc": {
- "start": {
- "line": 54,
- "column": 38
- },
- "end": {
- "line": 54,
- "column": 45
- }
- }
- },
- {
- "type": {
- "label": ")",
- "beforeExpr": false,
- "startsExpr": false,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 2093,
- "end": 2094,
+ "value": "new",
+ "start": 2512,
+ "end": 2515,
"loc": {
"start": {
- "line": 54,
- "column": 45
+ "line": 68,
+ "column": 32
},
"end": {
- "line": 54,
- "column": 46
+ "line": 68,
+ "column": 35
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -16855,20 +19839,19 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "this",
- "start": 2098,
- "end": 2102,
+ "value": "PIXI",
+ "start": 2516,
+ "end": 2520,
"loc": {
"start": {
- "line": 56,
- "column": 2
+ "line": 68,
+ "column": 36
},
"end": {
- "line": 56,
- "column": 6
+ "line": 68,
+ "column": 40
}
}
},
@@ -16885,16 +19868,16 @@
"binop": null,
"updateContext": null
},
- "start": 2102,
- "end": 2103,
+ "start": 2520,
+ "end": 2521,
"loc": {
"start": {
- "line": 56,
- "column": 6
+ "line": 68,
+ "column": 40
},
"end": {
- "line": 56,
- "column": 7
+ "line": 68,
+ "column": 41
}
}
},
@@ -16910,17 +19893,17 @@
"postfix": false,
"binop": null
},
- "value": "setup",
- "start": 2103,
- "end": 2108,
+ "value": "Text",
+ "start": 2521,
+ "end": 2525,
"loc": {
"start": {
- "line": 56,
- "column": 7
+ "line": 68,
+ "column": 41
},
"end": {
- "line": 56,
- "column": 12
+ "line": 68,
+ "column": 45
}
}
},
@@ -16936,47 +19919,49 @@
"postfix": false,
"binop": null
},
- "start": 2108,
- "end": 2109,
+ "start": 2525,
+ "end": 2526,
"loc": {
"start": {
- "line": 56,
- "column": 12
+ "line": 68,
+ "column": 45
},
"end": {
- "line": 56,
- "column": 13
+ "line": 68,
+ "column": 46
}
}
},
{
"type": {
- "label": ")",
+ "label": "string",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 2109,
- "end": 2110,
+ "value": "health: ",
+ "start": 2526,
+ "end": 2536,
"loc": {
"start": {
- "line": 56,
- "column": 13
+ "line": 68,
+ "column": 46
},
"end": {
- "line": 56,
- "column": 14
+ "line": 68,
+ "column": 56
}
}
},
{
"type": {
- "label": "}",
+ "label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -16986,65 +19971,77 @@
"postfix": false,
"binop": null
},
- "start": 2112,
- "end": 2113,
+ "start": 2536,
+ "end": 2537,
"loc": {
"start": {
- "line": 57,
- "column": 1
+ "line": 68,
+ "column": 56
},
"end": {
- "line": 57,
- "column": 2
+ "line": 68,
+ "column": 57
}
}
},
{
- "type": "CommentBlock",
- "value": "*\n * First-time setup for this player. All of the functions in this method will only be called once.\n ",
- "start": 2116,
- "end": 2230,
+ "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": 2540,
+ "end": 2544,
"loc": {
"start": {
- "line": 59,
- "column": 1
+ "line": 69,
+ "column": 2
},
"end": {
- "line": 61,
- "column": 7
+ "line": 69,
+ "column": 6
}
}
},
{
"type": {
- "label": "name",
+ "label": ".",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "setup",
- "start": 2232,
- "end": 2237,
+ "start": 2544,
+ "end": 2545,
"loc": {
"start": {
- "line": 62,
- "column": 1
+ "line": 69,
+ "column": 6
},
"end": {
- "line": 62,
- "column": 6
+ "line": 69,
+ "column": 7
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -17053,22 +20050,23 @@
"postfix": false,
"binop": null
},
- "start": 2238,
- "end": 2239,
+ "value": "textObjects",
+ "start": 2545,
+ "end": 2556,
"loc": {
"start": {
- "line": 62,
+ "line": 69,
"column": 7
},
"end": {
- "line": 62,
- "column": 8
+ "line": 69,
+ "column": 18
}
}
},
{
"type": {
- "label": ")",
+ "label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -17076,25 +20074,26 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 2239,
- "end": 2240,
+ "start": 2556,
+ "end": 2557,
"loc": {
"start": {
- "line": 62,
- "column": 8
+ "line": 69,
+ "column": 18
},
"end": {
- "line": 62,
- "column": 9
+ "line": 69,
+ "column": 19
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -17103,68 +20102,53 @@
"postfix": false,
"binop": null
},
- "start": 2241,
- "end": 2242,
- "loc": {
- "start": {
- "line": 62,
- "column": 10
- },
- "end": {
- "line": 62,
- "column": 11
- }
- }
- },
- {
- "type": "CommentLine",
- "value": " Create text objects",
- "start": 2245,
- "end": 2267,
+ "value": "defensetext",
+ "start": 2557,
+ "end": 2568,
"loc": {
"start": {
- "line": 63,
- "column": 2
+ "line": 69,
+ "column": 19
},
"end": {
- "line": 63,
- "column": 24
+ "line": 69,
+ "column": 30
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "this",
- "start": 2270,
- "end": 2274,
+ "value": "=",
+ "start": 2569,
+ "end": 2570,
"loc": {
"start": {
- "line": 64,
- "column": 2
+ "line": 69,
+ "column": 31
},
"end": {
- "line": 64,
- "column": 6
+ "line": 69,
+ "column": 32
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "new",
+ "keyword": "new",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -17173,16 +20157,17 @@
"binop": null,
"updateContext": null
},
- "start": 2274,
- "end": 2275,
+ "value": "new",
+ "start": 2571,
+ "end": 2574,
"loc": {
"start": {
- "line": 64,
- "column": 6
+ "line": 69,
+ "column": 33
},
"end": {
- "line": 64,
- "column": 7
+ "line": 69,
+ "column": 36
}
}
},
@@ -17198,17 +20183,17 @@
"postfix": false,
"binop": null
},
- "value": "textObjects",
- "start": 2275,
- "end": 2286,
+ "value": "PIXI",
+ "start": 2575,
+ "end": 2579,
"loc": {
"start": {
- "line": 64,
- "column": 7
+ "line": 69,
+ "column": 37
},
"end": {
- "line": 64,
- "column": 18
+ "line": 69,
+ "column": 41
}
}
},
@@ -17225,16 +20210,16 @@
"binop": null,
"updateContext": null
},
- "start": 2286,
- "end": 2287,
+ "start": 2579,
+ "end": 2580,
"loc": {
"start": {
- "line": 64,
- "column": 18
+ "line": 69,
+ "column": 41
},
"end": {
- "line": 64,
- "column": 19
+ "line": 69,
+ "column": 42
}
}
},
@@ -17250,52 +20235,49 @@
"postfix": false,
"binop": null
},
- "value": "nametext",
- "start": 2287,
- "end": 2295,
+ "value": "Text",
+ "start": 2580,
+ "end": 2584,
"loc": {
"start": {
- "line": 64,
- "column": 19
+ "line": 69,
+ "column": 42
},
"end": {
- "line": 64,
- "column": 27
+ "line": 69,
+ "column": 46
}
}
},
{
"type": {
- "label": "=",
+ "label": "(",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "=",
- "start": 2296,
- "end": 2297,
+ "start": 2584,
+ "end": 2585,
"loc": {
"start": {
- "line": 64,
- "column": 28
+ "line": 69,
+ "column": 46
},
"end": {
- "line": 64,
- "column": 29
+ "line": 69,
+ "column": 47
}
}
},
{
"type": {
- "label": "new",
- "keyword": "new",
- "beforeExpr": true,
+ "label": "string",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -17305,23 +20287,65 @@
"binop": null,
"updateContext": null
},
- "value": "new",
- "start": 2298,
- "end": 2301,
+ "value": "defense: ",
+ "start": 2585,
+ "end": 2596,
"loc": {
"start": {
- "line": 64,
- "column": 30
+ "line": 69,
+ "column": 47
},
"end": {
- "line": 64,
- "column": 33
+ "line": 69,
+ "column": 58
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 2596,
+ "end": 2597,
+ "loc": {
+ "start": {
+ "line": 69,
+ "column": 58
+ },
+ "end": {
+ "line": 69,
+ "column": 59
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Assign values and positions",
+ "start": 2601,
+ "end": 2631,
+ "loc": {
+ "start": {
+ "line": 71,
+ "column": 2
+ },
+ "end": {
+ "line": 71,
+ "column": 32
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -17329,19 +20353,20 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "PIXI",
- "start": 2302,
- "end": 2306,
+ "value": "this",
+ "start": 2634,
+ "end": 2638,
"loc": {
"start": {
- "line": 64,
- "column": 34
+ "line": 72,
+ "column": 2
},
"end": {
- "line": 64,
- "column": 38
+ "line": 72,
+ "column": 6
}
}
},
@@ -17358,16 +20383,16 @@
"binop": null,
"updateContext": null
},
- "start": 2306,
- "end": 2307,
+ "start": 2638,
+ "end": 2639,
"loc": {
"start": {
- "line": 64,
- "column": 38
+ "line": 72,
+ "column": 6
},
"end": {
- "line": 64,
- "column": 39
+ "line": 72,
+ "column": 7
}
}
},
@@ -17383,48 +20408,49 @@
"postfix": false,
"binop": null
},
- "value": "Text",
- "start": 2307,
- "end": 2311,
+ "value": "textObjects",
+ "start": 2639,
+ "end": 2650,
"loc": {
"start": {
- "line": 64,
- "column": 39
+ "line": 72,
+ "column": 7
},
"end": {
- "line": 64,
- "column": 43
+ "line": 72,
+ "column": 18
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 2311,
- "end": 2312,
+ "start": 2650,
+ "end": 2651,
"loc": {
"start": {
- "line": 64,
- "column": 43
+ "line": 72,
+ "column": 18
},
"end": {
- "line": 64,
- "column": 44
+ "line": 72,
+ "column": 19
}
}
},
{
"type": {
- "label": "string",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -17432,26 +20458,25 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "name: ",
- "start": 2312,
- "end": 2320,
+ "value": "idtext",
+ "start": 2651,
+ "end": 2657,
"loc": {
"start": {
- "line": 64,
- "column": 44
+ "line": 72,
+ "column": 19
},
"end": {
- "line": 64,
- "column": 52
+ "line": 72,
+ "column": 25
}
}
},
{
"type": {
- "label": ")",
+ "label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -17459,25 +20484,25 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 2320,
- "end": 2321,
+ "start": 2657,
+ "end": 2658,
"loc": {
"start": {
- "line": 64,
- "column": 52
+ "line": 72,
+ "column": 25
},
"end": {
- "line": 64,
- "column": 53
+ "line": 72,
+ "column": 26
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -17485,20 +20510,19 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "this",
- "start": 2324,
- "end": 2328,
+ "value": "position",
+ "start": 2658,
+ "end": 2666,
"loc": {
"start": {
- "line": 65,
- "column": 2
+ "line": 72,
+ "column": 26
},
"end": {
- "line": 65,
- "column": 6
+ "line": 72,
+ "column": 34
}
}
},
@@ -17515,16 +20539,16 @@
"binop": null,
"updateContext": null
},
- "start": 2328,
- "end": 2329,
+ "start": 2666,
+ "end": 2667,
"loc": {
"start": {
- "line": 65,
- "column": 6
+ "line": 72,
+ "column": 34
},
"end": {
- "line": 65,
- "column": 7
+ "line": 72,
+ "column": 35
}
}
},
@@ -17540,49 +20564,48 @@
"postfix": false,
"binop": null
},
- "value": "textObjects",
- "start": 2329,
- "end": 2340,
+ "value": "set",
+ "start": 2667,
+ "end": 2670,
"loc": {
"start": {
- "line": 65,
- "column": 7
+ "line": 72,
+ "column": 35
},
"end": {
- "line": 65,
- "column": 18
+ "line": 72,
+ "column": 38
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 2340,
- "end": 2341,
+ "start": 2670,
+ "end": 2671,
"loc": {
"start": {
- "line": 65,
- "column": 18
+ "line": 72,
+ "column": 38
},
"end": {
- "line": 65,
- "column": 19
+ "line": 72,
+ "column": 39
}
}
},
{
"type": {
- "label": "name",
+ "label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -17590,55 +20613,28 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
- },
- "value": "idtext",
- "start": 2341,
- "end": 2347,
- "loc": {
- "start": {
- "line": 65,
- "column": 19
- },
- "end": {
- "line": 65,
- "column": 25
- }
- }
- },
- {
- "type": {
- "label": "=",
- "beforeExpr": true,
- "startsExpr": false,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": true,
- "prefix": false,
- "postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 2348,
- "end": 2349,
+ "value": 0,
+ "start": 2671,
+ "end": 2672,
"loc": {
"start": {
- "line": 65,
- "column": 26
+ "line": 72,
+ "column": 39
},
"end": {
- "line": 65,
- "column": 27
+ "line": 72,
+ "column": 40
}
}
},
{
"type": {
- "label": "new",
- "keyword": "new",
+ "label": ",",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -17647,17 +20643,16 @@
"binop": null,
"updateContext": null
},
- "value": "new",
- "start": 2350,
- "end": 2353,
+ "start": 2672,
+ "end": 2673,
"loc": {
"start": {
- "line": 65,
- "column": 28
+ "line": 72,
+ "column": 40
},
"end": {
- "line": 65,
- "column": 31
+ "line": 72,
+ "column": 41
}
}
},
@@ -17673,17 +20668,17 @@
"postfix": false,
"binop": null
},
- "value": "PIXI",
- "start": 2354,
- "end": 2358,
+ "value": "GLOBAL",
+ "start": 2674,
+ "end": 2680,
"loc": {
"start": {
- "line": 65,
- "column": 32
+ "line": 72,
+ "column": 42
},
"end": {
- "line": 65,
- "column": 36
+ "line": 72,
+ "column": 48
}
}
},
@@ -17700,16 +20695,16 @@
"binop": null,
"updateContext": null
},
- "start": 2358,
- "end": 2359,
+ "start": 2680,
+ "end": 2681,
"loc": {
"start": {
- "line": 65,
- "column": 36
+ "line": 72,
+ "column": 48
},
"end": {
- "line": 65,
- "column": 37
+ "line": 72,
+ "column": 49
}
}
},
@@ -17725,48 +20720,50 @@
"postfix": false,
"binop": null
},
- "value": "Text",
- "start": 2359,
- "end": 2363,
+ "value": "PLAYER_RADIUS",
+ "start": 2681,
+ "end": 2694,
"loc": {
"start": {
- "line": 65,
- "column": 37
+ "line": 72,
+ "column": 49
},
"end": {
- "line": 65,
- "column": 41
+ "line": 72,
+ "column": 62
}
}
},
{
"type": {
- "label": "(",
+ "label": "*",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": 10,
+ "updateContext": null
},
- "start": 2363,
- "end": 2364,
+ "value": "*",
+ "start": 2695,
+ "end": 2696,
"loc": {
"start": {
- "line": 65,
- "column": 41
+ "line": 72,
+ "column": 63
},
"end": {
- "line": 65,
- "column": 42
+ "line": 72,
+ "column": 64
}
}
},
{
"type": {
- "label": "string",
+ "label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -17777,17 +20774,17 @@
"binop": null,
"updateContext": null
},
- "value": "id: ",
- "start": 2364,
- "end": 2370,
+ "value": 9,
+ "start": 2697,
+ "end": 2698,
"loc": {
"start": {
- "line": 65,
- "column": 42
+ "line": 72,
+ "column": 65
},
"end": {
- "line": 65,
- "column": 48
+ "line": 72,
+ "column": 66
}
}
},
@@ -17803,16 +20800,16 @@
"postfix": false,
"binop": null
},
- "start": 2370,
- "end": 2371,
+ "start": 2698,
+ "end": 2699,
"loc": {
"start": {
- "line": 65,
- "column": 48
+ "line": 72,
+ "column": 66
},
- "end": {
- "line": 65,
- "column": 49
+ "end": {
+ "line": 72,
+ "column": 67
}
}
},
@@ -17831,15 +20828,15 @@
"updateContext": null
},
"value": "this",
- "start": 2374,
- "end": 2378,
+ "start": 2702,
+ "end": 2706,
"loc": {
"start": {
- "line": 66,
+ "line": 73,
"column": 2
},
"end": {
- "line": 66,
+ "line": 73,
"column": 6
}
}
@@ -17857,15 +20854,15 @@
"binop": null,
"updateContext": null
},
- "start": 2378,
- "end": 2379,
+ "start": 2706,
+ "end": 2707,
"loc": {
"start": {
- "line": 66,
+ "line": 73,
"column": 6
},
"end": {
- "line": 66,
+ "line": 73,
"column": 7
}
}
@@ -17883,15 +20880,15 @@
"binop": null
},
"value": "textObjects",
- "start": 2379,
- "end": 2390,
+ "start": 2707,
+ "end": 2718,
"loc": {
"start": {
- "line": 66,
+ "line": 73,
"column": 7
},
"end": {
- "line": 66,
+ "line": 73,
"column": 18
}
}
@@ -17909,15 +20906,15 @@
"binop": null,
"updateContext": null
},
- "start": 2390,
- "end": 2391,
+ "start": 2718,
+ "end": 2719,
"loc": {
"start": {
- "line": 66,
+ "line": 73,
"column": 18
},
"end": {
- "line": 66,
+ "line": 73,
"column": 19
}
}
@@ -17934,78 +20931,103 @@
"postfix": false,
"binop": null
},
- "value": "postext",
- "start": 2391,
- "end": 2398,
+ "value": "idtext",
+ "start": 2719,
+ "end": 2725,
"loc": {
"start": {
- "line": 66,
+ "line": 73,
"column": 19
},
"end": {
- "line": 66,
- "column": 26
+ "line": 73,
+ "column": 25
}
}
},
{
"type": {
- "label": "=",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 2399,
- "end": 2400,
+ "start": 2725,
+ "end": 2726,
"loc": {
"start": {
- "line": 66,
- "column": 27
+ "line": 73,
+ "column": 25
},
"end": {
- "line": 66,
- "column": 28
+ "line": 73,
+ "column": 26
}
}
},
{
"type": {
- "label": "new",
- "keyword": "new",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
+ "binop": null
+ },
+ "value": "text",
+ "start": 2726,
+ "end": 2730,
+ "loc": {
+ "start": {
+ "line": 73,
+ "column": 26
+ },
+ "end": {
+ "line": 73,
+ "column": 30
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "_=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
"binop": null,
"updateContext": null
},
- "value": "new",
- "start": 2401,
- "end": 2404,
+ "value": "+=",
+ "start": 2731,
+ "end": 2733,
"loc": {
"start": {
- "line": 66,
- "column": 29
+ "line": 73,
+ "column": 31
},
"end": {
- "line": 66,
- "column": 32
+ "line": 73,
+ "column": 33
}
}
},
{
"type": {
- "label": "name",
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -18013,19 +21035,20 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "PIXI",
- "start": 2405,
- "end": 2409,
+ "value": "this",
+ "start": 2734,
+ "end": 2738,
"loc": {
"start": {
- "line": 66,
- "column": 33
+ "line": 73,
+ "column": 34
},
"end": {
- "line": 66,
- "column": 37
+ "line": 73,
+ "column": 38
}
}
},
@@ -18042,16 +21065,16 @@
"binop": null,
"updateContext": null
},
- "start": 2409,
- "end": 2410,
+ "start": 2738,
+ "end": 2739,
"loc": {
"start": {
- "line": 66,
- "column": 37
+ "line": 73,
+ "column": 38
},
"end": {
- "line": 66,
- "column": 38
+ "line": 73,
+ "column": 39
}
}
},
@@ -18067,50 +21090,53 @@
"postfix": false,
"binop": null
},
- "value": "Text",
- "start": 2410,
- "end": 2414,
+ "value": "id",
+ "start": 2739,
+ "end": 2741,
"loc": {
"start": {
- "line": 66,
- "column": 38
+ "line": 73,
+ "column": 39
},
"end": {
- "line": 66,
- "column": 42
+ "line": 73,
+ "column": 41
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
+ "label": "this",
+ "keyword": "this",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 2414,
- "end": 2415,
+ "value": "this",
+ "start": 2744,
+ "end": 2748,
"loc": {
"start": {
- "line": 66,
- "column": 42
+ "line": 74,
+ "column": 2
},
"end": {
- "line": 66,
- "column": 43
+ "line": 74,
+ "column": 6
}
}
},
{
"type": {
- "label": "string",
+ "label": ".",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -18119,25 +21145,24 @@
"binop": null,
"updateContext": null
},
- "value": "placeholderpos",
- "start": 2415,
- "end": 2431,
+ "start": 2748,
+ "end": 2749,
"loc": {
"start": {
- "line": 66,
- "column": 43
+ "line": 74,
+ "column": 6
},
"end": {
- "line": 66,
- "column": 59
+ "line": 74,
+ "column": 7
}
}
},
{
"type": {
- "label": ")",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -18145,25 +21170,25 @@
"postfix": false,
"binop": null
},
- "start": 2431,
- "end": 2432,
+ "value": "textObjects",
+ "start": 2749,
+ "end": 2760,
"loc": {
"start": {
- "line": 66,
- "column": 59
+ "line": 74,
+ "column": 7
},
"end": {
- "line": 66,
- "column": 60
+ "line": 74,
+ "column": 18
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
+ "label": ".",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -18172,17 +21197,42 @@
"binop": null,
"updateContext": null
},
- "value": "this",
- "start": 2435,
- "end": 2439,
+ "start": 2760,
+ "end": 2761,
"loc": {
"start": {
- "line": 67,
- "column": 2
+ "line": 74,
+ "column": 18
},
"end": {
- "line": 67,
- "column": 6
+ "line": 74,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "nametext",
+ "start": 2761,
+ "end": 2769,
+ "loc": {
+ "start": {
+ "line": 74,
+ "column": 19
+ },
+ "end": {
+ "line": 74,
+ "column": 27
}
}
},
@@ -18199,16 +21249,16 @@
"binop": null,
"updateContext": null
},
- "start": 2439,
- "end": 2440,
+ "start": 2769,
+ "end": 2770,
"loc": {
"start": {
- "line": 67,
- "column": 6
+ "line": 74,
+ "column": 27
},
"end": {
- "line": 67,
- "column": 7
+ "line": 74,
+ "column": 28
}
}
},
@@ -18224,17 +21274,17 @@
"postfix": false,
"binop": null
},
- "value": "textObjects",
- "start": 2440,
- "end": 2451,
+ "value": "position",
+ "start": 2770,
+ "end": 2778,
"loc": {
"start": {
- "line": 67,
- "column": 7
+ "line": 74,
+ "column": 28
},
"end": {
- "line": 67,
- "column": 18
+ "line": 74,
+ "column": 36
}
}
},
@@ -18251,16 +21301,16 @@
"binop": null,
"updateContext": null
},
- "start": 2451,
- "end": 2452,
+ "start": 2778,
+ "end": 2779,
"loc": {
"start": {
- "line": 67,
- "column": 18
+ "line": 74,
+ "column": 36
},
"end": {
- "line": 67,
- "column": 19
+ "line": 74,
+ "column": 37
}
}
},
@@ -18276,53 +21326,77 @@
"postfix": false,
"binop": null
},
- "value": "teamtext",
- "start": 2452,
- "end": 2460,
+ "value": "set",
+ "start": 2779,
+ "end": 2782,
+ "loc": {
+ "start": {
+ "line": 74,
+ "column": 37
+ },
+ "end": {
+ "line": 74,
+ "column": 40
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 2782,
+ "end": 2783,
"loc": {
"start": {
- "line": 67,
- "column": 19
+ "line": 74,
+ "column": 40
},
"end": {
- "line": 67,
- "column": 27
+ "line": 74,
+ "column": 41
}
}
},
{
"type": {
- "label": "=",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "num",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 2461,
- "end": 2462,
+ "value": 0,
+ "start": 2783,
+ "end": 2784,
"loc": {
"start": {
- "line": 67,
- "column": 28
+ "line": 74,
+ "column": 41
},
"end": {
- "line": 67,
- "column": 29
+ "line": 74,
+ "column": 42
}
}
},
{
"type": {
- "label": "new",
- "keyword": "new",
+ "label": ",",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -18331,17 +21405,16 @@
"binop": null,
"updateContext": null
},
- "value": "new",
- "start": 2463,
- "end": 2466,
+ "start": 2784,
+ "end": 2785,
"loc": {
"start": {
- "line": 67,
- "column": 30
+ "line": 74,
+ "column": 42
},
"end": {
- "line": 67,
- "column": 33
+ "line": 74,
+ "column": 43
}
}
},
@@ -18357,17 +21430,17 @@
"postfix": false,
"binop": null
},
- "value": "PIXI",
- "start": 2467,
- "end": 2471,
+ "value": "GLOBAL",
+ "start": 2786,
+ "end": 2792,
"loc": {
"start": {
- "line": 67,
- "column": 34
+ "line": 74,
+ "column": 44
},
"end": {
- "line": 67,
- "column": 38
+ "line": 74,
+ "column": 50
}
}
},
@@ -18384,16 +21457,16 @@
"binop": null,
"updateContext": null
},
- "start": 2471,
- "end": 2472,
+ "start": 2792,
+ "end": 2793,
"loc": {
"start": {
- "line": 67,
- "column": 38
+ "line": 74,
+ "column": 50
},
"end": {
- "line": 67,
- "column": 39
+ "line": 74,
+ "column": 51
}
}
},
@@ -18409,48 +21482,50 @@
"postfix": false,
"binop": null
},
- "value": "Text",
- "start": 2472,
- "end": 2476,
+ "value": "PLAYER_RADIUS",
+ "start": 2793,
+ "end": 2806,
"loc": {
"start": {
- "line": 67,
- "column": 39
+ "line": 74,
+ "column": 51
},
"end": {
- "line": 67,
- "column": 43
+ "line": 74,
+ "column": 64
}
}
},
{
"type": {
- "label": "(",
+ "label": "*",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": 10,
+ "updateContext": null
},
- "start": 2476,
- "end": 2477,
+ "value": "*",
+ "start": 2807,
+ "end": 2808,
"loc": {
"start": {
- "line": 67,
- "column": 43
+ "line": 74,
+ "column": 65
},
"end": {
- "line": 67,
- "column": 44
+ "line": 74,
+ "column": 66
}
}
},
{
"type": {
- "label": "string",
+ "label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -18461,49 +21536,50 @@
"binop": null,
"updateContext": null
},
- "value": "team: ",
- "start": 2477,
- "end": 2485,
+ "value": 9,
+ "start": 2809,
+ "end": 2810,
"loc": {
"start": {
- "line": 67,
- "column": 44
+ "line": 74,
+ "column": 67
},
"end": {
- "line": 67,
- "column": 52
+ "line": 74,
+ "column": 68
}
}
},
{
"type": {
- "label": ")",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "+/-",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
- "prefix": false,
+ "prefix": true,
"postfix": false,
- "binop": null
+ "binop": 9,
+ "updateContext": null
},
- "start": 2485,
- "end": 2486,
+ "value": "+",
+ "start": 2811,
+ "end": 2812,
"loc": {
"start": {
- "line": 67,
- "column": 52
+ "line": 74,
+ "column": 69
},
"end": {
- "line": 67,
- "column": 53
+ "line": 74,
+ "column": 70
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
+ "label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -18514,23 +21590,23 @@
"binop": null,
"updateContext": null
},
- "value": "this",
- "start": 2489,
- "end": 2493,
+ "value": 100,
+ "start": 2813,
+ "end": 2816,
"loc": {
"start": {
- "line": 68,
- "column": 2
+ "line": 74,
+ "column": 71
},
"end": {
- "line": 68,
- "column": 6
+ "line": 74,
+ "column": 74
}
}
},
{
"type": {
- "label": ".",
+ "label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -18538,25 +21614,25 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 2493,
- "end": 2494,
+ "start": 2816,
+ "end": 2817,
"loc": {
"start": {
- "line": 68,
- "column": 6
+ "line": 74,
+ "column": 74
},
"end": {
- "line": 68,
- "column": 7
+ "line": 74,
+ "column": 75
}
}
},
{
"type": {
- "label": "name",
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -18564,19 +21640,20 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "textObjects",
- "start": 2494,
- "end": 2505,
+ "value": "this",
+ "start": 2820,
+ "end": 2824,
"loc": {
"start": {
- "line": 68,
- "column": 7
+ "line": 75,
+ "column": 2
},
"end": {
- "line": 68,
- "column": 18
+ "line": 75,
+ "column": 6
}
}
},
@@ -18593,16 +21670,16 @@
"binop": null,
"updateContext": null
},
- "start": 2505,
- "end": 2506,
+ "start": 2824,
+ "end": 2825,
"loc": {
"start": {
- "line": 68,
- "column": 18
+ "line": 75,
+ "column": 6
},
"end": {
- "line": 68,
- "column": 19
+ "line": 75,
+ "column": 7
}
}
},
@@ -18618,72 +21695,43 @@
"postfix": false,
"binop": null
},
- "value": "healthtext",
- "start": 2506,
- "end": 2516,
+ "value": "textObjects",
+ "start": 2825,
+ "end": 2836,
"loc": {
"start": {
- "line": 68,
- "column": 19
+ "line": 75,
+ "column": 7
},
"end": {
- "line": 68,
- "column": 29
+ "line": 75,
+ "column": 18
}
}
},
{
"type": {
- "label": "=",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
- "prefix": false,
- "postfix": false,
- "binop": null,
- "updateContext": null
- },
- "value": "=",
- "start": 2517,
- "end": 2518,
- "loc": {
- "start": {
- "line": 68,
- "column": 30
- },
- "end": {
- "line": 68,
- "column": 31
- }
- }
- },
- {
- "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": 2519,
- "end": 2522,
+ "start": 2836,
+ "end": 2837,
"loc": {
"start": {
- "line": 68,
- "column": 32
+ "line": 75,
+ "column": 18
},
"end": {
- "line": 68,
- "column": 35
+ "line": 75,
+ "column": 19
}
}
},
@@ -18699,17 +21747,17 @@
"postfix": false,
"binop": null
},
- "value": "PIXI",
- "start": 2523,
- "end": 2527,
+ "value": "nametext",
+ "start": 2837,
+ "end": 2845,
"loc": {
"start": {
- "line": 68,
- "column": 36
+ "line": 75,
+ "column": 19
},
"end": {
- "line": 68,
- "column": 40
+ "line": 75,
+ "column": 27
}
}
},
@@ -18726,16 +21774,16 @@
"binop": null,
"updateContext": null
},
- "start": 2527,
- "end": 2528,
+ "start": 2845,
+ "end": 2846,
"loc": {
"start": {
- "line": 68,
- "column": 40
+ "line": 75,
+ "column": 27
},
"end": {
- "line": 68,
- "column": 41
+ "line": 75,
+ "column": 28
}
}
},
@@ -18751,48 +21799,51 @@
"postfix": false,
"binop": null
},
- "value": "Text",
- "start": 2528,
- "end": 2532,
+ "value": "text",
+ "start": 2846,
+ "end": 2850,
"loc": {
"start": {
- "line": 68,
- "column": 41
+ "line": 75,
+ "column": 28
},
"end": {
- "line": 68,
- "column": 45
+ "line": 75,
+ "column": 32
}
}
},
{
"type": {
- "label": "(",
+ "label": "_=",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 2532,
- "end": 2533,
+ "value": "+=",
+ "start": 2851,
+ "end": 2853,
"loc": {
"start": {
- "line": 68,
- "column": 45
+ "line": 75,
+ "column": 33
},
"end": {
- "line": 68,
- "column": 46
+ "line": 75,
+ "column": 35
}
}
},
{
"type": {
- "label": "string",
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -18803,23 +21854,23 @@
"binop": null,
"updateContext": null
},
- "value": "health: ",
- "start": 2533,
- "end": 2543,
+ "value": "this",
+ "start": 2854,
+ "end": 2858,
"loc": {
"start": {
- "line": 68,
- "column": 46
+ "line": 75,
+ "column": 36
},
"end": {
- "line": 68,
- "column": 56
+ "line": 75,
+ "column": 40
}
}
},
{
"type": {
- "label": ")",
+ "label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -18827,34 +21878,45 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 2543,
- "end": 2544,
+ "start": 2858,
+ "end": 2859,
"loc": {
"start": {
- "line": 68,
- "column": 56
+ "line": 75,
+ "column": 40
},
"end": {
- "line": 68,
- "column": 57
+ "line": 75,
+ "column": 41
}
}
},
{
- "type": "CommentLine",
- "value": " Assign values and positions",
- "start": 2548,
- "end": 2578,
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "name",
+ "start": 2859,
+ "end": 2863,
"loc": {
"start": {
- "line": 70,
- "column": 2
+ "line": 75,
+ "column": 41
},
"end": {
- "line": 70,
- "column": 32
+ "line": 75,
+ "column": 45
}
}
},
@@ -18873,15 +21935,15 @@
"updateContext": null
},
"value": "this",
- "start": 2581,
- "end": 2585,
+ "start": 2866,
+ "end": 2870,
"loc": {
"start": {
- "line": 71,
+ "line": 76,
"column": 2
},
"end": {
- "line": 71,
+ "line": 76,
"column": 6
}
}
@@ -18899,15 +21961,15 @@
"binop": null,
"updateContext": null
},
- "start": 2585,
- "end": 2586,
+ "start": 2870,
+ "end": 2871,
"loc": {
"start": {
- "line": 71,
+ "line": 76,
"column": 6
},
"end": {
- "line": 71,
+ "line": 76,
"column": 7
}
}
@@ -18925,15 +21987,15 @@
"binop": null
},
"value": "textObjects",
- "start": 2586,
- "end": 2597,
+ "start": 2871,
+ "end": 2882,
"loc": {
"start": {
- "line": 71,
+ "line": 76,
"column": 7
},
"end": {
- "line": 71,
+ "line": 76,
"column": 18
}
}
@@ -18951,15 +22013,15 @@
"binop": null,
"updateContext": null
},
- "start": 2597,
- "end": 2598,
+ "start": 2882,
+ "end": 2883,
"loc": {
"start": {
- "line": 71,
+ "line": 76,
"column": 18
},
"end": {
- "line": 71,
+ "line": 76,
"column": 19
}
}
@@ -18976,17 +22038,17 @@
"postfix": false,
"binop": null
},
- "value": "idtext",
- "start": 2598,
- "end": 2604,
+ "value": "postext",
+ "start": 2883,
+ "end": 2890,
"loc": {
"start": {
- "line": 71,
+ "line": 76,
"column": 19
},
"end": {
- "line": 71,
- "column": 25
+ "line": 76,
+ "column": 26
}
}
},
@@ -19003,16 +22065,16 @@
"binop": null,
"updateContext": null
},
- "start": 2604,
- "end": 2605,
+ "start": 2890,
+ "end": 2891,
"loc": {
"start": {
- "line": 71,
- "column": 25
+ "line": 76,
+ "column": 26
},
"end": {
- "line": 71,
- "column": 26
+ "line": 76,
+ "column": 27
}
}
},
@@ -19029,16 +22091,16 @@
"binop": null
},
"value": "position",
- "start": 2605,
- "end": 2613,
+ "start": 2891,
+ "end": 2899,
"loc": {
"start": {
- "line": 71,
- "column": 26
+ "line": 76,
+ "column": 27
},
"end": {
- "line": 71,
- "column": 34
+ "line": 76,
+ "column": 35
}
}
},
@@ -19055,16 +22117,16 @@
"binop": null,
"updateContext": null
},
- "start": 2613,
- "end": 2614,
+ "start": 2899,
+ "end": 2900,
"loc": {
"start": {
- "line": 71,
- "column": 34
+ "line": 76,
+ "column": 35
},
"end": {
- "line": 71,
- "column": 35
+ "line": 76,
+ "column": 36
}
}
},
@@ -19081,16 +22143,16 @@
"binop": null
},
"value": "set",
- "start": 2614,
- "end": 2617,
+ "start": 2900,
+ "end": 2903,
"loc": {
"start": {
- "line": 71,
- "column": 35
+ "line": 76,
+ "column": 36
},
"end": {
- "line": 71,
- "column": 38
+ "line": 76,
+ "column": 39
}
}
},
@@ -19106,16 +22168,16 @@
"postfix": false,
"binop": null
},
- "start": 2617,
- "end": 2618,
+ "start": 2903,
+ "end": 2904,
"loc": {
"start": {
- "line": 71,
- "column": 38
+ "line": 76,
+ "column": 39
},
"end": {
- "line": 71,
- "column": 39
+ "line": 76,
+ "column": 40
}
}
},
@@ -19133,16 +22195,16 @@
"updateContext": null
},
"value": 0,
- "start": 2618,
- "end": 2619,
+ "start": 2904,
+ "end": 2905,
"loc": {
"start": {
- "line": 71,
- "column": 39
+ "line": 76,
+ "column": 40
},
"end": {
- "line": 71,
- "column": 40
+ "line": 76,
+ "column": 41
}
}
},
@@ -19159,16 +22221,16 @@
"binop": null,
"updateContext": null
},
- "start": 2619,
- "end": 2620,
+ "start": 2905,
+ "end": 2906,
"loc": {
"start": {
- "line": 71,
- "column": 40
+ "line": 76,
+ "column": 41
},
"end": {
- "line": 71,
- "column": 41
+ "line": 76,
+ "column": 42
}
}
},
@@ -19185,16 +22247,16 @@
"binop": null
},
"value": "GLOBAL",
- "start": 2621,
- "end": 2627,
+ "start": 2907,
+ "end": 2913,
"loc": {
"start": {
- "line": 71,
- "column": 42
+ "line": 76,
+ "column": 43
},
"end": {
- "line": 71,
- "column": 48
+ "line": 76,
+ "column": 49
}
}
},
@@ -19211,16 +22273,16 @@
"binop": null,
"updateContext": null
},
- "start": 2627,
- "end": 2628,
+ "start": 2913,
+ "end": 2914,
"loc": {
"start": {
- "line": 71,
- "column": 48
+ "line": 76,
+ "column": 49
},
"end": {
- "line": 71,
- "column": 49
+ "line": 76,
+ "column": 50
}
}
},
@@ -19237,16 +22299,16 @@
"binop": null
},
"value": "PLAYER_RADIUS",
- "start": 2628,
- "end": 2641,
+ "start": 2914,
+ "end": 2927,
"loc": {
"start": {
- "line": 71,
- "column": 49
+ "line": 76,
+ "column": 50
},
"end": {
- "line": 71,
- "column": 62
+ "line": 76,
+ "column": 63
}
}
},
@@ -19264,16 +22326,16 @@
"updateContext": null
},
"value": "*",
- "start": 2642,
- "end": 2643,
+ "start": 2928,
+ "end": 2929,
"loc": {
"start": {
- "line": 71,
- "column": 63
+ "line": 76,
+ "column": 64
},
"end": {
- "line": 71,
- "column": 64
+ "line": 76,
+ "column": 65
}
}
},
@@ -19291,16 +22353,70 @@
"updateContext": null
},
"value": 9,
- "start": 2644,
- "end": 2645,
+ "start": 2930,
+ "end": 2931,
"loc": {
"start": {
- "line": 71,
- "column": 65
+ "line": 76,
+ "column": 66
+ },
+ "end": {
+ "line": 76,
+ "column": 67
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "+/-",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": true,
+ "postfix": false,
+ "binop": 9,
+ "updateContext": null
+ },
+ "value": "+",
+ "start": 2932,
+ "end": 2933,
+ "loc": {
+ "start": {
+ "line": 76,
+ "column": 68
+ },
+ "end": {
+ "line": 76,
+ "column": 69
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "num",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": 200,
+ "start": 2934,
+ "end": 2937,
+ "loc": {
+ "start": {
+ "line": 76,
+ "column": 70
},
"end": {
- "line": 71,
- "column": 66
+ "line": 76,
+ "column": 73
}
}
},
@@ -19316,16 +22432,16 @@
"postfix": false,
"binop": null
},
- "start": 2645,
- "end": 2646,
+ "start": 2937,
+ "end": 2938,
"loc": {
"start": {
- "line": 71,
- "column": 66
+ "line": 76,
+ "column": 73
},
"end": {
- "line": 71,
- "column": 67
+ "line": 76,
+ "column": 74
}
}
},
@@ -19344,15 +22460,15 @@
"updateContext": null
},
"value": "this",
- "start": 2649,
- "end": 2653,
+ "start": 2941,
+ "end": 2945,
"loc": {
"start": {
- "line": 72,
+ "line": 77,
"column": 2
},
"end": {
- "line": 72,
+ "line": 77,
"column": 6
}
}
@@ -19370,15 +22486,15 @@
"binop": null,
"updateContext": null
},
- "start": 2653,
- "end": 2654,
+ "start": 2945,
+ "end": 2946,
"loc": {
"start": {
- "line": 72,
+ "line": 77,
"column": 6
},
"end": {
- "line": 72,
+ "line": 77,
"column": 7
}
}
@@ -19396,15 +22512,15 @@
"binop": null
},
"value": "textObjects",
- "start": 2654,
- "end": 2665,
+ "start": 2946,
+ "end": 2957,
"loc": {
"start": {
- "line": 72,
+ "line": 77,
"column": 7
},
"end": {
- "line": 72,
+ "line": 77,
"column": 18
}
}
@@ -19422,15 +22538,15 @@
"binop": null,
"updateContext": null
},
- "start": 2665,
- "end": 2666,
+ "start": 2957,
+ "end": 2958,
"loc": {
"start": {
- "line": 72,
+ "line": 77,
"column": 18
},
"end": {
- "line": 72,
+ "line": 77,
"column": 19
}
}
@@ -19447,17 +22563,17 @@
"postfix": false,
"binop": null
},
- "value": "idtext",
- "start": 2666,
- "end": 2672,
+ "value": "teamtext",
+ "start": 2958,
+ "end": 2966,
"loc": {
"start": {
- "line": 72,
+ "line": 77,
"column": 19
},
"end": {
- "line": 72,
- "column": 25
+ "line": 77,
+ "column": 27
}
}
},
@@ -19474,16 +22590,16 @@
"binop": null,
"updateContext": null
},
- "start": 2672,
- "end": 2673,
+ "start": 2966,
+ "end": 2967,
"loc": {
"start": {
- "line": 72,
- "column": 25
+ "line": 77,
+ "column": 27
},
"end": {
- "line": 72,
- "column": 26
+ "line": 77,
+ "column": 28
}
}
},
@@ -19500,16 +22616,16 @@
"binop": null
},
"value": "text",
- "start": 2673,
- "end": 2677,
+ "start": 2967,
+ "end": 2971,
"loc": {
"start": {
- "line": 72,
- "column": 26
+ "line": 77,
+ "column": 28
},
"end": {
- "line": 72,
- "column": 30
+ "line": 77,
+ "column": 32
}
}
},
@@ -19527,16 +22643,16 @@
"updateContext": null
},
"value": "+=",
- "start": 2678,
- "end": 2680,
+ "start": 2972,
+ "end": 2974,
"loc": {
"start": {
- "line": 72,
- "column": 31
+ "line": 77,
+ "column": 33
},
"end": {
- "line": 72,
- "column": 33
+ "line": 77,
+ "column": 35
}
}
},
@@ -19555,16 +22671,16 @@
"updateContext": null
},
"value": "this",
- "start": 2681,
- "end": 2685,
+ "start": 2975,
+ "end": 2979,
"loc": {
"start": {
- "line": 72,
- "column": 34
+ "line": 77,
+ "column": 36
},
"end": {
- "line": 72,
- "column": 38
+ "line": 77,
+ "column": 40
}
}
},
@@ -19581,16 +22697,16 @@
"binop": null,
"updateContext": null
},
- "start": 2685,
- "end": 2686,
+ "start": 2979,
+ "end": 2980,
"loc": {
"start": {
- "line": 72,
- "column": 38
+ "line": 77,
+ "column": 40
},
"end": {
- "line": 72,
- "column": 39
+ "line": 77,
+ "column": 41
}
}
},
@@ -19606,17 +22722,17 @@
"postfix": false,
"binop": null
},
- "value": "id",
- "start": 2686,
- "end": 2688,
+ "value": "team",
+ "start": 2980,
+ "end": 2984,
"loc": {
"start": {
- "line": 72,
- "column": 39
+ "line": 77,
+ "column": 41
},
"end": {
- "line": 72,
- "column": 41
+ "line": 77,
+ "column": 45
}
}
},
@@ -19635,15 +22751,15 @@
"updateContext": null
},
"value": "this",
- "start": 2691,
- "end": 2695,
+ "start": 2987,
+ "end": 2991,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 2
},
"end": {
- "line": 73,
+ "line": 78,
"column": 6
}
}
@@ -19661,15 +22777,15 @@
"binop": null,
"updateContext": null
},
- "start": 2695,
- "end": 2696,
+ "start": 2991,
+ "end": 2992,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 6
},
"end": {
- "line": 73,
+ "line": 78,
"column": 7
}
}
@@ -19687,15 +22803,15 @@
"binop": null
},
"value": "textObjects",
- "start": 2696,
- "end": 2707,
+ "start": 2992,
+ "end": 3003,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 7
},
"end": {
- "line": 73,
+ "line": 78,
"column": 18
}
}
@@ -19713,15 +22829,15 @@
"binop": null,
"updateContext": null
},
- "start": 2707,
- "end": 2708,
+ "start": 3003,
+ "end": 3004,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 18
},
"end": {
- "line": 73,
+ "line": 78,
"column": 19
}
}
@@ -19738,16 +22854,16 @@
"postfix": false,
"binop": null
},
- "value": "nametext",
- "start": 2708,
- "end": 2716,
+ "value": "teamtext",
+ "start": 3004,
+ "end": 3012,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 19
},
"end": {
- "line": 73,
+ "line": 78,
"column": 27
}
}
@@ -19765,15 +22881,15 @@
"binop": null,
"updateContext": null
},
- "start": 2716,
- "end": 2717,
+ "start": 3012,
+ "end": 3013,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 27
},
"end": {
- "line": 73,
+ "line": 78,
"column": 28
}
}
@@ -19791,15 +22907,15 @@
"binop": null
},
"value": "position",
- "start": 2717,
- "end": 2725,
+ "start": 3013,
+ "end": 3021,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 28
},
"end": {
- "line": 73,
+ "line": 78,
"column": 36
}
}
@@ -19817,15 +22933,15 @@
"binop": null,
"updateContext": null
},
- "start": 2725,
- "end": 2726,
+ "start": 3021,
+ "end": 3022,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 36
},
"end": {
- "line": 73,
+ "line": 78,
"column": 37
}
}
@@ -19843,15 +22959,15 @@
"binop": null
},
"value": "set",
- "start": 2726,
- "end": 2729,
+ "start": 3022,
+ "end": 3025,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 37
},
"end": {
- "line": 73,
+ "line": 78,
"column": 40
}
}
@@ -19868,15 +22984,15 @@
"postfix": false,
"binop": null
},
- "start": 2729,
- "end": 2730,
+ "start": 3025,
+ "end": 3026,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 40
},
"end": {
- "line": 73,
+ "line": 78,
"column": 41
}
}
@@ -19895,15 +23011,15 @@
"updateContext": null
},
"value": 0,
- "start": 2730,
- "end": 2731,
+ "start": 3026,
+ "end": 3027,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 41
},
"end": {
- "line": 73,
+ "line": 78,
"column": 42
}
}
@@ -19921,15 +23037,15 @@
"binop": null,
"updateContext": null
},
- "start": 2731,
- "end": 2732,
+ "start": 3027,
+ "end": 3028,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 42
},
"end": {
- "line": 73,
+ "line": 78,
"column": 43
}
}
@@ -19947,15 +23063,15 @@
"binop": null
},
"value": "GLOBAL",
- "start": 2733,
- "end": 2739,
+ "start": 3029,
+ "end": 3035,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 44
},
"end": {
- "line": 73,
+ "line": 78,
"column": 50
}
}
@@ -19973,15 +23089,15 @@
"binop": null,
"updateContext": null
},
- "start": 2739,
- "end": 2740,
+ "start": 3035,
+ "end": 3036,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 50
},
"end": {
- "line": 73,
+ "line": 78,
"column": 51
}
}
@@ -19999,15 +23115,15 @@
"binop": null
},
"value": "PLAYER_RADIUS",
- "start": 2740,
- "end": 2753,
+ "start": 3036,
+ "end": 3049,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 51
},
"end": {
- "line": 73,
+ "line": 78,
"column": 64
}
}
@@ -20026,15 +23142,15 @@
"updateContext": null
},
"value": "*",
- "start": 2754,
- "end": 2755,
+ "start": 3050,
+ "end": 3051,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 65
},
"end": {
- "line": 73,
+ "line": 78,
"column": 66
}
}
@@ -20053,15 +23169,15 @@
"updateContext": null
},
"value": 9,
- "start": 2756,
- "end": 2757,
+ "start": 3052,
+ "end": 3053,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 67
},
"end": {
- "line": 73,
+ "line": 78,
"column": 68
}
}
@@ -20080,15 +23196,15 @@
"updateContext": null
},
"value": "+",
- "start": 2758,
- "end": 2759,
+ "start": 3054,
+ "end": 3055,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 69
},
"end": {
- "line": 73,
+ "line": 78,
"column": 70
}
}
@@ -20106,16 +23222,16 @@
"binop": null,
"updateContext": null
},
- "value": 100,
- "start": 2760,
- "end": 2763,
+ "value": 300,
+ "start": 3056,
+ "end": 3059,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 71
},
"end": {
- "line": 73,
+ "line": 78,
"column": 74
}
}
@@ -20132,15 +23248,15 @@
"postfix": false,
"binop": null
},
- "start": 2763,
- "end": 2764,
+ "start": 3059,
+ "end": 3060,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 74
},
"end": {
- "line": 73,
+ "line": 78,
"column": 75
}
}
@@ -20160,15 +23276,15 @@
"updateContext": null
},
"value": "this",
- "start": 2767,
- "end": 2771,
+ "start": 3063,
+ "end": 3067,
"loc": {
"start": {
- "line": 74,
+ "line": 79,
"column": 2
},
"end": {
- "line": 74,
+ "line": 79,
"column": 6
}
}
@@ -20186,15 +23302,15 @@
"binop": null,
"updateContext": null
},
- "start": 2771,
- "end": 2772,
+ "start": 3067,
+ "end": 3068,
"loc": {
"start": {
- "line": 74,
+ "line": 79,
"column": 6
},
"end": {
- "line": 74,
+ "line": 79,
"column": 7
}
}
@@ -20212,15 +23328,15 @@
"binop": null
},
"value": "textObjects",
- "start": 2772,
- "end": 2783,
+ "start": 3068,
+ "end": 3079,
"loc": {
"start": {
- "line": 74,
+ "line": 79,
"column": 7
},
"end": {
- "line": 74,
+ "line": 79,
"column": 18
}
}
@@ -20238,15 +23354,15 @@
"binop": null,
"updateContext": null
},
- "start": 2783,
- "end": 2784,
+ "start": 3079,
+ "end": 3080,
"loc": {
"start": {
- "line": 74,
+ "line": 79,
"column": 18
},
"end": {
- "line": 74,
+ "line": 79,
"column": 19
}
}
@@ -20263,17 +23379,17 @@
"postfix": false,
"binop": null
},
- "value": "nametext",
- "start": 2784,
- "end": 2792,
+ "value": "defensetext",
+ "start": 3080,
+ "end": 3091,
"loc": {
"start": {
- "line": 74,
+ "line": 79,
"column": 19
},
"end": {
- "line": 74,
- "column": 27
+ "line": 79,
+ "column": 30
}
}
},
@@ -20290,16 +23406,16 @@
"binop": null,
"updateContext": null
},
- "start": 2792,
- "end": 2793,
+ "start": 3091,
+ "end": 3092,
"loc": {
"start": {
- "line": 74,
- "column": 27
+ "line": 79,
+ "column": 30
},
"end": {
- "line": 74,
- "column": 28
+ "line": 79,
+ "column": 31
}
}
},
@@ -20316,16 +23432,16 @@
"binop": null
},
"value": "text",
- "start": 2793,
- "end": 2797,
+ "start": 3092,
+ "end": 3096,
"loc": {
"start": {
- "line": 74,
- "column": 28
+ "line": 79,
+ "column": 31
},
"end": {
- "line": 74,
- "column": 32
+ "line": 79,
+ "column": 35
}
}
},
@@ -20343,16 +23459,16 @@
"updateContext": null
},
"value": "+=",
- "start": 2798,
- "end": 2800,
+ "start": 3097,
+ "end": 3099,
"loc": {
"start": {
- "line": 74,
- "column": 33
+ "line": 79,
+ "column": 36
},
"end": {
- "line": 74,
- "column": 35
+ "line": 79,
+ "column": 38
}
}
},
@@ -20371,16 +23487,16 @@
"updateContext": null
},
"value": "this",
- "start": 2801,
- "end": 2805,
+ "start": 3100,
+ "end": 3104,
"loc": {
"start": {
- "line": 74,
- "column": 36
+ "line": 79,
+ "column": 39
},
"end": {
- "line": 74,
- "column": 40
+ "line": 79,
+ "column": 43
}
}
},
@@ -20397,16 +23513,16 @@
"binop": null,
"updateContext": null
},
- "start": 2805,
- "end": 2806,
+ "start": 3104,
+ "end": 3105,
"loc": {
"start": {
- "line": 74,
- "column": 40
+ "line": 79,
+ "column": 43
},
"end": {
- "line": 74,
- "column": 41
+ "line": 79,
+ "column": 44
}
}
},
@@ -20422,17 +23538,17 @@
"postfix": false,
"binop": null
},
- "value": "name",
- "start": 2806,
- "end": 2810,
+ "value": "shield",
+ "start": 3105,
+ "end": 3111,
"loc": {
"start": {
- "line": 74,
- "column": 41
+ "line": 79,
+ "column": 44
},
"end": {
- "line": 74,
- "column": 45
+ "line": 79,
+ "column": 50
}
}
},
@@ -20451,15 +23567,15 @@
"updateContext": null
},
"value": "this",
- "start": 2813,
- "end": 2817,
+ "start": 3114,
+ "end": 3118,
"loc": {
"start": {
- "line": 75,
+ "line": 80,
"column": 2
},
"end": {
- "line": 75,
+ "line": 80,
"column": 6
}
}
@@ -20477,15 +23593,15 @@
"binop": null,
"updateContext": null
},
- "start": 2817,
- "end": 2818,
+ "start": 3118,
+ "end": 3119,
"loc": {
"start": {
- "line": 75,
+ "line": 80,
"column": 6
},
"end": {
- "line": 75,
+ "line": 80,
"column": 7
}
}
@@ -20503,15 +23619,15 @@
"binop": null
},
"value": "textObjects",
- "start": 2818,
- "end": 2829,
+ "start": 3119,
+ "end": 3130,
"loc": {
"start": {
- "line": 75,
+ "line": 80,
"column": 7
},
"end": {
- "line": 75,
+ "line": 80,
"column": 18
}
}
@@ -20529,15 +23645,15 @@
"binop": null,
"updateContext": null
},
- "start": 2829,
- "end": 2830,
+ "start": 3130,
+ "end": 3131,
"loc": {
"start": {
- "line": 75,
+ "line": 80,
"column": 18
},
"end": {
- "line": 75,
+ "line": 80,
"column": 19
}
}
@@ -20554,17 +23670,17 @@
"postfix": false,
"binop": null
},
- "value": "postext",
- "start": 2830,
- "end": 2837,
+ "value": "defensetext",
+ "start": 3131,
+ "end": 3142,
"loc": {
"start": {
- "line": 75,
+ "line": 80,
"column": 19
},
"end": {
- "line": 75,
- "column": 26
+ "line": 80,
+ "column": 30
}
}
},
@@ -20581,16 +23697,16 @@
"binop": null,
"updateContext": null
},
- "start": 2837,
- "end": 2838,
+ "start": 3142,
+ "end": 3143,
"loc": {
"start": {
- "line": 75,
- "column": 26
+ "line": 80,
+ "column": 30
},
"end": {
- "line": 75,
- "column": 27
+ "line": 80,
+ "column": 31
}
}
},
@@ -20607,16 +23723,16 @@
"binop": null
},
"value": "position",
- "start": 2838,
- "end": 2846,
+ "start": 3143,
+ "end": 3151,
"loc": {
"start": {
- "line": 75,
- "column": 27
+ "line": 80,
+ "column": 31
},
"end": {
- "line": 75,
- "column": 35
+ "line": 80,
+ "column": 39
}
}
},
@@ -20633,16 +23749,16 @@
"binop": null,
"updateContext": null
},
- "start": 2846,
- "end": 2847,
+ "start": 3151,
+ "end": 3152,
"loc": {
"start": {
- "line": 75,
- "column": 35
+ "line": 80,
+ "column": 39
},
"end": {
- "line": 75,
- "column": 36
+ "line": 80,
+ "column": 40
}
}
},
@@ -20659,16 +23775,16 @@
"binop": null
},
"value": "set",
- "start": 2847,
- "end": 2850,
+ "start": 3152,
+ "end": 3155,
"loc": {
"start": {
- "line": 75,
- "column": 36
+ "line": 80,
+ "column": 40
},
"end": {
- "line": 75,
- "column": 39
+ "line": 80,
+ "column": 43
}
}
},
@@ -20684,16 +23800,16 @@
"postfix": false,
"binop": null
},
- "start": 2850,
- "end": 2851,
+ "start": 3155,
+ "end": 3156,
"loc": {
"start": {
- "line": 75,
- "column": 39
+ "line": 80,
+ "column": 43
},
"end": {
- "line": 75,
- "column": 40
+ "line": 80,
+ "column": 44
}
}
},
@@ -20711,16 +23827,16 @@
"updateContext": null
},
"value": 0,
- "start": 2851,
- "end": 2852,
+ "start": 3156,
+ "end": 3157,
"loc": {
"start": {
- "line": 75,
- "column": 40
+ "line": 80,
+ "column": 44
},
"end": {
- "line": 75,
- "column": 41
+ "line": 80,
+ "column": 45
}
}
},
@@ -20737,16 +23853,16 @@
"binop": null,
"updateContext": null
},
- "start": 2852,
- "end": 2853,
+ "start": 3157,
+ "end": 3158,
"loc": {
"start": {
- "line": 75,
- "column": 41
+ "line": 80,
+ "column": 45
},
"end": {
- "line": 75,
- "column": 42
+ "line": 80,
+ "column": 46
}
}
},
@@ -20763,16 +23879,16 @@
"binop": null
},
"value": "GLOBAL",
- "start": 2854,
- "end": 2860,
+ "start": 3159,
+ "end": 3165,
"loc": {
"start": {
- "line": 75,
- "column": 43
+ "line": 80,
+ "column": 47
},
"end": {
- "line": 75,
- "column": 49
+ "line": 80,
+ "column": 53
}
}
},
@@ -20789,16 +23905,16 @@
"binop": null,
"updateContext": null
},
- "start": 2860,
- "end": 2861,
+ "start": 3165,
+ "end": 3166,
"loc": {
"start": {
- "line": 75,
- "column": 49
+ "line": 80,
+ "column": 53
},
"end": {
- "line": 75,
- "column": 50
+ "line": 80,
+ "column": 54
}
}
},
@@ -20815,16 +23931,16 @@
"binop": null
},
"value": "PLAYER_RADIUS",
- "start": 2861,
- "end": 2874,
+ "start": 3166,
+ "end": 3179,
"loc": {
"start": {
- "line": 75,
- "column": 50
+ "line": 80,
+ "column": 54
},
"end": {
- "line": 75,
- "column": 63
+ "line": 80,
+ "column": 67
}
}
},
@@ -20842,16 +23958,16 @@
"updateContext": null
},
"value": "*",
- "start": 2875,
- "end": 2876,
+ "start": 3180,
+ "end": 3181,
"loc": {
"start": {
- "line": 75,
- "column": 64
+ "line": 80,
+ "column": 68
},
"end": {
- "line": 75,
- "column": 65
+ "line": 80,
+ "column": 69
}
}
},
@@ -20869,16 +23985,16 @@
"updateContext": null
},
"value": 9,
- "start": 2877,
- "end": 2878,
+ "start": 3182,
+ "end": 3183,
"loc": {
"start": {
- "line": 75,
- "column": 66
+ "line": 80,
+ "column": 70
},
"end": {
- "line": 75,
- "column": 67
+ "line": 80,
+ "column": 71
}
}
},
@@ -20896,16 +24012,16 @@
"updateContext": null
},
"value": "+",
- "start": 2879,
- "end": 2880,
+ "start": 3184,
+ "end": 3185,
"loc": {
"start": {
- "line": 75,
- "column": 68
+ "line": 80,
+ "column": 72
},
"end": {
- "line": 75,
- "column": 69
+ "line": 80,
+ "column": 73
}
}
},
@@ -20922,17 +24038,17 @@
"binop": null,
"updateContext": null
},
- "value": 200,
- "start": 2881,
- "end": 2884,
+ "value": 400,
+ "start": 3186,
+ "end": 3189,
"loc": {
"start": {
- "line": 75,
- "column": 70
+ "line": 80,
+ "column": 74
},
"end": {
- "line": 75,
- "column": 73
+ "line": 80,
+ "column": 77
}
}
},
@@ -20948,77 +24064,67 @@
"postfix": false,
"binop": null
},
- "start": 2884,
- "end": 2885,
+ "start": 3189,
+ "end": 3190,
"loc": {
"start": {
- "line": 75,
- "column": 73
+ "line": 80,
+ "column": 77
},
"end": {
- "line": 75,
- "column": 74
+ "line": 80,
+ "column": 78
}
}
},
{
- "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": 2888,
- "end": 2892,
+ "type": "CommentLine",
+ "value": " create text and assign color",
+ "start": 3194,
+ "end": 3225,
"loc": {
"start": {
- "line": 76,
+ "line": 82,
"column": 2
},
"end": {
- "line": 76,
- "column": 6
+ "line": 82,
+ "column": 33
}
}
},
{
"type": {
- "label": ".",
+ "label": "for",
+ "keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
- "isLoop": false,
+ "isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "start": 2892,
- "end": 2893,
+ "value": "for",
+ "start": 3228,
+ "end": 3231,
"loc": {
"start": {
- "line": 76,
- "column": 6
+ "line": 83,
+ "column": 2
},
"end": {
- "line": 76,
- "column": 7
+ "line": 83,
+ "column": 5
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "(",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -21027,23 +24133,23 @@
"postfix": false,
"binop": null
},
- "value": "textObjects",
- "start": 2893,
- "end": 2904,
+ "start": 3232,
+ "end": 3233,
"loc": {
"start": {
- "line": 76,
- "column": 7
+ "line": 83,
+ "column": 6
},
"end": {
- "line": 76,
- "column": 18
+ "line": 83,
+ "column": 7
}
}
},
{
"type": {
- "label": ".",
+ "label": "let",
+ "keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -21054,16 +24160,17 @@
"binop": null,
"updateContext": null
},
- "start": 2904,
- "end": 2905,
+ "value": "let",
+ "start": 3233,
+ "end": 3236,
"loc": {
"start": {
- "line": 76,
- "column": 18
+ "line": 83,
+ "column": 7
},
"end": {
- "line": 76,
- "column": 19
+ "line": 83,
+ "column": 10
}
}
},
@@ -21079,49 +24186,52 @@
"postfix": false,
"binop": null
},
- "value": "teamtext",
- "start": 2905,
- "end": 2913,
+ "value": "item",
+ "start": 3237,
+ "end": 3241,
"loc": {
"start": {
- "line": 76,
- "column": 19
+ "line": 83,
+ "column": 11
},
"end": {
- "line": 76,
- "column": 27
+ "line": 83,
+ "column": 15
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
+ "label": "in",
+ "keyword": "in",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
+ "binop": 7,
"updateContext": null
},
- "start": 2913,
- "end": 2914,
+ "value": "in",
+ "start": 3242,
+ "end": 3244,
"loc": {
"start": {
- "line": 76,
- "column": 27
+ "line": 83,
+ "column": 16
},
"end": {
- "line": 76,
- "column": 28
+ "line": 83,
+ "column": 18
}
}
},
{
"type": {
- "label": "name",
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -21129,53 +24239,52 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "text",
- "start": 2914,
- "end": 2918,
+ "value": "this",
+ "start": 3245,
+ "end": 3249,
"loc": {
"start": {
- "line": 76,
- "column": 28
+ "line": 83,
+ "column": 19
},
"end": {
- "line": 76,
- "column": 32
+ "line": 83,
+ "column": 23
}
}
},
{
"type": {
- "label": "_=",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "+=",
- "start": 2919,
- "end": 2921,
+ "start": 3249,
+ "end": 3250,
"loc": {
"start": {
- "line": 76,
- "column": 33
+ "line": 83,
+ "column": 23
},
"end": {
- "line": 76,
- "column": 35
+ "line": 83,
+ "column": 24
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -21183,26 +24292,25 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "this",
- "start": 2922,
- "end": 2926,
+ "value": "textObjects",
+ "start": 3250,
+ "end": 3261,
"loc": {
"start": {
- "line": 76,
- "column": 36
+ "line": 83,
+ "column": 24
},
"end": {
- "line": 76,
- "column": 40
+ "line": 83,
+ "column": 35
}
}
},
{
"type": {
- "label": ".",
+ "label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -21210,26 +24318,25 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 2926,
- "end": 2927,
+ "start": 3261,
+ "end": 3262,
"loc": {
"start": {
- "line": 76,
- "column": 40
+ "line": 83,
+ "column": 35
},
"end": {
- "line": 76,
- "column": 41
+ "line": 83,
+ "column": 36
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "{",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -21238,17 +24345,32 @@
"postfix": false,
"binop": null
},
- "value": "team",
- "start": 2927,
- "end": 2931,
+ "start": 3263,
+ "end": 3264,
"loc": {
"start": {
- "line": 76,
- "column": 41
+ "line": 83,
+ "column": 37
},
"end": {
- "line": 76,
- "column": 45
+ "line": 83,
+ "column": 38
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Add text",
+ "start": 3268,
+ "end": 3279,
+ "loc": {
+ "start": {
+ "line": 84,
+ "column": 3
+ },
+ "end": {
+ "line": 84,
+ "column": 14
}
}
},
@@ -21267,16 +24389,16 @@
"updateContext": null
},
"value": "this",
- "start": 2934,
- "end": 2938,
+ "start": 3283,
+ "end": 3287,
"loc": {
"start": {
- "line": 77,
- "column": 2
+ "line": 85,
+ "column": 3
},
"end": {
- "line": 77,
- "column": 6
+ "line": 85,
+ "column": 7
}
}
},
@@ -21293,16 +24415,16 @@
"binop": null,
"updateContext": null
},
- "start": 2938,
- "end": 2939,
+ "start": 3287,
+ "end": 3288,
"loc": {
"start": {
- "line": 77,
- "column": 6
+ "line": 85,
+ "column": 7
},
"end": {
- "line": 77,
- "column": 7
+ "line": 85,
+ "column": 8
}
}
},
@@ -21319,24 +24441,24 @@
"binop": null
},
"value": "textObjects",
- "start": 2939,
- "end": 2950,
+ "start": 3288,
+ "end": 3299,
"loc": {
"start": {
- "line": 77,
- "column": 7
+ "line": 85,
+ "column": 8
},
"end": {
- "line": 77,
- "column": 18
+ "line": 85,
+ "column": 19
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "[",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -21345,16 +24467,16 @@
"binop": null,
"updateContext": null
},
- "start": 2950,
- "end": 2951,
+ "start": 3299,
+ "end": 3300,
"loc": {
"start": {
- "line": 77,
- "column": 18
+ "line": 85,
+ "column": 19
},
"end": {
- "line": 77,
- "column": 19
+ "line": 85,
+ "column": 20
}
}
},
@@ -21370,17 +24492,43 @@
"postfix": false,
"binop": null
},
- "value": "teamtext",
- "start": 2951,
- "end": 2959,
+ "value": "item",
+ "start": 3300,
+ "end": 3304,
"loc": {
"start": {
- "line": 77,
- "column": 19
+ "line": 85,
+ "column": 20
},
"end": {
- "line": 77,
- "column": 27
+ "line": 85,
+ "column": 24
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "]",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 3304,
+ "end": 3305,
+ "loc": {
+ "start": {
+ "line": 85,
+ "column": 24
+ },
+ "end": {
+ "line": 85,
+ "column": 25
}
}
},
@@ -21397,16 +24545,16 @@
"binop": null,
"updateContext": null
},
- "start": 2959,
- "end": 2960,
+ "start": 3305,
+ "end": 3306,
"loc": {
"start": {
- "line": 77,
- "column": 27
+ "line": 85,
+ "column": 25
},
"end": {
- "line": 77,
- "column": 28
+ "line": 85,
+ "column": 26
}
}
},
@@ -21422,76 +24570,79 @@
"postfix": false,
"binop": null
},
- "value": "position",
- "start": 2960,
- "end": 2968,
+ "value": "style",
+ "start": 3306,
+ "end": 3311,
"loc": {
"start": {
- "line": 77,
- "column": 28
+ "line": 85,
+ "column": 26
},
"end": {
- "line": 77,
- "column": 36
+ "line": 85,
+ "column": 31
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
+ "label": "=",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "start": 2968,
- "end": 2969,
+ "value": "=",
+ "start": 3312,
+ "end": 3313,
"loc": {
"start": {
- "line": 77,
- "column": 36
+ "line": 85,
+ "column": 32
},
"end": {
- "line": 77,
- "column": 37
+ "line": 85,
+ "column": 33
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "new",
+ "keyword": "new",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "set",
- "start": 2969,
- "end": 2972,
+ "value": "new",
+ "start": 3314,
+ "end": 3317,
"loc": {
"start": {
- "line": 77,
- "column": 37
+ "line": 85,
+ "column": 34
},
"end": {
- "line": 77,
- "column": 40
+ "line": 85,
+ "column": 37
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -21500,24 +24651,25 @@
"postfix": false,
"binop": null
},
- "start": 2972,
- "end": 2973,
+ "value": "PIXI",
+ "start": 3318,
+ "end": 3322,
"loc": {
"start": {
- "line": 77,
- "column": 40
+ "line": 85,
+ "column": 38
},
"end": {
- "line": 77,
- "column": 41
+ "line": 85,
+ "column": 42
}
}
},
{
"type": {
- "label": "num",
+ "label": ".",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -21526,50 +24678,49 @@
"binop": null,
"updateContext": null
},
- "value": 0,
- "start": 2973,
- "end": 2974,
+ "start": 3322,
+ "end": 3323,
"loc": {
"start": {
- "line": 77,
- "column": 41
+ "line": 85,
+ "column": 42
},
"end": {
- "line": 77,
- "column": 42
+ "line": 85,
+ "column": 43
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 2974,
- "end": 2975,
+ "value": "TextStyle",
+ "start": 3323,
+ "end": 3332,
"loc": {
"start": {
- "line": 77,
- "column": 42
- },
- "end": {
- "line": 77,
+ "line": 85,
"column": 43
+ },
+ "end": {
+ "line": 85,
+ "column": 52
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "(",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -21578,43 +24729,41 @@
"postfix": false,
"binop": null
},
- "value": "GLOBAL",
- "start": 2976,
- "end": 2982,
+ "start": 3332,
+ "end": 3333,
"loc": {
"start": {
- "line": 77,
- "column": 44
+ "line": 85,
+ "column": 52
},
"end": {
- "line": 77,
- "column": 50
+ "line": 85,
+ "column": 53
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 2982,
- "end": 2983,
+ "start": 3333,
+ "end": 3334,
"loc": {
"start": {
- "line": 77,
- "column": 50
+ "line": 85,
+ "column": 53
},
"end": {
- "line": 77,
- "column": 51
+ "line": 85,
+ "column": 54
}
}
},
@@ -21630,23 +24779,23 @@
"postfix": false,
"binop": null
},
- "value": "PLAYER_RADIUS",
- "start": 2983,
- "end": 2996,
+ "value": "fill",
+ "start": 3339,
+ "end": 3343,
"loc": {
"start": {
- "line": 77,
- "column": 51
+ "line": 86,
+ "column": 4
},
"end": {
- "line": 77,
- "column": 64
+ "line": 86,
+ "column": 8
}
}
},
{
"type": {
- "label": "*",
+ "label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -21654,26 +24803,25 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": 10,
+ "binop": null,
"updateContext": null
},
- "value": "*",
- "start": 2997,
- "end": 2998,
+ "start": 3343,
+ "end": 3344,
"loc": {
"start": {
- "line": 77,
- "column": 65
+ "line": 86,
+ "column": 8
},
"end": {
- "line": 77,
- "column": 66
+ "line": 86,
+ "column": 9
}
}
},
{
"type": {
- "label": "num",
+ "label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -21684,17 +24832,17 @@
"binop": null,
"updateContext": null
},
- "value": 9,
- "start": 2999,
- "end": 3000,
+ "value": "0x",
+ "start": 3345,
+ "end": 3349,
"loc": {
"start": {
- "line": 77,
- "column": 67
+ "line": 86,
+ "column": 10
},
"end": {
- "line": 77,
- "column": 68
+ "line": 86,
+ "column": 14
}
}
},
@@ -21712,22 +24860,22 @@
"updateContext": null
},
"value": "+",
- "start": 3001,
- "end": 3002,
+ "start": 3350,
+ "end": 3351,
"loc": {
"start": {
- "line": 77,
- "column": 69
+ "line": 86,
+ "column": 15
},
"end": {
- "line": 77,
- "column": 70
+ "line": 86,
+ "column": 16
}
}
},
{
"type": {
- "label": "num",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -21735,96 +24883,52 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
- },
- "value": 300,
- "start": 3003,
- "end": 3006,
- "loc": {
- "start": {
- "line": 77,
- "column": 71
- },
- "end": {
- "line": 77,
- "column": 74
- }
- }
- },
- {
- "type": {
- "label": ")",
- "beforeExpr": false,
- "startsExpr": false,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
"binop": null
},
- "start": 3006,
- "end": 3007,
- "loc": {
- "start": {
- "line": 77,
- "column": 74
- },
- "end": {
- "line": 77,
- "column": 75
- }
- }
- },
- {
- "type": "CommentLine",
- "value": " create text and assign color",
- "start": 3011,
- "end": 3042,
+ "value": "GLOBAL",
+ "start": 3352,
+ "end": 3358,
"loc": {
"start": {
- "line": 79,
- "column": 2
+ "line": 86,
+ "column": 17
},
"end": {
- "line": 79,
- "column": 33
+ "line": 86,
+ "column": 23
}
}
},
{
"type": {
- "label": "for",
- "keyword": "for",
+ "label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
- "isLoop": true,
+ "isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "for",
- "start": 3045,
- "end": 3048,
+ "start": 3358,
+ "end": 3359,
"loc": {
"start": {
- "line": 80,
- "column": 2
+ "line": 86,
+ "column": 23
},
"end": {
- "line": 80,
- "column": 5
+ "line": 86,
+ "column": 24
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -21833,25 +24937,25 @@
"postfix": false,
"binop": null
},
- "start": 3049,
- "end": 3050,
+ "value": "TEAM_COLORS",
+ "start": 3359,
+ "end": 3370,
"loc": {
"start": {
- "line": 80,
- "column": 6
+ "line": 86,
+ "column": 24
},
"end": {
- "line": 80,
- "column": 7
+ "line": 86,
+ "column": 35
}
}
},
{
"type": {
- "label": "let",
- "keyword": "let",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "[",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -21860,17 +24964,16 @@
"binop": null,
"updateContext": null
},
- "value": "let",
- "start": 3050,
- "end": 3053,
+ "start": 3370,
+ "end": 3371,
"loc": {
"start": {
- "line": 80,
- "column": 7
+ "line": 86,
+ "column": 35
},
"end": {
- "line": 80,
- "column": 10
+ "line": 86,
+ "column": 36
}
}
},
@@ -21886,45 +24989,43 @@
"postfix": false,
"binop": null
},
- "value": "item",
- "start": 3054,
- "end": 3058,
+ "value": "teamColors",
+ "start": 3371,
+ "end": 3381,
"loc": {
"start": {
- "line": 80,
- "column": 11
+ "line": 86,
+ "column": 36
},
"end": {
- "line": 80,
- "column": 15
+ "line": 86,
+ "column": 46
}
}
},
{
"type": {
- "label": "in",
- "keyword": "in",
+ "label": "[",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": 7,
+ "binop": null,
"updateContext": null
},
- "value": "in",
- "start": 3059,
- "end": 3061,
+ "start": 3381,
+ "end": 3382,
"loc": {
"start": {
- "line": 80,
- "column": 16
+ "line": 86,
+ "column": 46
},
"end": {
- "line": 80,
- "column": 18
+ "line": 86,
+ "column": 47
}
}
},
@@ -21943,16 +25044,16 @@
"updateContext": null
},
"value": "this",
- "start": 3062,
- "end": 3066,
+ "start": 3382,
+ "end": 3386,
"loc": {
"start": {
- "line": 80,
- "column": 19
+ "line": 86,
+ "column": 47
},
"end": {
- "line": 80,
- "column": 23
+ "line": 86,
+ "column": 51
}
}
},
@@ -21969,16 +25070,16 @@
"binop": null,
"updateContext": null
},
- "start": 3066,
- "end": 3067,
+ "start": 3386,
+ "end": 3387,
"loc": {
"start": {
- "line": 80,
- "column": 23
+ "line": 86,
+ "column": 51
},
"end": {
- "line": 80,
- "column": 24
+ "line": 86,
+ "column": 52
}
}
},
@@ -21994,23 +25095,49 @@
"postfix": false,
"binop": null
},
- "value": "textObjects",
- "start": 3067,
- "end": 3078,
+ "value": "team",
+ "start": 3387,
+ "end": 3391,
"loc": {
"start": {
- "line": 80,
- "column": 24
+ "line": 86,
+ "column": 52
+ },
+ "end": {
+ "line": 86,
+ "column": 56
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "]",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 3391,
+ "end": 3392,
+ "loc": {
+ "start": {
+ "line": 86,
+ "column": 56
},
"end": {
- "line": 80,
- "column": 35
+ "line": 86,
+ "column": 57
}
}
},
{
"type": {
- "label": ")",
+ "label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -22018,68 +25145,79 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 3078,
- "end": 3079,
+ "start": 3392,
+ "end": 3393,
"loc": {
"start": {
- "line": 80,
- "column": 35
+ "line": 86,
+ "column": 57
},
"end": {
- "line": 80,
- "column": 36
+ "line": 86,
+ "column": 58
}
}
},
{
"type": {
- "label": "{",
+ "label": ",",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 3080,
- "end": 3081,
+ "start": 3393,
+ "end": 3394,
"loc": {
"start": {
- "line": 80,
- "column": 37
+ "line": 86,
+ "column": 58
},
"end": {
- "line": 80,
- "column": 38
+ "line": 86,
+ "column": 59
}
}
},
{
- "type": "CommentLine",
- "value": " Add text",
- "start": 3085,
- "end": 3096,
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "fontSize",
+ "start": 3399,
+ "end": 3407,
"loc": {
"start": {
- "line": 81,
- "column": 3
+ "line": 87,
+ "column": 4
},
"end": {
- "line": 81,
- "column": 14
+ "line": 87,
+ "column": 12
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": ":",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -22088,25 +25226,24 @@
"binop": null,
"updateContext": null
},
- "value": "this",
- "start": 3100,
- "end": 3104,
+ "start": 3407,
+ "end": 3408,
"loc": {
"start": {
- "line": 82,
- "column": 3
+ "line": 87,
+ "column": 12
},
"end": {
- "line": 82,
- "column": 7
+ "line": 87,
+ "column": 13
}
}
},
{
"type": {
- "label": ".",
+ "label": "num",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -22115,24 +25252,25 @@
"binop": null,
"updateContext": null
},
- "start": 3104,
- "end": 3105,
+ "value": 120,
+ "start": 3409,
+ "end": 3412,
"loc": {
"start": {
- "line": 82,
- "column": 7
+ "line": 87,
+ "column": 14
},
"end": {
- "line": 82,
- "column": 8
+ "line": 87,
+ "column": 17
}
}
},
{
"type": {
- "label": "name",
+ "label": "}",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -22140,49 +25278,48 @@
"postfix": false,
"binop": null
},
- "value": "textObjects",
- "start": 3105,
- "end": 3116,
+ "start": 3416,
+ "end": 3417,
"loc": {
"start": {
- "line": 82,
- "column": 8
+ "line": 88,
+ "column": 3
},
"end": {
- "line": 82,
- "column": 19
+ "line": 88,
+ "column": 4
}
}
},
{
"type": {
- "label": "[",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 3116,
- "end": 3117,
+ "start": 3417,
+ "end": 3418,
"loc": {
"start": {
- "line": 82,
- "column": 19
+ "line": 88,
+ "column": 4
},
"end": {
- "line": 82,
- "column": 20
+ "line": 88,
+ "column": 5
}
}
},
{
"type": {
- "label": "name",
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -22190,25 +25327,26 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "item",
- "start": 3117,
- "end": 3121,
+ "value": "this",
+ "start": 3422,
+ "end": 3426,
"loc": {
"start": {
- "line": 82,
- "column": 20
+ "line": 89,
+ "column": 3
},
"end": {
- "line": 82,
- "column": 24
+ "line": 89,
+ "column": 7
}
}
},
{
"type": {
- "label": "]",
+ "label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -22219,49 +25357,49 @@
"binop": null,
"updateContext": null
},
- "start": 3121,
- "end": 3122,
+ "start": 3426,
+ "end": 3427,
"loc": {
"start": {
- "line": 82,
- "column": 24
+ "line": 89,
+ "column": 7
},
"end": {
- "line": 82,
- "column": 25
+ "line": 89,
+ "column": 8
}
}
},
{
"type": {
- "label": ".",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 3122,
- "end": 3123,
+ "value": "addChild",
+ "start": 3427,
+ "end": 3435,
"loc": {
"start": {
- "line": 82,
- "column": 25
+ "line": 89,
+ "column": 8
},
"end": {
- "line": 82,
- "column": 26
+ "line": 89,
+ "column": 16
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "(",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -22270,53 +25408,52 @@
"postfix": false,
"binop": null
},
- "value": "style",
- "start": 3123,
- "end": 3128,
+ "start": 3435,
+ "end": 3436,
"loc": {
"start": {
- "line": 82,
- "column": 26
+ "line": 89,
+ "column": 16
},
"end": {
- "line": 82,
- "column": 31
+ "line": 89,
+ "column": 17
}
}
},
{
"type": {
- "label": "=",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "this",
+ "keyword": "this",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 3129,
- "end": 3130,
+ "value": "this",
+ "start": 3436,
+ "end": 3440,
"loc": {
"start": {
- "line": 82,
- "column": 32
+ "line": 89,
+ "column": 17
},
"end": {
- "line": 82,
- "column": 33
+ "line": 89,
+ "column": 21
}
}
},
{
"type": {
- "label": "new",
- "keyword": "new",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -22325,17 +25462,16 @@
"binop": null,
"updateContext": null
},
- "value": "new",
- "start": 3131,
- "end": 3134,
+ "start": 3440,
+ "end": 3441,
"loc": {
"start": {
- "line": 82,
- "column": 34
+ "line": 89,
+ "column": 21
},
"end": {
- "line": 82,
- "column": 37
+ "line": 89,
+ "column": 22
}
}
},
@@ -22351,25 +25487,25 @@
"postfix": false,
"binop": null
},
- "value": "PIXI",
- "start": 3135,
- "end": 3139,
+ "value": "textObjects",
+ "start": 3441,
+ "end": 3452,
"loc": {
"start": {
- "line": 82,
- "column": 38
+ "line": 89,
+ "column": 22
},
"end": {
- "line": 82,
- "column": 42
+ "line": 89,
+ "column": 33
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "[",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -22378,16 +25514,16 @@
"binop": null,
"updateContext": null
},
- "start": 3139,
- "end": 3140,
+ "start": 3452,
+ "end": 3453,
"loc": {
"start": {
- "line": 82,
- "column": 42
+ "line": 89,
+ "column": 33
},
"end": {
- "line": 82,
- "column": 43
+ "line": 89,
+ "column": 34
}
}
},
@@ -22403,50 +25539,51 @@
"postfix": false,
"binop": null
},
- "value": "TextStyle",
- "start": 3140,
- "end": 3149,
+ "value": "item",
+ "start": 3453,
+ "end": 3457,
"loc": {
"start": {
- "line": 82,
- "column": 43
+ "line": 89,
+ "column": 34
},
"end": {
- "line": 82,
- "column": 52
+ "line": 89,
+ "column": 38
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": "]",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 3149,
- "end": 3150,
+ "start": 3457,
+ "end": 3458,
"loc": {
"start": {
- "line": 82,
- "column": 52
+ "line": 89,
+ "column": 38
},
"end": {
- "line": 82,
- "column": 53
+ "line": 89,
+ "column": 39
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -22454,24 +25591,24 @@
"postfix": false,
"binop": null
},
- "start": 3150,
- "end": 3151,
+ "start": 3458,
+ "end": 3459,
"loc": {
"start": {
- "line": 82,
- "column": 53
+ "line": 89,
+ "column": 39
},
"end": {
- "line": 82,
- "column": 54
+ "line": 89,
+ "column": 40
}
}
},
{
"type": {
- "label": "name",
+ "label": "}",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -22479,49 +25616,39 @@
"postfix": false,
"binop": null
},
- "value": "fill",
- "start": 3156,
- "end": 3160,
+ "start": 3462,
+ "end": 3463,
"loc": {
"start": {
- "line": 83,
- "column": 4
+ "line": 90,
+ "column": 2
},
"end": {
- "line": 83,
- "column": 8
+ "line": 90,
+ "column": 3
}
}
},
{
- "type": {
- "label": ":",
- "beforeExpr": true,
- "startsExpr": false,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null,
- "updateContext": null
- },
- "start": 3160,
- "end": 3161,
+ "type": "CommentLine",
+ "value": " Create player sprite child",
+ "start": 3467,
+ "end": 3496,
"loc": {
"start": {
- "line": 83,
- "column": 8
+ "line": 92,
+ "column": 2
},
"end": {
- "line": 83,
- "column": 9
+ "line": 92,
+ "column": 31
}
}
},
{
"type": {
- "label": "string",
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -22532,44 +25659,43 @@
"binop": null,
"updateContext": null
},
- "value": "0x",
- "start": 3162,
- "end": 3166,
+ "value": "this",
+ "start": 3499,
+ "end": 3503,
"loc": {
"start": {
- "line": 83,
- "column": 10
+ "line": 93,
+ "column": 2
},
"end": {
- "line": 83,
- "column": 14
+ "line": 93,
+ "column": 6
}
}
},
{
"type": {
- "label": "+/-",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
- "prefix": true,
+ "prefix": false,
"postfix": false,
- "binop": 9,
+ "binop": null,
"updateContext": null
},
- "value": "+",
- "start": 3167,
- "end": 3168,
+ "start": 3503,
+ "end": 3504,
"loc": {
"start": {
- "line": 83,
- "column": 15
+ "line": 93,
+ "column": 6
},
"end": {
- "line": 83,
- "column": 16
+ "line": 93,
+ "column": 7
}
}
},
@@ -22585,17 +25711,17 @@
"postfix": false,
"binop": null
},
- "value": "GLOBAL",
- "start": 3169,
- "end": 3175,
+ "value": "playerSprite",
+ "start": 3504,
+ "end": 3516,
"loc": {
"start": {
- "line": 83,
- "column": 17
+ "line": 93,
+ "column": 7
},
"end": {
- "line": 83,
- "column": 23
+ "line": 93,
+ "column": 19
}
}
},
@@ -22612,16 +25738,16 @@
"binop": null,
"updateContext": null
},
- "start": 3175,
- "end": 3176,
+ "start": 3516,
+ "end": 3517,
"loc": {
"start": {
- "line": 83,
- "column": 23
+ "line": 93,
+ "column": 19
},
"end": {
- "line": 83,
- "column": 24
+ "line": 93,
+ "column": 20
}
}
},
@@ -22637,25 +25763,25 @@
"postfix": false,
"binop": null
},
- "value": "TEAM_COLORS",
- "start": 3176,
- "end": 3187,
+ "value": "anchor",
+ "start": 3517,
+ "end": 3523,
"loc": {
"start": {
- "line": 83,
- "column": 24
+ "line": 93,
+ "column": 20
},
"end": {
- "line": 83,
- "column": 35
+ "line": 93,
+ "column": 26
}
}
},
{
"type": {
- "label": "[",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -22664,16 +25790,16 @@
"binop": null,
"updateContext": null
},
- "start": 3187,
- "end": 3188,
+ "start": 3523,
+ "end": 3524,
"loc": {
"start": {
- "line": 83,
- "column": 35
+ "line": 93,
+ "column": 26
},
"end": {
- "line": 83,
- "column": 36
+ "line": 93,
+ "column": 27
}
}
},
@@ -22689,23 +25815,23 @@
"postfix": false,
"binop": null
},
- "value": "teamColors",
- "start": 3188,
- "end": 3198,
+ "value": "set",
+ "start": 3524,
+ "end": 3527,
"loc": {
"start": {
- "line": 83,
- "column": 36
+ "line": 93,
+ "column": 27
},
"end": {
- "line": 83,
- "column": 46
+ "line": 93,
+ "column": 30
}
}
},
{
"type": {
- "label": "[",
+ "label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
@@ -22713,26 +25839,24 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 3198,
- "end": 3199,
+ "start": 3527,
+ "end": 3528,
"loc": {
"start": {
- "line": 83,
- "column": 46
+ "line": 93,
+ "column": 30
},
"end": {
- "line": 83,
- "column": 47
+ "line": 93,
+ "column": 31
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
+ "label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -22743,24 +25867,24 @@
"binop": null,
"updateContext": null
},
- "value": "this",
- "start": 3199,
- "end": 3203,
+ "value": 0.5,
+ "start": 3528,
+ "end": 3531,
"loc": {
"start": {
- "line": 83,
- "column": 47
+ "line": 93,
+ "column": 31
},
"end": {
- "line": 83,
- "column": 51
+ "line": 93,
+ "column": 34
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
+ "label": ",",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -22770,22 +25894,22 @@
"binop": null,
"updateContext": null
},
- "start": 3203,
- "end": 3204,
+ "start": 3531,
+ "end": 3532,
"loc": {
"start": {
- "line": 83,
- "column": 51
+ "line": 93,
+ "column": 34
},
"end": {
- "line": 83,
- "column": 52
+ "line": 93,
+ "column": 35
}
}
},
{
"type": {
- "label": "name",
+ "label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -22793,25 +25917,26 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "team",
- "start": 3204,
- "end": 3208,
+ "value": 0.5,
+ "start": 3533,
+ "end": 3536,
"loc": {
"start": {
- "line": 83,
- "column": 52
+ "line": 93,
+ "column": 36
},
"end": {
- "line": 83,
- "column": 56
+ "line": 93,
+ "column": 39
}
}
},
{
"type": {
- "label": "]",
+ "label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -22819,27 +25944,27 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 3208,
- "end": 3209,
+ "start": 3536,
+ "end": 3537,
"loc": {
"start": {
- "line": 83,
- "column": 56
+ "line": 93,
+ "column": 39
},
"end": {
- "line": 83,
- "column": 57
+ "line": 93,
+ "column": 40
}
}
},
{
"type": {
- "label": "]",
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -22848,23 +25973,24 @@
"binop": null,
"updateContext": null
},
- "start": 3209,
- "end": 3210,
+ "value": "this",
+ "start": 3540,
+ "end": 3544,
"loc": {
"start": {
- "line": 83,
- "column": 57
+ "line": 94,
+ "column": 2
},
"end": {
- "line": 83,
- "column": 58
+ "line": 94,
+ "column": 6
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -22874,76 +26000,102 @@
"binop": null,
"updateContext": null
},
- "start": 3210,
- "end": 3211,
+ "start": 3544,
+ "end": 3545,
+ "loc": {
+ "start": {
+ "line": 94,
+ "column": 6
+ },
+ "end": {
+ "line": 94,
+ "column": 7
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "playerSprite",
+ "start": 3545,
+ "end": 3557,
"loc": {
"start": {
- "line": 83,
- "column": 58
+ "line": 94,
+ "column": 7
},
"end": {
- "line": 83,
- "column": 59
+ "line": 94,
+ "column": 19
}
}
},
{
"type": {
- "label": "name",
+ "label": ".",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "fontSize",
- "start": 3216,
- "end": 3224,
+ "start": 3557,
+ "end": 3558,
"loc": {
"start": {
- "line": 84,
- "column": 4
+ "line": 94,
+ "column": 19
},
"end": {
- "line": 84,
- "column": 12
+ "line": 94,
+ "column": 20
}
}
},
{
"type": {
- "label": ":",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 3224,
- "end": 3225,
+ "value": "position",
+ "start": 3558,
+ "end": 3566,
"loc": {
"start": {
- "line": 84,
- "column": 12
+ "line": 94,
+ "column": 20
},
"end": {
- "line": 84,
- "column": 13
+ "line": 94,
+ "column": 28
}
}
},
{
"type": {
- "label": "num",
+ "label": ".",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -22952,25 +26104,24 @@
"binop": null,
"updateContext": null
},
- "value": 120,
- "start": 3226,
- "end": 3229,
+ "start": 3566,
+ "end": 3567,
"loc": {
"start": {
- "line": 84,
- "column": 14
+ "line": 94,
+ "column": 28
},
"end": {
- "line": 84,
- "column": 17
+ "line": 94,
+ "column": 29
}
}
},
{
"type": {
- "label": "}",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -22978,24 +26129,25 @@
"postfix": false,
"binop": null
},
- "start": 3233,
- "end": 3234,
+ "value": "set",
+ "start": 3567,
+ "end": 3570,
"loc": {
"start": {
- "line": 85,
- "column": 3
+ "line": 94,
+ "column": 29
},
"end": {
- "line": 85,
- "column": 4
+ "line": 94,
+ "column": 32
}
}
},
{
"type": {
- "label": ")",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -23003,23 +26155,22 @@
"postfix": false,
"binop": null
},
- "start": 3234,
- "end": 3235,
+ "start": 3570,
+ "end": 3571,
"loc": {
"start": {
- "line": 85,
- "column": 4
+ "line": 94,
+ "column": 32
},
"end": {
- "line": 85,
- "column": 5
+ "line": 94,
+ "column": 33
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -23027,20 +26178,19 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "this",
- "start": 3239,
- "end": 3243,
+ "value": "GLOBAL",
+ "start": 3571,
+ "end": 3577,
"loc": {
"start": {
- "line": 86,
- "column": 3
+ "line": 94,
+ "column": 33
},
"end": {
- "line": 86,
- "column": 7
+ "line": 94,
+ "column": 39
}
}
},
@@ -23057,16 +26207,16 @@
"binop": null,
"updateContext": null
},
- "start": 3243,
- "end": 3244,
+ "start": 3577,
+ "end": 3578,
"loc": {
"start": {
- "line": 86,
- "column": 7
+ "line": 94,
+ "column": 39
},
"end": {
- "line": 86,
- "column": 8
+ "line": 94,
+ "column": 40
}
}
},
@@ -23082,49 +26232,50 @@
"postfix": false,
"binop": null
},
- "value": "addChild",
- "start": 3244,
- "end": 3252,
+ "value": "PLAYER_RADIUS",
+ "start": 3578,
+ "end": 3591,
"loc": {
"start": {
- "line": 86,
- "column": 8
+ "line": 94,
+ "column": 40
},
"end": {
- "line": 86,
- "column": 16
+ "line": 94,
+ "column": 53
}
}
},
{
"type": {
- "label": "(",
+ "label": "*",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": 10,
+ "updateContext": null
},
- "start": 3252,
- "end": 3253,
+ "value": "*",
+ "start": 3592,
+ "end": 3593,
"loc": {
"start": {
- "line": 86,
- "column": 16
+ "line": 94,
+ "column": 54
},
"end": {
- "line": 86,
- "column": 17
+ "line": 94,
+ "column": 55
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
+ "label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -23135,24 +26286,24 @@
"binop": null,
"updateContext": null
},
- "value": "this",
- "start": 3253,
- "end": 3257,
+ "value": 5,
+ "start": 3594,
+ "end": 3595,
"loc": {
"start": {
- "line": 86,
- "column": 17
+ "line": 94,
+ "column": 56
},
"end": {
- "line": 86,
- "column": 21
+ "line": 94,
+ "column": 57
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
+ "label": ",",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -23162,16 +26313,16 @@
"binop": null,
"updateContext": null
},
- "start": 3257,
- "end": 3258,
+ "start": 3595,
+ "end": 3596,
"loc": {
"start": {
- "line": 86,
- "column": 21
+ "line": 94,
+ "column": 57
},
"end": {
- "line": 86,
- "column": 22
+ "line": 94,
+ "column": 58
}
}
},
@@ -23187,25 +26338,25 @@
"postfix": false,
"binop": null
},
- "value": "textObjects",
- "start": 3258,
- "end": 3269,
+ "value": "GLOBAL",
+ "start": 3597,
+ "end": 3603,
"loc": {
"start": {
- "line": 86,
- "column": 22
+ "line": 94,
+ "column": 59
},
"end": {
- "line": 86,
- "column": 33
+ "line": 94,
+ "column": 65
}
}
},
{
"type": {
- "label": "[",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -23214,16 +26365,16 @@
"binop": null,
"updateContext": null
},
- "start": 3269,
- "end": 3270,
+ "start": 3603,
+ "end": 3604,
"loc": {
"start": {
- "line": 86,
- "column": 33
+ "line": 94,
+ "column": 65
},
"end": {
- "line": 86,
- "column": 34
+ "line": 94,
+ "column": 66
}
}
},
@@ -23239,74 +26390,77 @@
"postfix": false,
"binop": null
},
- "value": "item",
- "start": 3270,
- "end": 3274,
+ "value": "PLAYER_RADIUS",
+ "start": 3604,
+ "end": 3617,
"loc": {
"start": {
- "line": 86,
- "column": 34
+ "line": 94,
+ "column": 66
},
"end": {
- "line": 86,
- "column": 38
+ "line": 94,
+ "column": 79
}
}
},
{
"type": {
- "label": "]",
- "beforeExpr": false,
+ "label": "*",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
+ "binop": 10,
"updateContext": null
},
- "start": 3274,
- "end": 3275,
+ "value": "*",
+ "start": 3618,
+ "end": 3619,
"loc": {
"start": {
- "line": 86,
- "column": 38
+ "line": 94,
+ "column": 80
},
"end": {
- "line": 86,
- "column": 39
+ "line": 94,
+ "column": 81
}
}
},
{
"type": {
- "label": ")",
+ "label": "num",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 3275,
- "end": 3276,
+ "value": 5,
+ "start": 3620,
+ "end": 3621,
"loc": {
"start": {
- "line": 86,
- "column": 39
+ "line": 94,
+ "column": 82
},
"end": {
- "line": 86,
- "column": 40
+ "line": 94,
+ "column": 83
}
}
},
{
"type": {
- "label": "}",
+ "label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -23316,32 +26470,16 @@
"postfix": false,
"binop": null
},
- "start": 3279,
- "end": 3280,
- "loc": {
- "start": {
- "line": 87,
- "column": 2
- },
- "end": {
- "line": 87,
- "column": 3
- }
- }
- },
- {
- "type": "CommentLine",
- "value": " Create player sprite child",
- "start": 3284,
- "end": 3313,
+ "start": 3621,
+ "end": 3622,
"loc": {
"start": {
- "line": 89,
- "column": 2
+ "line": 94,
+ "column": 83
},
"end": {
- "line": 89,
- "column": 31
+ "line": 94,
+ "column": 84
}
}
},
@@ -23360,15 +26498,15 @@
"updateContext": null
},
"value": "this",
- "start": 3316,
- "end": 3320,
+ "start": 3625,
+ "end": 3629,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 2
},
"end": {
- "line": 90,
+ "line": 95,
"column": 6
}
}
@@ -23386,15 +26524,15 @@
"binop": null,
"updateContext": null
},
- "start": 3320,
- "end": 3321,
+ "start": 3629,
+ "end": 3630,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 6
},
"end": {
- "line": 90,
+ "line": 95,
"column": 7
}
}
@@ -23412,15 +26550,15 @@
"binop": null
},
"value": "playerSprite",
- "start": 3321,
- "end": 3333,
+ "start": 3630,
+ "end": 3642,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 7
},
"end": {
- "line": 90,
+ "line": 95,
"column": 19
}
}
@@ -23438,15 +26576,15 @@
"binop": null,
"updateContext": null
},
- "start": 3333,
- "end": 3334,
+ "start": 3642,
+ "end": 3643,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 19
},
"end": {
- "line": 90,
+ "line": 95,
"column": 20
}
}
@@ -23463,17 +26601,17 @@
"postfix": false,
"binop": null
},
- "value": "anchor",
- "start": 3334,
- "end": 3340,
+ "value": "scale",
+ "start": 3643,
+ "end": 3648,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 20
},
"end": {
- "line": 90,
- "column": 26
+ "line": 95,
+ "column": 25
}
}
},
@@ -23490,16 +26628,16 @@
"binop": null,
"updateContext": null
},
- "start": 3340,
- "end": 3341,
+ "start": 3648,
+ "end": 3649,
"loc": {
"start": {
- "line": 90,
- "column": 26
+ "line": 95,
+ "column": 25
},
"end": {
- "line": 90,
- "column": 27
+ "line": 95,
+ "column": 26
}
}
},
@@ -23516,16 +26654,16 @@
"binop": null
},
"value": "set",
- "start": 3341,
- "end": 3344,
+ "start": 3649,
+ "end": 3652,
"loc": {
"start": {
- "line": 90,
- "column": 27
+ "line": 95,
+ "column": 26
},
"end": {
- "line": 90,
- "column": 30
+ "line": 95,
+ "column": 29
}
}
},
@@ -23541,16 +26679,16 @@
"postfix": false,
"binop": null
},
- "start": 3344,
- "end": 3345,
+ "start": 3652,
+ "end": 3653,
"loc": {
"start": {
- "line": 90,
- "column": 30
+ "line": 95,
+ "column": 29
},
"end": {
- "line": 90,
- "column": 31
+ "line": 95,
+ "column": 30
}
}
},
@@ -23567,17 +26705,17 @@
"binop": null,
"updateContext": null
},
- "value": 0.5,
- "start": 3345,
- "end": 3348,
+ "value": 1.3,
+ "start": 3653,
+ "end": 3656,
"loc": {
"start": {
- "line": 90,
- "column": 31
+ "line": 95,
+ "column": 30
},
"end": {
- "line": 90,
- "column": 34
+ "line": 95,
+ "column": 33
}
}
},
@@ -23594,16 +26732,16 @@
"binop": null,
"updateContext": null
},
- "start": 3348,
- "end": 3349,
+ "start": 3656,
+ "end": 3657,
"loc": {
"start": {
- "line": 90,
- "column": 34
+ "line": 95,
+ "column": 33
},
"end": {
- "line": 90,
- "column": 35
+ "line": 95,
+ "column": 34
}
}
},
@@ -23620,17 +26758,17 @@
"binop": null,
"updateContext": null
},
- "value": 0.5,
- "start": 3350,
- "end": 3353,
+ "value": 1.3,
+ "start": 3658,
+ "end": 3661,
"loc": {
"start": {
- "line": 90,
- "column": 36
+ "line": 95,
+ "column": 35
},
"end": {
- "line": 90,
- "column": 39
+ "line": 95,
+ "column": 38
}
}
},
@@ -23646,16 +26784,16 @@
"postfix": false,
"binop": null
},
- "start": 3353,
- "end": 3354,
+ "start": 3661,
+ "end": 3662,
"loc": {
"start": {
- "line": 90,
- "column": 39
+ "line": 95,
+ "column": 38
},
"end": {
- "line": 90,
- "column": 40
+ "line": 95,
+ "column": 39
}
}
},
@@ -23674,15 +26812,15 @@
"updateContext": null
},
"value": "this",
- "start": 3357,
- "end": 3361,
+ "start": 3665,
+ "end": 3669,
"loc": {
"start": {
- "line": 91,
+ "line": 96,
"column": 2
},
"end": {
- "line": 91,
+ "line": 96,
"column": 6
}
}
@@ -23700,15 +26838,15 @@
"binop": null,
"updateContext": null
},
- "start": 3361,
- "end": 3362,
+ "start": 3669,
+ "end": 3670,
"loc": {
"start": {
- "line": 91,
+ "line": 96,
"column": 6
},
"end": {
- "line": 91,
+ "line": 96,
"column": 7
}
}
@@ -23725,49 +26863,49 @@
"postfix": false,
"binop": null
},
- "value": "playerSprite",
- "start": 3362,
- "end": 3374,
+ "value": "addChild",
+ "start": 3670,
+ "end": 3678,
"loc": {
"start": {
- "line": 91,
+ "line": 96,
"column": 7
},
"end": {
- "line": 91,
- "column": 19
+ "line": 96,
+ "column": 15
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 3374,
- "end": 3375,
+ "start": 3678,
+ "end": 3679,
"loc": {
"start": {
- "line": 91,
- "column": 19
+ "line": 96,
+ "column": 15
},
"end": {
- "line": 91,
- "column": 20
+ "line": 96,
+ "column": 16
}
}
},
{
"type": {
- "label": "name",
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -23775,19 +26913,20 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "position",
- "start": 3375,
- "end": 3383,
+ "value": "this",
+ "start": 3679,
+ "end": 3683,
"loc": {
"start": {
- "line": 91,
- "column": 20
+ "line": 96,
+ "column": 16
},
"end": {
- "line": 91,
- "column": 28
+ "line": 96,
+ "column": 20
}
}
},
@@ -23804,16 +26943,16 @@
"binop": null,
"updateContext": null
},
- "start": 3383,
- "end": 3384,
+ "start": 3683,
+ "end": 3684,
"loc": {
"start": {
- "line": 91,
- "column": 28
+ "line": 96,
+ "column": 20
},
"end": {
- "line": 91,
- "column": 29
+ "line": 96,
+ "column": 21
}
}
},
@@ -23829,25 +26968,25 @@
"postfix": false,
"binop": null
},
- "value": "set",
- "start": 3384,
- "end": 3387,
+ "value": "playerSprite",
+ "start": 3684,
+ "end": 3696,
"loc": {
"start": {
- "line": 91,
- "column": 29
+ "line": 96,
+ "column": 21
},
"end": {
- "line": 91,
- "column": 32
+ "line": 96,
+ "column": 33
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -23855,24 +26994,24 @@
"postfix": false,
"binop": null
},
- "start": 3387,
- "end": 3388,
+ "start": 3696,
+ "end": 3697,
"loc": {
"start": {
- "line": 91,
- "column": 32
+ "line": 96,
+ "column": 33
},
"end": {
- "line": 91,
- "column": 33
+ "line": 96,
+ "column": 34
}
}
},
{
"type": {
- "label": "name",
+ "label": "}",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -23880,43 +27019,32 @@
"postfix": false,
"binop": null
},
- "value": "GLOBAL",
- "start": 3388,
- "end": 3394,
+ "start": 3699,
+ "end": 3700,
"loc": {
"start": {
- "line": 91,
- "column": 33
+ "line": 97,
+ "column": 1
},
"end": {
- "line": 91,
- "column": 39
+ "line": 97,
+ "column": 2
}
}
},
{
- "type": {
- "label": ".",
- "beforeExpr": false,
- "startsExpr": false,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null,
- "updateContext": null
- },
- "start": 3394,
- "end": 3395,
+ "type": "CommentBlock",
+ "value": "*\n * Draws all components of a given player.\n * This method should be included in the ticker and called once a frame.\n * Therefore, all setup tasks\n * should be called in setup().\n ",
+ "start": 3702,
+ "end": 3907,
"loc": {
"start": {
- "line": 91,
- "column": 39
+ "line": 98,
+ "column": 1
},
"end": {
- "line": 91,
- "column": 40
+ "line": 103,
+ "column": 6
}
}
},
@@ -23932,103 +27060,115 @@
"postfix": false,
"binop": null
},
- "value": "PLAYER_RADIUS",
- "start": 3395,
- "end": 3408,
+ "value": "tick",
+ "start": 3909,
+ "end": 3913,
"loc": {
"start": {
- "line": 91,
- "column": 40
+ "line": 104,
+ "column": 1
},
"end": {
- "line": 91,
- "column": 53
+ "line": 104,
+ "column": 5
}
}
},
{
"type": {
- "label": "*",
+ "label": "(",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": 10,
- "updateContext": null
+ "binop": null
},
- "value": "*",
- "start": 3409,
- "end": 3410,
+ "start": 3914,
+ "end": 3915,
"loc": {
"start": {
- "line": 91,
- "column": 54
+ "line": 104,
+ "column": 6
},
"end": {
- "line": 91,
- "column": 55
+ "line": 104,
+ "column": 7
}
}
},
{
"type": {
- "label": "num",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": 5,
- "start": 3411,
- "end": 3412,
+ "start": 3915,
+ "end": 3916,
"loc": {
"start": {
- "line": 91,
- "column": 56
+ "line": 104,
+ "column": 7
},
"end": {
- "line": 91,
- "column": 57
+ "line": 104,
+ "column": 8
}
}
},
{
"type": {
- "label": ",",
+ "label": "{",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 3412,
- "end": 3413,
+ "start": 3917,
+ "end": 3918,
"loc": {
"start": {
- "line": 91,
- "column": 57
+ "line": 104,
+ "column": 9
},
"end": {
- "line": 91,
- "column": 58
+ "line": 104,
+ "column": 10
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Movement",
+ "start": 3921,
+ "end": 3932,
+ "loc": {
+ "start": {
+ "line": 105,
+ "column": 2
+ },
+ "end": {
+ "line": 105,
+ "column": 13
}
}
},
{
"type": {
- "label": "name",
+ "label": "super",
+ "keyword": "super",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -24036,19 +27176,20 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "GLOBAL",
- "start": 3414,
- "end": 3420,
+ "value": "super",
+ "start": 3935,
+ "end": 3940,
"loc": {
"start": {
- "line": 91,
- "column": 59
+ "line": 106,
+ "column": 2
},
"end": {
- "line": 91,
- "column": 65
+ "line": 106,
+ "column": 7
}
}
},
@@ -24065,16 +27206,16 @@
"binop": null,
"updateContext": null
},
- "start": 3420,
- "end": 3421,
+ "start": 3940,
+ "end": 3941,
"loc": {
"start": {
- "line": 91,
- "column": 65
+ "line": 106,
+ "column": 7
},
"end": {
- "line": 91,
- "column": 66
+ "line": 106,
+ "column": 8
}
}
},
@@ -24090,50 +27231,49 @@
"postfix": false,
"binop": null
},
- "value": "PLAYER_RADIUS",
- "start": 3421,
- "end": 3434,
+ "value": "tick",
+ "start": 3941,
+ "end": 3945,
"loc": {
"start": {
- "line": 91,
- "column": 66
+ "line": 106,
+ "column": 8
},
"end": {
- "line": 91,
- "column": 79
+ "line": 106,
+ "column": 12
}
}
},
{
"type": {
- "label": "*",
+ "label": "(",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": 10,
- "updateContext": null
+ "binop": null
},
- "value": "*",
- "start": 3435,
- "end": 3436,
+ "start": 3945,
+ "end": 3946,
"loc": {
"start": {
- "line": 91,
- "column": 80
+ "line": 106,
+ "column": 12
},
"end": {
- "line": 91,
- "column": 81
+ "line": 106,
+ "column": 13
}
}
},
{
"type": {
- "label": "num",
+ "label": "true",
+ "keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -24144,17 +27284,17 @@
"binop": null,
"updateContext": null
},
- "value": 5,
- "start": 3437,
- "end": 3438,
+ "value": "true",
+ "start": 3946,
+ "end": 3950,
"loc": {
"start": {
- "line": 91,
- "column": 82
+ "line": 106,
+ "column": 13
},
"end": {
- "line": 91,
- "column": 83
+ "line": 106,
+ "column": 17
}
}
},
@@ -24170,16 +27310,32 @@
"postfix": false,
"binop": null
},
- "start": 3438,
- "end": 3439,
+ "start": 3950,
+ "end": 3951,
"loc": {
"start": {
- "line": 91,
- "column": 83
+ "line": 106,
+ "column": 17
},
"end": {
- "line": 91,
- "column": 84
+ "line": 106,
+ "column": 18
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Update text",
+ "start": 3955,
+ "end": 3969,
+ "loc": {
+ "start": {
+ "line": 108,
+ "column": 2
+ },
+ "end": {
+ "line": 108,
+ "column": 16
}
}
},
@@ -24198,15 +27354,15 @@
"updateContext": null
},
"value": "this",
- "start": 3442,
- "end": 3446,
+ "start": 3972,
+ "end": 3976,
"loc": {
"start": {
- "line": 92,
+ "line": 109,
"column": 2
},
"end": {
- "line": 92,
+ "line": 109,
"column": 6
}
}
@@ -24224,15 +27380,15 @@
"binop": null,
"updateContext": null
},
- "start": 3446,
- "end": 3447,
+ "start": 3976,
+ "end": 3977,
"loc": {
"start": {
- "line": 92,
+ "line": 109,
"column": 6
},
"end": {
- "line": 92,
+ "line": 109,
"column": 7
}
}
@@ -24249,17 +27405,17 @@
"postfix": false,
"binop": null
},
- "value": "playerSprite",
- "start": 3447,
- "end": 3459,
+ "value": "textObjects",
+ "start": 3977,
+ "end": 3988,
"loc": {
"start": {
- "line": 92,
+ "line": 109,
"column": 7
},
"end": {
- "line": 92,
- "column": 19
+ "line": 109,
+ "column": 18
}
}
},
@@ -24276,16 +27432,16 @@
"binop": null,
"updateContext": null
},
- "start": 3459,
- "end": 3460,
+ "start": 3988,
+ "end": 3989,
"loc": {
"start": {
- "line": 92,
- "column": 19
+ "line": 109,
+ "column": 18
},
"end": {
- "line": 92,
- "column": 20
+ "line": 109,
+ "column": 19
}
}
},
@@ -24301,17 +27457,17 @@
"postfix": false,
"binop": null
},
- "value": "scale",
- "start": 3460,
- "end": 3465,
+ "value": "postext",
+ "start": 3989,
+ "end": 3996,
"loc": {
"start": {
- "line": 92,
- "column": 20
+ "line": 109,
+ "column": 19
},
"end": {
- "line": 92,
- "column": 25
+ "line": 109,
+ "column": 26
}
}
},
@@ -24328,16 +27484,16 @@
"binop": null,
"updateContext": null
},
- "start": 3465,
- "end": 3466,
+ "start": 3996,
+ "end": 3997,
"loc": {
"start": {
- "line": 92,
- "column": 25
+ "line": 109,
+ "column": 26
},
"end": {
- "line": 92,
- "column": 26
+ "line": 109,
+ "column": 27
}
}
},
@@ -24353,101 +27509,50 @@
"postfix": false,
"binop": null
},
- "value": "set",
- "start": 3466,
- "end": 3469,
- "loc": {
- "start": {
- "line": 92,
- "column": 26
- },
- "end": {
- "line": 92,
- "column": 29
- }
- }
- },
- {
- "type": {
- "label": "(",
- "beforeExpr": true,
- "startsExpr": true,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null
- },
- "start": 3469,
- "end": 3470,
- "loc": {
- "start": {
- "line": 92,
- "column": 29
- },
- "end": {
- "line": 92,
- "column": 30
- }
- }
- },
- {
- "type": {
- "label": "num",
- "beforeExpr": false,
- "startsExpr": true,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null,
- "updateContext": null
- },
- "value": 1.3,
- "start": 3470,
- "end": 3473,
+ "value": "text",
+ "start": 3997,
+ "end": 4001,
"loc": {
"start": {
- "line": 92,
- "column": 30
+ "line": 109,
+ "column": 27
},
"end": {
- "line": 92,
- "column": 33
+ "line": 109,
+ "column": 31
}
}
},
{
"type": {
- "label": ",",
+ "label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "start": 3473,
- "end": 3474,
+ "value": "=",
+ "start": 4002,
+ "end": 4003,
"loc": {
"start": {
- "line": 92,
- "column": 33
+ "line": 109,
+ "column": 32
},
"end": {
- "line": 92,
- "column": 34
+ "line": 109,
+ "column": 33
}
}
},
{
"type": {
- "label": "num",
+ "label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -24458,49 +27563,50 @@
"binop": null,
"updateContext": null
},
- "value": 1.3,
- "start": 3475,
- "end": 3478,
+ "value": "(",
+ "start": 4004,
+ "end": 4007,
"loc": {
"start": {
- "line": 92,
- "column": 35
+ "line": 109,
+ "column": 34
},
"end": {
- "line": 92,
- "column": 38
+ "line": 109,
+ "column": 37
}
}
},
{
"type": {
- "label": ")",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "+/-",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
- "prefix": false,
+ "prefix": true,
"postfix": false,
- "binop": null
+ "binop": 9,
+ "updateContext": null
},
- "start": 3478,
- "end": 3479,
+ "value": "+",
+ "start": 4008,
+ "end": 4009,
"loc": {
"start": {
- "line": 92,
+ "line": 109,
"column": 38
},
"end": {
- "line": 92,
+ "line": 109,
"column": 39
}
}
},
{
"type": {
- "label": "this",
- "keyword": "this",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -24508,20 +27614,19 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "this",
- "start": 3482,
- "end": 3486,
+ "value": "Math",
+ "start": 4010,
+ "end": 4014,
"loc": {
"start": {
- "line": 93,
- "column": 2
+ "line": 109,
+ "column": 40
},
"end": {
- "line": 93,
- "column": 6
+ "line": 109,
+ "column": 44
}
}
},
@@ -24538,16 +27643,16 @@
"binop": null,
"updateContext": null
},
- "start": 3486,
- "end": 3487,
+ "start": 4014,
+ "end": 4015,
"loc": {
"start": {
- "line": 93,
- "column": 6
+ "line": 109,
+ "column": 44
},
"end": {
- "line": 93,
- "column": 7
+ "line": 109,
+ "column": 45
}
}
},
@@ -24563,17 +27668,17 @@
"postfix": false,
"binop": null
},
- "value": "addChild",
- "start": 3487,
- "end": 3495,
+ "value": "round",
+ "start": 4015,
+ "end": 4020,
"loc": {
"start": {
- "line": 93,
- "column": 7
+ "line": 109,
+ "column": 45
},
"end": {
- "line": 93,
- "column": 15
+ "line": 109,
+ "column": 50
}
}
},
@@ -24589,16 +27694,16 @@
"postfix": false,
"binop": null
},
- "start": 3495,
- "end": 3496,
+ "start": 4020,
+ "end": 4021,
"loc": {
"start": {
- "line": 93,
- "column": 15
+ "line": 109,
+ "column": 50
},
"end": {
- "line": 93,
- "column": 16
+ "line": 109,
+ "column": 51
}
}
},
@@ -24617,16 +27722,16 @@
"updateContext": null
},
"value": "this",
- "start": 3496,
- "end": 3500,
+ "start": 4021,
+ "end": 4025,
"loc": {
"start": {
- "line": 93,
- "column": 16
+ "line": 109,
+ "column": 51
},
"end": {
- "line": 93,
- "column": 20
+ "line": 109,
+ "column": 55
}
}
},
@@ -24643,16 +27748,16 @@
"binop": null,
"updateContext": null
},
- "start": 3500,
- "end": 3501,
+ "start": 4025,
+ "end": 4026,
"loc": {
"start": {
- "line": 93,
- "column": 20
+ "line": 109,
+ "column": 55
},
"end": {
- "line": 93,
- "column": 21
+ "line": 109,
+ "column": 56
}
}
},
@@ -24668,17 +27773,17 @@
"postfix": false,
"binop": null
},
- "value": "playerSprite",
- "start": 3501,
- "end": 3513,
+ "value": "posX",
+ "start": 4026,
+ "end": 4030,
"loc": {
"start": {
- "line": 93,
- "column": 21
+ "line": 109,
+ "column": 56
},
"end": {
- "line": 93,
- "column": 33
+ "line": 109,
+ "column": 60
}
}
},
@@ -24694,90 +27799,104 @@
"postfix": false,
"binop": null
},
- "start": 3513,
- "end": 3514,
+ "start": 4030,
+ "end": 4031,
"loc": {
"start": {
- "line": 93,
- "column": 33
+ "line": 109,
+ "column": 60
},
"end": {
- "line": 93,
- "column": 34
+ "line": 109,
+ "column": 61
}
}
},
{
"type": {
- "label": "}",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "+/-",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
- "prefix": false,
+ "prefix": true,
"postfix": false,
- "binop": null
+ "binop": 9,
+ "updateContext": null
},
- "start": 3516,
- "end": 3517,
+ "value": "+",
+ "start": 4032,
+ "end": 4033,
"loc": {
"start": {
- "line": 94,
- "column": 1
+ "line": 109,
+ "column": 62
},
"end": {
- "line": 94,
- "column": 2
+ "line": 109,
+ "column": 63
}
}
},
{
- "type": "CommentBlock",
- "value": "*\n * Draws all components of a given player.\n * This method should be included in the ticker and called once a frame.\n * Therefore, all setup tasks\n * should be called in setup().\n ",
- "start": 3519,
- "end": 3724,
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": ", ",
+ "start": 4034,
+ "end": 4038,
"loc": {
"start": {
- "line": 95,
- "column": 1
+ "line": 109,
+ "column": 64
},
"end": {
- "line": 100,
- "column": 6
+ "line": 109,
+ "column": 68
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "+/-",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
- "prefix": false,
+ "prefix": true,
"postfix": false,
- "binop": null
+ "binop": 9,
+ "updateContext": null
},
- "value": "tick",
- "start": 3726,
- "end": 3730,
+ "value": "+",
+ "start": 4039,
+ "end": 4040,
"loc": {
"start": {
- "line": 101,
- "column": 1
+ "line": 109,
+ "column": 69
},
"end": {
- "line": 101,
- "column": 5
+ "line": 109,
+ "column": 70
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -24786,22 +27905,23 @@
"postfix": false,
"binop": null
},
- "start": 3731,
- "end": 3732,
+ "value": "Math",
+ "start": 4041,
+ "end": 4045,
"loc": {
"start": {
- "line": 101,
- "column": 6
+ "line": 109,
+ "column": 71
},
"end": {
- "line": 101,
- "column": 7
+ "line": 109,
+ "column": 75
}
}
},
{
"type": {
- "label": ")",
+ "label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -24809,25 +27929,26 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 3732,
- "end": 3733,
+ "start": 4045,
+ "end": 4046,
"loc": {
"start": {
- "line": 101,
- "column": 7
+ "line": 109,
+ "column": 75
},
"end": {
- "line": 101,
- "column": 8
+ "line": 109,
+ "column": 76
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -24836,39 +27957,49 @@
"postfix": false,
"binop": null
},
- "start": 3734,
- "end": 3735,
+ "value": "round",
+ "start": 4046,
+ "end": 4051,
"loc": {
"start": {
- "line": 101,
- "column": 9
+ "line": 109,
+ "column": 76
},
"end": {
- "line": 101,
- "column": 10
+ "line": 109,
+ "column": 81
}
}
},
{
- "type": "CommentLine",
- "value": " Movement",
- "start": 3738,
- "end": 3749,
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 4051,
+ "end": 4052,
"loc": {
"start": {
- "line": 102,
- "column": 2
+ "line": 109,
+ "column": 81
},
"end": {
- "line": 102,
- "column": 13
+ "line": 109,
+ "column": 82
}
}
},
{
"type": {
- "label": "super",
- "keyword": "super",
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -24879,17 +28010,17 @@
"binop": null,
"updateContext": null
},
- "value": "super",
- "start": 3752,
- "end": 3757,
+ "value": "this",
+ "start": 4052,
+ "end": 4056,
"loc": {
"start": {
- "line": 103,
- "column": 2
+ "line": 109,
+ "column": 82
},
"end": {
- "line": 103,
- "column": 7
+ "line": 109,
+ "column": 86
}
}
},
@@ -24906,16 +28037,16 @@
"binop": null,
"updateContext": null
},
- "start": 3757,
- "end": 3758,
+ "start": 4056,
+ "end": 4057,
"loc": {
"start": {
- "line": 103,
- "column": 7
+ "line": 109,
+ "column": 86
},
"end": {
- "line": 103,
- "column": 8
+ "line": 109,
+ "column": 87
}
}
},
@@ -24931,25 +28062,25 @@
"postfix": false,
"binop": null
},
- "value": "tick",
- "start": 3758,
- "end": 3762,
+ "value": "posY",
+ "start": 4057,
+ "end": 4061,
"loc": {
"start": {
- "line": 103,
- "column": 8
+ "line": 109,
+ "column": 87
},
"end": {
- "line": 103,
- "column": 12
+ "line": 109,
+ "column": 91
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -24957,85 +28088,70 @@
"postfix": false,
"binop": null
},
- "start": 3762,
- "end": 3763,
+ "start": 4061,
+ "end": 4062,
"loc": {
"start": {
- "line": 103,
- "column": 12
+ "line": 109,
+ "column": 91
},
"end": {
- "line": 103,
- "column": 13
+ "line": 109,
+ "column": 92
}
}
},
{
"type": {
- "label": "true",
- "keyword": "true",
- "beforeExpr": false,
+ "label": "+/-",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
- "prefix": false,
+ "prefix": true,
"postfix": false,
- "binop": null,
+ "binop": 9,
"updateContext": null
},
- "value": "true",
- "start": 3763,
- "end": 3767,
+ "value": "+",
+ "start": 4063,
+ "end": 4064,
"loc": {
"start": {
- "line": 103,
- "column": 13
+ "line": 109,
+ "column": 93
},
"end": {
- "line": 103,
- "column": 17
+ "line": 109,
+ "column": 94
}
}
},
{
"type": {
- "label": ")",
+ "label": "string",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 3767,
- "end": 3768,
- "loc": {
- "start": {
- "line": 103,
- "column": 17
- },
- "end": {
- "line": 103,
- "column": 18
- }
- }
- },
- {
- "type": "CommentLine",
- "value": " Update text",
- "start": 3772,
- "end": 3786,
+ "value": ")",
+ "start": 4065,
+ "end": 4068,
"loc": {
"start": {
- "line": 105,
- "column": 2
+ "line": 109,
+ "column": 95
},
"end": {
- "line": 105,
- "column": 16
+ "line": 109,
+ "column": 98
}
}
},
@@ -25054,15 +28170,15 @@
"updateContext": null
},
"value": "this",
- "start": 3789,
- "end": 3793,
+ "start": 4071,
+ "end": 4075,
"loc": {
"start": {
- "line": 106,
+ "line": 110,
"column": 2
},
"end": {
- "line": 106,
+ "line": 110,
"column": 6
}
}
@@ -25080,15 +28196,15 @@
"binop": null,
"updateContext": null
},
- "start": 3793,
- "end": 3794,
+ "start": 4075,
+ "end": 4076,
"loc": {
"start": {
- "line": 106,
+ "line": 110,
"column": 6
},
"end": {
- "line": 106,
+ "line": 110,
"column": 7
}
}
@@ -25106,15 +28222,15 @@
"binop": null
},
"value": "textObjects",
- "start": 3794,
- "end": 3805,
+ "start": 4076,
+ "end": 4087,
"loc": {
"start": {
- "line": 106,
+ "line": 110,
"column": 7
},
"end": {
- "line": 106,
+ "line": 110,
"column": 18
}
}
@@ -25132,15 +28248,15 @@
"binop": null,
"updateContext": null
},
- "start": 3805,
- "end": 3806,
+ "start": 4087,
+ "end": 4088,
"loc": {
"start": {
- "line": 106,
+ "line": 110,
"column": 18
},
"end": {
- "line": 106,
+ "line": 110,
"column": 19
}
}
@@ -25157,17 +28273,17 @@
"postfix": false,
"binop": null
},
- "value": "postext",
- "start": 3806,
- "end": 3813,
+ "value": "healthtext",
+ "start": 4088,
+ "end": 4098,
"loc": {
"start": {
- "line": 106,
+ "line": 110,
"column": 19
},
"end": {
- "line": 106,
- "column": 26
+ "line": 110,
+ "column": 29
}
}
},
@@ -25184,16 +28300,16 @@
"binop": null,
"updateContext": null
},
- "start": 3813,
- "end": 3814,
+ "start": 4098,
+ "end": 4099,
"loc": {
"start": {
- "line": 106,
- "column": 26
+ "line": 110,
+ "column": 29
},
"end": {
- "line": 106,
- "column": 27
+ "line": 110,
+ "column": 30
}
}
},
@@ -25210,16 +28326,16 @@
"binop": null
},
"value": "text",
- "start": 3814,
- "end": 3818,
+ "start": 4099,
+ "end": 4103,
"loc": {
"start": {
- "line": 106,
- "column": 27
+ "line": 110,
+ "column": 30
},
"end": {
- "line": 106,
- "column": 31
+ "line": 110,
+ "column": 34
}
}
},
@@ -25237,16 +28353,16 @@
"updateContext": null
},
"value": "=",
- "start": 3819,
- "end": 3820,
+ "start": 4104,
+ "end": 4105,
"loc": {
"start": {
- "line": 106,
- "column": 32
+ "line": 110,
+ "column": 35
},
"end": {
- "line": 106,
- "column": 33
+ "line": 110,
+ "column": 36
}
}
},
@@ -25263,17 +28379,17 @@
"binop": null,
"updateContext": null
},
- "value": "(",
- "start": 3821,
- "end": 3824,
+ "value": "health: ",
+ "start": 4106,
+ "end": 4116,
"loc": {
"start": {
- "line": 106,
- "column": 34
+ "line": 110,
+ "column": 37
},
"end": {
- "line": 106,
- "column": 37
+ "line": 110,
+ "column": 47
}
}
},
@@ -25291,22 +28407,23 @@
"updateContext": null
},
"value": "+",
- "start": 3825,
- "end": 3826,
+ "start": 4117,
+ "end": 4118,
"loc": {
"start": {
- "line": 106,
- "column": 38
+ "line": 110,
+ "column": 48
},
"end": {
- "line": 106,
- "column": 39
+ "line": 110,
+ "column": 49
}
}
},
{
"type": {
- "label": "name",
+ "label": "this",
+ "keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -25314,19 +28431,20 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "Math",
- "start": 3827,
- "end": 3831,
+ "value": "this",
+ "start": 4119,
+ "end": 4123,
"loc": {
"start": {
- "line": 106,
- "column": 40
+ "line": 110,
+ "column": 50
},
"end": {
- "line": 106,
- "column": 44
+ "line": 110,
+ "column": 54
}
}
},
@@ -25343,16 +28461,16 @@
"binop": null,
"updateContext": null
},
- "start": 3831,
- "end": 3832,
+ "start": 4123,
+ "end": 4124,
"loc": {
"start": {
- "line": 106,
- "column": 44
+ "line": 110,
+ "column": 54
},
"end": {
- "line": 106,
- "column": 45
+ "line": 110,
+ "column": 55
}
}
},
@@ -25368,42 +28486,17 @@
"postfix": false,
"binop": null
},
- "value": "round",
- "start": 3832,
- "end": 3837,
- "loc": {
- "start": {
- "line": 106,
- "column": 45
- },
- "end": {
- "line": 106,
- "column": 50
- }
- }
- },
- {
- "type": {
- "label": "(",
- "beforeExpr": true,
- "startsExpr": true,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null
- },
- "start": 3837,
- "end": 3838,
+ "value": "health",
+ "start": 4124,
+ "end": 4130,
"loc": {
"start": {
- "line": 106,
- "column": 50
+ "line": 110,
+ "column": 55
},
"end": {
- "line": 106,
- "column": 51
+ "line": 110,
+ "column": 61
}
}
},
@@ -25422,16 +28515,16 @@
"updateContext": null
},
"value": "this",
- "start": 3838,
- "end": 3842,
+ "start": 4133,
+ "end": 4137,
"loc": {
"start": {
- "line": 106,
- "column": 51
+ "line": 111,
+ "column": 2
},
"end": {
- "line": 106,
- "column": 55
+ "line": 111,
+ "column": 6
}
}
},
@@ -25448,16 +28541,16 @@
"binop": null,
"updateContext": null
},
- "start": 3842,
- "end": 3843,
+ "start": 4137,
+ "end": 4138,
"loc": {
"start": {
- "line": 106,
- "column": 55
+ "line": 111,
+ "column": 6
},
"end": {
- "line": 106,
- "column": 56
+ "line": 111,
+ "column": 7
}
}
},
@@ -25473,23 +28566,23 @@
"postfix": false,
"binop": null
},
- "value": "posX",
- "start": 3843,
- "end": 3847,
+ "value": "textObjects",
+ "start": 4138,
+ "end": 4149,
"loc": {
"start": {
- "line": 106,
- "column": 56
+ "line": 111,
+ "column": 7
},
"end": {
- "line": 106,
- "column": 60
+ "line": 111,
+ "column": 18
}
}
},
{
"type": {
- "label": ")",
+ "label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -25497,51 +28590,25 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
- },
- "start": 3847,
- "end": 3848,
- "loc": {
- "start": {
- "line": 106,
- "column": 60
- },
- "end": {
- "line": 106,
- "column": 61
- }
- }
- },
- {
- "type": {
- "label": "+/-",
- "beforeExpr": true,
- "startsExpr": true,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": true,
- "postfix": false,
- "binop": 9,
+ "binop": null,
"updateContext": null
},
- "value": "+",
- "start": 3849,
- "end": 3850,
+ "start": 4149,
+ "end": 4150,
"loc": {
"start": {
- "line": 106,
- "column": 62
+ "line": 111,
+ "column": 18
},
"end": {
- "line": 106,
- "column": 63
+ "line": 111,
+ "column": 19
}
}
},
{
"type": {
- "label": "string",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -25549,47 +28616,45 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": ", ",
- "start": 3851,
- "end": 3855,
+ "value": "defensetext",
+ "start": 4150,
+ "end": 4161,
"loc": {
"start": {
- "line": 106,
- "column": 64
+ "line": 111,
+ "column": 19
},
"end": {
- "line": 106,
- "column": 68
+ "line": 111,
+ "column": 30
}
}
},
{
"type": {
- "label": "+/-",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
- "prefix": true,
+ "prefix": false,
"postfix": false,
- "binop": 9,
+ "binop": null,
"updateContext": null
},
- "value": "+",
- "start": 3856,
- "end": 3857,
+ "start": 4161,
+ "end": 4162,
"loc": {
"start": {
- "line": 106,
- "column": 69
+ "line": 111,
+ "column": 30
},
"end": {
- "line": 106,
- "column": 70
+ "line": 111,
+ "column": 31
}
}
},
@@ -25605,49 +28670,50 @@
"postfix": false,
"binop": null
},
- "value": "Math",
- "start": 3858,
- "end": 3862,
+ "value": "text",
+ "start": 4162,
+ "end": 4166,
"loc": {
"start": {
- "line": 106,
- "column": 71
+ "line": 111,
+ "column": 31
},
"end": {
- "line": 106,
- "column": 75
+ "line": 111,
+ "column": 35
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
+ "label": "=",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "start": 3862,
- "end": 3863,
+ "value": "=",
+ "start": 4167,
+ "end": 4168,
"loc": {
"start": {
- "line": 106,
- "column": 75
+ "line": 111,
+ "column": 36
},
"end": {
- "line": 106,
- "column": 76
+ "line": 111,
+ "column": 37
}
}
},
{
"type": {
- "label": "name",
+ "label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -25655,44 +28721,47 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "round",
- "start": 3863,
- "end": 3868,
+ "value": "defense: ",
+ "start": 4169,
+ "end": 4180,
"loc": {
"start": {
- "line": 106,
- "column": 76
+ "line": 111,
+ "column": 38
},
"end": {
- "line": 106,
- "column": 81
+ "line": 111,
+ "column": 49
}
}
},
{
"type": {
- "label": "(",
+ "label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
- "prefix": false,
+ "prefix": true,
"postfix": false,
- "binop": null
+ "binop": 9,
+ "updateContext": null
},
- "start": 3868,
- "end": 3869,
+ "value": "+",
+ "start": 4181,
+ "end": 4182,
"loc": {
"start": {
- "line": 106,
- "column": 81
+ "line": 111,
+ "column": 50
},
"end": {
- "line": 106,
- "column": 82
+ "line": 111,
+ "column": 51
}
}
},
@@ -25711,16 +28780,16 @@
"updateContext": null
},
"value": "this",
- "start": 3869,
- "end": 3873,
+ "start": 4183,
+ "end": 4187,
"loc": {
"start": {
- "line": 106,
- "column": 82
+ "line": 111,
+ "column": 52
},
"end": {
- "line": 106,
- "column": 86
+ "line": 111,
+ "column": 56
}
}
},
@@ -25737,16 +28806,16 @@
"binop": null,
"updateContext": null
},
- "start": 3873,
- "end": 3874,
+ "start": 4187,
+ "end": 4188,
"loc": {
"start": {
- "line": 106,
- "column": 86
+ "line": 111,
+ "column": 56
},
"end": {
- "line": 106,
- "column": 87
+ "line": 111,
+ "column": 57
}
}
},
@@ -25762,96 +28831,94 @@
"postfix": false,
"binop": null
},
- "value": "posY",
- "start": 3874,
- "end": 3878,
+ "value": "shield",
+ "start": 4188,
+ "end": 4194,
"loc": {
"start": {
- "line": 106,
- "column": 87
+ "line": 111,
+ "column": 57
},
"end": {
- "line": 106,
- "column": 91
+ "line": 111,
+ "column": 63
}
}
},
{
"type": {
- "label": ")",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "+/-",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
- "prefix": false,
+ "prefix": true,
"postfix": false,
- "binop": null
+ "binop": 9,
+ "updateContext": null
},
- "start": 3878,
- "end": 3879,
+ "value": "+",
+ "start": 4195,
+ "end": 4196,
"loc": {
"start": {
- "line": 106,
- "column": 91
+ "line": 111,
+ "column": 64
},
"end": {
- "line": 106,
- "column": 92
+ "line": 111,
+ "column": 65
}
}
},
{
"type": {
- "label": "+/-",
+ "label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
- "prefix": true,
+ "prefix": false,
"postfix": false,
- "binop": 9,
- "updateContext": null
+ "binop": null
},
- "value": "+",
- "start": 3880,
- "end": 3881,
+ "start": 4197,
+ "end": 4198,
"loc": {
"start": {
- "line": 106,
- "column": 93
+ "line": 111,
+ "column": 66
},
"end": {
- "line": 106,
- "column": 94
+ "line": 111,
+ "column": 67
}
}
},
{
"type": {
- "label": "string",
- "beforeExpr": false,
+ "label": "(",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": ")",
- "start": 3882,
- "end": 3885,
+ "start": 4198,
+ "end": 4199,
"loc": {
"start": {
- "line": 106,
- "column": 95
+ "line": 111,
+ "column": 67
},
"end": {
- "line": 106,
- "column": 98
+ "line": 111,
+ "column": 68
}
}
},
@@ -25870,16 +28937,16 @@
"updateContext": null
},
"value": "this",
- "start": 3888,
- "end": 3892,
+ "start": 4199,
+ "end": 4203,
"loc": {
"start": {
- "line": 107,
- "column": 2
+ "line": 111,
+ "column": 68
},
"end": {
- "line": 107,
- "column": 6
+ "line": 111,
+ "column": 72
}
}
},
@@ -25896,16 +28963,16 @@
"binop": null,
"updateContext": null
},
- "start": 3892,
- "end": 3893,
+ "start": 4203,
+ "end": 4204,
"loc": {
"start": {
- "line": 107,
- "column": 6
+ "line": 111,
+ "column": 72
},
"end": {
- "line": 107,
- "column": 7
+ "line": 111,
+ "column": 73
}
}
},
@@ -25921,49 +28988,50 @@
"postfix": false,
"binop": null
},
- "value": "textObjects",
- "start": 3893,
- "end": 3904,
+ "value": "stronghold",
+ "start": 4204,
+ "end": 4214,
"loc": {
"start": {
- "line": 107,
- "column": 7
+ "line": 111,
+ "column": 73
},
"end": {
- "line": 107,
- "column": 18
+ "line": 111,
+ "column": 83
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
+ "label": "==/!=",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
+ "binop": 6,
"updateContext": null
},
- "start": 3904,
- "end": 3905,
+ "value": "===",
+ "start": 4215,
+ "end": 4218,
"loc": {
"start": {
- "line": 107,
- "column": 18
+ "line": 111,
+ "column": 84
},
"end": {
- "line": 107,
- "column": 19
+ "line": 111,
+ "column": 87
}
}
},
{
"type": {
- "label": "name",
+ "label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -25971,53 +29039,28 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
- },
- "value": "healthtext",
- "start": 3905,
- "end": 3915,
- "loc": {
- "start": {
- "line": 107,
- "column": 19
- },
- "end": {
- "line": 107,
- "column": 29
- }
- }
- },
- {
- "type": {
- "label": ".",
- "beforeExpr": false,
- "startsExpr": false,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
"binop": null,
"updateContext": null
},
- "start": 3915,
- "end": 3916,
+ "value": "team",
+ "start": 4219,
+ "end": 4225,
"loc": {
"start": {
- "line": 107,
- "column": 29
+ "line": 111,
+ "column": 88
},
"end": {
- "line": 107,
- "column": 30
+ "line": 111,
+ "column": 94
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -26025,44 +29068,42 @@
"postfix": false,
"binop": null
},
- "value": "text",
- "start": 3916,
- "end": 3920,
+ "start": 4225,
+ "end": 4226,
"loc": {
"start": {
- "line": 107,
- "column": 30
+ "line": 111,
+ "column": 94
},
"end": {
- "line": 107,
- "column": 34
+ "line": 111,
+ "column": 95
}
}
},
{
"type": {
- "label": "=",
+ "label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 3921,
- "end": 3922,
+ "start": 4227,
+ "end": 4228,
"loc": {
"start": {
- "line": 107,
- "column": 35
+ "line": 111,
+ "column": 96
},
"end": {
- "line": 107,
- "column": 36
+ "line": 111,
+ "column": 97
}
}
},
@@ -26079,53 +29120,25 @@
"binop": null,
"updateContext": null
},
- "value": "health: ",
- "start": 3923,
- "end": 3933,
+ "value": " (+5)",
+ "start": 4229,
+ "end": 4236,
"loc": {
"start": {
- "line": 107,
- "column": 37
+ "line": 111,
+ "column": 98
},
"end": {
- "line": 107,
- "column": 47
+ "line": 111,
+ "column": 105
}
}
},
{
"type": {
- "label": "+/-",
+ "label": ":",
"beforeExpr": true,
- "startsExpr": true,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": true,
- "postfix": false,
- "binop": 9,
- "updateContext": null
- },
- "value": "+",
- "start": 3934,
- "end": 3935,
- "loc": {
- "start": {
- "line": 107,
- "column": 48
- },
- "end": {
- "line": 107,
- "column": 49
- }
- }
- },
- {
- "type": {
- "label": "this",
- "keyword": "this",
- "beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -26134,25 +29147,24 @@
"binop": null,
"updateContext": null
},
- "value": "this",
- "start": 3936,
- "end": 3940,
+ "start": 4237,
+ "end": 4238,
"loc": {
"start": {
- "line": 107,
- "column": 50
+ "line": 111,
+ "column": 106
},
"end": {
- "line": 107,
- "column": 54
+ "line": 111,
+ "column": 107
}
}
},
{
"type": {
- "label": ".",
+ "label": "string",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -26161,24 +29173,25 @@
"binop": null,
"updateContext": null
},
- "start": 3940,
- "end": 3941,
+ "value": "",
+ "start": 4239,
+ "end": 4241,
"loc": {
"start": {
- "line": 107,
- "column": 54
+ "line": 111,
+ "column": 108
},
"end": {
- "line": 107,
- "column": 55
+ "line": 111,
+ "column": 110
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -26186,32 +29199,31 @@
"postfix": false,
"binop": null
},
- "value": "health",
- "start": 3941,
- "end": 3947,
+ "start": 4241,
+ "end": 4242,
"loc": {
"start": {
- "line": 107,
- "column": 55
+ "line": 111,
+ "column": 110
},
"end": {
- "line": 107,
- "column": 61
+ "line": 111,
+ "column": 111
}
}
},
{
"type": "CommentLine",
"value": " Rotation",
- "start": 3951,
- "end": 3962,
+ "start": 4246,
+ "end": 4257,
"loc": {
"start": {
- "line": 109,
+ "line": 113,
"column": 2
},
"end": {
- "line": 109,
+ "line": 113,
"column": 13
}
}
@@ -26231,15 +29243,15 @@
"updateContext": null
},
"value": "this",
- "start": 3965,
- "end": 3969,
+ "start": 4260,
+ "end": 4264,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 2
},
"end": {
- "line": 110,
+ "line": 114,
"column": 6
}
}
@@ -26257,15 +29269,15 @@
"binop": null,
"updateContext": null
},
- "start": 3969,
- "end": 3970,
+ "start": 4264,
+ "end": 4265,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 6
},
"end": {
- "line": 110,
+ "line": 114,
"column": 7
}
}
@@ -26283,15 +29295,15 @@
"binop": null
},
"value": "playerSprite",
- "start": 3970,
- "end": 3982,
+ "start": 4265,
+ "end": 4277,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 7
},
"end": {
- "line": 110,
+ "line": 114,
"column": 19
}
}
@@ -26309,15 +29321,15 @@
"binop": null,
"updateContext": null
},
- "start": 3982,
- "end": 3983,
+ "start": 4277,
+ "end": 4278,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 19
},
"end": {
- "line": 110,
+ "line": 114,
"column": 20
}
}
@@ -26335,15 +29347,15 @@
"binop": null
},
"value": "rotation",
- "start": 3983,
- "end": 3991,
+ "start": 4278,
+ "end": 4286,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 20
},
"end": {
- "line": 110,
+ "line": 114,
"column": 28
}
}
@@ -26362,15 +29374,15 @@
"updateContext": null
},
"value": "+=",
- "start": 3992,
- "end": 3994,
+ "start": 4287,
+ "end": 4289,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 29
},
"end": {
- "line": 110,
+ "line": 114,
"column": 31
}
}
@@ -26387,15 +29399,15 @@
"postfix": false,
"binop": null
},
- "start": 3995,
- "end": 3996,
+ "start": 4290,
+ "end": 4291,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 32
},
"end": {
- "line": 110,
+ "line": 114,
"column": 33
}
}
@@ -26415,15 +29427,15 @@
"updateContext": null
},
"value": "this",
- "start": 3996,
- "end": 4000,
+ "start": 4291,
+ "end": 4295,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 33
},
"end": {
- "line": 110,
+ "line": 114,
"column": 37
}
}
@@ -26441,15 +29453,15 @@
"binop": null,
"updateContext": null
},
- "start": 4000,
- "end": 4001,
+ "start": 4295,
+ "end": 4296,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 37
},
"end": {
- "line": 110,
+ "line": 114,
"column": 38
}
}
@@ -26467,15 +29479,15 @@
"binop": null
},
"value": "id",
- "start": 4001,
- "end": 4003,
+ "start": 4296,
+ "end": 4298,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 38
},
"end": {
- "line": 110,
+ "line": 114,
"column": 40
}
}
@@ -26494,15 +29506,15 @@
"updateContext": null
},
"value": "===",
- "start": 4004,
- "end": 4007,
+ "start": 4299,
+ "end": 4302,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 41
},
"end": {
- "line": 110,
+ "line": 114,
"column": 44
}
}
@@ -26520,15 +29532,15 @@
"binop": null
},
"value": "socket",
- "start": 4008,
- "end": 4014,
+ "start": 4303,
+ "end": 4309,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 45
},
"end": {
- "line": 110,
+ "line": 114,
"column": 51
}
}
@@ -26546,15 +29558,15 @@
"binop": null,
"updateContext": null
},
- "start": 4014,
- "end": 4015,
+ "start": 4309,
+ "end": 4310,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 51
},
"end": {
- "line": 110,
+ "line": 114,
"column": 52
}
}
@@ -26572,15 +29584,15 @@
"binop": null
},
"value": "id",
- "start": 4015,
- "end": 4017,
+ "start": 4310,
+ "end": 4312,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 52
},
"end": {
- "line": 110,
+ "line": 114,
"column": 54
}
}
@@ -26599,15 +29611,15 @@
"updateContext": null
},
"value": "&&",
- "start": 4018,
- "end": 4020,
+ "start": 4313,
+ "end": 4315,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 55
},
"end": {
- "line": 110,
+ "line": 114,
"column": 57
}
}
@@ -26625,15 +29637,15 @@
"binop": null
},
"value": "mouseDown",
- "start": 4021,
- "end": 4030,
+ "start": 4316,
+ "end": 4325,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 58
},
"end": {
- "line": 110,
+ "line": 114,
"column": 67
}
}
@@ -26650,15 +29662,15 @@
"postfix": false,
"binop": null
},
- "start": 4030,
- "end": 4031,
+ "start": 4325,
+ "end": 4326,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 67
},
"end": {
- "line": 110,
+ "line": 114,
"column": 68
}
}
@@ -26676,15 +29688,15 @@
"binop": null,
"updateContext": null
},
- "start": 4032,
- "end": 4033,
+ "start": 4327,
+ "end": 4328,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 69
},
"end": {
- "line": 110,
+ "line": 114,
"column": 70
}
}
@@ -26702,15 +29714,15 @@
"binop": null
},
"value": "GLOBAL",
- "start": 4034,
- "end": 4040,
+ "start": 4329,
+ "end": 4335,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 71
},
"end": {
- "line": 110,
+ "line": 114,
"column": 77
}
}
@@ -26728,15 +29740,15 @@
"binop": null,
"updateContext": null
},
- "start": 4040,
- "end": 4041,
+ "start": 4335,
+ "end": 4336,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 77
},
"end": {
- "line": 110,
+ "line": 114,
"column": 78
}
}
@@ -26754,15 +29766,15 @@
"binop": null
},
"value": "PLAYER_EXPEDITED_ROTATION",
- "start": 4041,
- "end": 4066,
+ "start": 4336,
+ "end": 4361,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 78
},
"end": {
- "line": 110,
+ "line": 114,
"column": 103
}
}
@@ -26780,15 +29792,15 @@
"binop": null,
"updateContext": null
},
- "start": 4067,
- "end": 4068,
+ "start": 4362,
+ "end": 4363,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 104
},
"end": {
- "line": 110,
+ "line": 114,
"column": 105
}
}
@@ -26806,15 +29818,15 @@
"binop": null
},
"value": "GLOBAL",
- "start": 4069,
- "end": 4075,
+ "start": 4364,
+ "end": 4370,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 106
},
"end": {
- "line": 110,
+ "line": 114,
"column": 112
}
}
@@ -26832,15 +29844,15 @@
"binop": null,
"updateContext": null
},
- "start": 4075,
- "end": 4076,
+ "start": 4370,
+ "end": 4371,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 112
},
"end": {
- "line": 110,
+ "line": 114,
"column": 113
}
}
@@ -26858,15 +29870,15 @@
"binop": null
},
"value": "PLAYER_ROTATION",
- "start": 4076,
- "end": 4091,
+ "start": 4371,
+ "end": 4386,
"loc": {
"start": {
- "line": 110,
+ "line": 114,
"column": 113
},
"end": {
- "line": 110,
+ "line": 114,
"column": 128
}
}
@@ -26874,15 +29886,15 @@
{
"type": "CommentLine",
"value": " Draw other player",
- "start": 4095,
- "end": 4115,
+ "start": 4390,
+ "end": 4410,
"loc": {
"start": {
- "line": 112,
+ "line": 116,
"column": 2
},
"end": {
- "line": 112,
+ "line": 116,
"column": 22
}
}
@@ -26902,15 +29914,15 @@
"updateContext": null
},
"value": "if",
- "start": 4118,
- "end": 4120,
+ "start": 4413,
+ "end": 4415,
"loc": {
"start": {
- "line": 113,
+ "line": 117,
"column": 2
},
"end": {
- "line": 113,
+ "line": 117,
"column": 4
}
}
@@ -26927,15 +29939,15 @@
"postfix": false,
"binop": null
},
- "start": 4121,
- "end": 4122,
+ "start": 4416,
+ "end": 4417,
"loc": {
"start": {
- "line": 113,
+ "line": 117,
"column": 5
},
"end": {
- "line": 113,
+ "line": 117,
"column": 6
}
}
@@ -26955,15 +29967,15 @@
"updateContext": null
},
"value": "this",
- "start": 4122,
- "end": 4126,
+ "start": 4417,
+ "end": 4421,
"loc": {
"start": {
- "line": 113,
+ "line": 117,
"column": 6
},
"end": {
- "line": 113,
+ "line": 117,
"column": 10
}
}
@@ -26981,15 +29993,15 @@
"binop": null,
"updateContext": null
},
- "start": 4126,
- "end": 4127,
+ "start": 4421,
+ "end": 4422,
"loc": {
"start": {
- "line": 113,
+ "line": 117,
"column": 10
},
"end": {
- "line": 113,
+ "line": 117,
"column": 11
}
}
@@ -27007,15 +30019,15 @@
"binop": null
},
"value": "id",
- "start": 4127,
- "end": 4129,
+ "start": 4422,
+ "end": 4424,
"loc": {
"start": {
- "line": 113,
+ "line": 117,
"column": 11
},
"end": {
- "line": 113,
+ "line": 117,
"column": 13
}
}
@@ -27034,15 +30046,15 @@
"updateContext": null
},
"value": "!==",
- "start": 4130,
- "end": 4133,
+ "start": 4425,
+ "end": 4428,
"loc": {
"start": {
- "line": 113,
+ "line": 117,
"column": 14
},
"end": {
- "line": 113,
+ "line": 117,
"column": 17
}
}
@@ -27060,15 +30072,15 @@
"binop": null
},
"value": "socket",
- "start": 4134,
- "end": 4140,
+ "start": 4429,
+ "end": 4435,
"loc": {
"start": {
- "line": 113,
+ "line": 117,
"column": 18
},
"end": {
- "line": 113,
+ "line": 117,
"column": 24
}
}
@@ -27086,15 +30098,15 @@
"binop": null,
"updateContext": null
},
- "start": 4140,
- "end": 4141,
+ "start": 4435,
+ "end": 4436,
"loc": {
"start": {
- "line": 113,
+ "line": 117,
"column": 24
},
"end": {
- "line": 113,
+ "line": 117,
"column": 25
}
}
@@ -27112,15 +30124,15 @@
"binop": null
},
"value": "id",
- "start": 4141,
- "end": 4143,
+ "start": 4436,
+ "end": 4438,
"loc": {
"start": {
- "line": 113,
+ "line": 117,
"column": 25
},
"end": {
- "line": 113,
+ "line": 117,
"column": 27
}
}
@@ -27137,15 +30149,15 @@
"postfix": false,
"binop": null
},
- "start": 4143,
- "end": 4144,
+ "start": 4438,
+ "end": 4439,
"loc": {
"start": {
- "line": 113,
+ "line": 117,
"column": 27
},
"end": {
- "line": 113,
+ "line": 117,
"column": 28
}
}
@@ -27162,15 +30174,15 @@
"postfix": false,
"binop": null
},
- "start": 4145,
- "end": 4146,
+ "start": 4440,
+ "end": 4441,
"loc": {
"start": {
- "line": 113,
+ "line": 117,
"column": 29
},
"end": {
- "line": 113,
+ "line": 117,
"column": 30
}
}
@@ -27190,15 +30202,15 @@
"updateContext": null
},
"value": "this",
- "start": 4150,
- "end": 4154,
+ "start": 4445,
+ "end": 4449,
"loc": {
"start": {
- "line": 114,
+ "line": 118,
"column": 3
},
"end": {
- "line": 114,
+ "line": 118,
"column": 7
}
}
@@ -27216,15 +30228,15 @@
"binop": null,
"updateContext": null
},
- "start": 4154,
- "end": 4155,
+ "start": 4449,
+ "end": 4450,
"loc": {
"start": {
- "line": 114,
+ "line": 118,
"column": 7
},
"end": {
- "line": 114,
+ "line": 118,
"column": 8
}
}
@@ -27242,15 +30254,15 @@
"binop": null
},
"value": "draw",
- "start": 4155,
- "end": 4159,
+ "start": 4450,
+ "end": 4454,
"loc": {
"start": {
- "line": 114,
+ "line": 118,
"column": 8
},
"end": {
- "line": 114,
+ "line": 118,
"column": 12
}
}
@@ -27267,15 +30279,15 @@
"postfix": false,
"binop": null
},
- "start": 4159,
- "end": 4160,
+ "start": 4454,
+ "end": 4455,
"loc": {
"start": {
- "line": 114,
+ "line": 118,
"column": 12
},
"end": {
- "line": 114,
+ "line": 118,
"column": 13
}
}
@@ -27292,15 +30304,15 @@
"postfix": false,
"binop": null
},
- "start": 4160,
- "end": 4161,
+ "start": 4455,
+ "end": 4456,
"loc": {
"start": {
- "line": 114,
+ "line": 118,
"column": 13
},
"end": {
- "line": 114,
+ "line": 118,
"column": 14
}
}
@@ -27317,15 +30329,15 @@
"postfix": false,
"binop": null
},
- "start": 4164,
- "end": 4165,
+ "start": 4459,
+ "end": 4460,
"loc": {
"start": {
- "line": 115,
+ "line": 119,
"column": 2
},
"end": {
- "line": 115,
+ "line": 119,
"column": 3
}
}
@@ -27342,31 +30354,31 @@
"postfix": false,
"binop": null
},
- "start": 4167,
- "end": 4168,
+ "start": 4462,
+ "end": 4463,
"loc": {
"start": {
- "line": 116,
+ "line": 120,
"column": 1
},
"end": {
- "line": 116,
+ "line": 120,
"column": 2
}
}
},
{
"type": "CommentBlock",
- "value": "*\n\t * Notifies the player to check for a sprite change (shield, etc).\n\t * @param {boolean} hasShield True if the player has shield from an element\n\t * @param {string} stronghold 'team' if player is in team stronghold, 'notteam' if player is in enemy stronghold, 'none', if not in a stronghold\n\t ",
- "start": 4171,
- "end": 4470,
+ "value": "*\n\t * Notifies the player to check for a sprite change (shield, etc).\n\t * @param {number} shield Number of extra defense points from buffs, elements, etc.\n\t * @param {string} stronghold 'team' if player is in team stronghold, 'notteam' if player is in enemy stronghold, 'none', if not in a stronghold\n\t ",
+ "start": 4466,
+ "end": 4773,
"loc": {
"start": {
- "line": 118,
+ "line": 122,
"column": 1
},
"end": {
- "line": 122,
+ "line": 126,
"column": 4
}
}
@@ -27384,15 +30396,15 @@
"binop": null
},
"value": "changeSprite",
- "start": 4472,
- "end": 4484,
+ "start": 4775,
+ "end": 4787,
"loc": {
"start": {
- "line": 123,
+ "line": 127,
"column": 1
},
"end": {
- "line": 123,
+ "line": 127,
"column": 13
}
}
@@ -27409,15 +30421,15 @@
"postfix": false,
"binop": null
},
- "start": 4484,
- "end": 4485,
+ "start": 4787,
+ "end": 4788,
"loc": {
"start": {
- "line": 123,
+ "line": 127,
"column": 13
},
"end": {
- "line": 123,
+ "line": 127,
"column": 14
}
}
@@ -27434,17 +30446,17 @@
"postfix": false,
"binop": null
},
- "value": "hasShield",
- "start": 4485,
- "end": 4494,
+ "value": "shield",
+ "start": 4788,
+ "end": 4794,
"loc": {
"start": {
- "line": 123,
+ "line": 127,
"column": 14
},
"end": {
- "line": 123,
- "column": 23
+ "line": 127,
+ "column": 20
}
}
},
@@ -27461,16 +30473,16 @@
"binop": null,
"updateContext": null
},
- "start": 4494,
- "end": 4495,
+ "start": 4794,
+ "end": 4795,
"loc": {
"start": {
- "line": 123,
- "column": 23
+ "line": 127,
+ "column": 20
},
"end": {
- "line": 123,
- "column": 24
+ "line": 127,
+ "column": 21
}
}
},
@@ -27487,16 +30499,16 @@
"binop": null
},
"value": "stronghold",
- "start": 4496,
- "end": 4506,
+ "start": 4796,
+ "end": 4806,
"loc": {
"start": {
- "line": 123,
- "column": 25
+ "line": 127,
+ "column": 22
},
"end": {
- "line": 123,
- "column": 35
+ "line": 127,
+ "column": 32
}
}
},
@@ -27512,16 +30524,16 @@
"postfix": false,
"binop": null
},
- "start": 4506,
- "end": 4507,
+ "start": 4806,
+ "end": 4807,
"loc": {
"start": {
- "line": 123,
- "column": 35
+ "line": 127,
+ "column": 32
},
"end": {
- "line": 123,
- "column": 36
+ "line": 127,
+ "column": 33
}
}
},
@@ -27537,31 +30549,31 @@
"postfix": false,
"binop": null
},
- "start": 4508,
- "end": 4509,
+ "start": 4808,
+ "end": 4809,
"loc": {
"start": {
- "line": 123,
- "column": 37
+ "line": 127,
+ "column": 34
},
"end": {
- "line": 123,
- "column": 38
+ "line": 127,
+ "column": 35
}
}
},
{
"type": "CommentLine",
"value": " Set values",
- "start": 4512,
- "end": 4525,
+ "start": 4812,
+ "end": 4825,
"loc": {
"start": {
- "line": 124,
+ "line": 128,
"column": 2
},
"end": {
- "line": 124,
+ "line": 128,
"column": 15
}
}
@@ -27581,15 +30593,15 @@
"updateContext": null
},
"value": "this",
- "start": 4528,
- "end": 4532,
+ "start": 4828,
+ "end": 4832,
"loc": {
"start": {
- "line": 125,
+ "line": 129,
"column": 2
},
"end": {
- "line": 125,
+ "line": 129,
"column": 6
}
}
@@ -27607,15 +30619,15 @@
"binop": null,
"updateContext": null
},
- "start": 4532,
- "end": 4533,
+ "start": 4832,
+ "end": 4833,
"loc": {
"start": {
- "line": 125,
+ "line": 129,
"column": 6
},
"end": {
- "line": 125,
+ "line": 129,
"column": 7
}
}
@@ -27632,17 +30644,17 @@
"postfix": false,
"binop": null
},
- "value": "hasShield",
- "start": 4533,
- "end": 4542,
+ "value": "shield",
+ "start": 4833,
+ "end": 4839,
"loc": {
"start": {
- "line": 125,
+ "line": 129,
"column": 7
},
"end": {
- "line": 125,
- "column": 16
+ "line": 129,
+ "column": 13
}
}
},
@@ -27660,16 +30672,16 @@
"updateContext": null
},
"value": "=",
- "start": 4543,
- "end": 4544,
+ "start": 4840,
+ "end": 4841,
"loc": {
"start": {
- "line": 125,
- "column": 17
+ "line": 129,
+ "column": 14
},
"end": {
- "line": 125,
- "column": 18
+ "line": 129,
+ "column": 15
}
}
},
@@ -27685,17 +30697,17 @@
"postfix": false,
"binop": null
},
- "value": "hasShield",
- "start": 4545,
- "end": 4554,
+ "value": "shield",
+ "start": 4842,
+ "end": 4848,
"loc": {
"start": {
- "line": 125,
- "column": 19
+ "line": 129,
+ "column": 16
},
"end": {
- "line": 125,
- "column": 28
+ "line": 129,
+ "column": 22
}
}
},
@@ -27714,15 +30726,15 @@
"updateContext": null
},
"value": "this",
- "start": 4557,
- "end": 4561,
+ "start": 4851,
+ "end": 4855,
"loc": {
"start": {
- "line": 126,
+ "line": 130,
"column": 2
},
"end": {
- "line": 126,
+ "line": 130,
"column": 6
}
}
@@ -27740,15 +30752,15 @@
"binop": null,
"updateContext": null
},
- "start": 4561,
- "end": 4562,
+ "start": 4855,
+ "end": 4856,
"loc": {
"start": {
- "line": 126,
+ "line": 130,
"column": 6
},
"end": {
- "line": 126,
+ "line": 130,
"column": 7
}
}
@@ -27766,15 +30778,15 @@
"binop": null
},
"value": "stronghold",
- "start": 4562,
- "end": 4572,
+ "start": 4856,
+ "end": 4866,
"loc": {
"start": {
- "line": 126,
+ "line": 130,
"column": 7
},
"end": {
- "line": 126,
+ "line": 130,
"column": 17
}
}
@@ -27793,15 +30805,15 @@
"updateContext": null
},
"value": "=",
- "start": 4573,
- "end": 4574,
+ "start": 4867,
+ "end": 4868,
"loc": {
"start": {
- "line": 126,
+ "line": 130,
"column": 18
},
"end": {
- "line": 126,
+ "line": 130,
"column": 19
}
}
@@ -27819,15 +30831,15 @@
"binop": null
},
"value": "stronghold",
- "start": 4575,
- "end": 4585,
+ "start": 4869,
+ "end": 4879,
"loc": {
"start": {
- "line": 126,
+ "line": 130,
"column": 20
},
"end": {
- "line": 126,
+ "line": 130,
"column": 30
}
}
@@ -27835,15 +30847,15 @@
{
"type": "CommentLine",
"value": " Set sprite",
- "start": 4589,
- "end": 4602,
+ "start": 4883,
+ "end": 4896,
"loc": {
"start": {
- "line": 128,
+ "line": 132,
"column": 2
},
"end": {
- "line": 128,
+ "line": 132,
"column": 15
}
}
@@ -27863,15 +30875,15 @@
"updateContext": null
},
"value": "if",
- "start": 4605,
- "end": 4607,
+ "start": 4899,
+ "end": 4901,
"loc": {
"start": {
- "line": 129,
+ "line": 133,
"column": 2
},
"end": {
- "line": 129,
+ "line": 133,
"column": 4
}
}
@@ -27888,15 +30900,15 @@
"postfix": false,
"binop": null
},
- "start": 4608,
- "end": 4609,
+ "start": 4902,
+ "end": 4903,
"loc": {
"start": {
- "line": 129,
+ "line": 133,
"column": 5
},
"end": {
- "line": 129,
+ "line": 133,
"column": 6
}
}
@@ -27916,15 +30928,15 @@
"updateContext": null
},
"value": "this",
- "start": 4609,
- "end": 4613,
+ "start": 4903,
+ "end": 4907,
"loc": {
"start": {
- "line": 129,
+ "line": 133,
"column": 6
},
"end": {
- "line": 129,
+ "line": 133,
"column": 10
}
}
@@ -27942,15 +30954,15 @@
"binop": null,
"updateContext": null
},
- "start": 4613,
- "end": 4614,
+ "start": 4907,
+ "end": 4908,
"loc": {
"start": {
- "line": 129,
+ "line": 133,
"column": 10
},
"end": {
- "line": 129,
+ "line": 133,
"column": 11
}
}
@@ -27967,17 +30979,71 @@
"postfix": false,
"binop": null
},
- "value": "hasShield",
- "start": 4614,
- "end": 4623,
+ "value": "shield",
+ "start": 4908,
+ "end": 4914,
+ "loc": {
+ "start": {
+ "line": 133,
+ "column": 11
+ },
+ "end": {
+ "line": 133,
+ "column": 17
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ">",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": 7,
+ "updateContext": null
+ },
+ "value": ">",
+ "start": 4915,
+ "end": 4916,
+ "loc": {
+ "start": {
+ "line": 133,
+ "column": 18
+ },
+ "end": {
+ "line": 133,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "num",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": 0,
+ "start": 4917,
+ "end": 4918,
"loc": {
"start": {
- "line": 129,
- "column": 11
+ "line": 133,
+ "column": 20
},
"end": {
- "line": 129,
- "column": 20
+ "line": 133,
+ "column": 21
}
}
},
@@ -27995,16 +31061,16 @@
"updateContext": null
},
"value": "||",
- "start": 4624,
- "end": 4626,
+ "start": 4919,
+ "end": 4921,
"loc": {
"start": {
- "line": 129,
- "column": 21
+ "line": 133,
+ "column": 22
},
"end": {
- "line": 129,
- "column": 23
+ "line": 133,
+ "column": 24
}
}
},
@@ -28023,16 +31089,16 @@
"updateContext": null
},
"value": "this",
- "start": 4627,
- "end": 4631,
+ "start": 4922,
+ "end": 4926,
"loc": {
"start": {
- "line": 129,
- "column": 24
+ "line": 133,
+ "column": 25
},
"end": {
- "line": 129,
- "column": 28
+ "line": 133,
+ "column": 29
}
}
},
@@ -28049,16 +31115,16 @@
"binop": null,
"updateContext": null
},
- "start": 4631,
- "end": 4632,
+ "start": 4926,
+ "end": 4927,
"loc": {
"start": {
- "line": 129,
- "column": 28
+ "line": 133,
+ "column": 29
},
"end": {
- "line": 129,
- "column": 29
+ "line": 133,
+ "column": 30
}
}
},
@@ -28075,16 +31141,16 @@
"binop": null
},
"value": "stronghold",
- "start": 4632,
- "end": 4642,
+ "start": 4927,
+ "end": 4937,
"loc": {
"start": {
- "line": 129,
- "column": 29
+ "line": 133,
+ "column": 30
},
"end": {
- "line": 129,
- "column": 39
+ "line": 133,
+ "column": 40
}
}
},
@@ -28102,16 +31168,16 @@
"updateContext": null
},
"value": "===",
- "start": 4643,
- "end": 4646,
+ "start": 4938,
+ "end": 4941,
"loc": {
"start": {
- "line": 129,
- "column": 40
+ "line": 133,
+ "column": 41
},
"end": {
- "line": 129,
- "column": 43
+ "line": 133,
+ "column": 44
}
}
},
@@ -28129,16 +31195,16 @@
"updateContext": null
},
"value": "team",
- "start": 4647,
- "end": 4653,
+ "start": 4942,
+ "end": 4948,
"loc": {
"start": {
- "line": 129,
- "column": 44
+ "line": 133,
+ "column": 45
},
"end": {
- "line": 129,
- "column": 50
+ "line": 133,
+ "column": 51
}
}
},
@@ -28154,16 +31220,16 @@
"postfix": false,
"binop": null
},
- "start": 4653,
- "end": 4654,
+ "start": 4948,
+ "end": 4949,
"loc": {
"start": {
- "line": 129,
- "column": 50
+ "line": 133,
+ "column": 51
},
"end": {
- "line": 129,
- "column": 51
+ "line": 133,
+ "column": 52
}
}
},
@@ -28179,16 +31245,16 @@
"postfix": false,
"binop": null
},
- "start": 4655,
- "end": 4656,
+ "start": 4950,
+ "end": 4951,
"loc": {
"start": {
- "line": 129,
- "column": 52
+ "line": 133,
+ "column": 53
},
"end": {
- "line": 129,
- "column": 53
+ "line": 133,
+ "column": 54
}
}
},
@@ -28207,15 +31273,15 @@
"updateContext": null
},
"value": "this",
- "start": 4660,
- "end": 4664,
+ "start": 4955,
+ "end": 4959,
"loc": {
"start": {
- "line": 130,
+ "line": 134,
"column": 3
},
"end": {
- "line": 130,
+ "line": 134,
"column": 7
}
}
@@ -28233,15 +31299,15 @@
"binop": null,
"updateContext": null
},
- "start": 4664,
- "end": 4665,
+ "start": 4959,
+ "end": 4960,
"loc": {
"start": {
- "line": 130,
+ "line": 134,
"column": 7
},
"end": {
- "line": 130,
+ "line": 134,
"column": 8
}
}
@@ -28259,15 +31325,15 @@
"binop": null
},
"value": "playerSprite",
- "start": 4665,
- "end": 4677,
+ "start": 4960,
+ "end": 4972,
"loc": {
"start": {
- "line": 130,
+ "line": 134,
"column": 8
},
"end": {
- "line": 130,
+ "line": 134,
"column": 20
}
}
@@ -28285,15 +31351,15 @@
"binop": null,
"updateContext": null
},
- "start": 4677,
- "end": 4678,
+ "start": 4972,
+ "end": 4973,
"loc": {
"start": {
- "line": 130,
+ "line": 134,
"column": 20
},
"end": {
- "line": 130,
+ "line": 134,
"column": 21
}
}
@@ -28311,15 +31377,15 @@
"binop": null
},
"value": "texture",
- "start": 4678,
- "end": 4685,
+ "start": 4973,
+ "end": 4980,
"loc": {
"start": {
- "line": 130,
+ "line": 134,
"column": 21
},
"end": {
- "line": 130,
+ "line": 134,
"column": 28
}
}
@@ -28338,15 +31404,15 @@
"updateContext": null
},
"value": "=",
- "start": 4686,
- "end": 4687,
+ "start": 4981,
+ "end": 4982,
"loc": {
"start": {
- "line": 130,
+ "line": 134,
"column": 29
},
"end": {
- "line": 130,
+ "line": 134,
"column": 30
}
}
@@ -28364,15 +31430,15 @@
"binop": null
},
"value": "spritesheet",
- "start": 4688,
- "end": 4699,
+ "start": 4983,
+ "end": 4994,
"loc": {
"start": {
- "line": 130,
+ "line": 134,
"column": 31
},
"end": {
- "line": 130,
+ "line": 134,
"column": 42
}
}
@@ -28390,15 +31456,15 @@
"binop": null,
"updateContext": null
},
- "start": 4699,
- "end": 4700,
+ "start": 4994,
+ "end": 4995,
"loc": {
"start": {
- "line": 130,
+ "line": 134,
"column": 42
},
"end": {
- "line": 130,
+ "line": 134,
"column": 43
}
}
@@ -28416,15 +31482,15 @@
"binop": null
},
"value": "textures",
- "start": 4700,
- "end": 4708,
+ "start": 4995,
+ "end": 5003,
"loc": {
"start": {
- "line": 130,
+ "line": 134,
"column": 43
},
"end": {
- "line": 130,
+ "line": 134,
"column": 51
}
}
@@ -28442,15 +31508,15 @@
"binop": null,
"updateContext": null
},
- "start": 4708,
- "end": 4709,
+ "start": 5003,
+ "end": 5004,
"loc": {
"start": {
- "line": 130,
+ "line": 134,
"column": 51
},
"end": {
- "line": 130,
+ "line": 134,
"column": 52
}
}
@@ -28468,15 +31534,15 @@
"binop": null
},
"value": "teamColors",
- "start": 4709,
- "end": 4719,
+ "start": 5004,
+ "end": 5014,
"loc": {
"start": {
- "line": 130,
+ "line": 134,
"column": 52
},
"end": {
- "line": 130,
+ "line": 134,
"column": 62
}
}
@@ -28494,15 +31560,15 @@
"binop": null,
"updateContext": null
},
- "start": 4719,
- "end": 4720,
+ "start": 5014,
+ "end": 5015,
"loc": {
"start": {
- "line": 130,
+ "line": 134,
"column": 62
},
"end": {
- "line": 130,
+ "line": 134,
"column": 63
}
}
@@ -28522,15 +31588,15 @@
"updateContext": null
},
"value": "this",
- "start": 4720,
- "end": 4724,
+ "start": 5015,
+ "end": 5019,
"loc": {
"start": {
- "line": 130,
+ "line": 134,
"column": 63
},
"end": {
- "line": 130,
+ "line": 134,
"column": 67
}
}
@@ -28548,15 +31614,15 @@
"binop": null,
"updateContext": null
},
- "start": 4724,
- "end": 4725,
+ "start": 5019,
+ "end": 5020,
"loc": {
"start": {
- "line": 130,
+ "line": 134,
"column": 67
},
"end": {
- "line": 130,
+ "line": 134,
"column": 68
}
}
@@ -28574,15 +31640,15 @@
"binop": null
},
"value": "team",
- "start": 4725,
- "end": 4729,
+ "start": 5020,
+ "end": 5024,
"loc": {
"start": {
- "line": 130,
+ "line": 134,
"column": 68
},
"end": {
- "line": 130,
+ "line": 134,
"column": 72
}
}
@@ -28600,15 +31666,15 @@
"binop": null,
"updateContext": null
},
- "start": 4729,
- "end": 4730,
+ "start": 5024,
+ "end": 5025,
"loc": {
"start": {
- "line": 130,
+ "line": 134,
"column": 72
},
"end": {
- "line": 130,
+ "line": 134,
"column": 73
}
}
@@ -28627,15 +31693,15 @@
"updateContext": null
},
"value": "+",
- "start": 4731,
- "end": 4732,
+ "start": 5026,
+ "end": 5027,
"loc": {
"start": {
- "line": 130,
+ "line": 134,
"column": 74
},
"end": {
- "line": 130,
+ "line": 134,
"column": 75
}
}
@@ -28654,15 +31720,15 @@
"updateContext": null
},
"value": "playershield.png",
- "start": 4733,
- "end": 4751,
+ "start": 5028,
+ "end": 5046,
"loc": {
"start": {
- "line": 130,
+ "line": 134,
"column": 76
},
"end": {
- "line": 130,
+ "line": 134,
"column": 94
}
}
@@ -28680,15 +31746,15 @@
"binop": null,
"updateContext": null
},
- "start": 4751,
- "end": 4752,
+ "start": 5046,
+ "end": 5047,
"loc": {
"start": {
- "line": 130,
+ "line": 134,
"column": 94
},
"end": {
- "line": 130,
+ "line": 134,
"column": 95
}
}
@@ -28705,15 +31771,15 @@
"postfix": false,
"binop": null
},
- "start": 4755,
- "end": 4756,
+ "start": 5050,
+ "end": 5051,
"loc": {
"start": {
- "line": 131,
+ "line": 135,
"column": 2
},
"end": {
- "line": 131,
+ "line": 135,
"column": 3
}
}
@@ -28733,15 +31799,15 @@
"updateContext": null
},
"value": "else",
- "start": 4759,
- "end": 4763,
+ "start": 5054,
+ "end": 5058,
"loc": {
"start": {
- "line": 132,
+ "line": 136,
"column": 2
},
"end": {
- "line": 132,
+ "line": 136,
"column": 6
}
}
@@ -28758,15 +31824,15 @@
"postfix": false,
"binop": null
},
- "start": 4764,
- "end": 4765,
+ "start": 5059,
+ "end": 5060,
"loc": {
"start": {
- "line": 132,
+ "line": 136,
"column": 7
},
"end": {
- "line": 132,
+ "line": 136,
"column": 8
}
}
@@ -28786,15 +31852,15 @@
"updateContext": null
},
"value": "this",
- "start": 4769,
- "end": 4773,
+ "start": 5064,
+ "end": 5068,
"loc": {
"start": {
- "line": 133,
+ "line": 137,
"column": 3
},
"end": {
- "line": 133,
+ "line": 137,
"column": 7
}
}
@@ -28812,15 +31878,15 @@
"binop": null,
"updateContext": null
},
- "start": 4773,
- "end": 4774,
+ "start": 5068,
+ "end": 5069,
"loc": {
"start": {
- "line": 133,
+ "line": 137,
"column": 7
},
"end": {
- "line": 133,
+ "line": 137,
"column": 8
}
}
@@ -28838,15 +31904,15 @@
"binop": null
},
"value": "playerSprite",
- "start": 4774,
- "end": 4786,
+ "start": 5069,
+ "end": 5081,
"loc": {
"start": {
- "line": 133,
+ "line": 137,
"column": 8
},
"end": {
- "line": 133,
+ "line": 137,
"column": 20
}
}
@@ -28864,15 +31930,15 @@
"binop": null,
"updateContext": null
},
- "start": 4786,
- "end": 4787,
+ "start": 5081,
+ "end": 5082,
"loc": {
"start": {
- "line": 133,
+ "line": 137,
"column": 20
},
"end": {
- "line": 133,
+ "line": 137,
"column": 21
}
}
@@ -28890,15 +31956,15 @@
"binop": null
},
"value": "texture",
- "start": 4787,
- "end": 4794,
+ "start": 5082,
+ "end": 5089,
"loc": {
"start": {
- "line": 133,
+ "line": 137,
"column": 21
},
"end": {
- "line": 133,
+ "line": 137,
"column": 28
}
}
@@ -28917,15 +31983,15 @@
"updateContext": null
},
"value": "=",
- "start": 4795,
- "end": 4796,
+ "start": 5090,
+ "end": 5091,
"loc": {
"start": {
- "line": 133,
+ "line": 137,
"column": 29
},
"end": {
- "line": 133,
+ "line": 137,
"column": 30
}
}
@@ -28943,15 +32009,15 @@
"binop": null
},
"value": "spritesheet",
- "start": 4797,
- "end": 4808,
+ "start": 5092,
+ "end": 5103,
"loc": {
"start": {
- "line": 133,
+ "line": 137,
"column": 31
},
"end": {
- "line": 133,
+ "line": 137,
"column": 42
}
}
@@ -28969,15 +32035,15 @@
"binop": null,
"updateContext": null
},
- "start": 4808,
- "end": 4809,
+ "start": 5103,
+ "end": 5104,
"loc": {
"start": {
- "line": 133,
+ "line": 137,
"column": 42
},
"end": {
- "line": 133,
+ "line": 137,
"column": 43
}
}
@@ -28995,15 +32061,15 @@
"binop": null
},
"value": "textures",
- "start": 4809,
- "end": 4817,
+ "start": 5104,
+ "end": 5112,
"loc": {
"start": {
- "line": 133,
+ "line": 137,
"column": 43
},
"end": {
- "line": 133,
+ "line": 137,
"column": 51
}
}
@@ -29021,15 +32087,15 @@
"binop": null,
"updateContext": null
},
- "start": 4817,
- "end": 4818,
+ "start": 5112,
+ "end": 5113,
"loc": {
"start": {
- "line": 133,
+ "line": 137,
"column": 51
},
"end": {
- "line": 133,
+ "line": 137,
"column": 52
}
}
@@ -29047,15 +32113,15 @@
"binop": null
},
"value": "teamColors",
- "start": 4818,
- "end": 4828,
+ "start": 5113,
+ "end": 5123,
"loc": {
"start": {
- "line": 133,
+ "line": 137,
"column": 52
},
"end": {
- "line": 133,
+ "line": 137,
"column": 62
}
}
@@ -29073,15 +32139,15 @@
"binop": null,
"updateContext": null
},
- "start": 4828,
- "end": 4829,
+ "start": 5123,
+ "end": 5124,
"loc": {
"start": {
- "line": 133,
+ "line": 137,
"column": 62
},
"end": {
- "line": 133,
+ "line": 137,
"column": 63
}
}
@@ -29101,15 +32167,15 @@
"updateContext": null
},
"value": "this",
- "start": 4829,
- "end": 4833,
+ "start": 5124,
+ "end": 5128,
"loc": {
"start": {
- "line": 133,
+ "line": 137,
"column": 63
},
"end": {
- "line": 133,
+ "line": 137,
"column": 67
}
}
@@ -29127,15 +32193,15 @@
"binop": null,
"updateContext": null
},
- "start": 4833,
- "end": 4834,
+ "start": 5128,
+ "end": 5129,
"loc": {
"start": {
- "line": 133,
+ "line": 137,
"column": 67
},
"end": {
- "line": 133,
+ "line": 137,
"column": 68
}
}
@@ -29153,15 +32219,15 @@
"binop": null
},
"value": "team",
- "start": 4834,
- "end": 4838,
+ "start": 5129,
+ "end": 5133,
"loc": {
"start": {
- "line": 133,
+ "line": 137,
"column": 68
},
"end": {
- "line": 133,
+ "line": 137,
"column": 72
}
}
@@ -29179,15 +32245,15 @@
"binop": null,
"updateContext": null
},
- "start": 4838,
- "end": 4839,
+ "start": 5133,
+ "end": 5134,
"loc": {
"start": {
- "line": 133,
+ "line": 137,
"column": 72
},
"end": {
- "line": 133,
+ "line": 137,
"column": 73
}
}
@@ -29206,15 +32272,15 @@
"updateContext": null
},
"value": "+",
- "start": 4840,
- "end": 4841,
+ "start": 5135,
+ "end": 5136,
"loc": {
"start": {
- "line": 133,
+ "line": 137,
"column": 74
},
"end": {
- "line": 133,
+ "line": 137,
"column": 75
}
}
@@ -29233,15 +32299,15 @@
"updateContext": null
},
"value": "player.png",
- "start": 4842,
- "end": 4854,
+ "start": 5137,
+ "end": 5149,
"loc": {
"start": {
- "line": 133,
+ "line": 137,
"column": 76
},
"end": {
- "line": 133,
+ "line": 137,
"column": 88
}
}
@@ -29259,15 +32325,15 @@
"binop": null,
"updateContext": null
},
- "start": 4854,
- "end": 4855,
+ "start": 5149,
+ "end": 5150,
"loc": {
"start": {
- "line": 133,
+ "line": 137,
"column": 88
},
"end": {
- "line": 133,
+ "line": 137,
"column": 89
}
}
@@ -29284,15 +32350,15 @@
"postfix": false,
"binop": null
},
- "start": 4858,
- "end": 4859,
+ "start": 5153,
+ "end": 5154,
"loc": {
"start": {
- "line": 134,
+ "line": 138,
"column": 2
},
"end": {
- "line": 134,
+ "line": 138,
"column": 3
}
}
@@ -29309,15 +32375,15 @@
"postfix": false,
"binop": null
},
- "start": 4861,
- "end": 4862,
+ "start": 5156,
+ "end": 5157,
"loc": {
"start": {
- "line": 135,
+ "line": 139,
"column": 1
},
"end": {
- "line": 135,
+ "line": 139,
"column": 2
}
}
@@ -29334,15 +32400,15 @@
"postfix": false,
"binop": null
},
- "start": 4863,
- "end": 4864,
+ "start": 5158,
+ "end": 5159,
"loc": {
"start": {
- "line": 136,
+ "line": 140,
"column": 0
},
"end": {
- "line": 136,
+ "line": 140,
"column": 1
}
}
@@ -29360,15 +32426,15 @@
"binop": null,
"updateContext": null
},
- "start": 4865,
- "end": 4865,
+ "start": 5160,
+ "end": 5160,
"loc": {
"start": {
- "line": 137,
+ "line": 141,
"column": 0
},
"end": {
- "line": 137,
+ "line": 141,
"column": 0
}
}
diff --git a/docs/ast/source/client/js/socket.js.json b/docs/ast/source/client/js/socket.js.json
index cf476bb..ff34352 100644
--- a/docs/ast/source/client/js/socket.js.json
+++ b/docs/ast/source/client/js/socket.js.json
@@ -1,7 +1,7 @@
{
"type": "File",
"start": 0,
- "end": 11547,
+ "end": 11532,
"loc": {
"start": {
"line": 1,
@@ -15,7 +15,7 @@
"program": {
"type": "Program",
"start": 0,
- "end": 11547,
+ "end": 11532,
"loc": {
"start": {
"line": 1,
@@ -7779,7 +7779,7 @@
{
"type": "FunctionDeclaration",
"start": 3483,
- "end": 7571,
+ "end": 7556,
"loc": {
"start": {
"line": 120,
@@ -7815,7 +7815,7 @@
"body": {
"type": "BlockStatement",
"start": 3522,
- "end": 7571,
+ "end": 7556,
"loc": {
"start": {
"line": 120,
@@ -7830,7 +7830,7 @@
{
"type": "ExpressionStatement",
"start": 3572,
- "end": 5739,
+ "end": 5724,
"loc": {
"start": {
"line": 122,
@@ -7844,7 +7844,7 @@
"expression": {
"type": "CallExpression",
"start": 3572,
- "end": 5739,
+ "end": 5724,
"loc": {
"start": {
"line": 122,
@@ -7931,7 +7931,7 @@
{
"type": "ArrowFunctionExpression",
"start": 3596,
- "end": 5738,
+ "end": 5723,
"loc": {
"start": {
"line": 122,
@@ -7968,7 +7968,7 @@
"body": {
"type": "BlockStatement",
"start": 3606,
- "end": 5738,
+ "end": 5723,
"loc": {
"start": {
"line": 122,
@@ -7983,7 +7983,7 @@
{
"type": "ForInStatement",
"start": 3610,
- "end": 5735,
+ "end": 5720,
"loc": {
"start": {
"line": 123,
@@ -8065,7 +8065,7 @@
"body": {
"type": "BlockStatement",
"start": 3636,
- "end": 5735,
+ "end": 5720,
"loc": {
"start": {
"line": 123,
@@ -8080,7 +8080,7 @@
{
"type": "IfStatement",
"start": 3641,
- "end": 5346,
+ "end": 5331,
"loc": {
"start": {
"line": 124,
@@ -8147,7 +8147,7 @@
"consequent": {
"type": "BlockStatement",
"start": 3666,
- "end": 5346,
+ "end": 5331,
"loc": {
"start": {
"line": 124,
@@ -8162,7 +8162,7 @@
{
"type": "ForInStatement",
"start": 3672,
- "end": 5341,
+ "end": 5326,
"loc": {
"start": {
"line": 125,
@@ -8277,7 +8277,7 @@
"body": {
"type": "BlockStatement",
"start": 3703,
- "end": 5341,
+ "end": 5326,
"loc": {
"start": {
"line": 125,
@@ -8292,7 +8292,7 @@
{
"type": "IfStatement",
"start": 3710,
- "end": 5335,
+ "end": 5320,
"loc": {
"start": {
"line": 126,
@@ -8420,7 +8420,7 @@
"consequent": {
"type": "BlockStatement",
"start": 3743,
- "end": 5335,
+ "end": 5320,
"loc": {
"start": {
"line": 126,
@@ -8721,7 +8721,7 @@
{
"type": "IfStatement",
"start": 3869,
- "end": 5328,
+ "end": 5313,
"loc": {
"start": {
"line": 130,
@@ -8852,7 +8852,7 @@
"consequent": {
"type": "BlockStatement",
"start": 3920,
- "end": 4914,
+ "end": 4899,
"loc": {
"start": {
"line": 130,
@@ -9365,7 +9365,7 @@
{
"type": "IfStatement",
"start": 4062,
- "end": 4786,
+ "end": 4771,
"loc": {
"start": {
"line": 134,
@@ -9432,7 +9432,7 @@
"consequent": {
"type": "BlockStatement",
"start": 4089,
- "end": 4786,
+ "end": 4771,
"loc": {
"start": {
"line": 134,
@@ -10235,7 +10235,7 @@
{
"type": "IfStatement",
"start": 4328,
- "end": 4571,
+ "end": 4562,
"loc": {
"start": {
"line": 140,
@@ -10249,7 +10249,7 @@
"test": {
"type": "LogicalExpression",
"start": 4332,
- "end": 4442,
+ "end": 4436,
"loc": {
"start": {
"line": 140,
@@ -10257,13 +10257,13 @@
},
"end": {
"line": 140,
- "column": 122
+ "column": 116
}
},
"left": {
"type": "BinaryExpression",
"start": 4332,
- "end": 4384,
+ "end": 4378,
"loc": {
"start": {
"line": 140,
@@ -10271,13 +10271,13 @@
},
"end": {
"line": 140,
- "column": 64
+ "column": 58
}
},
"left": {
"type": "MemberExpression",
"start": 4332,
- "end": 4363,
+ "end": 4360,
"loc": {
"start": {
"line": 140,
@@ -10285,7 +10285,7 @@
},
"end": {
"line": 140,
- "column": 43
+ "column": 40
}
},
"object": {
@@ -10374,7 +10374,7 @@
"property": {
"type": "Identifier",
"start": 4354,
- "end": 4363,
+ "end": 4360,
"loc": {
"start": {
"line": 140,
@@ -10382,41 +10382,41 @@
},
"end": {
"line": 140,
- "column": 43
+ "column": 40
},
- "identifierName": "hasShield"
+ "identifierName": "shield"
},
- "name": "hasShield"
+ "name": "shield"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "MemberExpression",
- "start": 4368,
- "end": 4384,
+ "start": 4365,
+ "end": 4378,
"loc": {
"start": {
"line": 140,
- "column": 48
+ "column": 45
},
"end": {
"line": 140,
- "column": 64
+ "column": 58
}
},
"object": {
"type": "Identifier",
- "start": 4368,
- "end": 4374,
+ "start": 4365,
+ "end": 4371,
"loc": {
"start": {
"line": 140,
- "column": 48
+ "column": 45
},
"end": {
"line": 140,
- "column": 54
+ "column": 51
},
"identifierName": "objRef"
},
@@ -10424,20 +10424,20 @@
},
"property": {
"type": "Identifier",
- "start": 4375,
- "end": 4384,
+ "start": 4372,
+ "end": 4378,
"loc": {
"start": {
"line": 140,
- "column": 55
+ "column": 52
},
"end": {
"line": 140,
- "column": 64
+ "column": 58
},
- "identifierName": "hasShield"
+ "identifierName": "shield"
},
- "name": "hasShield"
+ "name": "shield"
},
"computed": false
}
@@ -10445,72 +10445,72 @@
"operator": "||",
"right": {
"type": "BinaryExpression",
- "start": 4388,
- "end": 4442,
+ "start": 4382,
+ "end": 4436,
"loc": {
"start": {
"line": 140,
- "column": 68
+ "column": 62
},
"end": {
"line": 140,
- "column": 122
+ "column": 116
}
},
"left": {
"type": "MemberExpression",
- "start": 4388,
- "end": 4420,
+ "start": 4382,
+ "end": 4414,
"loc": {
"start": {
"line": 140,
- "column": 68
+ "column": 62
},
"end": {
"line": 140,
- "column": 100
+ "column": 94
}
},
"object": {
"type": "MemberExpression",
- "start": 4388,
- "end": 4409,
+ "start": 4382,
+ "end": 4403,
"loc": {
"start": {
"line": 140,
- "column": 68
+ "column": 62
},
"end": {
"line": 140,
- "column": 89
+ "column": 83
}
},
"object": {
"type": "MemberExpression",
- "start": 4388,
- "end": 4404,
+ "start": 4382,
+ "end": 4398,
"loc": {
"start": {
"line": 140,
- "column": 68
+ "column": 62
},
"end": {
"line": 140,
- "column": 84
+ "column": 78
}
},
"object": {
"type": "Identifier",
- "start": 4388,
- "end": 4395,
+ "start": 4382,
+ "end": 4389,
"loc": {
"start": {
"line": 140,
- "column": 68
+ "column": 62
},
"end": {
"line": 140,
- "column": 75
+ "column": 69
},
"identifierName": "objects"
},
@@ -10518,16 +10518,16 @@
},
"property": {
"type": "Identifier",
- "start": 4396,
- "end": 4403,
+ "start": 4390,
+ "end": 4397,
"loc": {
"start": {
"line": 140,
- "column": 76
+ "column": 70
},
"end": {
"line": 140,
- "column": 83
+ "column": 77
},
"identifierName": "objType"
},
@@ -10537,16 +10537,16 @@
},
"property": {
"type": "Identifier",
- "start": 4405,
- "end": 4408,
+ "start": 4399,
+ "end": 4402,
"loc": {
"start": {
"line": 140,
- "column": 85
+ "column": 79
},
"end": {
"line": 140,
- "column": 88
+ "column": 82
},
"identifierName": "obj"
},
@@ -10556,16 +10556,16 @@
},
"property": {
"type": "Identifier",
- "start": 4410,
- "end": 4420,
+ "start": 4404,
+ "end": 4414,
"loc": {
"start": {
"line": 140,
- "column": 90
+ "column": 84
},
"end": {
"line": 140,
- "column": 100
+ "column": 94
},
"identifierName": "stronghold"
},
@@ -10576,30 +10576,30 @@
"operator": "!==",
"right": {
"type": "MemberExpression",
- "start": 4425,
- "end": 4442,
+ "start": 4419,
+ "end": 4436,
"loc": {
"start": {
"line": 140,
- "column": 105
+ "column": 99
},
"end": {
"line": 140,
- "column": 122
+ "column": 116
}
},
"object": {
"type": "Identifier",
- "start": 4425,
- "end": 4431,
+ "start": 4419,
+ "end": 4425,
"loc": {
"start": {
"line": 140,
- "column": 105
+ "column": 99
},
"end": {
"line": 140,
- "column": 111
+ "column": 105
},
"identifierName": "objRef"
},
@@ -10607,16 +10607,16 @@
},
"property": {
"type": "Identifier",
- "start": 4432,
- "end": 4442,
+ "start": 4426,
+ "end": 4436,
"loc": {
"start": {
"line": 140,
- "column": 112
+ "column": 106
},
"end": {
"line": 140,
- "column": 122
+ "column": 116
},
"identifierName": "stronghold"
},
@@ -10628,12 +10628,12 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 4444,
- "end": 4571,
+ "start": 4438,
+ "end": 4562,
"loc": {
"start": {
"line": 140,
- "column": 124
+ "column": 118
},
"end": {
"line": 143,
@@ -10643,8 +10643,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 4455,
- "end": 4526,
+ "start": 4449,
+ "end": 4517,
"loc": {
"start": {
"line": 141,
@@ -10652,13 +10652,13 @@
},
"end": {
"line": 141,
- "column": 80
+ "column": 77
}
},
"expression": {
"type": "CallExpression",
- "start": 4455,
- "end": 4526,
+ "start": 4449,
+ "end": 4517,
"loc": {
"start": {
"line": 141,
@@ -10666,13 +10666,13 @@
},
"end": {
"line": 141,
- "column": 80
+ "column": 77
}
},
"callee": {
"type": "MemberExpression",
- "start": 4455,
- "end": 4489,
+ "start": 4449,
+ "end": 4483,
"loc": {
"start": {
"line": 141,
@@ -10685,8 +10685,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4455,
- "end": 4476,
+ "start": 4449,
+ "end": 4470,
"loc": {
"start": {
"line": 141,
@@ -10699,8 +10699,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4455,
- "end": 4471,
+ "start": 4449,
+ "end": 4465,
"loc": {
"start": {
"line": 141,
@@ -10713,8 +10713,8 @@
},
"object": {
"type": "Identifier",
- "start": 4455,
- "end": 4462,
+ "start": 4449,
+ "end": 4456,
"loc": {
"start": {
"line": 141,
@@ -10730,8 +10730,8 @@
},
"property": {
"type": "Identifier",
- "start": 4463,
- "end": 4470,
+ "start": 4457,
+ "end": 4464,
"loc": {
"start": {
"line": 141,
@@ -10749,8 +10749,8 @@
},
"property": {
"type": "Identifier",
- "start": 4472,
- "end": 4475,
+ "start": 4466,
+ "end": 4469,
"loc": {
"start": {
"line": 141,
@@ -10768,8 +10768,8 @@
},
"property": {
"type": "Identifier",
- "start": 4477,
- "end": 4489,
+ "start": 4471,
+ "end": 4483,
"loc": {
"start": {
"line": 141,
@@ -10788,8 +10788,8 @@
"arguments": [
{
"type": "MemberExpression",
- "start": 4490,
- "end": 4506,
+ "start": 4484,
+ "end": 4497,
"loc": {
"start": {
"line": 141,
@@ -10797,13 +10797,13 @@
},
"end": {
"line": 141,
- "column": 60
+ "column": 57
}
},
"object": {
"type": "Identifier",
- "start": 4490,
- "end": 4496,
+ "start": 4484,
+ "end": 4490,
"loc": {
"start": {
"line": 141,
@@ -10819,8 +10819,8 @@
},
"property": {
"type": "Identifier",
- "start": 4497,
- "end": 4506,
+ "start": 4491,
+ "end": 4497,
"loc": {
"start": {
"line": 141,
@@ -10828,40 +10828,40 @@
},
"end": {
"line": 141,
- "column": 60
+ "column": 57
},
- "identifierName": "hasShield"
+ "identifierName": "shield"
},
- "name": "hasShield"
+ "name": "shield"
},
"computed": false
},
{
"type": "MemberExpression",
- "start": 4508,
- "end": 4525,
+ "start": 4499,
+ "end": 4516,
"loc": {
"start": {
"line": 141,
- "column": 62
+ "column": 59
},
"end": {
"line": 141,
- "column": 79
+ "column": 76
}
},
"object": {
"type": "Identifier",
- "start": 4508,
- "end": 4514,
+ "start": 4499,
+ "end": 4505,
"loc": {
"start": {
"line": 141,
- "column": 62
+ "column": 59
},
"end": {
"line": 141,
- "column": 68
+ "column": 65
},
"identifierName": "objRef"
},
@@ -10869,16 +10869,16 @@
},
"property": {
"type": "Identifier",
- "start": 4515,
- "end": 4525,
+ "start": 4506,
+ "end": 4516,
"loc": {
"start": {
"line": 141,
- "column": 69
+ "column": 66
},
"end": {
"line": 141,
- "column": 79
+ "column": 76
},
"identifierName": "stronghold"
},
@@ -10891,8 +10891,8 @@
},
{
"type": "ExpressionStatement",
- "start": 4536,
- "end": 4561,
+ "start": 4527,
+ "end": 4552,
"loc": {
"start": {
"line": 142,
@@ -10905,8 +10905,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 4536,
- "end": 4561,
+ "start": 4527,
+ "end": 4552,
"loc": {
"start": {
"line": 142,
@@ -10919,8 +10919,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 4536,
- "end": 4547,
+ "start": 4527,
+ "end": 4538,
"loc": {
"start": {
"line": 142,
@@ -10933,8 +10933,8 @@
},
"object": {
"type": "Identifier",
- "start": 4536,
- "end": 4543,
+ "start": 4527,
+ "end": 4534,
"loc": {
"start": {
"line": 142,
@@ -10950,8 +10950,8 @@
},
"property": {
"type": "Identifier",
- "start": 4544,
- "end": 4547,
+ "start": 4535,
+ "end": 4538,
"loc": {
"start": {
"line": 142,
@@ -10970,8 +10970,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 4548,
- "end": 4560,
+ "start": 4539,
+ "end": 4551,
"loc": {
"start": {
"line": 142,
@@ -10998,8 +10998,8 @@
},
{
"type": "ExpressionStatement",
- "start": 4581,
- "end": 4631,
+ "start": 4572,
+ "end": 4616,
"loc": {
"start": {
"line": 145,
@@ -11007,13 +11007,13 @@
},
"end": {
"line": 145,
- "column": 58
+ "column": 52
}
},
"expression": {
"type": "AssignmentExpression",
- "start": 4581,
- "end": 4631,
+ "start": 4572,
+ "end": 4616,
"loc": {
"start": {
"line": 145,
@@ -11021,14 +11021,14 @@
},
"end": {
"line": 145,
- "column": 58
+ "column": 52
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 4581,
- "end": 4612,
+ "start": 4572,
+ "end": 4600,
"loc": {
"start": {
"line": 145,
@@ -11036,13 +11036,13 @@
},
"end": {
"line": 145,
- "column": 39
+ "column": 36
}
},
"object": {
"type": "MemberExpression",
- "start": 4581,
- "end": 4602,
+ "start": 4572,
+ "end": 4593,
"loc": {
"start": {
"line": 145,
@@ -11055,8 +11055,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4581,
- "end": 4597,
+ "start": 4572,
+ "end": 4588,
"loc": {
"start": {
"line": 145,
@@ -11069,8 +11069,8 @@
},
"object": {
"type": "Identifier",
- "start": 4581,
- "end": 4588,
+ "start": 4572,
+ "end": 4579,
"loc": {
"start": {
"line": 145,
@@ -11086,8 +11086,8 @@
},
"property": {
"type": "Identifier",
- "start": 4589,
- "end": 4596,
+ "start": 4580,
+ "end": 4587,
"loc": {
"start": {
"line": 145,
@@ -11105,8 +11105,8 @@
},
"property": {
"type": "Identifier",
- "start": 4598,
- "end": 4601,
+ "start": 4589,
+ "end": 4592,
"loc": {
"start": {
"line": 145,
@@ -11124,8 +11124,8 @@
},
"property": {
"type": "Identifier",
- "start": 4603,
- "end": 4612,
+ "start": 4594,
+ "end": 4600,
"loc": {
"start": {
"line": 145,
@@ -11133,40 +11133,40 @@
},
"end": {
"line": 145,
- "column": 39
+ "column": 36
},
- "identifierName": "hasShield"
+ "identifierName": "shield"
},
- "name": "hasShield"
+ "name": "shield"
},
"computed": false
},
"right": {
"type": "MemberExpression",
- "start": 4615,
- "end": 4631,
+ "start": 4603,
+ "end": 4616,
"loc": {
"start": {
"line": 145,
- "column": 42
+ "column": 39
},
"end": {
"line": 145,
- "column": 58
+ "column": 52
}
},
"object": {
"type": "Identifier",
- "start": 4615,
- "end": 4621,
+ "start": 4603,
+ "end": 4609,
"loc": {
"start": {
"line": 145,
- "column": 42
+ "column": 39
},
"end": {
"line": 145,
- "column": 48
+ "column": 45
},
"identifierName": "objRef"
},
@@ -11174,20 +11174,20 @@
},
"property": {
"type": "Identifier",
- "start": 4622,
- "end": 4631,
+ "start": 4610,
+ "end": 4616,
"loc": {
"start": {
"line": 145,
- "column": 49
+ "column": 46
},
"end": {
"line": 145,
- "column": 58
+ "column": 52
},
- "identifierName": "hasShield"
+ "identifierName": "shield"
},
- "name": "hasShield"
+ "name": "shield"
},
"computed": false
}
@@ -11195,8 +11195,8 @@
},
{
"type": "ExpressionStatement",
- "start": 4640,
- "end": 4692,
+ "start": 4625,
+ "end": 4677,
"loc": {
"start": {
"line": 146,
@@ -11209,8 +11209,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 4640,
- "end": 4692,
+ "start": 4625,
+ "end": 4677,
"loc": {
"start": {
"line": 146,
@@ -11224,8 +11224,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 4640,
- "end": 4672,
+ "start": 4625,
+ "end": 4657,
"loc": {
"start": {
"line": 146,
@@ -11238,8 +11238,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4640,
- "end": 4661,
+ "start": 4625,
+ "end": 4646,
"loc": {
"start": {
"line": 146,
@@ -11252,8 +11252,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4640,
- "end": 4656,
+ "start": 4625,
+ "end": 4641,
"loc": {
"start": {
"line": 146,
@@ -11266,8 +11266,8 @@
},
"object": {
"type": "Identifier",
- "start": 4640,
- "end": 4647,
+ "start": 4625,
+ "end": 4632,
"loc": {
"start": {
"line": 146,
@@ -11283,8 +11283,8 @@
},
"property": {
"type": "Identifier",
- "start": 4648,
- "end": 4655,
+ "start": 4633,
+ "end": 4640,
"loc": {
"start": {
"line": 146,
@@ -11302,8 +11302,8 @@
},
"property": {
"type": "Identifier",
- "start": 4657,
- "end": 4660,
+ "start": 4642,
+ "end": 4645,
"loc": {
"start": {
"line": 146,
@@ -11321,8 +11321,8 @@
},
"property": {
"type": "Identifier",
- "start": 4662,
- "end": 4672,
+ "start": 4647,
+ "end": 4657,
"loc": {
"start": {
"line": 146,
@@ -11340,8 +11340,8 @@
},
"right": {
"type": "MemberExpression",
- "start": 4675,
- "end": 4692,
+ "start": 4660,
+ "end": 4677,
"loc": {
"start": {
"line": 146,
@@ -11354,8 +11354,8 @@
},
"object": {
"type": "Identifier",
- "start": 4675,
- "end": 4681,
+ "start": 4660,
+ "end": 4666,
"loc": {
"start": {
"line": 146,
@@ -11371,8 +11371,8 @@
},
"property": {
"type": "Identifier",
- "start": 4682,
- "end": 4692,
+ "start": 4667,
+ "end": 4677,
"loc": {
"start": {
"line": 146,
@@ -11392,8 +11392,8 @@
},
{
"type": "ForInStatement",
- "start": 4702,
- "end": 4777,
+ "start": 4687,
+ "end": 4762,
"loc": {
"start": {
"line": 148,
@@ -11406,8 +11406,8 @@
},
"left": {
"type": "VariableDeclaration",
- "start": 4707,
- "end": 4715,
+ "start": 4692,
+ "end": 4700,
"loc": {
"start": {
"line": 148,
@@ -11421,8 +11421,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 4711,
- "end": 4715,
+ "start": 4696,
+ "end": 4700,
"loc": {
"start": {
"line": 148,
@@ -11435,8 +11435,8 @@
},
"id": {
"type": "Identifier",
- "start": 4711,
- "end": 4715,
+ "start": 4696,
+ "end": 4700,
"loc": {
"start": {
"line": 148,
@@ -11457,8 +11457,8 @@
},
"right": {
"type": "MemberExpression",
- "start": 4719,
- "end": 4734,
+ "start": 4704,
+ "end": 4719,
"loc": {
"start": {
"line": 148,
@@ -11471,8 +11471,8 @@
},
"object": {
"type": "Identifier",
- "start": 4719,
- "end": 4725,
+ "start": 4704,
+ "end": 4710,
"loc": {
"start": {
"line": 148,
@@ -11488,8 +11488,8 @@
},
"property": {
"type": "Identifier",
- "start": 4726,
- "end": 4734,
+ "start": 4711,
+ "end": 4719,
"loc": {
"start": {
"line": 148,
@@ -11507,8 +11507,8 @@
},
"body": {
"type": "BlockStatement",
- "start": 4736,
- "end": 4777,
+ "start": 4721,
+ "end": 4762,
"loc": {
"start": {
"line": 148,
@@ -11522,8 +11522,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 4747,
- "end": 4767,
+ "start": 4732,
+ "end": 4752,
"loc": {
"start": {
"line": 149,
@@ -11536,8 +11536,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 4747,
- "end": 4767,
+ "start": 4732,
+ "end": 4752,
"loc": {
"start": {
"line": 149,
@@ -11550,8 +11550,8 @@
},
"callee": {
"type": "Identifier",
- "start": 4747,
- "end": 4761,
+ "start": 4732,
+ "end": 4746,
"loc": {
"start": {
"line": 149,
@@ -11568,8 +11568,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 4762,
- "end": 4766,
+ "start": 4747,
+ "end": 4751,
"loc": {
"start": {
"line": 149,
@@ -11597,8 +11597,8 @@
},
{
"type": "IfStatement",
- "start": 4794,
- "end": 4906,
+ "start": 4779,
+ "end": 4891,
"loc": {
"start": {
"line": 152,
@@ -11611,8 +11611,8 @@
},
"test": {
"type": "LogicalExpression",
- "start": 4798,
- "end": 4839,
+ "start": 4783,
+ "end": 4824,
"loc": {
"start": {
"line": 152,
@@ -11625,8 +11625,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 4798,
- "end": 4821,
+ "start": 4783,
+ "end": 4806,
"loc": {
"start": {
"line": 152,
@@ -11639,8 +11639,8 @@
},
"left": {
"type": "Identifier",
- "start": 4798,
- "end": 4805,
+ "start": 4783,
+ "end": 4790,
"loc": {
"start": {
"line": 152,
@@ -11657,8 +11657,8 @@
"operator": "===",
"right": {
"type": "StringLiteral",
- "start": 4810,
- "end": 4821,
+ "start": 4795,
+ "end": 4806,
"loc": {
"start": {
"line": 152,
@@ -11679,8 +11679,8 @@
"operator": "&&",
"right": {
"type": "MemberExpression",
- "start": 4825,
- "end": 4839,
+ "start": 4810,
+ "end": 4824,
"loc": {
"start": {
"line": 152,
@@ -11693,8 +11693,8 @@
},
"object": {
"type": "Identifier",
- "start": 4825,
- "end": 4831,
+ "start": 4810,
+ "end": 4816,
"loc": {
"start": {
"line": 152,
@@ -11710,8 +11710,8 @@
},
"property": {
"type": "Identifier",
- "start": 4832,
- "end": 4839,
+ "start": 4817,
+ "end": 4824,
"loc": {
"start": {
"line": 152,
@@ -11730,8 +11730,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 4841,
- "end": 4906,
+ "start": 4826,
+ "end": 4891,
"loc": {
"start": {
"line": 152,
@@ -11745,8 +11745,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 4851,
- "end": 4897,
+ "start": 4836,
+ "end": 4882,
"loc": {
"start": {
"line": 153,
@@ -11759,8 +11759,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 4851,
- "end": 4897,
+ "start": 4836,
+ "end": 4882,
"loc": {
"start": {
"line": 153,
@@ -11774,8 +11774,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 4851,
- "end": 4880,
+ "start": 4836,
+ "end": 4865,
"loc": {
"start": {
"line": 153,
@@ -11788,8 +11788,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4851,
- "end": 4872,
+ "start": 4836,
+ "end": 4857,
"loc": {
"start": {
"line": 153,
@@ -11802,8 +11802,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4851,
- "end": 4867,
+ "start": 4836,
+ "end": 4852,
"loc": {
"start": {
"line": 153,
@@ -11816,8 +11816,8 @@
},
"object": {
"type": "Identifier",
- "start": 4851,
- "end": 4858,
+ "start": 4836,
+ "end": 4843,
"loc": {
"start": {
"line": 153,
@@ -11833,8 +11833,8 @@
},
"property": {
"type": "Identifier",
- "start": 4859,
- "end": 4866,
+ "start": 4844,
+ "end": 4851,
"loc": {
"start": {
"line": 153,
@@ -11852,8 +11852,8 @@
},
"property": {
"type": "Identifier",
- "start": 4868,
- "end": 4871,
+ "start": 4853,
+ "end": 4856,
"loc": {
"start": {
"line": 153,
@@ -11871,8 +11871,8 @@
},
"property": {
"type": "Identifier",
- "start": 4873,
- "end": 4880,
+ "start": 4858,
+ "end": 4865,
"loc": {
"start": {
"line": 153,
@@ -11890,8 +11890,8 @@
},
"right": {
"type": "MemberExpression",
- "start": 4883,
- "end": 4897,
+ "start": 4868,
+ "end": 4882,
"loc": {
"start": {
"line": 153,
@@ -11904,8 +11904,8 @@
},
"object": {
"type": "Identifier",
- "start": 4883,
- "end": 4889,
+ "start": 4868,
+ "end": 4874,
"loc": {
"start": {
"line": 153,
@@ -11921,8 +11921,8 @@
},
"property": {
"type": "Identifier",
- "start": 4890,
- "end": 4897,
+ "start": 4875,
+ "end": 4882,
"loc": {
"start": {
"line": 153,
@@ -11951,8 +11951,8 @@
{
"type": "CommentLine",
"value": " Does not exist - need to clone to clientside",
- "start": 4921,
- "end": 4968,
+ "start": 4906,
+ "end": 4953,
"loc": {
"start": {
"line": 156,
@@ -11968,8 +11968,8 @@
},
"alternate": {
"type": "IfStatement",
- "start": 4980,
- "end": 5328,
+ "start": 4965,
+ "end": 5313,
"loc": {
"start": {
"line": 157,
@@ -11982,8 +11982,8 @@
},
"test": {
"type": "Identifier",
- "start": 4984,
- "end": 4991,
+ "start": 4969,
+ "end": 4976,
"loc": {
"start": {
"line": 157,
@@ -12000,8 +12000,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 4993,
- "end": 5328,
+ "start": 4978,
+ "end": 5313,
"loc": {
"start": {
"line": 157,
@@ -12015,8 +12015,8 @@
"body": [
{
"type": "SwitchStatement",
- "start": 5002,
- "end": 5320,
+ "start": 4987,
+ "end": 5305,
"loc": {
"start": {
"line": 158,
@@ -12029,8 +12029,8 @@
},
"discriminant": {
"type": "Identifier",
- "start": 5010,
- "end": 5017,
+ "start": 4995,
+ "end": 5002,
"loc": {
"start": {
"line": 158,
@@ -12047,8 +12047,8 @@
"cases": [
{
"type": "SwitchCase",
- "start": 5029,
- "end": 5113,
+ "start": 5014,
+ "end": 5098,
"loc": {
"start": {
"line": 159,
@@ -12062,8 +12062,8 @@
"consequent": [
{
"type": "ExpressionStatement",
- "start": 5054,
- "end": 5098,
+ "start": 5039,
+ "end": 5083,
"loc": {
"start": {
"line": 160,
@@ -12076,8 +12076,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 5054,
- "end": 5098,
+ "start": 5039,
+ "end": 5083,
"loc": {
"start": {
"line": 160,
@@ -12091,8 +12091,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 5054,
- "end": 5075,
+ "start": 5039,
+ "end": 5060,
"loc": {
"start": {
"line": 160,
@@ -12105,8 +12105,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5054,
- "end": 5070,
+ "start": 5039,
+ "end": 5055,
"loc": {
"start": {
"line": 160,
@@ -12119,8 +12119,8 @@
},
"object": {
"type": "Identifier",
- "start": 5054,
- "end": 5061,
+ "start": 5039,
+ "end": 5046,
"loc": {
"start": {
"line": 160,
@@ -12136,8 +12136,8 @@
},
"property": {
"type": "Identifier",
- "start": 5062,
- "end": 5069,
+ "start": 5047,
+ "end": 5054,
"loc": {
"start": {
"line": 160,
@@ -12155,8 +12155,8 @@
},
"property": {
"type": "Identifier",
- "start": 5071,
- "end": 5074,
+ "start": 5056,
+ "end": 5059,
"loc": {
"start": {
"line": 160,
@@ -12174,8 +12174,8 @@
},
"right": {
"type": "CallExpression",
- "start": 5078,
- "end": 5098,
+ "start": 5063,
+ "end": 5083,
"loc": {
"start": {
"line": 160,
@@ -12188,8 +12188,8 @@
},
"callee": {
"type": "Identifier",
- "start": 5078,
- "end": 5090,
+ "start": 5063,
+ "end": 5075,
"loc": {
"start": {
"line": 160,
@@ -12206,8 +12206,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 5091,
- "end": 5097,
+ "start": 5076,
+ "end": 5082,
"loc": {
"start": {
"line": 160,
@@ -12227,8 +12227,8 @@
},
{
"type": "BreakStatement",
- "start": 5108,
- "end": 5113,
+ "start": 5093,
+ "end": 5098,
"loc": {
"start": {
"line": 161,
@@ -12244,8 +12244,8 @@
],
"test": {
"type": "StringLiteral",
- "start": 5034,
- "end": 5043,
+ "start": 5019,
+ "end": 5028,
"loc": {
"start": {
"line": 159,
@@ -12265,8 +12265,8 @@
},
{
"type": "SwitchCase",
- "start": 5122,
- "end": 5208,
+ "start": 5107,
+ "end": 5193,
"loc": {
"start": {
"line": 162,
@@ -12280,8 +12280,8 @@
"consequent": [
{
"type": "ExpressionStatement",
- "start": 5145,
- "end": 5193,
+ "start": 5130,
+ "end": 5178,
"loc": {
"start": {
"line": 163,
@@ -12294,8 +12294,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 5145,
- "end": 5193,
+ "start": 5130,
+ "end": 5178,
"loc": {
"start": {
"line": 163,
@@ -12309,8 +12309,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 5145,
- "end": 5166,
+ "start": 5130,
+ "end": 5151,
"loc": {
"start": {
"line": 163,
@@ -12323,8 +12323,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5145,
- "end": 5161,
+ "start": 5130,
+ "end": 5146,
"loc": {
"start": {
"line": 163,
@@ -12337,8 +12337,8 @@
},
"object": {
"type": "Identifier",
- "start": 5145,
- "end": 5152,
+ "start": 5130,
+ "end": 5137,
"loc": {
"start": {
"line": 163,
@@ -12354,8 +12354,8 @@
},
"property": {
"type": "Identifier",
- "start": 5153,
- "end": 5160,
+ "start": 5138,
+ "end": 5145,
"loc": {
"start": {
"line": 163,
@@ -12373,8 +12373,8 @@
},
"property": {
"type": "Identifier",
- "start": 5162,
- "end": 5165,
+ "start": 5147,
+ "end": 5150,
"loc": {
"start": {
"line": 163,
@@ -12392,8 +12392,8 @@
},
"right": {
"type": "CallExpression",
- "start": 5169,
- "end": 5193,
+ "start": 5154,
+ "end": 5178,
"loc": {
"start": {
"line": 163,
@@ -12406,8 +12406,8 @@
},
"callee": {
"type": "Identifier",
- "start": 5169,
- "end": 5185,
+ "start": 5154,
+ "end": 5170,
"loc": {
"start": {
"line": 163,
@@ -12424,8 +12424,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 5186,
- "end": 5192,
+ "start": 5171,
+ "end": 5177,
"loc": {
"start": {
"line": 163,
@@ -12445,8 +12445,8 @@
},
{
"type": "BreakStatement",
- "start": 5203,
- "end": 5208,
+ "start": 5188,
+ "end": 5193,
"loc": {
"start": {
"line": 164,
@@ -12462,8 +12462,8 @@
],
"test": {
"type": "StringLiteral",
- "start": 5127,
- "end": 5134,
+ "start": 5112,
+ "end": 5119,
"loc": {
"start": {
"line": 162,
@@ -12483,8 +12483,8 @@
},
{
"type": "SwitchCase",
- "start": 5217,
- "end": 5311,
+ "start": 5202,
+ "end": 5296,
"loc": {
"start": {
"line": 165,
@@ -12498,8 +12498,8 @@
"consequent": [
{
"type": "ExpressionStatement",
- "start": 5244,
- "end": 5296,
+ "start": 5229,
+ "end": 5281,
"loc": {
"start": {
"line": 166,
@@ -12512,8 +12512,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 5244,
- "end": 5296,
+ "start": 5229,
+ "end": 5281,
"loc": {
"start": {
"line": 166,
@@ -12527,8 +12527,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 5244,
- "end": 5265,
+ "start": 5229,
+ "end": 5250,
"loc": {
"start": {
"line": 166,
@@ -12541,8 +12541,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5244,
- "end": 5260,
+ "start": 5229,
+ "end": 5245,
"loc": {
"start": {
"line": 166,
@@ -12555,8 +12555,8 @@
},
"object": {
"type": "Identifier",
- "start": 5244,
- "end": 5251,
+ "start": 5229,
+ "end": 5236,
"loc": {
"start": {
"line": 166,
@@ -12572,8 +12572,8 @@
},
"property": {
"type": "Identifier",
- "start": 5252,
- "end": 5259,
+ "start": 5237,
+ "end": 5244,
"loc": {
"start": {
"line": 166,
@@ -12591,8 +12591,8 @@
},
"property": {
"type": "Identifier",
- "start": 5261,
- "end": 5264,
+ "start": 5246,
+ "end": 5249,
"loc": {
"start": {
"line": 166,
@@ -12610,8 +12610,8 @@
},
"right": {
"type": "CallExpression",
- "start": 5268,
- "end": 5296,
+ "start": 5253,
+ "end": 5281,
"loc": {
"start": {
"line": 166,
@@ -12624,8 +12624,8 @@
},
"callee": {
"type": "Identifier",
- "start": 5268,
- "end": 5288,
+ "start": 5253,
+ "end": 5273,
"loc": {
"start": {
"line": 166,
@@ -12642,8 +12642,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 5289,
- "end": 5295,
+ "start": 5274,
+ "end": 5280,
"loc": {
"start": {
"line": 166,
@@ -12663,8 +12663,8 @@
},
{
"type": "BreakStatement",
- "start": 5306,
- "end": 5311,
+ "start": 5291,
+ "end": 5296,
"loc": {
"start": {
"line": 167,
@@ -12680,8 +12680,8 @@
],
"test": {
"type": "StringLiteral",
- "start": 5222,
- "end": 5233,
+ "start": 5207,
+ "end": 5218,
"loc": {
"start": {
"line": 165,
@@ -12709,8 +12709,8 @@
{
"type": "CommentLine",
"value": " Does not exist - need to clone to clientside",
- "start": 4921,
- "end": 4968,
+ "start": 4906,
+ "end": 4953,
"loc": {
"start": {
"line": 156,
@@ -12761,8 +12761,8 @@
{
"type": "CommentLine",
"value": " else { //Tile drawing",
- "start": 5350,
- "end": 5374,
+ "start": 5335,
+ "end": 5359,
"loc": {
"start": {
"line": 173,
@@ -12777,8 +12777,8 @@
{
"type": "CommentLine",
"value": " for (let tile of data.tiles) {",
- "start": 5378,
- "end": 5415,
+ "start": 5363,
+ "end": 5400,
"loc": {
"start": {
"line": 174,
@@ -12793,8 +12793,8 @@
{
"type": "CommentLine",
"value": " let tileName = 'tile_' + tile.col + '_' + tile.row;",
- "start": 5420,
- "end": 5482,
+ "start": 5405,
+ "end": 5467,
"loc": {
"start": {
"line": 176,
@@ -12809,8 +12809,8 @@
{
"type": "CommentLine",
"value": " if (objects.tiles[tileName] === undefined) {",
- "start": 5486,
- "end": 5541,
+ "start": 5471,
+ "end": 5526,
"loc": {
"start": {
"line": 177,
@@ -12825,8 +12825,8 @@
{
"type": "CommentLine",
"value": " // console.log(tileName);",
- "start": 5545,
- "end": 5585,
+ "start": 5530,
+ "end": 5570,
"loc": {
"start": {
"line": 178,
@@ -12841,8 +12841,8 @@
{
"type": "CommentLine",
"value": " objects.tiles[tileName] = new MapTile(MAP_LAYOUT[tile.row][tile.col], tile.col, tile.row);",
- "start": 5589,
- "end": 5694,
+ "start": 5574,
+ "end": 5679,
"loc": {
"start": {
"line": 179,
@@ -12857,8 +12857,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 5698,
- "end": 5710,
+ "start": 5683,
+ "end": 5695,
"loc": {
"start": {
"line": 180,
@@ -12873,8 +12873,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 5715,
- "end": 5723,
+ "start": 5700,
+ "end": 5708,
"loc": {
"start": {
"line": 182,
@@ -12889,8 +12889,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 5727,
- "end": 5731,
+ "start": 5712,
+ "end": 5716,
"loc": {
"start": {
"line": 183,
@@ -12938,8 +12938,8 @@
{
"type": "CommentLine",
"value": " Sync objects when they are deleted or move out of view. ONLY call after objectSync to avoid issue",
- "start": 5742,
- "end": 5842,
+ "start": 5727,
+ "end": 5827,
"loc": {
"start": {
"line": 187,
@@ -12955,8 +12955,8 @@
},
{
"type": "ExpressionStatement",
- "start": 5844,
- "end": 7569,
+ "start": 5829,
+ "end": 7554,
"loc": {
"start": {
"line": 188,
@@ -12969,8 +12969,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 5844,
- "end": 7569,
+ "start": 5829,
+ "end": 7554,
"loc": {
"start": {
"line": 188,
@@ -12983,8 +12983,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 5844,
- "end": 5853,
+ "start": 5829,
+ "end": 5838,
"loc": {
"start": {
"line": 188,
@@ -12997,8 +12997,8 @@
},
"object": {
"type": "Identifier",
- "start": 5844,
- "end": 5850,
+ "start": 5829,
+ "end": 5835,
"loc": {
"start": {
"line": 188,
@@ -13015,8 +13015,8 @@
},
"property": {
"type": "Identifier",
- "start": 5851,
- "end": 5853,
+ "start": 5836,
+ "end": 5838,
"loc": {
"start": {
"line": 188,
@@ -13036,8 +13036,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 5854,
- "end": 5879,
+ "start": 5839,
+ "end": 5864,
"loc": {
"start": {
"line": 188,
@@ -13056,8 +13056,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 5881,
- "end": 7568,
+ "start": 5866,
+ "end": 7553,
"loc": {
"start": {
"line": 188,
@@ -13075,8 +13075,8 @@
"params": [
{
"type": "Identifier",
- "start": 5882,
- "end": 5886,
+ "start": 5867,
+ "end": 5871,
"loc": {
"start": {
"line": 188,
@@ -13093,8 +13093,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 5891,
- "end": 7568,
+ "start": 5876,
+ "end": 7553,
"loc": {
"start": {
"line": 188,
@@ -13108,8 +13108,8 @@
"body": [
{
"type": "IfStatement",
- "start": 5895,
- "end": 6076,
+ "start": 5880,
+ "end": 6061,
"loc": {
"start": {
"line": 189,
@@ -13122,8 +13122,8 @@
},
"test": {
"type": "MemberExpression",
- "start": 5899,
- "end": 5920,
+ "start": 5884,
+ "end": 5905,
"loc": {
"start": {
"line": 189,
@@ -13136,8 +13136,8 @@
},
"object": {
"type": "Identifier",
- "start": 5899,
- "end": 5905,
+ "start": 5884,
+ "end": 5890,
"loc": {
"start": {
"line": 189,
@@ -13153,8 +13153,8 @@
},
"property": {
"type": "Identifier",
- "start": 5906,
- "end": 5920,
+ "start": 5891,
+ "end": 5905,
"loc": {
"start": {
"line": 189,
@@ -13172,8 +13172,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 5922,
- "end": 6076,
+ "start": 5907,
+ "end": 6061,
"loc": {
"start": {
"line": 189,
@@ -13187,8 +13187,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 5927,
- "end": 5980,
+ "start": 5912,
+ "end": 5965,
"loc": {
"start": {
"line": 190,
@@ -13201,8 +13201,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 5927,
- "end": 5980,
+ "start": 5912,
+ "end": 5965,
"loc": {
"start": {
"line": 190,
@@ -13215,8 +13215,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 5927,
- "end": 5939,
+ "start": 5912,
+ "end": 5924,
"loc": {
"start": {
"line": 190,
@@ -13229,8 +13229,8 @@
},
"object": {
"type": "Identifier",
- "start": 5927,
- "end": 5934,
+ "start": 5912,
+ "end": 5919,
"loc": {
"start": {
"line": 190,
@@ -13246,8 +13246,8 @@
},
"property": {
"type": "Identifier",
- "start": 5935,
- "end": 5939,
+ "start": 5920,
+ "end": 5924,
"loc": {
"start": {
"line": 190,
@@ -13266,8 +13266,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 5940,
- "end": 5979,
+ "start": 5925,
+ "end": 5964,
"loc": {
"start": {
"line": 190,
@@ -13289,8 +13289,8 @@
},
{
"type": "ExpressionStatement",
- "start": 5984,
- "end": 6002,
+ "start": 5969,
+ "end": 5987,
"loc": {
"start": {
"line": 191,
@@ -13303,8 +13303,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 5984,
- "end": 6002,
+ "start": 5969,
+ "end": 5987,
"loc": {
"start": {
"line": 191,
@@ -13317,8 +13317,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 5984,
- "end": 5996,
+ "start": 5969,
+ "end": 5981,
"loc": {
"start": {
"line": 191,
@@ -13331,8 +13331,8 @@
},
"object": {
"type": "Identifier",
- "start": 5984,
- "end": 5991,
+ "start": 5969,
+ "end": 5976,
"loc": {
"start": {
"line": 191,
@@ -13348,8 +13348,8 @@
},
"property": {
"type": "Identifier",
- "start": 5992,
- "end": 5996,
+ "start": 5977,
+ "end": 5981,
"loc": {
"start": {
"line": 191,
@@ -13368,8 +13368,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 5997,
- "end": 6001,
+ "start": 5982,
+ "end": 5986,
"loc": {
"start": {
"line": 191,
@@ -13388,8 +13388,8 @@
},
{
"type": "ExpressionStatement",
- "start": 6006,
- "end": 6047,
+ "start": 5991,
+ "end": 6032,
"loc": {
"start": {
"line": 192,
@@ -13402,8 +13402,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 6006,
- "end": 6047,
+ "start": 5991,
+ "end": 6032,
"loc": {
"start": {
"line": 192,
@@ -13416,8 +13416,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 6006,
- "end": 6018,
+ "start": 5991,
+ "end": 6003,
"loc": {
"start": {
"line": 192,
@@ -13430,8 +13430,8 @@
},
"object": {
"type": "Identifier",
- "start": 6006,
- "end": 6013,
+ "start": 5991,
+ "end": 5998,
"loc": {
"start": {
"line": 192,
@@ -13447,8 +13447,8 @@
},
"property": {
"type": "Identifier",
- "start": 6014,
- "end": 6018,
+ "start": 5999,
+ "end": 6003,
"loc": {
"start": {
"line": 192,
@@ -13467,8 +13467,8 @@
"arguments": [
{
"type": "MemberExpression",
- "start": 6019,
- "end": 6046,
+ "start": 6004,
+ "end": 6031,
"loc": {
"start": {
"line": 192,
@@ -13481,8 +13481,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6019,
- "end": 6037,
+ "start": 6004,
+ "end": 6022,
"loc": {
"start": {
"line": 192,
@@ -13495,8 +13495,8 @@
},
"object": {
"type": "Identifier",
- "start": 6019,
- "end": 6026,
+ "start": 6004,
+ "end": 6011,
"loc": {
"start": {
"line": 192,
@@ -13512,8 +13512,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 6027,
- "end": 6036,
+ "start": 6012,
+ "end": 6021,
"loc": {
"start": {
"line": 192,
@@ -13526,8 +13526,8 @@
},
"object": {
"type": "Identifier",
- "start": 6027,
- "end": 6031,
+ "start": 6012,
+ "end": 6016,
"loc": {
"start": {
"line": 192,
@@ -13543,8 +13543,8 @@
},
"property": {
"type": "Identifier",
- "start": 6032,
- "end": 6036,
+ "start": 6017,
+ "end": 6021,
"loc": {
"start": {
"line": 192,
@@ -13564,8 +13564,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 6038,
- "end": 6045,
+ "start": 6023,
+ "end": 6030,
"loc": {
"start": {
"line": 192,
@@ -13578,8 +13578,8 @@
},
"object": {
"type": "Identifier",
- "start": 6038,
- "end": 6042,
+ "start": 6023,
+ "end": 6027,
"loc": {
"start": {
"line": 192,
@@ -13595,8 +13595,8 @@
},
"property": {
"type": "Identifier",
- "start": 6043,
- "end": 6045,
+ "start": 6028,
+ "end": 6030,
"loc": {
"start": {
"line": 192,
@@ -13619,8 +13619,8 @@
},
{
"type": "ExpressionStatement",
- "start": 6051,
- "end": 6072,
+ "start": 6036,
+ "end": 6057,
"loc": {
"start": {
"line": 193,
@@ -13633,8 +13633,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 6051,
- "end": 6072,
+ "start": 6036,
+ "end": 6057,
"loc": {
"start": {
"line": 193,
@@ -13647,8 +13647,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 6051,
- "end": 6063,
+ "start": 6036,
+ "end": 6048,
"loc": {
"start": {
"line": 193,
@@ -13661,8 +13661,8 @@
},
"object": {
"type": "Identifier",
- "start": 6051,
- "end": 6058,
+ "start": 6036,
+ "end": 6043,
"loc": {
"start": {
"line": 193,
@@ -13678,8 +13678,8 @@
},
"property": {
"type": "Identifier",
- "start": 6059,
- "end": 6063,
+ "start": 6044,
+ "end": 6048,
"loc": {
"start": {
"line": 193,
@@ -13698,8 +13698,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 6064,
- "end": 6071,
+ "start": 6049,
+ "end": 6056,
"loc": {
"start": {
"line": 193,
@@ -13723,8 +13723,8 @@
},
{
"type": "IfStatement",
- "start": 6079,
- "end": 7123,
+ "start": 6064,
+ "end": 7108,
"loc": {
"start": {
"line": 195,
@@ -13737,8 +13737,8 @@
},
"test": {
"type": "LogicalExpression",
- "start": 6083,
- "end": 6164,
+ "start": 6068,
+ "end": 6149,
"loc": {
"start": {
"line": 195,
@@ -13751,8 +13751,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 6083,
- "end": 6124,
+ "start": 6068,
+ "end": 6109,
"loc": {
"start": {
"line": 195,
@@ -13765,8 +13765,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 6083,
- "end": 6110,
+ "start": 6068,
+ "end": 6095,
"loc": {
"start": {
"line": 195,
@@ -13779,8 +13779,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6083,
- "end": 6101,
+ "start": 6068,
+ "end": 6086,
"loc": {
"start": {
"line": 195,
@@ -13793,8 +13793,8 @@
},
"object": {
"type": "Identifier",
- "start": 6083,
- "end": 6090,
+ "start": 6068,
+ "end": 6075,
"loc": {
"start": {
"line": 195,
@@ -13810,8 +13810,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 6091,
- "end": 6100,
+ "start": 6076,
+ "end": 6085,
"loc": {
"start": {
"line": 195,
@@ -13824,8 +13824,8 @@
},
"object": {
"type": "Identifier",
- "start": 6091,
- "end": 6095,
+ "start": 6076,
+ "end": 6080,
"loc": {
"start": {
"line": 195,
@@ -13841,8 +13841,8 @@
},
"property": {
"type": "Identifier",
- "start": 6096,
- "end": 6100,
+ "start": 6081,
+ "end": 6085,
"loc": {
"start": {
"line": 195,
@@ -13862,8 +13862,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 6102,
- "end": 6109,
+ "start": 6087,
+ "end": 6094,
"loc": {
"start": {
"line": 195,
@@ -13876,8 +13876,8 @@
},
"object": {
"type": "Identifier",
- "start": 6102,
- "end": 6106,
+ "start": 6087,
+ "end": 6091,
"loc": {
"start": {
"line": 195,
@@ -13893,8 +13893,8 @@
},
"property": {
"type": "Identifier",
- "start": 6107,
- "end": 6109,
+ "start": 6092,
+ "end": 6094,
"loc": {
"start": {
"line": 195,
@@ -13915,8 +13915,8 @@
"operator": "===",
"right": {
"type": "Identifier",
- "start": 6115,
- "end": 6124,
+ "start": 6100,
+ "end": 6109,
"loc": {
"start": {
"line": 195,
@@ -13934,8 +13934,8 @@
"operator": "||",
"right": {
"type": "BinaryExpression",
- "start": 6128,
- "end": 6164,
+ "start": 6113,
+ "end": 6149,
"loc": {
"start": {
"line": 195,
@@ -13948,8 +13948,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 6128,
- "end": 6155,
+ "start": 6113,
+ "end": 6140,
"loc": {
"start": {
"line": 195,
@@ -13962,8 +13962,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6128,
- "end": 6146,
+ "start": 6113,
+ "end": 6131,
"loc": {
"start": {
"line": 195,
@@ -13976,8 +13976,8 @@
},
"object": {
"type": "Identifier",
- "start": 6128,
- "end": 6135,
+ "start": 6113,
+ "end": 6120,
"loc": {
"start": {
"line": 195,
@@ -13993,8 +13993,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 6136,
- "end": 6145,
+ "start": 6121,
+ "end": 6130,
"loc": {
"start": {
"line": 195,
@@ -14007,8 +14007,8 @@
},
"object": {
"type": "Identifier",
- "start": 6136,
- "end": 6140,
+ "start": 6121,
+ "end": 6125,
"loc": {
"start": {
"line": 195,
@@ -14024,8 +14024,8 @@
},
"property": {
"type": "Identifier",
- "start": 6141,
- "end": 6145,
+ "start": 6126,
+ "end": 6130,
"loc": {
"start": {
"line": 195,
@@ -14045,8 +14045,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 6147,
- "end": 6154,
+ "start": 6132,
+ "end": 6139,
"loc": {
"start": {
"line": 195,
@@ -14059,8 +14059,8 @@
},
"object": {
"type": "Identifier",
- "start": 6147,
- "end": 6151,
+ "start": 6132,
+ "end": 6136,
"loc": {
"start": {
"line": 195,
@@ -14076,8 +14076,8 @@
},
"property": {
"type": "Identifier",
- "start": 6152,
- "end": 6154,
+ "start": 6137,
+ "end": 6139,
"loc": {
"start": {
"line": 195,
@@ -14098,8 +14098,8 @@
"operator": "===",
"right": {
"type": "NullLiteral",
- "start": 6160,
- "end": 6164,
+ "start": 6145,
+ "end": 6149,
"loc": {
"start": {
"line": 195,
@@ -14115,8 +14115,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 6166,
- "end": 6778,
+ "start": 6151,
+ "end": 6763,
"loc": {
"start": {
"line": 195,
@@ -14130,8 +14130,8 @@
"body": [
{
"type": "IfStatement",
- "start": 6171,
- "end": 6289,
+ "start": 6156,
+ "end": 6274,
"loc": {
"start": {
"line": 196,
@@ -14144,8 +14144,8 @@
},
"test": {
"type": "MemberExpression",
- "start": 6175,
- "end": 6196,
+ "start": 6160,
+ "end": 6181,
"loc": {
"start": {
"line": 196,
@@ -14158,8 +14158,8 @@
},
"object": {
"type": "Identifier",
- "start": 6175,
- "end": 6181,
+ "start": 6160,
+ "end": 6166,
"loc": {
"start": {
"line": 196,
@@ -14175,8 +14175,8 @@
},
"property": {
"type": "Identifier",
- "start": 6182,
- "end": 6196,
+ "start": 6167,
+ "end": 6181,
"loc": {
"start": {
"line": 196,
@@ -14194,8 +14194,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 6198,
- "end": 6289,
+ "start": 6183,
+ "end": 6274,
"loc": {
"start": {
"line": 196,
@@ -14209,8 +14209,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 6204,
- "end": 6284,
+ "start": 6189,
+ "end": 6269,
"loc": {
"start": {
"line": 197,
@@ -14223,8 +14223,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 6204,
- "end": 6284,
+ "start": 6189,
+ "end": 6269,
"loc": {
"start": {
"line": 197,
@@ -14237,8 +14237,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 6204,
- "end": 6216,
+ "start": 6189,
+ "end": 6201,
"loc": {
"start": {
"line": 197,
@@ -14251,8 +14251,8 @@
},
"object": {
"type": "Identifier",
- "start": 6204,
- "end": 6211,
+ "start": 6189,
+ "end": 6196,
"loc": {
"start": {
"line": 197,
@@ -14268,8 +14268,8 @@
},
"property": {
"type": "Identifier",
- "start": 6212,
- "end": 6216,
+ "start": 6197,
+ "end": 6201,
"loc": {
"start": {
"line": 197,
@@ -14288,8 +14288,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 6217,
- "end": 6277,
+ "start": 6202,
+ "end": 6262,
"loc": {
"start": {
"line": 197,
@@ -14308,8 +14308,8 @@
},
{
"type": "Identifier",
- "start": 6279,
- "end": 6283,
+ "start": 6264,
+ "end": 6268,
"loc": {
"start": {
"line": 197,
@@ -14333,8 +14333,8 @@
},
{
"type": "ExpressionStatement",
- "start": 6293,
- "end": 6759,
+ "start": 6278,
+ "end": 6744,
"loc": {
"start": {
"line": 199,
@@ -14347,8 +14347,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 6293,
- "end": 6759,
+ "start": 6278,
+ "end": 6744,
"loc": {
"start": {
"line": 199,
@@ -14361,8 +14361,8 @@
},
"callee": {
"type": "Identifier",
- "start": 6293,
- "end": 6303,
+ "start": 6278,
+ "end": 6288,
"loc": {
"start": {
"line": 199,
@@ -14379,8 +14379,8 @@
"arguments": [
{
"type": "ArrowFunctionExpression",
- "start": 6304,
- "end": 6747,
+ "start": 6289,
+ "end": 6732,
"loc": {
"start": {
"line": 199,
@@ -14398,8 +14398,8 @@
"params": [],
"body": {
"type": "BlockStatement",
- "start": 6310,
- "end": 6747,
+ "start": 6295,
+ "end": 6732,
"loc": {
"start": {
"line": 199,
@@ -14413,8 +14413,8 @@
"body": [
{
"type": "TryStatement",
- "start": 6316,
- "end": 6715,
+ "start": 6301,
+ "end": 6700,
"loc": {
"start": {
"line": 200,
@@ -14427,8 +14427,8 @@
},
"block": {
"type": "BlockStatement",
- "start": 6320,
- "end": 6555,
+ "start": 6305,
+ "end": 6540,
"loc": {
"start": {
"line": 200,
@@ -14442,8 +14442,8 @@
"body": [
{
"type": "IfStatement",
- "start": 6327,
- "end": 6549,
+ "start": 6312,
+ "end": 6534,
"loc": {
"start": {
"line": 201,
@@ -14456,8 +14456,8 @@
},
"test": {
"type": "CallExpression",
- "start": 6331,
- "end": 6349,
+ "start": 6316,
+ "end": 6334,
"loc": {
"start": {
"line": 201,
@@ -14470,8 +14470,8 @@
},
"callee": {
"type": "Identifier",
- "start": 6331,
- "end": 6343,
+ "start": 6316,
+ "end": 6328,
"loc": {
"start": {
"line": 201,
@@ -14488,8 +14488,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 6344,
- "end": 6348,
+ "start": 6329,
+ "end": 6333,
"loc": {
"start": {
"line": 201,
@@ -14507,8 +14507,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 6351,
- "end": 6549,
+ "start": 6336,
+ "end": 6534,
"loc": {
"start": {
"line": 201,
@@ -14522,8 +14522,8 @@
"body": [
{
"type": "IfStatement",
- "start": 6359,
- "end": 6527,
+ "start": 6344,
+ "end": 6512,
"loc": {
"start": {
"line": 202,
@@ -14536,8 +14536,8 @@
},
"test": {
"type": "MemberExpression",
- "start": 6363,
- "end": 6384,
+ "start": 6348,
+ "end": 6369,
"loc": {
"start": {
"line": 202,
@@ -14550,8 +14550,8 @@
},
"object": {
"type": "Identifier",
- "start": 6363,
- "end": 6369,
+ "start": 6348,
+ "end": 6354,
"loc": {
"start": {
"line": 202,
@@ -14567,8 +14567,8 @@
},
"property": {
"type": "Identifier",
- "start": 6370,
- "end": 6384,
+ "start": 6355,
+ "end": 6369,
"loc": {
"start": {
"line": 202,
@@ -14586,8 +14586,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 6386,
- "end": 6527,
+ "start": 6371,
+ "end": 6512,
"loc": {
"start": {
"line": 202,
@@ -14601,8 +14601,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 6395,
- "end": 6519,
+ "start": 6380,
+ "end": 6504,
"loc": {
"start": {
"line": 203,
@@ -14615,8 +14615,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 6395,
- "end": 6519,
+ "start": 6380,
+ "end": 6504,
"loc": {
"start": {
"line": 203,
@@ -14629,8 +14629,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 6395,
- "end": 6407,
+ "start": 6380,
+ "end": 6392,
"loc": {
"start": {
"line": 203,
@@ -14643,8 +14643,8 @@
},
"object": {
"type": "Identifier",
- "start": 6395,
- "end": 6402,
+ "start": 6380,
+ "end": 6387,
"loc": {
"start": {
"line": 203,
@@ -14660,8 +14660,8 @@
},
"property": {
"type": "Identifier",
- "start": 6403,
- "end": 6407,
+ "start": 6388,
+ "end": 6392,
"loc": {
"start": {
"line": 203,
@@ -14680,8 +14680,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 6408,
- "end": 6518,
+ "start": 6393,
+ "end": 6503,
"loc": {
"start": {
"line": 203,
@@ -14708,8 +14708,8 @@
},
{
"type": "ReturnStatement",
- "start": 6534,
- "end": 6542,
+ "start": 6519,
+ "end": 6527,
"loc": {
"start": {
"line": 205,
@@ -14722,8 +14722,8 @@
},
"argument": {
"type": "NumericLiteral",
- "start": 6541,
- "end": 6542,
+ "start": 6526,
+ "end": 6527,
"loc": {
"start": {
"line": 205,
@@ -14751,8 +14751,8 @@
},
"handler": {
"type": "CatchClause",
- "start": 6560,
- "end": 6715,
+ "start": 6545,
+ "end": 6700,
"loc": {
"start": {
"line": 208,
@@ -14765,8 +14765,8 @@
},
"param": {
"type": "Identifier",
- "start": 6567,
- "end": 6570,
+ "start": 6552,
+ "end": 6555,
"loc": {
"start": {
"line": 208,
@@ -14782,8 +14782,8 @@
},
"body": {
"type": "BlockStatement",
- "start": 6572,
- "end": 6715,
+ "start": 6557,
+ "end": 6700,
"loc": {
"start": {
"line": 208,
@@ -14797,8 +14797,8 @@
"body": [
{
"type": "IfStatement",
- "start": 6579,
- "end": 6695,
+ "start": 6564,
+ "end": 6680,
"loc": {
"start": {
"line": 209,
@@ -14811,8 +14811,8 @@
},
"test": {
"type": "MemberExpression",
- "start": 6583,
- "end": 6604,
+ "start": 6568,
+ "end": 6589,
"loc": {
"start": {
"line": 209,
@@ -14825,8 +14825,8 @@
},
"object": {
"type": "Identifier",
- "start": 6583,
- "end": 6589,
+ "start": 6568,
+ "end": 6574,
"loc": {
"start": {
"line": 209,
@@ -14842,8 +14842,8 @@
},
"property": {
"type": "Identifier",
- "start": 6590,
- "end": 6604,
+ "start": 6575,
+ "end": 6589,
"loc": {
"start": {
"line": 209,
@@ -14861,8 +14861,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 6606,
- "end": 6695,
+ "start": 6591,
+ "end": 6680,
"loc": {
"start": {
"line": 209,
@@ -14876,8 +14876,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 6614,
- "end": 6688,
+ "start": 6599,
+ "end": 6673,
"loc": {
"start": {
"line": 210,
@@ -14890,8 +14890,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 6614,
- "end": 6688,
+ "start": 6599,
+ "end": 6673,
"loc": {
"start": {
"line": 210,
@@ -14904,8 +14904,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 6614,
- "end": 6627,
+ "start": 6599,
+ "end": 6612,
"loc": {
"start": {
"line": 210,
@@ -14918,8 +14918,8 @@
},
"object": {
"type": "Identifier",
- "start": 6614,
- "end": 6621,
+ "start": 6599,
+ "end": 6606,
"loc": {
"start": {
"line": 210,
@@ -14935,8 +14935,8 @@
},
"property": {
"type": "Identifier",
- "start": 6622,
- "end": 6627,
+ "start": 6607,
+ "end": 6612,
"loc": {
"start": {
"line": 210,
@@ -14955,8 +14955,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 6628,
- "end": 6687,
+ "start": 6613,
+ "end": 6672,
"loc": {
"start": {
"line": 210,
@@ -14983,8 +14983,8 @@
},
{
"type": "ReturnStatement",
- "start": 6701,
- "end": 6709,
+ "start": 6686,
+ "end": 6694,
"loc": {
"start": {
"line": 212,
@@ -14997,8 +14997,8 @@
},
"argument": {
"type": "NumericLiteral",
- "start": 6708,
- "end": 6709,
+ "start": 6693,
+ "end": 6694,
"loc": {
"start": {
"line": 212,
@@ -15028,8 +15028,8 @@
{
"type": "CommentLine",
"value": " removeObject(data);",
- "start": 6720,
- "end": 6742,
+ "start": 6705,
+ "end": 6727,
"loc": {
"start": {
"line": 214,
@@ -15049,8 +15049,8 @@
},
{
"type": "BinaryExpression",
- "start": 6749,
- "end": 6758,
+ "start": 6734,
+ "end": 6743,
"loc": {
"start": {
"line": 215,
@@ -15063,8 +15063,8 @@
},
"left": {
"type": "NumericLiteral",
- "start": 6749,
- "end": 6753,
+ "start": 6734,
+ "end": 6738,
"loc": {
"start": {
"line": 215,
@@ -15084,8 +15084,8 @@
"operator": "/",
"right": {
"type": "NumericLiteral",
- "start": 6756,
- "end": 6758,
+ "start": 6741,
+ "end": 6743,
"loc": {
"start": {
"line": 215,
@@ -15110,8 +15110,8 @@
{
"type": "CommentLine",
"value": " return 1",
- "start": 6763,
- "end": 6774,
+ "start": 6748,
+ "end": 6759,
"loc": {
"start": {
"line": 216,
@@ -15130,8 +15130,8 @@
},
"alternate": {
"type": "BlockStatement",
- "start": 6786,
- "end": 7123,
+ "start": 6771,
+ "end": 7108,
"loc": {
"start": {
"line": 218,
@@ -15145,8 +15145,8 @@
"body": [
{
"type": "IfStatement",
- "start": 6876,
- "end": 7119,
+ "start": 6861,
+ "end": 7104,
"loc": {
"start": {
"line": 221,
@@ -15159,8 +15159,8 @@
},
"test": {
"type": "UnaryExpression",
- "start": 6880,
- "end": 6918,
+ "start": 6865,
+ "end": 6903,
"loc": {
"start": {
"line": 221,
@@ -15175,8 +15175,8 @@
"prefix": true,
"argument": {
"type": "MemberExpression",
- "start": 6881,
- "end": 6918,
+ "start": 6866,
+ "end": 6903,
"loc": {
"start": {
"line": 221,
@@ -15189,8 +15189,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6881,
- "end": 6908,
+ "start": 6866,
+ "end": 6893,
"loc": {
"start": {
"line": 221,
@@ -15203,8 +15203,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6881,
- "end": 6899,
+ "start": 6866,
+ "end": 6884,
"loc": {
"start": {
"line": 221,
@@ -15217,8 +15217,8 @@
},
"object": {
"type": "Identifier",
- "start": 6881,
- "end": 6888,
+ "start": 6866,
+ "end": 6873,
"loc": {
"start": {
"line": 221,
@@ -15235,8 +15235,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 6889,
- "end": 6898,
+ "start": 6874,
+ "end": 6883,
"loc": {
"start": {
"line": 221,
@@ -15249,8 +15249,8 @@
},
"object": {
"type": "Identifier",
- "start": 6889,
- "end": 6893,
+ "start": 6874,
+ "end": 6878,
"loc": {
"start": {
"line": 221,
@@ -15266,8 +15266,8 @@
},
"property": {
"type": "Identifier",
- "start": 6894,
- "end": 6898,
+ "start": 6879,
+ "end": 6883,
"loc": {
"start": {
"line": 221,
@@ -15288,8 +15288,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 6900,
- "end": 6907,
+ "start": 6885,
+ "end": 6892,
"loc": {
"start": {
"line": 221,
@@ -15302,8 +15302,8 @@
},
"object": {
"type": "Identifier",
- "start": 6900,
- "end": 6904,
+ "start": 6885,
+ "end": 6889,
"loc": {
"start": {
"line": 221,
@@ -15319,8 +15319,8 @@
},
"property": {
"type": "Identifier",
- "start": 6905,
- "end": 6907,
+ "start": 6890,
+ "end": 6892,
"loc": {
"start": {
"line": 221,
@@ -15341,8 +15341,8 @@
},
"property": {
"type": "Identifier",
- "start": 6909,
- "end": 6918,
+ "start": 6894,
+ "end": 6903,
"loc": {
"start": {
"line": 221,
@@ -15366,8 +15366,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 6920,
- "end": 6979,
+ "start": 6905,
+ "end": 6964,
"loc": {
"start": {
"line": 221,
@@ -15381,8 +15381,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 6956,
- "end": 6974,
+ "start": 6941,
+ "end": 6959,
"loc": {
"start": {
"line": 222,
@@ -15395,8 +15395,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 6956,
- "end": 6974,
+ "start": 6941,
+ "end": 6959,
"loc": {
"start": {
"line": 222,
@@ -15409,8 +15409,8 @@
},
"callee": {
"type": "Identifier",
- "start": 6956,
- "end": 6968,
+ "start": 6941,
+ "end": 6953,
"loc": {
"start": {
"line": 222,
@@ -15428,8 +15428,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 6969,
- "end": 6973,
+ "start": 6954,
+ "end": 6958,
"loc": {
"start": {
"line": 222,
@@ -15450,8 +15450,8 @@
{
"type": "CommentLine",
"value": " Only remove if not already",
- "start": 6922,
- "end": 6951,
+ "start": 6907,
+ "end": 6936,
"loc": {
"start": {
"line": 221,
@@ -15470,8 +15470,8 @@
},
"alternate": {
"type": "BlockStatement",
- "start": 6988,
- "end": 7119,
+ "start": 6973,
+ "end": 7104,
"loc": {
"start": {
"line": 224,
@@ -15485,8 +15485,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 6994,
- "end": 7085,
+ "start": 6979,
+ "end": 7070,
"loc": {
"start": {
"line": 225,
@@ -15499,8 +15499,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 6994,
- "end": 7085,
+ "start": 6979,
+ "end": 7070,
"loc": {
"start": {
"line": 225,
@@ -15513,8 +15513,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 6994,
- "end": 7006,
+ "start": 6979,
+ "end": 6991,
"loc": {
"start": {
"line": 225,
@@ -15527,8 +15527,8 @@
},
"object": {
"type": "Identifier",
- "start": 6994,
- "end": 7001,
+ "start": 6979,
+ "end": 6986,
"loc": {
"start": {
"line": 225,
@@ -15544,8 +15544,8 @@
},
"property": {
"type": "Identifier",
- "start": 7002,
- "end": 7006,
+ "start": 6987,
+ "end": 6991,
"loc": {
"start": {
"line": 225,
@@ -15564,8 +15564,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 7007,
- "end": 7084,
+ "start": 6992,
+ "end": 7069,
"loc": {
"start": {
"line": 225,
@@ -15589,8 +15589,8 @@
{
"type": "CommentLine",
"value": " Sanity check",
- "start": 7086,
- "end": 7101,
+ "start": 7071,
+ "end": 7086,
"loc": {
"start": {
"line": 225,
@@ -15606,8 +15606,8 @@
},
{
"type": "ReturnStatement",
- "start": 7106,
- "end": 7114,
+ "start": 7091,
+ "end": 7099,
"loc": {
"start": {
"line": 226,
@@ -15620,8 +15620,8 @@
},
"argument": {
"type": "NumericLiteral",
- "start": 7113,
- "end": 7114,
+ "start": 7098,
+ "end": 7099,
"loc": {
"start": {
"line": 226,
@@ -15643,8 +15643,8 @@
{
"type": "CommentLine",
"value": " Sanity check",
- "start": 7086,
- "end": 7101,
+ "start": 7071,
+ "end": 7086,
"loc": {
"start": {
"line": 225,
@@ -15665,8 +15665,8 @@
{
"type": "CommentLine",
"value": " console.log(objects[data.type][data.id].destroyed);",
- "start": 6791,
- "end": 6845,
+ "start": 6776,
+ "end": 6830,
"loc": {
"start": {
"line": 219,
@@ -15681,8 +15681,8 @@
{
"type": "CommentLine",
"value": " An object was removed",
- "start": 6848,
- "end": 6872,
+ "start": 6833,
+ "end": 6857,
"loc": {
"start": {
"line": 220,
@@ -15704,8 +15704,8 @@
{
"type": "CommentLine",
"value": " Must keep checking if the object was not created at time of destruction.",
- "start": 7127,
- "end": 7202,
+ "start": 7112,
+ "end": 7187,
"loc": {
"start": {
"line": 230,
@@ -15720,8 +15720,8 @@
{
"type": "CommentLine",
"value": " One example of this needing to be run is when a player instantly collects an atom on spawn.",
- "start": 7205,
- "end": 7299,
+ "start": 7190,
+ "end": 7284,
"loc": {
"start": {
"line": 231,
@@ -15736,8 +15736,8 @@
{
"type": "CommentLine",
"value": " if (objects[data.type][data.id] === undefined) {",
- "start": 7302,
- "end": 7353,
+ "start": 7287,
+ "end": 7338,
"loc": {
"start": {
"line": 232,
@@ -15752,8 +15752,8 @@
{
"type": "CommentLine",
"value": " \tlet thisInterval = setTimeout(() => {",
- "start": 7356,
- "end": 7397,
+ "start": 7341,
+ "end": 7382,
"loc": {
"start": {
"line": 233,
@@ -15768,8 +15768,8 @@
{
"type": "CommentLine",
"value": " \t\tif (objects[data.type][data.id].destroyed) {",
- "start": 7400,
- "end": 7449,
+ "start": 7385,
+ "end": 7434,
"loc": {
"start": {
"line": 234,
@@ -15784,8 +15784,8 @@
{
"type": "CommentLine",
"value": " \t\t\tclearInterval(thisInterval)",
- "start": 7452,
- "end": 7485,
+ "start": 7437,
+ "end": 7470,
"loc": {
"start": {
"line": 235,
@@ -15800,8 +15800,8 @@
{
"type": "CommentLine",
"value": " \t\t}",
- "start": 7488,
- "end": 7494,
+ "start": 7473,
+ "end": 7479,
"loc": {
"start": {
"line": 236,
@@ -15816,8 +15816,8 @@
{
"type": "CommentLine",
"value": " \t\telse {",
- "start": 7497,
- "end": 7508,
+ "start": 7482,
+ "end": 7493,
"loc": {
"start": {
"line": 237,
@@ -15832,8 +15832,8 @@
{
"type": "CommentLine",
"value": " \t\t\tremoveObject(data)",
- "start": 7511,
- "end": 7535,
+ "start": 7496,
+ "end": 7520,
"loc": {
"start": {
"line": 238,
@@ -15848,8 +15848,8 @@
{
"type": "CommentLine",
"value": " \t\t}",
- "start": 7538,
- "end": 7544,
+ "start": 7523,
+ "end": 7529,
"loc": {
"start": {
"line": 239,
@@ -15864,8 +15864,8 @@
{
"type": "CommentLine",
"value": " \t}, 200)",
- "start": 7547,
- "end": 7558,
+ "start": 7532,
+ "end": 7543,
"loc": {
"start": {
"line": 240,
@@ -15880,8 +15880,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 7561,
- "end": 7565,
+ "start": 7546,
+ "end": 7550,
"loc": {
"start": {
"line": 241,
@@ -15902,8 +15902,8 @@
{
"type": "CommentLine",
"value": " Must keep checking if the object was not created at time of destruction.",
- "start": 7127,
- "end": 7202,
+ "start": 7112,
+ "end": 7187,
"loc": {
"start": {
"line": 230,
@@ -15918,8 +15918,8 @@
{
"type": "CommentLine",
"value": " One example of this needing to be run is when a player instantly collects an atom on spawn.",
- "start": 7205,
- "end": 7299,
+ "start": 7190,
+ "end": 7284,
"loc": {
"start": {
"line": 231,
@@ -15934,8 +15934,8 @@
{
"type": "CommentLine",
"value": " if (objects[data.type][data.id] === undefined) {",
- "start": 7302,
- "end": 7353,
+ "start": 7287,
+ "end": 7338,
"loc": {
"start": {
"line": 232,
@@ -15950,8 +15950,8 @@
{
"type": "CommentLine",
"value": " \tlet thisInterval = setTimeout(() => {",
- "start": 7356,
- "end": 7397,
+ "start": 7341,
+ "end": 7382,
"loc": {
"start": {
"line": 233,
@@ -15966,8 +15966,8 @@
{
"type": "CommentLine",
"value": " \t\tif (objects[data.type][data.id].destroyed) {",
- "start": 7400,
- "end": 7449,
+ "start": 7385,
+ "end": 7434,
"loc": {
"start": {
"line": 234,
@@ -15982,8 +15982,8 @@
{
"type": "CommentLine",
"value": " \t\t\tclearInterval(thisInterval)",
- "start": 7452,
- "end": 7485,
+ "start": 7437,
+ "end": 7470,
"loc": {
"start": {
"line": 235,
@@ -15998,8 +15998,8 @@
{
"type": "CommentLine",
"value": " \t\t}",
- "start": 7488,
- "end": 7494,
+ "start": 7473,
+ "end": 7479,
"loc": {
"start": {
"line": 236,
@@ -16014,8 +16014,8 @@
{
"type": "CommentLine",
"value": " \t\telse {",
- "start": 7497,
- "end": 7508,
+ "start": 7482,
+ "end": 7493,
"loc": {
"start": {
"line": 237,
@@ -16030,8 +16030,8 @@
{
"type": "CommentLine",
"value": " \t\t\tremoveObject(data)",
- "start": 7511,
- "end": 7535,
+ "start": 7496,
+ "end": 7520,
"loc": {
"start": {
"line": 238,
@@ -16046,8 +16046,8 @@
{
"type": "CommentLine",
"value": " \t\t}",
- "start": 7538,
- "end": 7544,
+ "start": 7523,
+ "end": 7529,
"loc": {
"start": {
"line": 239,
@@ -16062,8 +16062,8 @@
{
"type": "CommentLine",
"value": " \t}, 200)",
- "start": 7547,
- "end": 7558,
+ "start": 7532,
+ "end": 7543,
"loc": {
"start": {
"line": 240,
@@ -16078,8 +16078,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 7561,
- "end": 7565,
+ "start": 7546,
+ "end": 7550,
"loc": {
"start": {
"line": 241,
@@ -16100,8 +16100,8 @@
{
"type": "CommentLine",
"value": " Sync objects when they are deleted or move out of view. ONLY call after objectSync to avoid issue",
- "start": 5742,
- "end": 5842,
+ "start": 5727,
+ "end": 5827,
"loc": {
"start": {
"line": 187,
@@ -16141,8 +16141,8 @@
{
"type": "CommentBlock",
"value": "*\n * Sets up socket connection listeners.\n * Run in setupSocket().\n ",
- "start": 7573,
- "end": 7645,
+ "start": 7558,
+ "end": 7630,
"loc": {
"start": {
"line": 245,
@@ -16158,8 +16158,8 @@
},
{
"type": "FunctionDeclaration",
- "start": 7646,
- "end": 8682,
+ "start": 7631,
+ "end": 8667,
"loc": {
"start": {
"line": 249,
@@ -16172,8 +16172,8 @@
},
"id": {
"type": "Identifier",
- "start": 7655,
- "end": 7676,
+ "start": 7640,
+ "end": 7661,
"loc": {
"start": {
"line": 249,
@@ -16194,8 +16194,8 @@
"params": [],
"body": {
"type": "BlockStatement",
- "start": 7680,
- "end": 8682,
+ "start": 7665,
+ "end": 8667,
"loc": {
"start": {
"line": 249,
@@ -16209,8 +16209,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 7709,
- "end": 7801,
+ "start": 7694,
+ "end": 7786,
"loc": {
"start": {
"line": 251,
@@ -16223,8 +16223,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 7709,
- "end": 7801,
+ "start": 7694,
+ "end": 7786,
"loc": {
"start": {
"line": 251,
@@ -16237,8 +16237,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 7709,
- "end": 7718,
+ "start": 7694,
+ "end": 7703,
"loc": {
"start": {
"line": 251,
@@ -16251,8 +16251,8 @@
},
"object": {
"type": "Identifier",
- "start": 7709,
- "end": 7715,
+ "start": 7694,
+ "end": 7700,
"loc": {
"start": {
"line": 251,
@@ -16269,8 +16269,8 @@
},
"property": {
"type": "Identifier",
- "start": 7716,
- "end": 7718,
+ "start": 7701,
+ "end": 7703,
"loc": {
"start": {
"line": 251,
@@ -16290,8 +16290,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 7719,
- "end": 7737,
+ "start": 7704,
+ "end": 7722,
"loc": {
"start": {
"line": 251,
@@ -16310,8 +16310,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 7739,
- "end": 7800,
+ "start": 7724,
+ "end": 7785,
"loc": {
"start": {
"line": 251,
@@ -16329,8 +16329,8 @@
"params": [],
"body": {
"type": "BlockStatement",
- "start": 7745,
- "end": 7800,
+ "start": 7730,
+ "end": 7785,
"loc": {
"start": {
"line": 251,
@@ -16344,8 +16344,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 7749,
- "end": 7797,
+ "start": 7734,
+ "end": 7782,
"loc": {
"start": {
"line": 252,
@@ -16358,8 +16358,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 7749,
- "end": 7797,
+ "start": 7734,
+ "end": 7782,
"loc": {
"start": {
"line": 252,
@@ -16372,8 +16372,8 @@
},
"callee": {
"type": "Identifier",
- "start": 7749,
- "end": 7754,
+ "start": 7734,
+ "end": 7739,
"loc": {
"start": {
"line": 252,
@@ -16390,8 +16390,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 7755,
- "end": 7796,
+ "start": 7740,
+ "end": 7781,
"loc": {
"start": {
"line": 252,
@@ -16422,8 +16422,8 @@
{
"type": "CommentLine",
"value": " On Connection Failure",
- "start": 7683,
- "end": 7707,
+ "start": 7668,
+ "end": 7692,
"loc": {
"start": {
"line": 250,
@@ -16439,8 +16439,8 @@
},
{
"type": "ExpressionStatement",
- "start": 7804,
- "end": 7958,
+ "start": 7789,
+ "end": 7943,
"loc": {
"start": {
"line": 255,
@@ -16453,8 +16453,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 7804,
- "end": 7958,
+ "start": 7789,
+ "end": 7943,
"loc": {
"start": {
"line": 255,
@@ -16467,8 +16467,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 7804,
- "end": 7813,
+ "start": 7789,
+ "end": 7798,
"loc": {
"start": {
"line": 255,
@@ -16481,8 +16481,8 @@
},
"object": {
"type": "Identifier",
- "start": 7804,
- "end": 7810,
+ "start": 7789,
+ "end": 7795,
"loc": {
"start": {
"line": 255,
@@ -16498,8 +16498,8 @@
},
"property": {
"type": "Identifier",
- "start": 7811,
- "end": 7813,
+ "start": 7796,
+ "end": 7798,
"loc": {
"start": {
"line": 255,
@@ -16518,8 +16518,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 7814,
- "end": 7828,
+ "start": 7799,
+ "end": 7813,
"loc": {
"start": {
"line": 255,
@@ -16538,8 +16538,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 7830,
- "end": 7957,
+ "start": 7815,
+ "end": 7942,
"loc": {
"start": {
"line": 255,
@@ -16557,8 +16557,8 @@
"params": [
{
"type": "Identifier",
- "start": 7831,
- "end": 7838,
+ "start": 7816,
+ "end": 7823,
"loc": {
"start": {
"line": 255,
@@ -16575,8 +16575,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 7843,
- "end": 7957,
+ "start": 7828,
+ "end": 7942,
"loc": {
"start": {
"line": 255,
@@ -16590,8 +16590,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 7847,
- "end": 7914,
+ "start": 7832,
+ "end": 7899,
"loc": {
"start": {
"line": 256,
@@ -16604,8 +16604,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 7847,
- "end": 7914,
+ "start": 7832,
+ "end": 7899,
"loc": {
"start": {
"line": 256,
@@ -16618,8 +16618,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 7847,
- "end": 7858,
+ "start": 7832,
+ "end": 7843,
"loc": {
"start": {
"line": 256,
@@ -16632,8 +16632,8 @@
},
"object": {
"type": "Identifier",
- "start": 7847,
- "end": 7854,
+ "start": 7832,
+ "end": 7839,
"loc": {
"start": {
"line": 256,
@@ -16649,8 +16649,8 @@
},
"property": {
"type": "Identifier",
- "start": 7855,
- "end": 7858,
+ "start": 7840,
+ "end": 7843,
"loc": {
"start": {
"line": 256,
@@ -16669,8 +16669,8 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 7859,
- "end": 7913,
+ "start": 7844,
+ "end": 7898,
"loc": {
"start": {
"line": 256,
@@ -16683,8 +16683,8 @@
},
"left": {
"type": "StringLiteral",
- "start": 7859,
- "end": 7903,
+ "start": 7844,
+ "end": 7888,
"loc": {
"start": {
"line": 256,
@@ -16704,8 +16704,8 @@
"operator": "+",
"right": {
"type": "Identifier",
- "start": 7906,
- "end": 7913,
+ "start": 7891,
+ "end": 7898,
"loc": {
"start": {
"line": 256,
@@ -16725,8 +16725,8 @@
},
{
"type": "ExpressionStatement",
- "start": 7917,
- "end": 7954,
+ "start": 7902,
+ "end": 7939,
"loc": {
"start": {
"line": 257,
@@ -16739,8 +16739,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 7917,
- "end": 7954,
+ "start": 7902,
+ "end": 7939,
"loc": {
"start": {
"line": 257,
@@ -16753,8 +16753,8 @@
},
"callee": {
"type": "Identifier",
- "start": 7917,
- "end": 7925,
+ "start": 7902,
+ "end": 7910,
"loc": {
"start": {
"line": 257,
@@ -16771,8 +16771,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 7926,
- "end": 7953,
+ "start": 7911,
+ "end": 7938,
"loc": {
"start": {
"line": 257,
@@ -16801,8 +16801,8 @@
},
{
"type": "ExpressionStatement",
- "start": 7961,
- "end": 8056,
+ "start": 7946,
+ "end": 8041,
"loc": {
"start": {
"line": 260,
@@ -16815,8 +16815,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 7961,
- "end": 8056,
+ "start": 7946,
+ "end": 8041,
"loc": {
"start": {
"line": 260,
@@ -16829,8 +16829,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 7961,
- "end": 7970,
+ "start": 7946,
+ "end": 7955,
"loc": {
"start": {
"line": 260,
@@ -16843,8 +16843,8 @@
},
"object": {
"type": "Identifier",
- "start": 7961,
- "end": 7967,
+ "start": 7946,
+ "end": 7952,
"loc": {
"start": {
"line": 260,
@@ -16860,8 +16860,8 @@
},
"property": {
"type": "Identifier",
- "start": 7968,
- "end": 7970,
+ "start": 7953,
+ "end": 7955,
"loc": {
"start": {
"line": 260,
@@ -16880,8 +16880,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 7971,
- "end": 7988,
+ "start": 7956,
+ "end": 7973,
"loc": {
"start": {
"line": 260,
@@ -16900,8 +16900,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 7990,
- "end": 8055,
+ "start": 7975,
+ "end": 8040,
"loc": {
"start": {
"line": 260,
@@ -16919,8 +16919,8 @@
"params": [
{
"type": "Identifier",
- "start": 7991,
- "end": 7994,
+ "start": 7976,
+ "end": 7979,
"loc": {
"start": {
"line": 260,
@@ -16937,8 +16937,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 7999,
- "end": 8055,
+ "start": 7984,
+ "end": 8040,
"loc": {
"start": {
"line": 260,
@@ -16952,8 +16952,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 8003,
- "end": 8052,
+ "start": 7988,
+ "end": 8037,
"loc": {
"start": {
"line": 261,
@@ -16966,8 +16966,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 8003,
- "end": 8052,
+ "start": 7988,
+ "end": 8037,
"loc": {
"start": {
"line": 261,
@@ -16980,8 +16980,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 8003,
- "end": 8014,
+ "start": 7988,
+ "end": 7999,
"loc": {
"start": {
"line": 261,
@@ -16994,8 +16994,8 @@
},
"object": {
"type": "Identifier",
- "start": 8003,
- "end": 8010,
+ "start": 7988,
+ "end": 7995,
"loc": {
"start": {
"line": 261,
@@ -17011,8 +17011,8 @@
},
"property": {
"type": "Identifier",
- "start": 8011,
- "end": 8014,
+ "start": 7996,
+ "end": 7999,
"loc": {
"start": {
"line": 261,
@@ -17031,8 +17031,8 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 8015,
- "end": 8051,
+ "start": 8000,
+ "end": 8036,
"loc": {
"start": {
"line": 261,
@@ -17045,8 +17045,8 @@
},
"left": {
"type": "StringLiteral",
- "start": 8015,
- "end": 8045,
+ "start": 8000,
+ "end": 8030,
"loc": {
"start": {
"line": 261,
@@ -17066,8 +17066,8 @@
"operator": "+",
"right": {
"type": "Identifier",
- "start": 8048,
- "end": 8051,
+ "start": 8033,
+ "end": 8036,
"loc": {
"start": {
"line": 261,
@@ -17094,8 +17094,8 @@
},
{
"type": "ExpressionStatement",
- "start": 8059,
- "end": 8131,
+ "start": 8044,
+ "end": 8116,
"loc": {
"start": {
"line": 264,
@@ -17108,8 +17108,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 8059,
- "end": 8131,
+ "start": 8044,
+ "end": 8116,
"loc": {
"start": {
"line": 264,
@@ -17122,8 +17122,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 8059,
- "end": 8068,
+ "start": 8044,
+ "end": 8053,
"loc": {
"start": {
"line": 264,
@@ -17136,8 +17136,8 @@
},
"object": {
"type": "Identifier",
- "start": 8059,
- "end": 8065,
+ "start": 8044,
+ "end": 8050,
"loc": {
"start": {
"line": 264,
@@ -17153,8 +17153,8 @@
},
"property": {
"type": "Identifier",
- "start": 8066,
- "end": 8068,
+ "start": 8051,
+ "end": 8053,
"loc": {
"start": {
"line": 264,
@@ -17173,8 +17173,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 8069,
- "end": 8075,
+ "start": 8054,
+ "end": 8060,
"loc": {
"start": {
"line": 264,
@@ -17193,8 +17193,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 8077,
- "end": 8130,
+ "start": 8062,
+ "end": 8115,
"loc": {
"start": {
"line": 264,
@@ -17212,8 +17212,8 @@
"params": [
{
"type": "Identifier",
- "start": 8078,
- "end": 8082,
+ "start": 8063,
+ "end": 8067,
"loc": {
"start": {
"line": 264,
@@ -17230,8 +17230,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 8087,
- "end": 8130,
+ "start": 8072,
+ "end": 8115,
"loc": {
"start": {
"line": 264,
@@ -17245,8 +17245,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 8091,
- "end": 8127,
+ "start": 8076,
+ "end": 8112,
"loc": {
"start": {
"line": 265,
@@ -17259,8 +17259,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 8091,
- "end": 8127,
+ "start": 8076,
+ "end": 8112,
"loc": {
"start": {
"line": 265,
@@ -17273,8 +17273,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 8091,
- "end": 8102,
+ "start": 8076,
+ "end": 8087,
"loc": {
"start": {
"line": 265,
@@ -17287,8 +17287,8 @@
},
"object": {
"type": "Identifier",
- "start": 8091,
- "end": 8098,
+ "start": 8076,
+ "end": 8083,
"loc": {
"start": {
"line": 265,
@@ -17304,8 +17304,8 @@
},
"property": {
"type": "Identifier",
- "start": 8099,
- "end": 8102,
+ "start": 8084,
+ "end": 8087,
"loc": {
"start": {
"line": 265,
@@ -17324,8 +17324,8 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 8103,
- "end": 8126,
+ "start": 8088,
+ "end": 8111,
"loc": {
"start": {
"line": 265,
@@ -17338,8 +17338,8 @@
},
"left": {
"type": "StringLiteral",
- "start": 8103,
- "end": 8119,
+ "start": 8088,
+ "end": 8104,
"loc": {
"start": {
"line": 265,
@@ -17359,8 +17359,8 @@
"operator": "+",
"right": {
"type": "Identifier",
- "start": 8122,
- "end": 8126,
+ "start": 8107,
+ "end": 8111,
"loc": {
"start": {
"line": 265,
@@ -17387,8 +17387,8 @@
},
{
"type": "ExpressionStatement",
- "start": 8134,
- "end": 8446,
+ "start": 8119,
+ "end": 8431,
"loc": {
"start": {
"line": 268,
@@ -17401,8 +17401,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 8134,
- "end": 8446,
+ "start": 8119,
+ "end": 8431,
"loc": {
"start": {
"line": 268,
@@ -17415,8 +17415,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 8134,
- "end": 8143,
+ "start": 8119,
+ "end": 8128,
"loc": {
"start": {
"line": 268,
@@ -17429,8 +17429,8 @@
},
"object": {
"type": "Identifier",
- "start": 8134,
- "end": 8140,
+ "start": 8119,
+ "end": 8125,
"loc": {
"start": {
"line": 268,
@@ -17446,8 +17446,8 @@
},
"property": {
"type": "Identifier",
- "start": 8141,
- "end": 8143,
+ "start": 8126,
+ "end": 8128,
"loc": {
"start": {
"line": 268,
@@ -17466,8 +17466,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 8144,
- "end": 8164,
+ "start": 8129,
+ "end": 8149,
"loc": {
"start": {
"line": 268,
@@ -17486,8 +17486,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 8166,
- "end": 8445,
+ "start": 8151,
+ "end": 8430,
"loc": {
"start": {
"line": 268,
@@ -17505,8 +17505,8 @@
"params": [
{
"type": "Identifier",
- "start": 8167,
- "end": 8171,
+ "start": 8152,
+ "end": 8156,
"loc": {
"start": {
"line": 268,
@@ -17523,8 +17523,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 8176,
- "end": 8445,
+ "start": 8161,
+ "end": 8430,
"loc": {
"start": {
"line": 268,
@@ -17538,8 +17538,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 8180,
- "end": 8234,
+ "start": 8165,
+ "end": 8219,
"loc": {
"start": {
"line": 269,
@@ -17552,8 +17552,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 8180,
- "end": 8234,
+ "start": 8165,
+ "end": 8219,
"loc": {
"start": {
"line": 269,
@@ -17566,8 +17566,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 8180,
- "end": 8191,
+ "start": 8165,
+ "end": 8176,
"loc": {
"start": {
"line": 269,
@@ -17580,8 +17580,8 @@
},
"object": {
"type": "Identifier",
- "start": 8180,
- "end": 8187,
+ "start": 8165,
+ "end": 8172,
"loc": {
"start": {
"line": 269,
@@ -17597,8 +17597,8 @@
},
"property": {
"type": "Identifier",
- "start": 8188,
- "end": 8191,
+ "start": 8173,
+ "end": 8176,
"loc": {
"start": {
"line": 269,
@@ -17617,8 +17617,8 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 8192,
- "end": 8233,
+ "start": 8177,
+ "end": 8218,
"loc": {
"start": {
"line": 269,
@@ -17631,8 +17631,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 8192,
- "end": 8211,
+ "start": 8177,
+ "end": 8196,
"loc": {
"start": {
"line": 269,
@@ -17645,8 +17645,8 @@
},
"left": {
"type": "StringLiteral",
- "start": 8192,
- "end": 8201,
+ "start": 8177,
+ "end": 8186,
"loc": {
"start": {
"line": 269,
@@ -17666,8 +17666,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 8204,
- "end": 8211,
+ "start": 8189,
+ "end": 8196,
"loc": {
"start": {
"line": 269,
@@ -17680,8 +17680,8 @@
},
"object": {
"type": "Identifier",
- "start": 8204,
- "end": 8208,
+ "start": 8189,
+ "end": 8193,
"loc": {
"start": {
"line": 269,
@@ -17697,8 +17697,8 @@
},
"property": {
"type": "Identifier",
- "start": 8209,
- "end": 8211,
+ "start": 8194,
+ "end": 8196,
"loc": {
"start": {
"line": 269,
@@ -17718,8 +17718,8 @@
"operator": "+",
"right": {
"type": "StringLiteral",
- "start": 8214,
- "end": 8233,
+ "start": 8199,
+ "end": 8218,
"loc": {
"start": {
"line": 269,
@@ -17742,8 +17742,8 @@
},
{
"type": "ExpressionStatement",
- "start": 8237,
- "end": 8320,
+ "start": 8222,
+ "end": 8305,
"loc": {
"start": {
"line": 270,
@@ -17756,8 +17756,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 8237,
- "end": 8320,
+ "start": 8222,
+ "end": 8305,
"loc": {
"start": {
"line": 270,
@@ -17770,8 +17770,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 8237,
- "end": 8255,
+ "start": 8222,
+ "end": 8240,
"loc": {
"start": {
"line": 270,
@@ -17784,8 +17784,8 @@
},
"object": {
"type": "Identifier",
- "start": 8237,
- "end": 8241,
+ "start": 8222,
+ "end": 8226,
"loc": {
"start": {
"line": 270,
@@ -17801,8 +17801,8 @@
},
"property": {
"type": "Identifier",
- "start": 8242,
- "end": 8255,
+ "start": 8227,
+ "end": 8240,
"loc": {
"start": {
"line": 270,
@@ -17821,8 +17821,8 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 8256,
- "end": 8319,
+ "start": 8241,
+ "end": 8304,
"loc": {
"start": {
"line": 270,
@@ -17835,8 +17835,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 8256,
- "end": 8297,
+ "start": 8241,
+ "end": 8282,
"loc": {
"start": {
"line": 270,
@@ -17849,8 +17849,8 @@
},
"left": {
"type": "StringLiteral",
- "start": 8256,
- "end": 8265,
+ "start": 8241,
+ "end": 8250,
"loc": {
"start": {
"line": 270,
@@ -17870,8 +17870,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 8268,
- "end": 8297,
+ "start": 8253,
+ "end": 8282,
"loc": {
"start": {
"line": 270,
@@ -17884,8 +17884,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 8268,
- "end": 8292,
+ "start": 8253,
+ "end": 8277,
"loc": {
"start": {
"line": 270,
@@ -17898,8 +17898,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 8268,
- "end": 8283,
+ "start": 8253,
+ "end": 8268,
"loc": {
"start": {
"line": 270,
@@ -17912,8 +17912,8 @@
},
"object": {
"type": "Identifier",
- "start": 8268,
- "end": 8275,
+ "start": 8253,
+ "end": 8260,
"loc": {
"start": {
"line": 270,
@@ -17929,8 +17929,8 @@
},
"property": {
"type": "Identifier",
- "start": 8276,
- "end": 8283,
+ "start": 8261,
+ "end": 8268,
"loc": {
"start": {
"line": 270,
@@ -17948,8 +17948,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 8284,
- "end": 8291,
+ "start": 8269,
+ "end": 8276,
"loc": {
"start": {
"line": 270,
@@ -17962,8 +17962,8 @@
},
"object": {
"type": "Identifier",
- "start": 8284,
- "end": 8288,
+ "start": 8269,
+ "end": 8273,
"loc": {
"start": {
"line": 270,
@@ -17979,8 +17979,8 @@
},
"property": {
"type": "Identifier",
- "start": 8289,
- "end": 8291,
+ "start": 8274,
+ "end": 8276,
"loc": {
"start": {
"line": 270,
@@ -18000,8 +18000,8 @@
},
"property": {
"type": "Identifier",
- "start": 8293,
- "end": 8297,
+ "start": 8278,
+ "end": 8282,
"loc": {
"start": {
"line": 270,
@@ -18021,8 +18021,8 @@
"operator": "+",
"right": {
"type": "StringLiteral",
- "start": 8300,
- "end": 8319,
+ "start": 8285,
+ "end": 8304,
"loc": {
"start": {
"line": 270,
@@ -18045,8 +18045,8 @@
},
{
"type": "IfStatement",
- "start": 8323,
- "end": 8442,
+ "start": 8308,
+ "end": 8427,
"loc": {
"start": {
"line": 271,
@@ -18059,8 +18059,8 @@
},
"test": {
"type": "BinaryExpression",
- "start": 8327,
- "end": 8365,
+ "start": 8312,
+ "end": 8350,
"loc": {
"start": {
"line": 271,
@@ -18073,8 +18073,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 8327,
- "end": 8351,
+ "start": 8312,
+ "end": 8336,
"loc": {
"start": {
"line": 271,
@@ -18087,8 +18087,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 8327,
- "end": 8342,
+ "start": 8312,
+ "end": 8327,
"loc": {
"start": {
"line": 271,
@@ -18101,8 +18101,8 @@
},
"object": {
"type": "Identifier",
- "start": 8327,
- "end": 8334,
+ "start": 8312,
+ "end": 8319,
"loc": {
"start": {
"line": 271,
@@ -18118,8 +18118,8 @@
},
"property": {
"type": "Identifier",
- "start": 8335,
- "end": 8342,
+ "start": 8320,
+ "end": 8327,
"loc": {
"start": {
"line": 271,
@@ -18137,8 +18137,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 8343,
- "end": 8350,
+ "start": 8328,
+ "end": 8335,
"loc": {
"start": {
"line": 271,
@@ -18151,8 +18151,8 @@
},
"object": {
"type": "Identifier",
- "start": 8343,
- "end": 8347,
+ "start": 8328,
+ "end": 8332,
"loc": {
"start": {
"line": 271,
@@ -18168,8 +18168,8 @@
},
"property": {
"type": "Identifier",
- "start": 8348,
- "end": 8350,
+ "start": 8333,
+ "end": 8335,
"loc": {
"start": {
"line": 271,
@@ -18190,8 +18190,8 @@
"operator": "!==",
"right": {
"type": "Identifier",
- "start": 8356,
- "end": 8365,
+ "start": 8341,
+ "end": 8350,
"loc": {
"start": {
"line": 271,
@@ -18208,8 +18208,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 8367,
- "end": 8442,
+ "start": 8352,
+ "end": 8427,
"loc": {
"start": {
"line": 271,
@@ -18223,8 +18223,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 8372,
- "end": 8403,
+ "start": 8357,
+ "end": 8388,
"loc": {
"start": {
"line": 272,
@@ -18237,8 +18237,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 8372,
- "end": 8403,
+ "start": 8357,
+ "end": 8388,
"loc": {
"start": {
"line": 272,
@@ -18251,8 +18251,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 8372,
- "end": 8401,
+ "start": 8357,
+ "end": 8386,
"loc": {
"start": {
"line": 272,
@@ -18265,8 +18265,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 8372,
- "end": 8396,
+ "start": 8357,
+ "end": 8381,
"loc": {
"start": {
"line": 272,
@@ -18279,8 +18279,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 8372,
- "end": 8387,
+ "start": 8357,
+ "end": 8372,
"loc": {
"start": {
"line": 272,
@@ -18293,8 +18293,8 @@
},
"object": {
"type": "Identifier",
- "start": 8372,
- "end": 8379,
+ "start": 8357,
+ "end": 8364,
"loc": {
"start": {
"line": 272,
@@ -18310,8 +18310,8 @@
},
"property": {
"type": "Identifier",
- "start": 8380,
- "end": 8387,
+ "start": 8365,
+ "end": 8372,
"loc": {
"start": {
"line": 272,
@@ -18329,8 +18329,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 8388,
- "end": 8395,
+ "start": 8373,
+ "end": 8380,
"loc": {
"start": {
"line": 272,
@@ -18343,8 +18343,8 @@
},
"object": {
"type": "Identifier",
- "start": 8388,
- "end": 8392,
+ "start": 8373,
+ "end": 8377,
"loc": {
"start": {
"line": 272,
@@ -18360,8 +18360,8 @@
},
"property": {
"type": "Identifier",
- "start": 8393,
- "end": 8395,
+ "start": 8378,
+ "end": 8380,
"loc": {
"start": {
"line": 272,
@@ -18381,8 +18381,8 @@
},
"property": {
"type": "Identifier",
- "start": 8397,
- "end": 8401,
+ "start": 8382,
+ "end": 8386,
"loc": {
"start": {
"line": 272,
@@ -18403,8 +18403,8 @@
},
{
"type": "ExpressionStatement",
- "start": 8407,
- "end": 8438,
+ "start": 8392,
+ "end": 8423,
"loc": {
"start": {
"line": 273,
@@ -18417,8 +18417,8 @@
},
"expression": {
"type": "UnaryExpression",
- "start": 8407,
- "end": 8438,
+ "start": 8392,
+ "end": 8423,
"loc": {
"start": {
"line": 273,
@@ -18433,8 +18433,8 @@
"prefix": true,
"argument": {
"type": "MemberExpression",
- "start": 8414,
- "end": 8438,
+ "start": 8399,
+ "end": 8423,
"loc": {
"start": {
"line": 273,
@@ -18447,8 +18447,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 8414,
- "end": 8429,
+ "start": 8399,
+ "end": 8414,
"loc": {
"start": {
"line": 273,
@@ -18461,8 +18461,8 @@
},
"object": {
"type": "Identifier",
- "start": 8414,
- "end": 8421,
+ "start": 8399,
+ "end": 8406,
"loc": {
"start": {
"line": 273,
@@ -18478,8 +18478,8 @@
},
"property": {
"type": "Identifier",
- "start": 8422,
- "end": 8429,
+ "start": 8407,
+ "end": 8414,
"loc": {
"start": {
"line": 273,
@@ -18497,8 +18497,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 8430,
- "end": 8437,
+ "start": 8415,
+ "end": 8422,
"loc": {
"start": {
"line": 273,
@@ -18511,8 +18511,8 @@
},
"object": {
"type": "Identifier",
- "start": 8430,
- "end": 8434,
+ "start": 8415,
+ "end": 8419,
"loc": {
"start": {
"line": 273,
@@ -18528,8 +18528,8 @@
},
"property": {
"type": "Identifier",
- "start": 8435,
- "end": 8437,
+ "start": 8420,
+ "end": 8422,
"loc": {
"start": {
"line": 273,
@@ -18566,8 +18566,8 @@
},
{
"type": "ExpressionStatement",
- "start": 8449,
- "end": 8565,
+ "start": 8434,
+ "end": 8550,
"loc": {
"start": {
"line": 277,
@@ -18580,8 +18580,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 8449,
- "end": 8565,
+ "start": 8434,
+ "end": 8550,
"loc": {
"start": {
"line": 277,
@@ -18594,8 +18594,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 8449,
- "end": 8458,
+ "start": 8434,
+ "end": 8443,
"loc": {
"start": {
"line": 277,
@@ -18608,8 +18608,8 @@
},
"object": {
"type": "Identifier",
- "start": 8449,
- "end": 8455,
+ "start": 8434,
+ "end": 8440,
"loc": {
"start": {
"line": 277,
@@ -18625,8 +18625,8 @@
},
"property": {
"type": "Identifier",
- "start": 8456,
- "end": 8458,
+ "start": 8441,
+ "end": 8443,
"loc": {
"start": {
"line": 277,
@@ -18645,8 +18645,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 8459,
- "end": 8481,
+ "start": 8444,
+ "end": 8466,
"loc": {
"start": {
"line": 277,
@@ -18665,8 +18665,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 8483,
- "end": 8564,
+ "start": 8468,
+ "end": 8549,
"loc": {
"start": {
"line": 277,
@@ -18684,8 +18684,8 @@
"params": [],
"body": {
"type": "BlockStatement",
- "start": 8489,
- "end": 8564,
+ "start": 8474,
+ "end": 8549,
"loc": {
"start": {
"line": 277,
@@ -18699,8 +18699,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 8493,
- "end": 8531,
+ "start": 8478,
+ "end": 8516,
"loc": {
"start": {
"line": 278,
@@ -18713,8 +18713,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 8493,
- "end": 8531,
+ "start": 8478,
+ "end": 8516,
"loc": {
"start": {
"line": 278,
@@ -18727,8 +18727,8 @@
},
"callee": {
"type": "Identifier",
- "start": 8493,
- "end": 8501,
+ "start": 8478,
+ "end": 8486,
"loc": {
"start": {
"line": 278,
@@ -18745,8 +18745,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 8502,
- "end": 8523,
+ "start": 8487,
+ "end": 8508,
"loc": {
"start": {
"line": 278,
@@ -18765,8 +18765,8 @@
},
{
"type": "BooleanLiteral",
- "start": 8525,
- "end": 8530,
+ "start": 8510,
+ "end": 8515,
"loc": {
"start": {
"line": 278,
@@ -18784,8 +18784,8 @@
},
{
"type": "ExpressionStatement",
- "start": 8534,
- "end": 8561,
+ "start": 8519,
+ "end": 8546,
"loc": {
"start": {
"line": 279,
@@ -18798,8 +18798,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 8534,
- "end": 8561,
+ "start": 8519,
+ "end": 8546,
"loc": {
"start": {
"line": 279,
@@ -18812,8 +18812,8 @@
},
"callee": {
"type": "Identifier",
- "start": 8534,
- "end": 8545,
+ "start": 8519,
+ "end": 8530,
"loc": {
"start": {
"line": 279,
@@ -18830,8 +18830,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 8546,
- "end": 8560,
+ "start": 8531,
+ "end": 8545,
"loc": {
"start": {
"line": 279,
@@ -18862,8 +18862,8 @@
{
"type": "CommentLine",
"value": " Errors on join",
- "start": 8568,
- "end": 8585,
+ "start": 8553,
+ "end": 8570,
"loc": {
"start": {
"line": 282,
@@ -18879,8 +18879,8 @@
},
{
"type": "ExpressionStatement",
- "start": 8587,
- "end": 8680,
+ "start": 8572,
+ "end": 8665,
"loc": {
"start": {
"line": 283,
@@ -18893,8 +18893,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 8587,
- "end": 8680,
+ "start": 8572,
+ "end": 8665,
"loc": {
"start": {
"line": 283,
@@ -18907,8 +18907,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 8587,
- "end": 8596,
+ "start": 8572,
+ "end": 8581,
"loc": {
"start": {
"line": 283,
@@ -18921,8 +18921,8 @@
},
"object": {
"type": "Identifier",
- "start": 8587,
- "end": 8593,
+ "start": 8572,
+ "end": 8578,
"loc": {
"start": {
"line": 283,
@@ -18939,8 +18939,8 @@
},
"property": {
"type": "Identifier",
- "start": 8594,
- "end": 8596,
+ "start": 8579,
+ "end": 8581,
"loc": {
"start": {
"line": 283,
@@ -18960,8 +18960,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 8597,
- "end": 8614,
+ "start": 8582,
+ "end": 8599,
"loc": {
"start": {
"line": 283,
@@ -18980,8 +18980,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 8616,
- "end": 8679,
+ "start": 8601,
+ "end": 8664,
"loc": {
"start": {
"line": 283,
@@ -18999,8 +18999,8 @@
"params": [
{
"type": "Identifier",
- "start": 8617,
- "end": 8621,
+ "start": 8602,
+ "end": 8606,
"loc": {
"start": {
"line": 283,
@@ -19017,8 +19017,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 8626,
- "end": 8679,
+ "start": 8611,
+ "end": 8664,
"loc": {
"start": {
"line": 283,
@@ -19032,8 +19032,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 8630,
- "end": 8649,
+ "start": 8615,
+ "end": 8634,
"loc": {
"start": {
"line": 284,
@@ -19046,8 +19046,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 8630,
- "end": 8649,
+ "start": 8615,
+ "end": 8634,
"loc": {
"start": {
"line": 284,
@@ -19060,8 +19060,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 8630,
- "end": 8647,
+ "start": 8615,
+ "end": 8632,
"loc": {
"start": {
"line": 284,
@@ -19074,8 +19074,8 @@
},
"object": {
"type": "Identifier",
- "start": 8630,
- "end": 8636,
+ "start": 8615,
+ "end": 8621,
"loc": {
"start": {
"line": 284,
@@ -19091,8 +19091,8 @@
},
"property": {
"type": "Identifier",
- "start": 8637,
- "end": 8647,
+ "start": 8622,
+ "end": 8632,
"loc": {
"start": {
"line": 284,
@@ -19113,8 +19113,8 @@
},
{
"type": "ExpressionStatement",
- "start": 8652,
- "end": 8676,
+ "start": 8637,
+ "end": 8661,
"loc": {
"start": {
"line": 285,
@@ -19127,8 +19127,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 8652,
- "end": 8676,
+ "start": 8637,
+ "end": 8661,
"loc": {
"start": {
"line": 285,
@@ -19141,8 +19141,8 @@
},
"callee": {
"type": "Identifier",
- "start": 8652,
- "end": 8660,
+ "start": 8637,
+ "end": 8645,
"loc": {
"start": {
"line": 285,
@@ -19159,8 +19159,8 @@
"arguments": [
{
"type": "MemberExpression",
- "start": 8661,
- "end": 8669,
+ "start": 8646,
+ "end": 8654,
"loc": {
"start": {
"line": 285,
@@ -19173,8 +19173,8 @@
},
"object": {
"type": "Identifier",
- "start": 8661,
- "end": 8665,
+ "start": 8646,
+ "end": 8650,
"loc": {
"start": {
"line": 285,
@@ -19190,8 +19190,8 @@
},
"property": {
"type": "Identifier",
- "start": 8666,
- "end": 8669,
+ "start": 8651,
+ "end": 8654,
"loc": {
"start": {
"line": 285,
@@ -19209,8 +19209,8 @@
},
{
"type": "BooleanLiteral",
- "start": 8671,
- "end": 8675,
+ "start": 8656,
+ "end": 8660,
"loc": {
"start": {
"line": 285,
@@ -19237,8 +19237,8 @@
{
"type": "CommentLine",
"value": " Errors on join",
- "start": 8568,
- "end": 8585,
+ "start": 8553,
+ "end": 8570,
"loc": {
"start": {
"line": 282,
@@ -19260,8 +19260,8 @@
{
"type": "CommentBlock",
"value": "*\n * Sets up socket connection listeners.\n * Run in setupSocket().\n ",
- "start": 7573,
- "end": 7645,
+ "start": 7558,
+ "end": 7630,
"loc": {
"start": {
"line": 245,
@@ -19278,8 +19278,8 @@
{
"type": "CommentBlock",
"value": "*\n * Sets up socket information transfer listeners.\n * Run in setupSocket().\n * @param {*} chat The chat client instance to be used for notifications\n ",
- "start": 8684,
- "end": 8839,
+ "start": 8669,
+ "end": 8824,
"loc": {
"start": {
"line": 289,
@@ -19295,8 +19295,8 @@
},
{
"type": "FunctionDeclaration",
- "start": 8840,
- "end": 11141,
+ "start": 8825,
+ "end": 11126,
"loc": {
"start": {
"line": 294,
@@ -19309,8 +19309,8 @@
},
"id": {
"type": "Identifier",
- "start": 8849,
- "end": 8864,
+ "start": 8834,
+ "end": 8849,
"loc": {
"start": {
"line": 294,
@@ -19331,8 +19331,8 @@
"params": [
{
"type": "Identifier",
- "start": 8866,
- "end": 8870,
+ "start": 8851,
+ "end": 8855,
"loc": {
"start": {
"line": 294,
@@ -19349,8 +19349,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 8872,
- "end": 11141,
+ "start": 8857,
+ "end": 11126,
"loc": {
"start": {
"line": 294,
@@ -19364,8 +19364,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 8900,
- "end": 8963,
+ "start": 8885,
+ "end": 8948,
"loc": {
"start": {
"line": 296,
@@ -19378,8 +19378,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 8900,
- "end": 8963,
+ "start": 8885,
+ "end": 8948,
"loc": {
"start": {
"line": 296,
@@ -19392,8 +19392,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 8900,
- "end": 8909,
+ "start": 8885,
+ "end": 8894,
"loc": {
"start": {
"line": 296,
@@ -19406,8 +19406,8 @@
},
"object": {
"type": "Identifier",
- "start": 8900,
- "end": 8906,
+ "start": 8885,
+ "end": 8891,
"loc": {
"start": {
"line": 296,
@@ -19424,8 +19424,8 @@
},
"property": {
"type": "Identifier",
- "start": 8907,
- "end": 8909,
+ "start": 8892,
+ "end": 8894,
"loc": {
"start": {
"line": 296,
@@ -19445,8 +19445,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 8910,
- "end": 8921,
+ "start": 8895,
+ "end": 8906,
"loc": {
"start": {
"line": 296,
@@ -19465,8 +19465,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 8923,
- "end": 8962,
+ "start": 8908,
+ "end": 8947,
"loc": {
"start": {
"line": 296,
@@ -19484,8 +19484,8 @@
"params": [
{
"type": "Identifier",
- "start": 8923,
- "end": 8927,
+ "start": 8908,
+ "end": 8912,
"loc": {
"start": {
"line": 296,
@@ -19502,8 +19502,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 8931,
- "end": 8962,
+ "start": 8916,
+ "end": 8947,
"loc": {
"start": {
"line": 296,
@@ -19517,8 +19517,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 8935,
- "end": 8959,
+ "start": 8920,
+ "end": 8944,
"loc": {
"start": {
"line": 297,
@@ -19531,8 +19531,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 8935,
- "end": 8959,
+ "start": 8920,
+ "end": 8944,
"loc": {
"start": {
"line": 297,
@@ -19545,8 +19545,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 8935,
- "end": 8953,
+ "start": 8920,
+ "end": 8938,
"loc": {
"start": {
"line": 297,
@@ -19559,8 +19559,8 @@
},
"object": {
"type": "Identifier",
- "start": 8935,
- "end": 8939,
+ "start": 8920,
+ "end": 8924,
"loc": {
"start": {
"line": 297,
@@ -19576,8 +19576,8 @@
},
"property": {
"type": "Identifier",
- "start": 8940,
- "end": 8953,
+ "start": 8925,
+ "end": 8938,
"loc": {
"start": {
"line": 297,
@@ -19596,8 +19596,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 8954,
- "end": 8958,
+ "start": 8939,
+ "end": 8943,
"loc": {
"start": {
"line": 297,
@@ -19625,8 +19625,8 @@
{
"type": "CommentLine",
"value": " Chat system receiver",
- "start": 8875,
- "end": 8898,
+ "start": 8860,
+ "end": 8883,
"loc": {
"start": {
"line": 295,
@@ -19642,8 +19642,8 @@
},
{
"type": "ExpressionStatement",
- "start": 8966,
- "end": 9070,
+ "start": 8951,
+ "end": 9055,
"loc": {
"start": {
"line": 300,
@@ -19656,8 +19656,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 8966,
- "end": 9070,
+ "start": 8951,
+ "end": 9055,
"loc": {
"start": {
"line": 300,
@@ -19670,8 +19670,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 8966,
- "end": 8975,
+ "start": 8951,
+ "end": 8960,
"loc": {
"start": {
"line": 300,
@@ -19684,8 +19684,8 @@
},
"object": {
"type": "Identifier",
- "start": 8966,
- "end": 8972,
+ "start": 8951,
+ "end": 8957,
"loc": {
"start": {
"line": 300,
@@ -19701,8 +19701,8 @@
},
"property": {
"type": "Identifier",
- "start": 8973,
- "end": 8975,
+ "start": 8958,
+ "end": 8960,
"loc": {
"start": {
"line": 300,
@@ -19721,8 +19721,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 8976,
- "end": 8996,
+ "start": 8961,
+ "end": 8981,
"loc": {
"start": {
"line": 300,
@@ -19741,8 +19741,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 8998,
- "end": 9069,
+ "start": 8983,
+ "end": 9054,
"loc": {
"start": {
"line": 300,
@@ -19760,8 +19760,8 @@
"params": [
{
"type": "Identifier",
- "start": 8998,
- "end": 9002,
+ "start": 8983,
+ "end": 8987,
"loc": {
"start": {
"line": 300,
@@ -19778,8 +19778,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 9006,
- "end": 9069,
+ "start": 8991,
+ "end": 9054,
"loc": {
"start": {
"line": 300,
@@ -19793,8 +19793,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 9010,
- "end": 9066,
+ "start": 8995,
+ "end": 9051,
"loc": {
"start": {
"line": 301,
@@ -19807,8 +19807,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 9010,
- "end": 9066,
+ "start": 8995,
+ "end": 9051,
"loc": {
"start": {
"line": 301,
@@ -19821,8 +19821,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 9010,
- "end": 9034,
+ "start": 8995,
+ "end": 9019,
"loc": {
"start": {
"line": 301,
@@ -19835,8 +19835,8 @@
},
"object": {
"type": "Identifier",
- "start": 9010,
- "end": 9014,
+ "start": 8995,
+ "end": 8999,
"loc": {
"start": {
"line": 301,
@@ -19852,8 +19852,8 @@
},
"property": {
"type": "Identifier",
- "start": 9015,
- "end": 9034,
+ "start": 9000,
+ "end": 9019,
"loc": {
"start": {
"line": 301,
@@ -19872,8 +19872,8 @@
"arguments": [
{
"type": "MemberExpression",
- "start": 9035,
- "end": 9047,
+ "start": 9020,
+ "end": 9032,
"loc": {
"start": {
"line": 301,
@@ -19886,8 +19886,8 @@
},
"object": {
"type": "Identifier",
- "start": 9035,
- "end": 9039,
+ "start": 9020,
+ "end": 9024,
"loc": {
"start": {
"line": 301,
@@ -19903,8 +19903,8 @@
},
"property": {
"type": "Identifier",
- "start": 9040,
- "end": 9047,
+ "start": 9025,
+ "end": 9032,
"loc": {
"start": {
"line": 301,
@@ -19922,8 +19922,8 @@
},
{
"type": "MemberExpression",
- "start": 9049,
- "end": 9065,
+ "start": 9034,
+ "end": 9050,
"loc": {
"start": {
"line": 301,
@@ -19936,8 +19936,8 @@
},
"object": {
"type": "Identifier",
- "start": 9049,
- "end": 9053,
+ "start": 9034,
+ "end": 9038,
"loc": {
"start": {
"line": 301,
@@ -19953,8 +19953,8 @@
},
"property": {
"type": "Identifier",
- "start": 9054,
- "end": 9065,
+ "start": 9039,
+ "end": 9050,
"loc": {
"start": {
"line": 301,
@@ -19982,8 +19982,8 @@
},
{
"type": "ExpressionStatement",
- "start": 9073,
- "end": 9191,
+ "start": 9058,
+ "end": 9176,
"loc": {
"start": {
"line": 304,
@@ -19996,8 +19996,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 9073,
- "end": 9191,
+ "start": 9058,
+ "end": 9176,
"loc": {
"start": {
"line": 304,
@@ -20010,8 +20010,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 9073,
- "end": 9082,
+ "start": 9058,
+ "end": 9067,
"loc": {
"start": {
"line": 304,
@@ -20024,8 +20024,8 @@
},
"object": {
"type": "Identifier",
- "start": 9073,
- "end": 9079,
+ "start": 9058,
+ "end": 9064,
"loc": {
"start": {
"line": 304,
@@ -20041,8 +20041,8 @@
},
"property": {
"type": "Identifier",
- "start": 9080,
- "end": 9082,
+ "start": 9065,
+ "end": 9067,
"loc": {
"start": {
"line": 304,
@@ -20061,8 +20061,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 9083,
- "end": 9105,
+ "start": 9068,
+ "end": 9090,
"loc": {
"start": {
"line": 304,
@@ -20081,8 +20081,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 9107,
- "end": 9190,
+ "start": 9092,
+ "end": 9175,
"loc": {
"start": {
"line": 304,
@@ -20100,8 +20100,8 @@
"params": [
{
"type": "Identifier",
- "start": 9107,
- "end": 9111,
+ "start": 9092,
+ "end": 9096,
"loc": {
"start": {
"line": 304,
@@ -20118,8 +20118,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 9115,
- "end": 9190,
+ "start": 9100,
+ "end": 9175,
"loc": {
"start": {
"line": 304,
@@ -20133,8 +20133,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 9119,
- "end": 9187,
+ "start": 9104,
+ "end": 9172,
"loc": {
"start": {
"line": 305,
@@ -20147,8 +20147,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 9119,
- "end": 9187,
+ "start": 9104,
+ "end": 9172,
"loc": {
"start": {
"line": 305,
@@ -20161,8 +20161,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 9119,
- "end": 9135,
+ "start": 9104,
+ "end": 9120,
"loc": {
"start": {
"line": 305,
@@ -20175,8 +20175,8 @@
},
"object": {
"type": "Identifier",
- "start": 9119,
- "end": 9123,
+ "start": 9104,
+ "end": 9108,
"loc": {
"start": {
"line": 305,
@@ -20192,8 +20192,8 @@
},
"property": {
"type": "Identifier",
- "start": 9124,
- "end": 9135,
+ "start": 9109,
+ "end": 9120,
"loc": {
"start": {
"line": 305,
@@ -20212,8 +20212,8 @@
"arguments": [
{
"type": "MemberExpression",
- "start": 9136,
- "end": 9147,
+ "start": 9121,
+ "end": 9132,
"loc": {
"start": {
"line": 305,
@@ -20226,8 +20226,8 @@
},
"object": {
"type": "Identifier",
- "start": 9136,
- "end": 9140,
+ "start": 9121,
+ "end": 9125,
"loc": {
"start": {
"line": 305,
@@ -20243,8 +20243,8 @@
},
"property": {
"type": "Identifier",
- "start": 9141,
- "end": 9147,
+ "start": 9126,
+ "end": 9132,
"loc": {
"start": {
"line": 305,
@@ -20262,8 +20262,8 @@
},
{
"type": "MemberExpression",
- "start": 9149,
- "end": 9161,
+ "start": 9134,
+ "end": 9146,
"loc": {
"start": {
"line": 305,
@@ -20276,8 +20276,8 @@
},
"object": {
"type": "Identifier",
- "start": 9149,
- "end": 9153,
+ "start": 9134,
+ "end": 9138,
"loc": {
"start": {
"line": 305,
@@ -20293,8 +20293,8 @@
},
"property": {
"type": "Identifier",
- "start": 9154,
- "end": 9161,
+ "start": 9139,
+ "end": 9146,
"loc": {
"start": {
"line": 305,
@@ -20312,8 +20312,8 @@
},
{
"type": "BooleanLiteral",
- "start": 9163,
- "end": 9168,
+ "start": 9148,
+ "end": 9153,
"loc": {
"start": {
"line": 305,
@@ -20328,8 +20328,8 @@
},
{
"type": "MemberExpression",
- "start": 9170,
- "end": 9186,
+ "start": 9155,
+ "end": 9171,
"loc": {
"start": {
"line": 305,
@@ -20342,8 +20342,8 @@
},
"object": {
"type": "Identifier",
- "start": 9170,
- "end": 9174,
+ "start": 9155,
+ "end": 9159,
"loc": {
"start": {
"line": 305,
@@ -20359,8 +20359,8 @@
},
"property": {
"type": "Identifier",
- "start": 9175,
- "end": 9186,
+ "start": 9160,
+ "end": 9171,
"loc": {
"start": {
"line": 305,
@@ -20388,8 +20388,8 @@
},
{
"type": "ExpressionStatement",
- "start": 9194,
- "end": 9286,
+ "start": 9179,
+ "end": 9271,
"loc": {
"start": {
"line": 308,
@@ -20402,8 +20402,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 9194,
- "end": 9286,
+ "start": 9179,
+ "end": 9271,
"loc": {
"start": {
"line": 308,
@@ -20416,8 +20416,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 9194,
- "end": 9203,
+ "start": 9179,
+ "end": 9188,
"loc": {
"start": {
"line": 308,
@@ -20430,8 +20430,8 @@
},
"object": {
"type": "Identifier",
- "start": 9194,
- "end": 9200,
+ "start": 9179,
+ "end": 9185,
"loc": {
"start": {
"line": 308,
@@ -20447,8 +20447,8 @@
},
"property": {
"type": "Identifier",
- "start": 9201,
- "end": 9203,
+ "start": 9186,
+ "end": 9188,
"loc": {
"start": {
"line": 308,
@@ -20467,8 +20467,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 9204,
- "end": 9228,
+ "start": 9189,
+ "end": 9213,
"loc": {
"start": {
"line": 308,
@@ -20487,8 +20487,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 9230,
- "end": 9285,
+ "start": 9215,
+ "end": 9270,
"loc": {
"start": {
"line": 308,
@@ -20506,8 +20506,8 @@
"params": [
{
"type": "Identifier",
- "start": 9230,
- "end": 9234,
+ "start": 9215,
+ "end": 9219,
"loc": {
"start": {
"line": 308,
@@ -20524,8 +20524,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 9238,
- "end": 9285,
+ "start": 9223,
+ "end": 9270,
"loc": {
"start": {
"line": 308,
@@ -20539,8 +20539,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 9242,
- "end": 9282,
+ "start": 9227,
+ "end": 9267,
"loc": {
"start": {
"line": 309,
@@ -20553,8 +20553,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 9242,
- "end": 9282,
+ "start": 9227,
+ "end": 9267,
"loc": {
"start": {
"line": 309,
@@ -20567,8 +20567,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 9242,
- "end": 9262,
+ "start": 9227,
+ "end": 9247,
"loc": {
"start": {
"line": 309,
@@ -20581,8 +20581,8 @@
},
"object": {
"type": "Identifier",
- "start": 9242,
- "end": 9246,
+ "start": 9227,
+ "end": 9231,
"loc": {
"start": {
"line": 309,
@@ -20598,8 +20598,8 @@
},
"property": {
"type": "Identifier",
- "start": 9247,
- "end": 9262,
+ "start": 9232,
+ "end": 9247,
"loc": {
"start": {
"line": 309,
@@ -20618,8 +20618,8 @@
"arguments": [
{
"type": "MemberExpression",
- "start": 9263,
- "end": 9274,
+ "start": 9248,
+ "end": 9259,
"loc": {
"start": {
"line": 309,
@@ -20632,8 +20632,8 @@
},
"object": {
"type": "Identifier",
- "start": 9263,
- "end": 9267,
+ "start": 9248,
+ "end": 9252,
"loc": {
"start": {
"line": 309,
@@ -20649,8 +20649,8 @@
},
"property": {
"type": "Identifier",
- "start": 9268,
- "end": 9274,
+ "start": 9253,
+ "end": 9259,
"loc": {
"start": {
"line": 309,
@@ -20668,8 +20668,8 @@
},
{
"type": "BooleanLiteral",
- "start": 9276,
- "end": 9281,
+ "start": 9261,
+ "end": 9266,
"loc": {
"start": {
"line": 309,
@@ -20696,8 +20696,8 @@
{
"type": "CommentLine",
"value": " Receive information about room players",
- "start": 9289,
- "end": 9330,
+ "start": 9274,
+ "end": 9315,
"loc": {
"start": {
"line": 312,
@@ -20713,8 +20713,8 @@
},
{
"type": "ExpressionStatement",
- "start": 9332,
- "end": 9497,
+ "start": 9317,
+ "end": 9482,
"loc": {
"start": {
"line": 313,
@@ -20727,8 +20727,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 9332,
- "end": 9497,
+ "start": 9317,
+ "end": 9482,
"loc": {
"start": {
"line": 313,
@@ -20741,8 +20741,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 9332,
- "end": 9341,
+ "start": 9317,
+ "end": 9326,
"loc": {
"start": {
"line": 313,
@@ -20755,8 +20755,8 @@
},
"object": {
"type": "Identifier",
- "start": 9332,
- "end": 9338,
+ "start": 9317,
+ "end": 9323,
"loc": {
"start": {
"line": 313,
@@ -20773,8 +20773,8 @@
},
"property": {
"type": "Identifier",
- "start": 9339,
- "end": 9341,
+ "start": 9324,
+ "end": 9326,
"loc": {
"start": {
"line": 313,
@@ -20794,8 +20794,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 9342,
- "end": 9352,
+ "start": 9327,
+ "end": 9337,
"loc": {
"start": {
"line": 313,
@@ -20814,8 +20814,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 9354,
- "end": 9496,
+ "start": 9339,
+ "end": 9481,
"loc": {
"start": {
"line": 313,
@@ -20833,8 +20833,8 @@
"params": [
{
"type": "Identifier",
- "start": 9355,
- "end": 9359,
+ "start": 9340,
+ "end": 9344,
"loc": {
"start": {
"line": 313,
@@ -20851,8 +20851,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 9364,
- "end": 9496,
+ "start": 9349,
+ "end": 9481,
"loc": {
"start": {
"line": 313,
@@ -20866,8 +20866,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 9407,
- "end": 9424,
+ "start": 9392,
+ "end": 9409,
"loc": {
"start": {
"line": 315,
@@ -20880,8 +20880,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 9407,
- "end": 9424,
+ "start": 9392,
+ "end": 9409,
"loc": {
"start": {
"line": 315,
@@ -20894,8 +20894,8 @@
},
"callee": {
"type": "Identifier",
- "start": 9407,
- "end": 9418,
+ "start": 9392,
+ "end": 9403,
"loc": {
"start": {
"line": 315,
@@ -20913,8 +20913,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 9419,
- "end": 9423,
+ "start": 9404,
+ "end": 9408,
"loc": {
"start": {
"line": 315,
@@ -20936,8 +20936,8 @@
{
"type": "CommentLine",
"value": " Update lobby info. Pass to app.js",
- "start": 9368,
- "end": 9404,
+ "start": 9353,
+ "end": 9389,
"loc": {
"start": {
"line": 314,
@@ -20954,8 +20954,8 @@
{
"type": "CommentLine",
"value": " if(GLOBAL.DEBUG) {",
- "start": 9428,
- "end": 9449,
+ "start": 9413,
+ "end": 9434,
"loc": {
"start": {
"line": 317,
@@ -20970,8 +20970,8 @@
{
"type": "CommentLine",
"value": " console.log(\"rcvd: \",data);",
- "start": 9452,
- "end": 9486,
+ "start": 9437,
+ "end": 9471,
"loc": {
"start": {
"line": 318,
@@ -20986,8 +20986,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 9489,
- "end": 9493,
+ "start": 9474,
+ "end": 9478,
"loc": {
"start": {
"line": 319,
@@ -21008,8 +21008,8 @@
{
"type": "CommentLine",
"value": " if(GLOBAL.DEBUG) {",
- "start": 9428,
- "end": 9449,
+ "start": 9413,
+ "end": 9434,
"loc": {
"start": {
"line": 317,
@@ -21024,8 +21024,8 @@
{
"type": "CommentLine",
"value": " console.log(\"rcvd: \",data);",
- "start": 9452,
- "end": 9486,
+ "start": 9437,
+ "end": 9471,
"loc": {
"start": {
"line": 318,
@@ -21040,8 +21040,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 9489,
- "end": 9493,
+ "start": 9474,
+ "end": 9478,
"loc": {
"start": {
"line": 319,
@@ -21062,8 +21062,8 @@
{
"type": "CommentLine",
"value": " Receive information about room players",
- "start": 9289,
- "end": 9330,
+ "start": 9274,
+ "end": 9315,
"loc": {
"start": {
"line": 312,
@@ -21079,8 +21079,8 @@
},
{
"type": "ExpressionStatement",
- "start": 9500,
- "end": 9613,
+ "start": 9485,
+ "end": 9598,
"loc": {
"start": {
"line": 322,
@@ -21093,8 +21093,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 9500,
- "end": 9613,
+ "start": 9485,
+ "end": 9598,
"loc": {
"start": {
"line": 322,
@@ -21107,8 +21107,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 9500,
- "end": 9509,
+ "start": 9485,
+ "end": 9494,
"loc": {
"start": {
"line": 322,
@@ -21121,8 +21121,8 @@
},
"object": {
"type": "Identifier",
- "start": 9500,
- "end": 9506,
+ "start": 9485,
+ "end": 9491,
"loc": {
"start": {
"line": 322,
@@ -21138,8 +21138,8 @@
},
"property": {
"type": "Identifier",
- "start": 9507,
- "end": 9509,
+ "start": 9492,
+ "end": 9494,
"loc": {
"start": {
"line": 322,
@@ -21158,8 +21158,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 9510,
- "end": 9531,
+ "start": 9495,
+ "end": 9516,
"loc": {
"start": {
"line": 322,
@@ -21178,8 +21178,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 9533,
- "end": 9612,
+ "start": 9518,
+ "end": 9597,
"loc": {
"start": {
"line": 322,
@@ -21197,8 +21197,8 @@
"params": [
{
"type": "Identifier",
- "start": 9534,
- "end": 9538,
+ "start": 9519,
+ "end": 9523,
"loc": {
"start": {
"line": 322,
@@ -21215,8 +21215,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 9543,
- "end": 9612,
+ "start": 9528,
+ "end": 9597,
"loc": {
"start": {
"line": 322,
@@ -21230,8 +21230,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 9547,
- "end": 9578,
+ "start": 9532,
+ "end": 9563,
"loc": {
"start": {
"line": 323,
@@ -21244,8 +21244,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 9547,
- "end": 9578,
+ "start": 9532,
+ "end": 9563,
"loc": {
"start": {
"line": 323,
@@ -21258,8 +21258,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 9547,
- "end": 9558,
+ "start": 9532,
+ "end": 9543,
"loc": {
"start": {
"line": 323,
@@ -21272,8 +21272,8 @@
},
"object": {
"type": "Identifier",
- "start": 9547,
- "end": 9554,
+ "start": 9532,
+ "end": 9539,
"loc": {
"start": {
"line": 323,
@@ -21289,8 +21289,8 @@
},
"property": {
"type": "Identifier",
- "start": 9555,
- "end": 9558,
+ "start": 9540,
+ "end": 9543,
"loc": {
"start": {
"line": 323,
@@ -21309,8 +21309,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 9559,
- "end": 9577,
+ "start": 9544,
+ "end": 9562,
"loc": {
"start": {
"line": 323,
@@ -21332,8 +21332,8 @@
},
{
"type": "ExpressionStatement",
- "start": 9581,
- "end": 9609,
+ "start": 9566,
+ "end": 9594,
"loc": {
"start": {
"line": 324,
@@ -21346,8 +21346,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 9581,
- "end": 9609,
+ "start": 9566,
+ "end": 9594,
"loc": {
"start": {
"line": 324,
@@ -21360,8 +21360,8 @@
},
"callee": {
"type": "Identifier",
- "start": 9581,
- "end": 9590,
+ "start": 9566,
+ "end": 9575,
"loc": {
"start": {
"line": 324,
@@ -21378,8 +21378,8 @@
"arguments": [
{
"type": "BooleanLiteral",
- "start": 9591,
- "end": 9596,
+ "start": 9576,
+ "end": 9581,
"loc": {
"start": {
"line": 324,
@@ -21394,8 +21394,8 @@
},
{
"type": "MemberExpression",
- "start": 9598,
- "end": 9608,
+ "start": 9583,
+ "end": 9593,
"loc": {
"start": {
"line": 324,
@@ -21408,8 +21408,8 @@
},
"object": {
"type": "Identifier",
- "start": 9598,
- "end": 9602,
+ "start": 9583,
+ "end": 9587,
"loc": {
"start": {
"line": 324,
@@ -21425,8 +21425,8 @@
},
"property": {
"type": "Identifier",
- "start": 9603,
- "end": 9608,
+ "start": 9588,
+ "end": 9593,
"loc": {
"start": {
"line": 324,
@@ -21454,8 +21454,8 @@
},
{
"type": "ExpressionStatement",
- "start": 9616,
- "end": 9709,
+ "start": 9601,
+ "end": 9694,
"loc": {
"start": {
"line": 327,
@@ -21468,8 +21468,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 9616,
- "end": 9709,
+ "start": 9601,
+ "end": 9694,
"loc": {
"start": {
"line": 327,
@@ -21482,8 +21482,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 9616,
- "end": 9625,
+ "start": 9601,
+ "end": 9610,
"loc": {
"start": {
"line": 327,
@@ -21496,8 +21496,8 @@
},
"object": {
"type": "Identifier",
- "start": 9616,
- "end": 9622,
+ "start": 9601,
+ "end": 9607,
"loc": {
"start": {
"line": 327,
@@ -21513,8 +21513,8 @@
},
"property": {
"type": "Identifier",
- "start": 9623,
- "end": 9625,
+ "start": 9608,
+ "end": 9610,
"loc": {
"start": {
"line": 327,
@@ -21533,8 +21533,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 9626,
- "end": 9635,
+ "start": 9611,
+ "end": 9620,
"loc": {
"start": {
"line": 327,
@@ -21553,8 +21553,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 9637,
- "end": 9708,
+ "start": 9622,
+ "end": 9693,
"loc": {
"start": {
"line": 327,
@@ -21572,8 +21572,8 @@
"params": [
{
"type": "Identifier",
- "start": 9638,
- "end": 9642,
+ "start": 9623,
+ "end": 9627,
"loc": {
"start": {
"line": 327,
@@ -21590,8 +21590,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 9647,
- "end": 9708,
+ "start": 9632,
+ "end": 9693,
"loc": {
"start": {
"line": 327,
@@ -21605,8 +21605,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 9651,
- "end": 9705,
+ "start": 9636,
+ "end": 9690,
"loc": {
"start": {
"line": 328,
@@ -21619,8 +21619,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 9651,
- "end": 9705,
+ "start": 9636,
+ "end": 9690,
"loc": {
"start": {
"line": 328,
@@ -21633,8 +21633,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 9651,
- "end": 9662,
+ "start": 9636,
+ "end": 9647,
"loc": {
"start": {
"line": 328,
@@ -21647,8 +21647,8 @@
},
"object": {
"type": "Identifier",
- "start": 9651,
- "end": 9658,
+ "start": 9636,
+ "end": 9643,
"loc": {
"start": {
"line": 328,
@@ -21664,8 +21664,8 @@
},
"property": {
"type": "Identifier",
- "start": 9659,
- "end": 9662,
+ "start": 9644,
+ "end": 9647,
"loc": {
"start": {
"line": 328,
@@ -21684,8 +21684,8 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 9663,
- "end": 9704,
+ "start": 9648,
+ "end": 9689,
"loc": {
"start": {
"line": 328,
@@ -21698,8 +21698,8 @@
},
"left": {
"type": "StringLiteral",
- "start": 9663,
- "end": 9688,
+ "start": 9648,
+ "end": 9673,
"loc": {
"start": {
"line": 328,
@@ -21719,8 +21719,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 9691,
- "end": 9704,
+ "start": 9676,
+ "end": 9689,
"loc": {
"start": {
"line": 328,
@@ -21733,8 +21733,8 @@
},
"object": {
"type": "Identifier",
- "start": 9691,
- "end": 9695,
+ "start": 9676,
+ "end": 9680,
"loc": {
"start": {
"line": 328,
@@ -21750,8 +21750,8 @@
},
"property": {
"type": "Identifier",
- "start": 9696,
- "end": 9704,
+ "start": 9681,
+ "end": 9689,
"loc": {
"start": {
"line": 328,
@@ -21782,8 +21782,8 @@
{
"type": "CommentLine",
"value": " Respawn",
- "start": 9712,
- "end": 9722,
+ "start": 9697,
+ "end": 9707,
"loc": {
"start": {
"line": 331,
@@ -21799,8 +21799,8 @@
},
{
"type": "ExpressionStatement",
- "start": 9724,
- "end": 9993,
+ "start": 9709,
+ "end": 9978,
"loc": {
"start": {
"line": 332,
@@ -21813,8 +21813,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 9724,
- "end": 9993,
+ "start": 9709,
+ "end": 9978,
"loc": {
"start": {
"line": 332,
@@ -21827,8 +21827,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 9724,
- "end": 9733,
+ "start": 9709,
+ "end": 9718,
"loc": {
"start": {
"line": 332,
@@ -21841,8 +21841,8 @@
},
"object": {
"type": "Identifier",
- "start": 9724,
- "end": 9730,
+ "start": 9709,
+ "end": 9715,
"loc": {
"start": {
"line": 332,
@@ -21859,8 +21859,8 @@
},
"property": {
"type": "Identifier",
- "start": 9731,
- "end": 9733,
+ "start": 9716,
+ "end": 9718,
"loc": {
"start": {
"line": 332,
@@ -21880,8 +21880,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 9734,
- "end": 9757,
+ "start": 9719,
+ "end": 9742,
"loc": {
"start": {
"line": 332,
@@ -21900,8 +21900,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 9759,
- "end": 9992,
+ "start": 9744,
+ "end": 9977,
"loc": {
"start": {
"line": 332,
@@ -21919,8 +21919,8 @@
"params": [
{
"type": "Identifier",
- "start": 9760,
- "end": 9764,
+ "start": 9745,
+ "end": 9749,
"loc": {
"start": {
"line": 332,
@@ -21937,8 +21937,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 9769,
- "end": 9992,
+ "start": 9754,
+ "end": 9977,
"loc": {
"start": {
"line": 332,
@@ -21952,8 +21952,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 9773,
- "end": 9797,
+ "start": 9758,
+ "end": 9782,
"loc": {
"start": {
"line": 333,
@@ -21966,8 +21966,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 9773,
- "end": 9797,
+ "start": 9758,
+ "end": 9782,
"loc": {
"start": {
"line": 333,
@@ -21980,8 +21980,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 9773,
- "end": 9784,
+ "start": 9758,
+ "end": 9769,
"loc": {
"start": {
"line": 333,
@@ -21994,8 +21994,8 @@
},
"object": {
"type": "Identifier",
- "start": 9773,
- "end": 9780,
+ "start": 9758,
+ "end": 9765,
"loc": {
"start": {
"line": 333,
@@ -22011,8 +22011,8 @@
},
"property": {
"type": "Identifier",
- "start": 9781,
- "end": 9784,
+ "start": 9766,
+ "end": 9769,
"loc": {
"start": {
"line": 333,
@@ -22031,8 +22031,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 9785,
- "end": 9796,
+ "start": 9770,
+ "end": 9781,
"loc": {
"start": {
"line": 333,
@@ -22054,8 +22054,8 @@
},
{
"type": "ExpressionStatement",
- "start": 9800,
- "end": 9874,
+ "start": 9785,
+ "end": 9859,
"loc": {
"start": {
"line": 334,
@@ -22068,8 +22068,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 9800,
- "end": 9874,
+ "start": 9785,
+ "end": 9859,
"loc": {
"start": {
"line": 334,
@@ -22082,8 +22082,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 9800,
- "end": 9834,
+ "start": 9785,
+ "end": 9819,
"loc": {
"start": {
"line": 334,
@@ -22096,8 +22096,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 9800,
- "end": 9826,
+ "start": 9785,
+ "end": 9811,
"loc": {
"start": {
"line": 334,
@@ -22110,8 +22110,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 9800,
- "end": 9815,
+ "start": 9785,
+ "end": 9800,
"loc": {
"start": {
"line": 334,
@@ -22124,8 +22124,8 @@
},
"object": {
"type": "Identifier",
- "start": 9800,
- "end": 9807,
+ "start": 9785,
+ "end": 9792,
"loc": {
"start": {
"line": 334,
@@ -22141,8 +22141,8 @@
},
"property": {
"type": "Identifier",
- "start": 9808,
- "end": 9815,
+ "start": 9793,
+ "end": 9800,
"loc": {
"start": {
"line": 334,
@@ -22160,8 +22160,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 9816,
- "end": 9825,
+ "start": 9801,
+ "end": 9810,
"loc": {
"start": {
"line": 334,
@@ -22174,8 +22174,8 @@
},
"object": {
"type": "Identifier",
- "start": 9816,
- "end": 9822,
+ "start": 9801,
+ "end": 9807,
"loc": {
"start": {
"line": 334,
@@ -22191,8 +22191,8 @@
},
"property": {
"type": "Identifier",
- "start": 9823,
- "end": 9825,
+ "start": 9808,
+ "end": 9810,
"loc": {
"start": {
"line": 334,
@@ -22212,8 +22212,8 @@
},
"property": {
"type": "Identifier",
- "start": 9827,
- "end": 9834,
+ "start": 9812,
+ "end": 9819,
"loc": {
"start": {
"line": 334,
@@ -22232,8 +22232,8 @@
"arguments": [
{
"type": "MemberExpression",
- "start": 9835,
- "end": 9844,
+ "start": 9820,
+ "end": 9829,
"loc": {
"start": {
"line": 334,
@@ -22246,8 +22246,8 @@
},
"object": {
"type": "Identifier",
- "start": 9835,
- "end": 9839,
+ "start": 9820,
+ "end": 9824,
"loc": {
"start": {
"line": 334,
@@ -22263,8 +22263,8 @@
},
"property": {
"type": "Identifier",
- "start": 9840,
- "end": 9844,
+ "start": 9825,
+ "end": 9829,
"loc": {
"start": {
"line": 334,
@@ -22282,8 +22282,8 @@
},
{
"type": "MemberExpression",
- "start": 9846,
- "end": 9855,
+ "start": 9831,
+ "end": 9840,
"loc": {
"start": {
"line": 334,
@@ -22296,8 +22296,8 @@
},
"object": {
"type": "Identifier",
- "start": 9846,
- "end": 9850,
+ "start": 9831,
+ "end": 9835,
"loc": {
"start": {
"line": 334,
@@ -22313,8 +22313,8 @@
},
"property": {
"type": "Identifier",
- "start": 9851,
- "end": 9855,
+ "start": 9836,
+ "end": 9840,
"loc": {
"start": {
"line": 334,
@@ -22332,8 +22332,8 @@
},
{
"type": "MemberExpression",
- "start": 9857,
- "end": 9864,
+ "start": 9842,
+ "end": 9849,
"loc": {
"start": {
"line": 334,
@@ -22346,8 +22346,8 @@
},
"object": {
"type": "Identifier",
- "start": 9857,
- "end": 9861,
+ "start": 9842,
+ "end": 9846,
"loc": {
"start": {
"line": 334,
@@ -22363,8 +22363,8 @@
},
"property": {
"type": "Identifier",
- "start": 9862,
- "end": 9864,
+ "start": 9847,
+ "end": 9849,
"loc": {
"start": {
"line": 334,
@@ -22382,8 +22382,8 @@
},
{
"type": "MemberExpression",
- "start": 9866,
- "end": 9873,
+ "start": 9851,
+ "end": 9858,
"loc": {
"start": {
"line": 334,
@@ -22396,8 +22396,8 @@
},
"object": {
"type": "Identifier",
- "start": 9866,
- "end": 9870,
+ "start": 9851,
+ "end": 9855,
"loc": {
"start": {
"line": 334,
@@ -22413,8 +22413,8 @@
},
"property": {
"type": "Identifier",
- "start": 9871,
- "end": 9873,
+ "start": 9856,
+ "end": 9858,
"loc": {
"start": {
"line": 334,
@@ -22435,8 +22435,8 @@
},
{
"type": "ExpressionStatement",
- "start": 9877,
- "end": 9928,
+ "start": 9862,
+ "end": 9913,
"loc": {
"start": {
"line": 335,
@@ -22449,8 +22449,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 9877,
- "end": 9928,
+ "start": 9862,
+ "end": 9913,
"loc": {
"start": {
"line": 335,
@@ -22463,8 +22463,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 9877,
- "end": 9888,
+ "start": 9862,
+ "end": 9873,
"loc": {
"start": {
"line": 335,
@@ -22477,8 +22477,8 @@
},
"object": {
"type": "Identifier",
- "start": 9877,
- "end": 9883,
+ "start": 9862,
+ "end": 9868,
"loc": {
"start": {
"line": 335,
@@ -22494,8 +22494,8 @@
},
"property": {
"type": "Identifier",
- "start": 9884,
- "end": 9888,
+ "start": 9869,
+ "end": 9873,
"loc": {
"start": {
"line": 335,
@@ -22514,8 +22514,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 9889,
- "end": 9908,
+ "start": 9874,
+ "end": 9893,
"loc": {
"start": {
"line": 335,
@@ -22534,8 +22534,8 @@
},
{
"type": "ObjectExpression",
- "start": 9910,
- "end": 9927,
+ "start": 9895,
+ "end": 9912,
"loc": {
"start": {
"line": 335,
@@ -22549,8 +22549,8 @@
"properties": [
{
"type": "ObjectProperty",
- "start": 9912,
- "end": 9925,
+ "start": 9897,
+ "end": 9910,
"loc": {
"start": {
"line": 335,
@@ -22566,8 +22566,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 9912,
- "end": 9914,
+ "start": 9897,
+ "end": 9899,
"loc": {
"start": {
"line": 335,
@@ -22583,8 +22583,8 @@
},
"value": {
"type": "MemberExpression",
- "start": 9916,
- "end": 9925,
+ "start": 9901,
+ "end": 9910,
"loc": {
"start": {
"line": 335,
@@ -22597,8 +22597,8 @@
},
"object": {
"type": "Identifier",
- "start": 9916,
- "end": 9922,
+ "start": 9901,
+ "end": 9907,
"loc": {
"start": {
"line": 335,
@@ -22614,8 +22614,8 @@
},
"property": {
"type": "Identifier",
- "start": 9923,
- "end": 9925,
+ "start": 9908,
+ "end": 9910,
"loc": {
"start": {
"line": 335,
@@ -22639,8 +22639,8 @@
},
{
"type": "ExpressionStatement",
- "start": 9931,
- "end": 9970,
+ "start": 9916,
+ "end": 9955,
"loc": {
"start": {
"line": 336,
@@ -22653,8 +22653,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 9931,
- "end": 9970,
+ "start": 9916,
+ "end": 9955,
"loc": {
"start": {
"line": 336,
@@ -22667,8 +22667,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 9931,
- "end": 9942,
+ "start": 9916,
+ "end": 9927,
"loc": {
"start": {
"line": 336,
@@ -22681,8 +22681,8 @@
},
"object": {
"type": "Identifier",
- "start": 9931,
- "end": 9938,
+ "start": 9916,
+ "end": 9923,
"loc": {
"start": {
"line": 336,
@@ -22698,8 +22698,8 @@
},
"property": {
"type": "Identifier",
- "start": 9939,
- "end": 9942,
+ "start": 9924,
+ "end": 9927,
"loc": {
"start": {
"line": 336,
@@ -22718,8 +22718,8 @@
"arguments": [
{
"type": "MemberExpression",
- "start": 9943,
- "end": 9969,
+ "start": 9928,
+ "end": 9954,
"loc": {
"start": {
"line": 336,
@@ -22732,8 +22732,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 9943,
- "end": 9958,
+ "start": 9928,
+ "end": 9943,
"loc": {
"start": {
"line": 336,
@@ -22746,8 +22746,8 @@
},
"object": {
"type": "Identifier",
- "start": 9943,
- "end": 9950,
+ "start": 9928,
+ "end": 9935,
"loc": {
"start": {
"line": 336,
@@ -22763,8 +22763,8 @@
},
"property": {
"type": "Identifier",
- "start": 9951,
- "end": 9958,
+ "start": 9936,
+ "end": 9943,
"loc": {
"start": {
"line": 336,
@@ -22782,8 +22782,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 9959,
- "end": 9968,
+ "start": 9944,
+ "end": 9953,
"loc": {
"start": {
"line": 336,
@@ -22796,8 +22796,8 @@
},
"object": {
"type": "Identifier",
- "start": 9959,
- "end": 9965,
+ "start": 9944,
+ "end": 9950,
"loc": {
"start": {
"line": 336,
@@ -22813,8 +22813,8 @@
},
"property": {
"type": "Identifier",
- "start": 9966,
- "end": 9968,
+ "start": 9951,
+ "end": 9953,
"loc": {
"start": {
"line": 336,
@@ -22837,8 +22837,8 @@
},
{
"type": "ExpressionStatement",
- "start": 9973,
- "end": 9989,
+ "start": 9958,
+ "end": 9974,
"loc": {
"start": {
"line": 337,
@@ -22851,8 +22851,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 9973,
- "end": 9989,
+ "start": 9958,
+ "end": 9974,
"loc": {
"start": {
"line": 337,
@@ -22865,8 +22865,8 @@
},
"callee": {
"type": "Identifier",
- "start": 9973,
- "end": 9987,
+ "start": 9958,
+ "end": 9972,
"loc": {
"start": {
"line": 337,
@@ -22895,8 +22895,8 @@
{
"type": "CommentLine",
"value": " Respawn",
- "start": 9712,
- "end": 9722,
+ "start": 9697,
+ "end": 9707,
"loc": {
"start": {
"line": 331,
@@ -22913,8 +22913,8 @@
{
"type": "CommentLine",
"value": " Another player died",
- "start": 9996,
- "end": 10018,
+ "start": 9981,
+ "end": 10003,
"loc": {
"start": {
"line": 340,
@@ -22930,8 +22930,8 @@
},
{
"type": "ExpressionStatement",
- "start": 10020,
- "end": 10101,
+ "start": 10005,
+ "end": 10086,
"loc": {
"start": {
"line": 341,
@@ -22944,8 +22944,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 10020,
- "end": 10101,
+ "start": 10005,
+ "end": 10086,
"loc": {
"start": {
"line": 341,
@@ -22958,8 +22958,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 10020,
- "end": 10029,
+ "start": 10005,
+ "end": 10014,
"loc": {
"start": {
"line": 341,
@@ -22972,8 +22972,8 @@
},
"object": {
"type": "Identifier",
- "start": 10020,
- "end": 10026,
+ "start": 10005,
+ "end": 10011,
"loc": {
"start": {
"line": 341,
@@ -22990,8 +22990,8 @@
},
"property": {
"type": "Identifier",
- "start": 10027,
- "end": 10029,
+ "start": 10012,
+ "end": 10014,
"loc": {
"start": {
"line": 341,
@@ -23011,8 +23011,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 10030,
- "end": 10059,
+ "start": 10015,
+ "end": 10044,
"loc": {
"start": {
"line": 341,
@@ -23031,8 +23031,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 10061,
- "end": 10100,
+ "start": 10046,
+ "end": 10085,
"loc": {
"start": {
"line": 341,
@@ -23050,8 +23050,8 @@
"params": [
{
"type": "Identifier",
- "start": 10062,
- "end": 10066,
+ "start": 10047,
+ "end": 10051,
"loc": {
"start": {
"line": 341,
@@ -23068,8 +23068,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 10071,
- "end": 10100,
+ "start": 10056,
+ "end": 10085,
"loc": {
"start": {
"line": 341,
@@ -23087,8 +23087,8 @@
{
"type": "CommentLine",
"value": " Append to chat TODO",
- "start": 10075,
- "end": 10097,
+ "start": 10060,
+ "end": 10082,
"loc": {
"start": {
"line": 342,
@@ -23111,8 +23111,8 @@
{
"type": "CommentLine",
"value": " Another player died",
- "start": 9996,
- "end": 10018,
+ "start": 9981,
+ "end": 10003,
"loc": {
"start": {
"line": 340,
@@ -23129,8 +23129,8 @@
{
"type": "CommentLine",
"value": " Update timer",
- "start": 10104,
- "end": 10119,
+ "start": 10089,
+ "end": 10104,
"loc": {
"start": {
"line": 345,
@@ -23146,8 +23146,8 @@
},
{
"type": "ExpressionStatement",
- "start": 10121,
- "end": 10228,
+ "start": 10106,
+ "end": 10213,
"loc": {
"start": {
"line": 346,
@@ -23160,8 +23160,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 10121,
- "end": 10228,
+ "start": 10106,
+ "end": 10213,
"loc": {
"start": {
"line": 346,
@@ -23174,8 +23174,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 10121,
- "end": 10130,
+ "start": 10106,
+ "end": 10115,
"loc": {
"start": {
"line": 346,
@@ -23188,8 +23188,8 @@
},
"object": {
"type": "Identifier",
- "start": 10121,
- "end": 10127,
+ "start": 10106,
+ "end": 10112,
"loc": {
"start": {
"line": 346,
@@ -23206,8 +23206,8 @@
},
"property": {
"type": "Identifier",
- "start": 10128,
- "end": 10130,
+ "start": 10113,
+ "end": 10115,
"loc": {
"start": {
"line": 346,
@@ -23227,8 +23227,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 10131,
- "end": 10137,
+ "start": 10116,
+ "end": 10122,
"loc": {
"start": {
"line": 346,
@@ -23247,8 +23247,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 10139,
- "end": 10227,
+ "start": 10124,
+ "end": 10212,
"loc": {
"start": {
"line": 346,
@@ -23266,8 +23266,8 @@
"params": [
{
"type": "Identifier",
- "start": 10140,
- "end": 10144,
+ "start": 10125,
+ "end": 10129,
"loc": {
"start": {
"line": 346,
@@ -23284,8 +23284,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 10149,
- "end": 10227,
+ "start": 10134,
+ "end": 10212,
"loc": {
"start": {
"line": 346,
@@ -23299,8 +23299,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 10153,
- "end": 10224,
+ "start": 10138,
+ "end": 10209,
"loc": {
"start": {
"line": 347,
@@ -23313,8 +23313,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 10153,
- "end": 10224,
+ "start": 10138,
+ "end": 10209,
"loc": {
"start": {
"line": 347,
@@ -23328,8 +23328,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 10153,
- "end": 10195,
+ "start": 10138,
+ "end": 10180,
"loc": {
"start": {
"line": 347,
@@ -23342,8 +23342,8 @@
},
"object": {
"type": "CallExpression",
- "start": 10153,
- "end": 10185,
+ "start": 10138,
+ "end": 10170,
"loc": {
"start": {
"line": 347,
@@ -23356,8 +23356,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 10153,
- "end": 10176,
+ "start": 10138,
+ "end": 10161,
"loc": {
"start": {
"line": 347,
@@ -23370,8 +23370,8 @@
},
"object": {
"type": "Identifier",
- "start": 10153,
- "end": 10161,
+ "start": 10138,
+ "end": 10146,
"loc": {
"start": {
"line": 347,
@@ -23387,8 +23387,8 @@
},
"property": {
"type": "Identifier",
- "start": 10162,
- "end": 10176,
+ "start": 10147,
+ "end": 10161,
"loc": {
"start": {
"line": 347,
@@ -23407,8 +23407,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 10177,
- "end": 10184,
+ "start": 10162,
+ "end": 10169,
"loc": {
"start": {
"line": 347,
@@ -23429,8 +23429,8 @@
},
"property": {
"type": "Identifier",
- "start": 10186,
- "end": 10195,
+ "start": 10171,
+ "end": 10180,
"loc": {
"start": {
"line": 347,
@@ -23448,8 +23448,8 @@
},
"right": {
"type": "BinaryExpression",
- "start": 10198,
- "end": 10224,
+ "start": 10183,
+ "end": 10209,
"loc": {
"start": {
"line": 347,
@@ -23462,8 +23462,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 10198,
- "end": 10215,
+ "start": 10183,
+ "end": 10200,
"loc": {
"start": {
"line": 347,
@@ -23476,8 +23476,8 @@
},
"left": {
"type": "StringLiteral",
- "start": 10198,
- "end": 10203,
+ "start": 10183,
+ "end": 10188,
"loc": {
"start": {
"line": 347,
@@ -23497,8 +23497,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 10206,
- "end": 10215,
+ "start": 10191,
+ "end": 10200,
"loc": {
"start": {
"line": 347,
@@ -23511,8 +23511,8 @@
},
"object": {
"type": "Identifier",
- "start": 10206,
- "end": 10210,
+ "start": 10191,
+ "end": 10195,
"loc": {
"start": {
"line": 347,
@@ -23528,8 +23528,8 @@
},
"property": {
"type": "Identifier",
- "start": 10211,
- "end": 10215,
+ "start": 10196,
+ "end": 10200,
"loc": {
"start": {
"line": 347,
@@ -23549,8 +23549,8 @@
"operator": "+",
"right": {
"type": "StringLiteral",
- "start": 10218,
- "end": 10224,
+ "start": 10203,
+ "end": 10209,
"loc": {
"start": {
"line": 347,
@@ -23582,8 +23582,8 @@
{
"type": "CommentLine",
"value": " Update timer",
- "start": 10104,
- "end": 10119,
+ "start": 10089,
+ "end": 10104,
"loc": {
"start": {
"line": 345,
@@ -23600,8 +23600,8 @@
{
"type": "CommentLine",
"value": " Update scores",
- "start": 10231,
- "end": 10247,
+ "start": 10216,
+ "end": 10232,
"loc": {
"start": {
"line": 350,
@@ -23617,8 +23617,8 @@
},
{
"type": "ExpressionStatement",
- "start": 10249,
- "end": 10345,
+ "start": 10234,
+ "end": 10330,
"loc": {
"start": {
"line": 351,
@@ -23631,8 +23631,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 10249,
- "end": 10345,
+ "start": 10234,
+ "end": 10330,
"loc": {
"start": {
"line": 351,
@@ -23645,8 +23645,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 10249,
- "end": 10258,
+ "start": 10234,
+ "end": 10243,
"loc": {
"start": {
"line": 351,
@@ -23659,8 +23659,8 @@
},
"object": {
"type": "Identifier",
- "start": 10249,
- "end": 10255,
+ "start": 10234,
+ "end": 10240,
"loc": {
"start": {
"line": 351,
@@ -23677,8 +23677,8 @@
},
"property": {
"type": "Identifier",
- "start": 10256,
- "end": 10258,
+ "start": 10241,
+ "end": 10243,
"loc": {
"start": {
"line": 351,
@@ -23698,8 +23698,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 10259,
- "end": 10282,
+ "start": 10244,
+ "end": 10267,
"loc": {
"start": {
"line": 351,
@@ -23718,8 +23718,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 10284,
- "end": 10344,
+ "start": 10269,
+ "end": 10329,
"loc": {
"start": {
"line": 351,
@@ -23737,8 +23737,8 @@
"params": [
{
"type": "Identifier",
- "start": 10285,
- "end": 10289,
+ "start": 10270,
+ "end": 10274,
"loc": {
"start": {
"line": 351,
@@ -23755,8 +23755,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 10294,
- "end": 10344,
+ "start": 10279,
+ "end": 10329,
"loc": {
"start": {
"line": 351,
@@ -23770,8 +23770,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 10298,
- "end": 10341,
+ "start": 10283,
+ "end": 10326,
"loc": {
"start": {
"line": 352,
@@ -23784,8 +23784,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 10298,
- "end": 10341,
+ "start": 10283,
+ "end": 10326,
"loc": {
"start": {
"line": 352,
@@ -23798,8 +23798,8 @@
},
"callee": {
"type": "Identifier",
- "start": 10298,
- "end": 10310,
+ "start": 10283,
+ "end": 10295,
"loc": {
"start": {
"line": 352,
@@ -23816,8 +23816,8 @@
"arguments": [
{
"type": "MemberExpression",
- "start": 10311,
- "end": 10324,
+ "start": 10296,
+ "end": 10309,
"loc": {
"start": {
"line": 352,
@@ -23830,8 +23830,8 @@
},
"object": {
"type": "Identifier",
- "start": 10311,
- "end": 10315,
+ "start": 10296,
+ "end": 10300,
"loc": {
"start": {
"line": 352,
@@ -23847,8 +23847,8 @@
},
"property": {
"type": "Identifier",
- "start": 10316,
- "end": 10324,
+ "start": 10301,
+ "end": 10309,
"loc": {
"start": {
"line": 352,
@@ -23866,8 +23866,8 @@
},
{
"type": "MemberExpression",
- "start": 10326,
- "end": 10340,
+ "start": 10311,
+ "end": 10325,
"loc": {
"start": {
"line": 352,
@@ -23880,8 +23880,8 @@
},
"object": {
"type": "Identifier",
- "start": 10326,
- "end": 10330,
+ "start": 10311,
+ "end": 10315,
"loc": {
"start": {
"line": 352,
@@ -23897,8 +23897,8 @@
},
"property": {
"type": "Identifier",
- "start": 10331,
- "end": 10340,
+ "start": 10316,
+ "end": 10325,
"loc": {
"start": {
"line": 352,
@@ -23929,8 +23929,8 @@
{
"type": "CommentLine",
"value": " Update scores",
- "start": 10231,
- "end": 10247,
+ "start": 10216,
+ "end": 10232,
"loc": {
"start": {
"line": 350,
@@ -23947,8 +23947,8 @@
{
"type": "CommentLine",
"value": " A player has won",
- "start": 10348,
- "end": 10367,
+ "start": 10333,
+ "end": 10352,
"loc": {
"start": {
"line": 355,
@@ -23964,8 +23964,8 @@
},
{
"type": "ExpressionStatement",
- "start": 10369,
- "end": 10498,
+ "start": 10354,
+ "end": 10483,
"loc": {
"start": {
"line": 356,
@@ -23978,8 +23978,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 10369,
- "end": 10498,
+ "start": 10354,
+ "end": 10483,
"loc": {
"start": {
"line": 356,
@@ -23992,8 +23992,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 10369,
- "end": 10378,
+ "start": 10354,
+ "end": 10363,
"loc": {
"start": {
"line": 356,
@@ -24006,8 +24006,8 @@
},
"object": {
"type": "Identifier",
- "start": 10369,
- "end": 10375,
+ "start": 10354,
+ "end": 10360,
"loc": {
"start": {
"line": 356,
@@ -24024,8 +24024,8 @@
},
"property": {
"type": "Identifier",
- "start": 10376,
- "end": 10378,
+ "start": 10361,
+ "end": 10363,
"loc": {
"start": {
"line": 356,
@@ -24045,8 +24045,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 10379,
- "end": 10397,
+ "start": 10364,
+ "end": 10382,
"loc": {
"start": {
"line": 356,
@@ -24065,8 +24065,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 10399,
- "end": 10497,
+ "start": 10384,
+ "end": 10482,
"loc": {
"start": {
"line": 356,
@@ -24084,8 +24084,8 @@
"params": [
{
"type": "Identifier",
- "start": 10400,
- "end": 10404,
+ "start": 10385,
+ "end": 10389,
"loc": {
"start": {
"line": 356,
@@ -24102,8 +24102,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 10409,
- "end": 10497,
+ "start": 10394,
+ "end": 10482,
"loc": {
"start": {
"line": 356,
@@ -24117,8 +24117,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 10413,
- "end": 10429,
+ "start": 10398,
+ "end": 10414,
"loc": {
"start": {
"line": 357,
@@ -24131,8 +24131,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 10413,
- "end": 10429,
+ "start": 10398,
+ "end": 10414,
"loc": {
"start": {
"line": 357,
@@ -24145,8 +24145,8 @@
},
"callee": {
"type": "Identifier",
- "start": 10413,
- "end": 10422,
+ "start": 10398,
+ "end": 10407,
"loc": {
"start": {
"line": 357,
@@ -24163,8 +24163,8 @@
"arguments": [
{
"type": "BooleanLiteral",
- "start": 10423,
- "end": 10428,
+ "start": 10408,
+ "end": 10413,
"loc": {
"start": {
"line": 357,
@@ -24184,8 +24184,8 @@
{
"type": "CommentLine",
"value": " Disable keyboard controls and rendering",
- "start": 10430,
- "end": 10472,
+ "start": 10415,
+ "end": 10457,
"loc": {
"start": {
"line": 357,
@@ -24201,8 +24201,8 @@
},
{
"type": "ExpressionStatement",
- "start": 10475,
- "end": 10494,
+ "start": 10460,
+ "end": 10479,
"loc": {
"start": {
"line": 358,
@@ -24215,8 +24215,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 10475,
- "end": 10494,
+ "start": 10460,
+ "end": 10479,
"loc": {
"start": {
"line": 358,
@@ -24229,8 +24229,8 @@
},
"callee": {
"type": "Identifier",
- "start": 10475,
- "end": 10488,
+ "start": 10460,
+ "end": 10473,
"loc": {
"start": {
"line": 358,
@@ -24248,8 +24248,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 10489,
- "end": 10493,
+ "start": 10474,
+ "end": 10478,
"loc": {
"start": {
"line": 358,
@@ -24270,8 +24270,8 @@
{
"type": "CommentLine",
"value": " Disable keyboard controls and rendering",
- "start": 10430,
- "end": 10472,
+ "start": 10415,
+ "end": 10457,
"loc": {
"start": {
"line": 357,
@@ -24297,8 +24297,8 @@
{
"type": "CommentLine",
"value": " A player has won",
- "start": 10348,
- "end": 10367,
+ "start": 10333,
+ "end": 10352,
"loc": {
"start": {
"line": 355,
@@ -24315,8 +24315,8 @@
{
"type": "CommentLine",
"value": " Sync team colors",
- "start": 10501,
- "end": 10520,
+ "start": 10486,
+ "end": 10505,
"loc": {
"start": {
"line": 361,
@@ -24332,8 +24332,8 @@
},
{
"type": "ExpressionStatement",
- "start": 10522,
- "end": 10617,
+ "start": 10507,
+ "end": 10602,
"loc": {
"start": {
"line": 362,
@@ -24346,8 +24346,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 10522,
- "end": 10617,
+ "start": 10507,
+ "end": 10602,
"loc": {
"start": {
"line": 362,
@@ -24360,8 +24360,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 10522,
- "end": 10531,
+ "start": 10507,
+ "end": 10516,
"loc": {
"start": {
"line": 362,
@@ -24374,8 +24374,8 @@
},
"object": {
"type": "Identifier",
- "start": 10522,
- "end": 10528,
+ "start": 10507,
+ "end": 10513,
"loc": {
"start": {
"line": 362,
@@ -24392,8 +24392,8 @@
},
"property": {
"type": "Identifier",
- "start": 10529,
- "end": 10531,
+ "start": 10514,
+ "end": 10516,
"loc": {
"start": {
"line": 362,
@@ -24413,8 +24413,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 10532,
- "end": 10554,
+ "start": 10517,
+ "end": 10539,
"loc": {
"start": {
"line": 362,
@@ -24433,8 +24433,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 10556,
- "end": 10616,
+ "start": 10541,
+ "end": 10601,
"loc": {
"start": {
"line": 362,
@@ -24452,8 +24452,8 @@
"params": [
{
"type": "Identifier",
- "start": 10557,
- "end": 10561,
+ "start": 10542,
+ "end": 10546,
"loc": {
"start": {
"line": 362,
@@ -24470,8 +24470,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 10566,
- "end": 10616,
+ "start": 10551,
+ "end": 10601,
"loc": {
"start": {
"line": 362,
@@ -24485,8 +24485,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 10570,
- "end": 10587,
+ "start": 10555,
+ "end": 10572,
"loc": {
"start": {
"line": 363,
@@ -24499,8 +24499,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 10570,
- "end": 10587,
+ "start": 10555,
+ "end": 10572,
"loc": {
"start": {
"line": 363,
@@ -24514,8 +24514,8 @@
"operator": "=",
"left": {
"type": "Identifier",
- "start": 10570,
- "end": 10580,
+ "start": 10555,
+ "end": 10565,
"loc": {
"start": {
"line": 363,
@@ -24531,8 +24531,8 @@
},
"right": {
"type": "Identifier",
- "start": 10583,
- "end": 10587,
+ "start": 10568,
+ "end": 10572,
"loc": {
"start": {
"line": 363,
@@ -24550,8 +24550,8 @@
},
{
"type": "ExpressionStatement",
- "start": 10590,
- "end": 10613,
+ "start": 10575,
+ "end": 10598,
"loc": {
"start": {
"line": 364,
@@ -24564,8 +24564,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 10590,
- "end": 10613,
+ "start": 10575,
+ "end": 10598,
"loc": {
"start": {
"line": 364,
@@ -24578,8 +24578,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 10590,
- "end": 10601,
+ "start": 10575,
+ "end": 10586,
"loc": {
"start": {
"line": 364,
@@ -24592,8 +24592,8 @@
},
"object": {
"type": "Identifier",
- "start": 10590,
- "end": 10597,
+ "start": 10575,
+ "end": 10582,
"loc": {
"start": {
"line": 364,
@@ -24609,8 +24609,8 @@
},
"property": {
"type": "Identifier",
- "start": 10598,
- "end": 10601,
+ "start": 10583,
+ "end": 10586,
"loc": {
"start": {
"line": 364,
@@ -24629,8 +24629,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 10602,
- "end": 10612,
+ "start": 10587,
+ "end": 10597,
"loc": {
"start": {
"line": 364,
@@ -24659,8 +24659,8 @@
{
"type": "CommentLine",
"value": " Sync team colors",
- "start": 10501,
- "end": 10520,
+ "start": 10486,
+ "end": 10505,
"loc": {
"start": {
"line": 361,
@@ -24677,8 +24677,8 @@
{
"type": "CommentLine",
"value": " Change texture when a tile has been captured",
- "start": 10620,
- "end": 10667,
+ "start": 10605,
+ "end": 10652,
"loc": {
"start": {
"line": 367,
@@ -24694,8 +24694,8 @@
},
{
"type": "ExpressionStatement",
- "start": 10669,
- "end": 10977,
+ "start": 10654,
+ "end": 10962,
"loc": {
"start": {
"line": 368,
@@ -24708,8 +24708,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 10669,
- "end": 10977,
+ "start": 10654,
+ "end": 10962,
"loc": {
"start": {
"line": 368,
@@ -24722,8 +24722,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 10669,
- "end": 10678,
+ "start": 10654,
+ "end": 10663,
"loc": {
"start": {
"line": 368,
@@ -24736,8 +24736,8 @@
},
"object": {
"type": "Identifier",
- "start": 10669,
- "end": 10675,
+ "start": 10654,
+ "end": 10660,
"loc": {
"start": {
"line": 368,
@@ -24754,8 +24754,8 @@
},
"property": {
"type": "Identifier",
- "start": 10676,
- "end": 10678,
+ "start": 10661,
+ "end": 10663,
"loc": {
"start": {
"line": 368,
@@ -24775,8 +24775,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 10679,
- "end": 10702,
+ "start": 10664,
+ "end": 10687,
"loc": {
"start": {
"line": 368,
@@ -24795,8 +24795,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 10704,
- "end": 10976,
+ "start": 10689,
+ "end": 10961,
"loc": {
"start": {
"line": 368,
@@ -24814,8 +24814,8 @@
"params": [
{
"type": "Identifier",
- "start": 10705,
- "end": 10709,
+ "start": 10690,
+ "end": 10694,
"loc": {
"start": {
"line": 368,
@@ -24832,8 +24832,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 10714,
- "end": 10976,
+ "start": 10699,
+ "end": 10961,
"loc": {
"start": {
"line": 368,
@@ -24847,8 +24847,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 10718,
- "end": 10892,
+ "start": 10703,
+ "end": 10877,
"loc": {
"start": {
"line": 369,
@@ -24861,8 +24861,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 10718,
- "end": 10892,
+ "start": 10703,
+ "end": 10877,
"loc": {
"start": {
"line": 369,
@@ -24876,8 +24876,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 10718,
- "end": 10780,
+ "start": 10703,
+ "end": 10765,
"loc": {
"start": {
"line": 369,
@@ -24890,8 +24890,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 10718,
- "end": 10772,
+ "start": 10703,
+ "end": 10757,
"loc": {
"start": {
"line": 369,
@@ -24904,8 +24904,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 10718,
- "end": 10731,
+ "start": 10703,
+ "end": 10716,
"loc": {
"start": {
"line": 369,
@@ -24918,8 +24918,8 @@
},
"object": {
"type": "Identifier",
- "start": 10718,
- "end": 10725,
+ "start": 10703,
+ "end": 10710,
"loc": {
"start": {
"line": 369,
@@ -24935,8 +24935,8 @@
},
"property": {
"type": "Identifier",
- "start": 10726,
- "end": 10731,
+ "start": 10711,
+ "end": 10716,
"loc": {
"start": {
"line": 369,
@@ -24954,8 +24954,8 @@
},
"property": {
"type": "BinaryExpression",
- "start": 10732,
- "end": 10771,
+ "start": 10717,
+ "end": 10756,
"loc": {
"start": {
"line": 369,
@@ -24968,8 +24968,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 10732,
- "end": 10758,
+ "start": 10717,
+ "end": 10743,
"loc": {
"start": {
"line": 369,
@@ -24982,8 +24982,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 10732,
- "end": 10752,
+ "start": 10717,
+ "end": 10737,
"loc": {
"start": {
"line": 369,
@@ -24996,8 +24996,8 @@
},
"left": {
"type": "StringLiteral",
- "start": 10732,
- "end": 10739,
+ "start": 10717,
+ "end": 10724,
"loc": {
"start": {
"line": 369,
@@ -25017,8 +25017,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 10742,
- "end": 10752,
+ "start": 10727,
+ "end": 10737,
"loc": {
"start": {
"line": 369,
@@ -25031,8 +25031,8 @@
},
"object": {
"type": "Identifier",
- "start": 10742,
- "end": 10746,
+ "start": 10727,
+ "end": 10731,
"loc": {
"start": {
"line": 369,
@@ -25048,8 +25048,8 @@
},
"property": {
"type": "Identifier",
- "start": 10747,
- "end": 10752,
+ "start": 10732,
+ "end": 10737,
"loc": {
"start": {
"line": 369,
@@ -25069,8 +25069,8 @@
"operator": "+",
"right": {
"type": "StringLiteral",
- "start": 10755,
- "end": 10758,
+ "start": 10740,
+ "end": 10743,
"loc": {
"start": {
"line": 369,
@@ -25091,8 +25091,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 10761,
- "end": 10771,
+ "start": 10746,
+ "end": 10756,
"loc": {
"start": {
"line": 369,
@@ -25105,8 +25105,8 @@
},
"object": {
"type": "Identifier",
- "start": 10761,
- "end": 10765,
+ "start": 10746,
+ "end": 10750,
"loc": {
"start": {
"line": 369,
@@ -25122,8 +25122,8 @@
},
"property": {
"type": "Identifier",
- "start": 10766,
- "end": 10771,
+ "start": 10751,
+ "end": 10756,
"loc": {
"start": {
"line": 369,
@@ -25144,8 +25144,8 @@
},
"property": {
"type": "Identifier",
- "start": 10773,
- "end": 10780,
+ "start": 10758,
+ "end": 10765,
"loc": {
"start": {
"line": 369,
@@ -25163,8 +25163,8 @@
},
"right": {
"type": "MemberExpression",
- "start": 10784,
- "end": 10891,
+ "start": 10769,
+ "end": 10876,
"loc": {
"start": {
"line": 369,
@@ -25177,8 +25177,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 10784,
- "end": 10804,
+ "start": 10769,
+ "end": 10789,
"loc": {
"start": {
"line": 369,
@@ -25191,8 +25191,8 @@
},
"object": {
"type": "Identifier",
- "start": 10784,
- "end": 10795,
+ "start": 10769,
+ "end": 10780,
"loc": {
"start": {
"line": 369,
@@ -25208,8 +25208,8 @@
},
"property": {
"type": "Identifier",
- "start": 10796,
- "end": 10804,
+ "start": 10781,
+ "end": 10789,
"loc": {
"start": {
"line": 369,
@@ -25227,8 +25227,8 @@
},
"property": {
"type": "BinaryExpression",
- "start": 10805,
- "end": 10890,
+ "start": 10790,
+ "end": 10875,
"loc": {
"start": {
"line": 369,
@@ -25241,8 +25241,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 10805,
- "end": 10820,
+ "start": 10790,
+ "end": 10805,
"loc": {
"start": {
"line": 369,
@@ -25255,8 +25255,8 @@
},
"object": {
"type": "Identifier",
- "start": 10805,
- "end": 10809,
+ "start": 10790,
+ "end": 10794,
"loc": {
"start": {
"line": 369,
@@ -25272,8 +25272,8 @@
},
"property": {
"type": "Identifier",
- "start": 10810,
- "end": 10820,
+ "start": 10795,
+ "end": 10805,
"loc": {
"start": {
"line": 369,
@@ -25292,8 +25292,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 10823,
- "end": 10890,
+ "start": 10808,
+ "end": 10875,
"loc": {
"start": {
"line": 369,
@@ -25306,8 +25306,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 10823,
- "end": 10882,
+ "start": 10808,
+ "end": 10867,
"loc": {
"start": {
"line": 369,
@@ -25320,8 +25320,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 10823,
- "end": 10877,
+ "start": 10808,
+ "end": 10862,
"loc": {
"start": {
"line": 369,
@@ -25334,8 +25334,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 10823,
- "end": 10836,
+ "start": 10808,
+ "end": 10821,
"loc": {
"start": {
"line": 369,
@@ -25348,8 +25348,8 @@
},
"object": {
"type": "Identifier",
- "start": 10823,
- "end": 10830,
+ "start": 10808,
+ "end": 10815,
"loc": {
"start": {
"line": 369,
@@ -25365,8 +25365,8 @@
},
"property": {
"type": "Identifier",
- "start": 10831,
- "end": 10836,
+ "start": 10816,
+ "end": 10821,
"loc": {
"start": {
"line": 369,
@@ -25384,8 +25384,8 @@
},
"property": {
"type": "BinaryExpression",
- "start": 10837,
- "end": 10876,
+ "start": 10822,
+ "end": 10861,
"loc": {
"start": {
"line": 369,
@@ -25398,8 +25398,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 10837,
- "end": 10863,
+ "start": 10822,
+ "end": 10848,
"loc": {
"start": {
"line": 369,
@@ -25412,8 +25412,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 10837,
- "end": 10857,
+ "start": 10822,
+ "end": 10842,
"loc": {
"start": {
"line": 369,
@@ -25426,8 +25426,8 @@
},
"left": {
"type": "StringLiteral",
- "start": 10837,
- "end": 10844,
+ "start": 10822,
+ "end": 10829,
"loc": {
"start": {
"line": 369,
@@ -25447,8 +25447,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 10847,
- "end": 10857,
+ "start": 10832,
+ "end": 10842,
"loc": {
"start": {
"line": 369,
@@ -25461,8 +25461,8 @@
},
"object": {
"type": "Identifier",
- "start": 10847,
- "end": 10851,
+ "start": 10832,
+ "end": 10836,
"loc": {
"start": {
"line": 369,
@@ -25478,8 +25478,8 @@
},
"property": {
"type": "Identifier",
- "start": 10852,
- "end": 10857,
+ "start": 10837,
+ "end": 10842,
"loc": {
"start": {
"line": 369,
@@ -25499,8 +25499,8 @@
"operator": "+",
"right": {
"type": "StringLiteral",
- "start": 10860,
- "end": 10863,
+ "start": 10845,
+ "end": 10848,
"loc": {
"start": {
"line": 369,
@@ -25521,8 +25521,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 10866,
- "end": 10876,
+ "start": 10851,
+ "end": 10861,
"loc": {
"start": {
"line": 369,
@@ -25535,8 +25535,8 @@
},
"object": {
"type": "Identifier",
- "start": 10866,
- "end": 10870,
+ "start": 10851,
+ "end": 10855,
"loc": {
"start": {
"line": 369,
@@ -25552,8 +25552,8 @@
},
"property": {
"type": "Identifier",
- "start": 10871,
- "end": 10876,
+ "start": 10856,
+ "end": 10861,
"loc": {
"start": {
"line": 369,
@@ -25574,8 +25574,8 @@
},
"property": {
"type": "Identifier",
- "start": 10878,
- "end": 10882,
+ "start": 10863,
+ "end": 10867,
"loc": {
"start": {
"line": 369,
@@ -25593,8 +25593,8 @@
},
"property": {
"type": "Identifier",
- "start": 10883,
- "end": 10890,
+ "start": 10868,
+ "end": 10875,
"loc": {
"start": {
"line": 369,
@@ -25614,7 +25614,7 @@
"computed": true,
"extra": {
"parenthesized": true,
- "parenStart": 10783
+ "parenStart": 10768
}
},
"trailingComments": null
@@ -25623,8 +25623,8 @@
{
"type": "CommentLine",
"value": " console.log(objects.tiles['tile_' + data.tileY + '_' + data.tileX].texture)",
- "start": 10895,
- "end": 10973,
+ "start": 10880,
+ "end": 10958,
"loc": {
"start": {
"line": 370,
@@ -25650,8 +25650,8 @@
{
"type": "CommentLine",
"value": " Change texture when a tile has been captured",
- "start": 10620,
- "end": 10667,
+ "start": 10605,
+ "end": 10652,
"loc": {
"start": {
"line": 367,
@@ -25668,8 +25668,8 @@
{
"type": "CommentLine",
"value": " Tile health changed",
- "start": 10980,
- "end": 11002,
+ "start": 10965,
+ "end": 10987,
"loc": {
"start": {
"line": 373,
@@ -25685,8 +25685,8 @@
},
{
"type": "ExpressionStatement",
- "start": 11004,
- "end": 11139,
+ "start": 10989,
+ "end": 11124,
"loc": {
"start": {
"line": 374,
@@ -25699,8 +25699,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 11004,
- "end": 11139,
+ "start": 10989,
+ "end": 11124,
"loc": {
"start": {
"line": 374,
@@ -25713,8 +25713,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 11004,
- "end": 11013,
+ "start": 10989,
+ "end": 10998,
"loc": {
"start": {
"line": 374,
@@ -25727,8 +25727,8 @@
},
"object": {
"type": "Identifier",
- "start": 11004,
- "end": 11010,
+ "start": 10989,
+ "end": 10995,
"loc": {
"start": {
"line": 374,
@@ -25745,8 +25745,8 @@
},
"property": {
"type": "Identifier",
- "start": 11011,
- "end": 11013,
+ "start": 10996,
+ "end": 10998,
"loc": {
"start": {
"line": 374,
@@ -25766,8 +25766,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 11014,
- "end": 11036,
+ "start": 10999,
+ "end": 11021,
"loc": {
"start": {
"line": 374,
@@ -25786,8 +25786,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 11038,
- "end": 11138,
+ "start": 11023,
+ "end": 11123,
"loc": {
"start": {
"line": 374,
@@ -25805,8 +25805,8 @@
"params": [
{
"type": "Identifier",
- "start": 11039,
- "end": 11043,
+ "start": 11024,
+ "end": 11028,
"loc": {
"start": {
"line": 374,
@@ -25823,8 +25823,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 11048,
- "end": 11138,
+ "start": 11033,
+ "end": 11123,
"loc": {
"start": {
"line": 374,
@@ -25838,8 +25838,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 11052,
- "end": 11135,
+ "start": 11037,
+ "end": 11120,
"loc": {
"start": {
"line": 375,
@@ -25852,8 +25852,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 11052,
- "end": 11135,
+ "start": 11037,
+ "end": 11120,
"loc": {
"start": {
"line": 375,
@@ -25866,8 +25866,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 11052,
- "end": 11119,
+ "start": 11037,
+ "end": 11104,
"loc": {
"start": {
"line": 375,
@@ -25880,8 +25880,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 11052,
- "end": 11106,
+ "start": 11037,
+ "end": 11091,
"loc": {
"start": {
"line": 375,
@@ -25894,8 +25894,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 11052,
- "end": 11065,
+ "start": 11037,
+ "end": 11050,
"loc": {
"start": {
"line": 375,
@@ -25908,8 +25908,8 @@
},
"object": {
"type": "Identifier",
- "start": 11052,
- "end": 11059,
+ "start": 11037,
+ "end": 11044,
"loc": {
"start": {
"line": 375,
@@ -25925,8 +25925,8 @@
},
"property": {
"type": "Identifier",
- "start": 11060,
- "end": 11065,
+ "start": 11045,
+ "end": 11050,
"loc": {
"start": {
"line": 375,
@@ -25944,8 +25944,8 @@
},
"property": {
"type": "BinaryExpression",
- "start": 11066,
- "end": 11105,
+ "start": 11051,
+ "end": 11090,
"loc": {
"start": {
"line": 375,
@@ -25958,8 +25958,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 11066,
- "end": 11092,
+ "start": 11051,
+ "end": 11077,
"loc": {
"start": {
"line": 375,
@@ -25972,8 +25972,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 11066,
- "end": 11086,
+ "start": 11051,
+ "end": 11071,
"loc": {
"start": {
"line": 375,
@@ -25986,8 +25986,8 @@
},
"left": {
"type": "StringLiteral",
- "start": 11066,
- "end": 11073,
+ "start": 11051,
+ "end": 11058,
"loc": {
"start": {
"line": 375,
@@ -26007,8 +26007,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 11076,
- "end": 11086,
+ "start": 11061,
+ "end": 11071,
"loc": {
"start": {
"line": 375,
@@ -26021,8 +26021,8 @@
},
"object": {
"type": "Identifier",
- "start": 11076,
- "end": 11080,
+ "start": 11061,
+ "end": 11065,
"loc": {
"start": {
"line": 375,
@@ -26038,8 +26038,8 @@
},
"property": {
"type": "Identifier",
- "start": 11081,
- "end": 11086,
+ "start": 11066,
+ "end": 11071,
"loc": {
"start": {
"line": 375,
@@ -26059,8 +26059,8 @@
"operator": "+",
"right": {
"type": "StringLiteral",
- "start": 11089,
- "end": 11092,
+ "start": 11074,
+ "end": 11077,
"loc": {
"start": {
"line": 375,
@@ -26081,8 +26081,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 11095,
- "end": 11105,
+ "start": 11080,
+ "end": 11090,
"loc": {
"start": {
"line": 375,
@@ -26095,8 +26095,8 @@
},
"object": {
"type": "Identifier",
- "start": 11095,
- "end": 11099,
+ "start": 11080,
+ "end": 11084,
"loc": {
"start": {
"line": 375,
@@ -26112,8 +26112,8 @@
},
"property": {
"type": "Identifier",
- "start": 11100,
- "end": 11105,
+ "start": 11085,
+ "end": 11090,
"loc": {
"start": {
"line": 375,
@@ -26134,8 +26134,8 @@
},
"property": {
"type": "Identifier",
- "start": 11107,
- "end": 11119,
+ "start": 11092,
+ "end": 11104,
"loc": {
"start": {
"line": 375,
@@ -26154,8 +26154,8 @@
"arguments": [
{
"type": "MemberExpression",
- "start": 11120,
- "end": 11134,
+ "start": 11105,
+ "end": 11119,
"loc": {
"start": {
"line": 375,
@@ -26168,8 +26168,8 @@
},
"object": {
"type": "Identifier",
- "start": 11120,
- "end": 11124,
+ "start": 11105,
+ "end": 11109,
"loc": {
"start": {
"line": 375,
@@ -26185,8 +26185,8 @@
},
"property": {
"type": "Identifier",
- "start": 11125,
- "end": 11134,
+ "start": 11110,
+ "end": 11119,
"loc": {
"start": {
"line": 375,
@@ -26216,8 +26216,8 @@
{
"type": "CommentLine",
"value": " Tile health changed",
- "start": 10980,
- "end": 11002,
+ "start": 10965,
+ "end": 10987,
"loc": {
"start": {
"line": 373,
@@ -26239,8 +26239,8 @@
{
"type": "CommentBlock",
"value": "*\n * Sets up socket information transfer listeners.\n * Run in setupSocket().\n * @param {*} chat The chat client instance to be used for notifications\n ",
- "start": 8684,
- "end": 8839,
+ "start": 8669,
+ "end": 8824,
"loc": {
"start": {
"line": 289,
@@ -26257,8 +26257,8 @@
{
"type": "CommentBlock",
"value": "\n ********************\n * Helper Functions *\n ********************\n",
- "start": 11143,
- "end": 11214,
+ "start": 11128,
+ "end": 11199,
"loc": {
"start": {
"line": 379,
@@ -26273,8 +26273,8 @@
{
"type": "CommentLine",
"value": " Helper function for serverSendObjectRemoval",
- "start": 11216,
- "end": 11262,
+ "start": 11201,
+ "end": 11247,
"loc": {
"start": {
"line": 385,
@@ -26290,8 +26290,8 @@
},
{
"type": "FunctionDeclaration",
- "start": 11263,
- "end": 11546,
+ "start": 11248,
+ "end": 11531,
"loc": {
"start": {
"line": 386,
@@ -26304,8 +26304,8 @@
},
"id": {
"type": "Identifier",
- "start": 11272,
- "end": 11284,
+ "start": 11257,
+ "end": 11269,
"loc": {
"start": {
"line": 386,
@@ -26326,8 +26326,8 @@
"params": [
{
"type": "Identifier",
- "start": 11286,
- "end": 11290,
+ "start": 11271,
+ "end": 11275,
"loc": {
"start": {
"line": 386,
@@ -26344,8 +26344,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 11292,
- "end": 11546,
+ "start": 11277,
+ "end": 11531,
"loc": {
"start": {
"line": 386,
@@ -26359,8 +26359,8 @@
"body": [
{
"type": "IfStatement",
- "start": 11295,
- "end": 11544,
+ "start": 11280,
+ "end": 11529,
"loc": {
"start": {
"line": 387,
@@ -26373,8 +26373,8 @@
},
"test": {
"type": "LogicalExpression",
- "start": 11299,
- "end": 11380,
+ "start": 11284,
+ "end": 11365,
"loc": {
"start": {
"line": 387,
@@ -26387,8 +26387,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 11299,
- "end": 11340,
+ "start": 11284,
+ "end": 11325,
"loc": {
"start": {
"line": 387,
@@ -26401,8 +26401,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 11299,
- "end": 11326,
+ "start": 11284,
+ "end": 11311,
"loc": {
"start": {
"line": 387,
@@ -26415,8 +26415,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 11299,
- "end": 11317,
+ "start": 11284,
+ "end": 11302,
"loc": {
"start": {
"line": 387,
@@ -26429,8 +26429,8 @@
},
"object": {
"type": "Identifier",
- "start": 11299,
- "end": 11306,
+ "start": 11284,
+ "end": 11291,
"loc": {
"start": {
"line": 387,
@@ -26446,8 +26446,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 11307,
- "end": 11316,
+ "start": 11292,
+ "end": 11301,
"loc": {
"start": {
"line": 387,
@@ -26460,8 +26460,8 @@
},
"object": {
"type": "Identifier",
- "start": 11307,
- "end": 11311,
+ "start": 11292,
+ "end": 11296,
"loc": {
"start": {
"line": 387,
@@ -26477,8 +26477,8 @@
},
"property": {
"type": "Identifier",
- "start": 11312,
- "end": 11316,
+ "start": 11297,
+ "end": 11301,
"loc": {
"start": {
"line": 387,
@@ -26498,8 +26498,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 11318,
- "end": 11325,
+ "start": 11303,
+ "end": 11310,
"loc": {
"start": {
"line": 387,
@@ -26512,8 +26512,8 @@
},
"object": {
"type": "Identifier",
- "start": 11318,
- "end": 11322,
+ "start": 11303,
+ "end": 11307,
"loc": {
"start": {
"line": 387,
@@ -26529,8 +26529,8 @@
},
"property": {
"type": "Identifier",
- "start": 11323,
- "end": 11325,
+ "start": 11308,
+ "end": 11310,
"loc": {
"start": {
"line": 387,
@@ -26551,8 +26551,8 @@
"operator": "!==",
"right": {
"type": "Identifier",
- "start": 11331,
- "end": 11340,
+ "start": 11316,
+ "end": 11325,
"loc": {
"start": {
"line": 387,
@@ -26570,8 +26570,8 @@
"operator": "&&",
"right": {
"type": "BinaryExpression",
- "start": 11344,
- "end": 11380,
+ "start": 11329,
+ "end": 11365,
"loc": {
"start": {
"line": 387,
@@ -26584,8 +26584,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 11344,
- "end": 11371,
+ "start": 11329,
+ "end": 11356,
"loc": {
"start": {
"line": 387,
@@ -26598,8 +26598,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 11344,
- "end": 11362,
+ "start": 11329,
+ "end": 11347,
"loc": {
"start": {
"line": 387,
@@ -26612,8 +26612,8 @@
},
"object": {
"type": "Identifier",
- "start": 11344,
- "end": 11351,
+ "start": 11329,
+ "end": 11336,
"loc": {
"start": {
"line": 387,
@@ -26629,8 +26629,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 11352,
- "end": 11361,
+ "start": 11337,
+ "end": 11346,
"loc": {
"start": {
"line": 387,
@@ -26643,8 +26643,8 @@
},
"object": {
"type": "Identifier",
- "start": 11352,
- "end": 11356,
+ "start": 11337,
+ "end": 11341,
"loc": {
"start": {
"line": 387,
@@ -26660,8 +26660,8 @@
},
"property": {
"type": "Identifier",
- "start": 11357,
- "end": 11361,
+ "start": 11342,
+ "end": 11346,
"loc": {
"start": {
"line": 387,
@@ -26681,8 +26681,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 11363,
- "end": 11370,
+ "start": 11348,
+ "end": 11355,
"loc": {
"start": {
"line": 387,
@@ -26695,8 +26695,8 @@
},
"object": {
"type": "Identifier",
- "start": 11363,
- "end": 11367,
+ "start": 11348,
+ "end": 11352,
"loc": {
"start": {
"line": 387,
@@ -26712,8 +26712,8 @@
},
"property": {
"type": "Identifier",
- "start": 11368,
- "end": 11370,
+ "start": 11353,
+ "end": 11355,
"loc": {
"start": {
"line": 387,
@@ -26734,8 +26734,8 @@
"operator": "!==",
"right": {
"type": "NullLiteral",
- "start": 11376,
- "end": 11380,
+ "start": 11361,
+ "end": 11365,
"loc": {
"start": {
"line": 387,
@@ -26751,8 +26751,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 11382,
- "end": 11518,
+ "start": 11367,
+ "end": 11503,
"loc": {
"start": {
"line": 387,
@@ -26766,8 +26766,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 11386,
- "end": 11420,
+ "start": 11371,
+ "end": 11405,
"loc": {
"start": {
"line": 388,
@@ -26780,8 +26780,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 11386,
- "end": 11420,
+ "start": 11371,
+ "end": 11405,
"loc": {
"start": {
"line": 388,
@@ -26794,8 +26794,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 11386,
- "end": 11418,
+ "start": 11371,
+ "end": 11403,
"loc": {
"start": {
"line": 388,
@@ -26808,8 +26808,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 11386,
- "end": 11413,
+ "start": 11371,
+ "end": 11398,
"loc": {
"start": {
"line": 388,
@@ -26822,8 +26822,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 11386,
- "end": 11404,
+ "start": 11371,
+ "end": 11389,
"loc": {
"start": {
"line": 388,
@@ -26836,8 +26836,8 @@
},
"object": {
"type": "Identifier",
- "start": 11386,
- "end": 11393,
+ "start": 11371,
+ "end": 11378,
"loc": {
"start": {
"line": 388,
@@ -26853,8 +26853,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 11394,
- "end": 11403,
+ "start": 11379,
+ "end": 11388,
"loc": {
"start": {
"line": 388,
@@ -26867,8 +26867,8 @@
},
"object": {
"type": "Identifier",
- "start": 11394,
- "end": 11398,
+ "start": 11379,
+ "end": 11383,
"loc": {
"start": {
"line": 388,
@@ -26884,8 +26884,8 @@
},
"property": {
"type": "Identifier",
- "start": 11399,
- "end": 11403,
+ "start": 11384,
+ "end": 11388,
"loc": {
"start": {
"line": 388,
@@ -26905,8 +26905,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 11405,
- "end": 11412,
+ "start": 11390,
+ "end": 11397,
"loc": {
"start": {
"line": 388,
@@ -26919,8 +26919,8 @@
},
"object": {
"type": "Identifier",
- "start": 11405,
- "end": 11409,
+ "start": 11390,
+ "end": 11394,
"loc": {
"start": {
"line": 388,
@@ -26936,8 +26936,8 @@
},
"property": {
"type": "Identifier",
- "start": 11410,
- "end": 11412,
+ "start": 11395,
+ "end": 11397,
"loc": {
"start": {
"line": 388,
@@ -26957,8 +26957,8 @@
},
"property": {
"type": "Identifier",
- "start": 11414,
- "end": 11418,
+ "start": 11399,
+ "end": 11403,
"loc": {
"start": {
"line": 388,
@@ -26979,8 +26979,8 @@
},
{
"type": "ExpressionStatement",
- "start": 11423,
- "end": 11460,
+ "start": 11408,
+ "end": 11445,
"loc": {
"start": {
"line": 389,
@@ -26993,8 +26993,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 11423,
- "end": 11460,
+ "start": 11408,
+ "end": 11445,
"loc": {
"start": {
"line": 389,
@@ -27007,8 +27007,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 11423,
- "end": 11458,
+ "start": 11408,
+ "end": 11443,
"loc": {
"start": {
"line": 389,
@@ -27021,8 +27021,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 11423,
- "end": 11450,
+ "start": 11408,
+ "end": 11435,
"loc": {
"start": {
"line": 389,
@@ -27035,8 +27035,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 11423,
- "end": 11441,
+ "start": 11408,
+ "end": 11426,
"loc": {
"start": {
"line": 389,
@@ -27049,8 +27049,8 @@
},
"object": {
"type": "Identifier",
- "start": 11423,
- "end": 11430,
+ "start": 11408,
+ "end": 11415,
"loc": {
"start": {
"line": 389,
@@ -27066,8 +27066,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 11431,
- "end": 11440,
+ "start": 11416,
+ "end": 11425,
"loc": {
"start": {
"line": 389,
@@ -27080,8 +27080,8 @@
},
"object": {
"type": "Identifier",
- "start": 11431,
- "end": 11435,
+ "start": 11416,
+ "end": 11420,
"loc": {
"start": {
"line": 389,
@@ -27097,8 +27097,8 @@
},
"property": {
"type": "Identifier",
- "start": 11436,
- "end": 11440,
+ "start": 11421,
+ "end": 11425,
"loc": {
"start": {
"line": 389,
@@ -27118,8 +27118,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 11442,
- "end": 11449,
+ "start": 11427,
+ "end": 11434,
"loc": {
"start": {
"line": 389,
@@ -27132,8 +27132,8 @@
},
"object": {
"type": "Identifier",
- "start": 11442,
- "end": 11446,
+ "start": 11427,
+ "end": 11431,
"loc": {
"start": {
"line": 389,
@@ -27149,8 +27149,8 @@
},
"property": {
"type": "Identifier",
- "start": 11447,
- "end": 11449,
+ "start": 11432,
+ "end": 11434,
"loc": {
"start": {
"line": 389,
@@ -27170,8 +27170,8 @@
},
"property": {
"type": "Identifier",
- "start": 11451,
- "end": 11458,
+ "start": 11436,
+ "end": 11443,
"loc": {
"start": {
"line": 389,
@@ -27194,8 +27194,8 @@
{
"type": "CommentLine",
"value": " delete objects[data.type][data.id];",
- "start": 11463,
- "end": 11501,
+ "start": 11448,
+ "end": 11486,
"loc": {
"start": {
"line": 390,
@@ -27211,8 +27211,8 @@
},
{
"type": "ReturnStatement",
- "start": 11504,
- "end": 11515,
+ "start": 11489,
+ "end": 11500,
"loc": {
"start": {
"line": 391,
@@ -27225,8 +27225,8 @@
},
"argument": {
"type": "BooleanLiteral",
- "start": 11511,
- "end": 11515,
+ "start": 11496,
+ "end": 11500,
"loc": {
"start": {
"line": 391,
@@ -27244,8 +27244,8 @@
{
"type": "CommentLine",
"value": " delete objects[data.type][data.id];",
- "start": 11463,
- "end": 11501,
+ "start": 11448,
+ "end": 11486,
"loc": {
"start": {
"line": 390,
@@ -27264,8 +27264,8 @@
},
"alternate": {
"type": "BlockStatement",
- "start": 11525,
- "end": 11544,
+ "start": 11510,
+ "end": 11529,
"loc": {
"start": {
"line": 393,
@@ -27279,8 +27279,8 @@
"body": [
{
"type": "ReturnStatement",
- "start": 11529,
- "end": 11541,
+ "start": 11514,
+ "end": 11526,
"loc": {
"start": {
"line": 394,
@@ -27293,8 +27293,8 @@
},
"argument": {
"type": "BooleanLiteral",
- "start": 11536,
- "end": 11541,
+ "start": 11521,
+ "end": 11526,
"loc": {
"start": {
"line": 394,
@@ -27319,8 +27319,8 @@
{
"type": "CommentBlock",
"value": "\n ********************\n * Helper Functions *\n ********************\n",
- "start": 11143,
- "end": 11214,
+ "start": 11128,
+ "end": 11199,
"loc": {
"start": {
"line": 379,
@@ -27335,8 +27335,8 @@
{
"type": "CommentLine",
"value": " Helper function for serverSendObjectRemoval",
- "start": 11216,
- "end": 11262,
+ "start": 11201,
+ "end": 11247,
"loc": {
"start": {
"line": 385,
@@ -27677,8 +27677,8 @@
{
"type": "CommentLine",
"value": " Does not exist - need to clone to clientside",
- "start": 4921,
- "end": 4968,
+ "start": 4906,
+ "end": 4953,
"loc": {
"start": {
"line": 156,
@@ -27693,8 +27693,8 @@
{
"type": "CommentLine",
"value": " else { //Tile drawing",
- "start": 5350,
- "end": 5374,
+ "start": 5335,
+ "end": 5359,
"loc": {
"start": {
"line": 173,
@@ -27709,8 +27709,8 @@
{
"type": "CommentLine",
"value": " for (let tile of data.tiles) {",
- "start": 5378,
- "end": 5415,
+ "start": 5363,
+ "end": 5400,
"loc": {
"start": {
"line": 174,
@@ -27725,8 +27725,8 @@
{
"type": "CommentLine",
"value": " let tileName = 'tile_' + tile.col + '_' + tile.row;",
- "start": 5420,
- "end": 5482,
+ "start": 5405,
+ "end": 5467,
"loc": {
"start": {
"line": 176,
@@ -27741,8 +27741,8 @@
{
"type": "CommentLine",
"value": " if (objects.tiles[tileName] === undefined) {",
- "start": 5486,
- "end": 5541,
+ "start": 5471,
+ "end": 5526,
"loc": {
"start": {
"line": 177,
@@ -27757,8 +27757,8 @@
{
"type": "CommentLine",
"value": " // console.log(tileName);",
- "start": 5545,
- "end": 5585,
+ "start": 5530,
+ "end": 5570,
"loc": {
"start": {
"line": 178,
@@ -27773,8 +27773,8 @@
{
"type": "CommentLine",
"value": " objects.tiles[tileName] = new MapTile(MAP_LAYOUT[tile.row][tile.col], tile.col, tile.row);",
- "start": 5589,
- "end": 5694,
+ "start": 5574,
+ "end": 5679,
"loc": {
"start": {
"line": 179,
@@ -27789,8 +27789,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 5698,
- "end": 5710,
+ "start": 5683,
+ "end": 5695,
"loc": {
"start": {
"line": 180,
@@ -27805,8 +27805,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 5715,
- "end": 5723,
+ "start": 5700,
+ "end": 5708,
"loc": {
"start": {
"line": 182,
@@ -27821,8 +27821,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 5727,
- "end": 5731,
+ "start": 5712,
+ "end": 5716,
"loc": {
"start": {
"line": 183,
@@ -27837,8 +27837,8 @@
{
"type": "CommentLine",
"value": " Sync objects when they are deleted or move out of view. ONLY call after objectSync to avoid issue",
- "start": 5742,
- "end": 5842,
+ "start": 5727,
+ "end": 5827,
"loc": {
"start": {
"line": 187,
@@ -27853,8 +27853,8 @@
{
"type": "CommentLine",
"value": " removeObject(data);",
- "start": 6720,
- "end": 6742,
+ "start": 6705,
+ "end": 6727,
"loc": {
"start": {
"line": 214,
@@ -27869,8 +27869,8 @@
{
"type": "CommentLine",
"value": " return 1",
- "start": 6763,
- "end": 6774,
+ "start": 6748,
+ "end": 6759,
"loc": {
"start": {
"line": 216,
@@ -27885,8 +27885,8 @@
{
"type": "CommentLine",
"value": " console.log(objects[data.type][data.id].destroyed);",
- "start": 6791,
- "end": 6845,
+ "start": 6776,
+ "end": 6830,
"loc": {
"start": {
"line": 219,
@@ -27901,8 +27901,8 @@
{
"type": "CommentLine",
"value": " An object was removed",
- "start": 6848,
- "end": 6872,
+ "start": 6833,
+ "end": 6857,
"loc": {
"start": {
"line": 220,
@@ -27917,8 +27917,8 @@
{
"type": "CommentLine",
"value": " Only remove if not already",
- "start": 6922,
- "end": 6951,
+ "start": 6907,
+ "end": 6936,
"loc": {
"start": {
"line": 221,
@@ -27933,8 +27933,8 @@
{
"type": "CommentLine",
"value": " Sanity check",
- "start": 7086,
- "end": 7101,
+ "start": 7071,
+ "end": 7086,
"loc": {
"start": {
"line": 225,
@@ -27949,8 +27949,8 @@
{
"type": "CommentLine",
"value": " Must keep checking if the object was not created at time of destruction.",
- "start": 7127,
- "end": 7202,
+ "start": 7112,
+ "end": 7187,
"loc": {
"start": {
"line": 230,
@@ -27965,8 +27965,8 @@
{
"type": "CommentLine",
"value": " One example of this needing to be run is when a player instantly collects an atom on spawn.",
- "start": 7205,
- "end": 7299,
+ "start": 7190,
+ "end": 7284,
"loc": {
"start": {
"line": 231,
@@ -27981,8 +27981,8 @@
{
"type": "CommentLine",
"value": " if (objects[data.type][data.id] === undefined) {",
- "start": 7302,
- "end": 7353,
+ "start": 7287,
+ "end": 7338,
"loc": {
"start": {
"line": 232,
@@ -27997,8 +27997,8 @@
{
"type": "CommentLine",
"value": " \tlet thisInterval = setTimeout(() => {",
- "start": 7356,
- "end": 7397,
+ "start": 7341,
+ "end": 7382,
"loc": {
"start": {
"line": 233,
@@ -28013,8 +28013,8 @@
{
"type": "CommentLine",
"value": " \t\tif (objects[data.type][data.id].destroyed) {",
- "start": 7400,
- "end": 7449,
+ "start": 7385,
+ "end": 7434,
"loc": {
"start": {
"line": 234,
@@ -28029,8 +28029,8 @@
{
"type": "CommentLine",
"value": " \t\t\tclearInterval(thisInterval)",
- "start": 7452,
- "end": 7485,
+ "start": 7437,
+ "end": 7470,
"loc": {
"start": {
"line": 235,
@@ -28045,8 +28045,8 @@
{
"type": "CommentLine",
"value": " \t\t}",
- "start": 7488,
- "end": 7494,
+ "start": 7473,
+ "end": 7479,
"loc": {
"start": {
"line": 236,
@@ -28061,8 +28061,8 @@
{
"type": "CommentLine",
"value": " \t\telse {",
- "start": 7497,
- "end": 7508,
+ "start": 7482,
+ "end": 7493,
"loc": {
"start": {
"line": 237,
@@ -28077,8 +28077,8 @@
{
"type": "CommentLine",
"value": " \t\t\tremoveObject(data)",
- "start": 7511,
- "end": 7535,
+ "start": 7496,
+ "end": 7520,
"loc": {
"start": {
"line": 238,
@@ -28093,8 +28093,8 @@
{
"type": "CommentLine",
"value": " \t\t}",
- "start": 7538,
- "end": 7544,
+ "start": 7523,
+ "end": 7529,
"loc": {
"start": {
"line": 239,
@@ -28109,8 +28109,8 @@
{
"type": "CommentLine",
"value": " \t}, 200)",
- "start": 7547,
- "end": 7558,
+ "start": 7532,
+ "end": 7543,
"loc": {
"start": {
"line": 240,
@@ -28125,8 +28125,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 7561,
- "end": 7565,
+ "start": 7546,
+ "end": 7550,
"loc": {
"start": {
"line": 241,
@@ -28141,8 +28141,8 @@
{
"type": "CommentBlock",
"value": "*\n * Sets up socket connection listeners.\n * Run in setupSocket().\n ",
- "start": 7573,
- "end": 7645,
+ "start": 7558,
+ "end": 7630,
"loc": {
"start": {
"line": 245,
@@ -28157,8 +28157,8 @@
{
"type": "CommentLine",
"value": " On Connection Failure",
- "start": 7683,
- "end": 7707,
+ "start": 7668,
+ "end": 7692,
"loc": {
"start": {
"line": 250,
@@ -28173,8 +28173,8 @@
{
"type": "CommentLine",
"value": " Errors on join",
- "start": 8568,
- "end": 8585,
+ "start": 8553,
+ "end": 8570,
"loc": {
"start": {
"line": 282,
@@ -28189,8 +28189,8 @@
{
"type": "CommentBlock",
"value": "*\n * Sets up socket information transfer listeners.\n * Run in setupSocket().\n * @param {*} chat The chat client instance to be used for notifications\n ",
- "start": 8684,
- "end": 8839,
+ "start": 8669,
+ "end": 8824,
"loc": {
"start": {
"line": 289,
@@ -28205,8 +28205,8 @@
{
"type": "CommentLine",
"value": " Chat system receiver",
- "start": 8875,
- "end": 8898,
+ "start": 8860,
+ "end": 8883,
"loc": {
"start": {
"line": 295,
@@ -28221,8 +28221,8 @@
{
"type": "CommentLine",
"value": " Receive information about room players",
- "start": 9289,
- "end": 9330,
+ "start": 9274,
+ "end": 9315,
"loc": {
"start": {
"line": 312,
@@ -28237,8 +28237,8 @@
{
"type": "CommentLine",
"value": " Update lobby info. Pass to app.js",
- "start": 9368,
- "end": 9404,
+ "start": 9353,
+ "end": 9389,
"loc": {
"start": {
"line": 314,
@@ -28253,8 +28253,8 @@
{
"type": "CommentLine",
"value": " if(GLOBAL.DEBUG) {",
- "start": 9428,
- "end": 9449,
+ "start": 9413,
+ "end": 9434,
"loc": {
"start": {
"line": 317,
@@ -28269,8 +28269,8 @@
{
"type": "CommentLine",
"value": " console.log(\"rcvd: \",data);",
- "start": 9452,
- "end": 9486,
+ "start": 9437,
+ "end": 9471,
"loc": {
"start": {
"line": 318,
@@ -28285,8 +28285,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 9489,
- "end": 9493,
+ "start": 9474,
+ "end": 9478,
"loc": {
"start": {
"line": 319,
@@ -28301,8 +28301,8 @@
{
"type": "CommentLine",
"value": " Respawn",
- "start": 9712,
- "end": 9722,
+ "start": 9697,
+ "end": 9707,
"loc": {
"start": {
"line": 331,
@@ -28317,8 +28317,8 @@
{
"type": "CommentLine",
"value": " Another player died",
- "start": 9996,
- "end": 10018,
+ "start": 9981,
+ "end": 10003,
"loc": {
"start": {
"line": 340,
@@ -28333,8 +28333,8 @@
{
"type": "CommentLine",
"value": " Append to chat TODO",
- "start": 10075,
- "end": 10097,
+ "start": 10060,
+ "end": 10082,
"loc": {
"start": {
"line": 342,
@@ -28349,8 +28349,8 @@
{
"type": "CommentLine",
"value": " Update timer",
- "start": 10104,
- "end": 10119,
+ "start": 10089,
+ "end": 10104,
"loc": {
"start": {
"line": 345,
@@ -28365,8 +28365,8 @@
{
"type": "CommentLine",
"value": " Update scores",
- "start": 10231,
- "end": 10247,
+ "start": 10216,
+ "end": 10232,
"loc": {
"start": {
"line": 350,
@@ -28381,8 +28381,8 @@
{
"type": "CommentLine",
"value": " A player has won",
- "start": 10348,
- "end": 10367,
+ "start": 10333,
+ "end": 10352,
"loc": {
"start": {
"line": 355,
@@ -28397,8 +28397,8 @@
{
"type": "CommentLine",
"value": " Disable keyboard controls and rendering",
- "start": 10430,
- "end": 10472,
+ "start": 10415,
+ "end": 10457,
"loc": {
"start": {
"line": 357,
@@ -28413,8 +28413,8 @@
{
"type": "CommentLine",
"value": " Sync team colors",
- "start": 10501,
- "end": 10520,
+ "start": 10486,
+ "end": 10505,
"loc": {
"start": {
"line": 361,
@@ -28429,8 +28429,8 @@
{
"type": "CommentLine",
"value": " Change texture when a tile has been captured",
- "start": 10620,
- "end": 10667,
+ "start": 10605,
+ "end": 10652,
"loc": {
"start": {
"line": 367,
@@ -28445,8 +28445,8 @@
{
"type": "CommentLine",
"value": " console.log(objects.tiles['tile_' + data.tileY + '_' + data.tileX].texture)",
- "start": 10895,
- "end": 10973,
+ "start": 10880,
+ "end": 10958,
"loc": {
"start": {
"line": 370,
@@ -28461,8 +28461,8 @@
{
"type": "CommentLine",
"value": " Tile health changed",
- "start": 10980,
- "end": 11002,
+ "start": 10965,
+ "end": 10987,
"loc": {
"start": {
"line": 373,
@@ -28477,8 +28477,8 @@
{
"type": "CommentBlock",
"value": "\n ********************\n * Helper Functions *\n ********************\n",
- "start": 11143,
- "end": 11214,
+ "start": 11128,
+ "end": 11199,
"loc": {
"start": {
"line": 379,
@@ -28493,8 +28493,8 @@
{
"type": "CommentLine",
"value": " Helper function for serverSendObjectRemoval",
- "start": 11216,
- "end": 11262,
+ "start": 11201,
+ "end": 11247,
"loc": {
"start": {
"line": 385,
@@ -28509,8 +28509,8 @@
{
"type": "CommentLine",
"value": " delete objects[data.type][data.id];",
- "start": 11463,
- "end": 11501,
+ "start": 11448,
+ "end": 11486,
"loc": {
"start": {
"line": 390,
@@ -46949,9 +46949,9 @@
"postfix": false,
"binop": null
},
- "value": "hasShield",
+ "value": "shield",
"start": 4354,
- "end": 4363,
+ "end": 4360,
"loc": {
"start": {
"line": 140,
@@ -46959,7 +46959,7 @@
},
"end": {
"line": 140,
- "column": 43
+ "column": 40
}
}
},
@@ -46977,16 +46977,16 @@
"updateContext": null
},
"value": "!==",
- "start": 4364,
- "end": 4367,
+ "start": 4361,
+ "end": 4364,
"loc": {
"start": {
"line": 140,
- "column": 44
+ "column": 41
},
"end": {
"line": 140,
- "column": 47
+ "column": 44
}
}
},
@@ -47003,16 +47003,16 @@
"binop": null
},
"value": "objRef",
- "start": 4368,
- "end": 4374,
+ "start": 4365,
+ "end": 4371,
"loc": {
"start": {
"line": 140,
- "column": 48
+ "column": 45
},
"end": {
"line": 140,
- "column": 54
+ "column": 51
}
}
},
@@ -47029,16 +47029,16 @@
"binop": null,
"updateContext": null
},
- "start": 4374,
- "end": 4375,
+ "start": 4371,
+ "end": 4372,
"loc": {
"start": {
"line": 140,
- "column": 54
+ "column": 51
},
"end": {
"line": 140,
- "column": 55
+ "column": 52
}
}
},
@@ -47054,17 +47054,17 @@
"postfix": false,
"binop": null
},
- "value": "hasShield",
- "start": 4375,
- "end": 4384,
+ "value": "shield",
+ "start": 4372,
+ "end": 4378,
"loc": {
"start": {
"line": 140,
- "column": 55
+ "column": 52
},
"end": {
"line": 140,
- "column": 64
+ "column": 58
}
}
},
@@ -47082,16 +47082,16 @@
"updateContext": null
},
"value": "||",
- "start": 4385,
- "end": 4387,
+ "start": 4379,
+ "end": 4381,
"loc": {
"start": {
"line": 140,
- "column": 65
+ "column": 59
},
"end": {
"line": 140,
- "column": 67
+ "column": 61
}
}
},
@@ -47108,16 +47108,16 @@
"binop": null
},
"value": "objects",
- "start": 4388,
- "end": 4395,
+ "start": 4382,
+ "end": 4389,
"loc": {
"start": {
"line": 140,
- "column": 68
+ "column": 62
},
"end": {
"line": 140,
- "column": 75
+ "column": 69
}
}
},
@@ -47134,16 +47134,16 @@
"binop": null,
"updateContext": null
},
- "start": 4395,
- "end": 4396,
+ "start": 4389,
+ "end": 4390,
"loc": {
"start": {
"line": 140,
- "column": 75
+ "column": 69
},
"end": {
"line": 140,
- "column": 76
+ "column": 70
}
}
},
@@ -47160,16 +47160,16 @@
"binop": null
},
"value": "objType",
- "start": 4396,
- "end": 4403,
+ "start": 4390,
+ "end": 4397,
"loc": {
"start": {
"line": 140,
- "column": 76
+ "column": 70
},
"end": {
"line": 140,
- "column": 83
+ "column": 77
}
}
},
@@ -47186,16 +47186,16 @@
"binop": null,
"updateContext": null
},
- "start": 4403,
- "end": 4404,
+ "start": 4397,
+ "end": 4398,
"loc": {
"start": {
"line": 140,
- "column": 83
+ "column": 77
},
"end": {
"line": 140,
- "column": 84
+ "column": 78
}
}
},
@@ -47212,16 +47212,16 @@
"binop": null,
"updateContext": null
},
- "start": 4404,
- "end": 4405,
+ "start": 4398,
+ "end": 4399,
"loc": {
"start": {
"line": 140,
- "column": 84
+ "column": 78
},
"end": {
"line": 140,
- "column": 85
+ "column": 79
}
}
},
@@ -47238,16 +47238,16 @@
"binop": null
},
"value": "obj",
- "start": 4405,
- "end": 4408,
+ "start": 4399,
+ "end": 4402,
"loc": {
"start": {
"line": 140,
- "column": 85
+ "column": 79
},
"end": {
"line": 140,
- "column": 88
+ "column": 82
}
}
},
@@ -47264,16 +47264,16 @@
"binop": null,
"updateContext": null
},
- "start": 4408,
- "end": 4409,
+ "start": 4402,
+ "end": 4403,
"loc": {
"start": {
"line": 140,
- "column": 88
+ "column": 82
},
"end": {
"line": 140,
- "column": 89
+ "column": 83
}
}
},
@@ -47290,16 +47290,16 @@
"binop": null,
"updateContext": null
},
- "start": 4409,
- "end": 4410,
+ "start": 4403,
+ "end": 4404,
"loc": {
"start": {
"line": 140,
- "column": 89
+ "column": 83
},
"end": {
"line": 140,
- "column": 90
+ "column": 84
}
}
},
@@ -47316,16 +47316,16 @@
"binop": null
},
"value": "stronghold",
- "start": 4410,
- "end": 4420,
+ "start": 4404,
+ "end": 4414,
"loc": {
"start": {
"line": 140,
- "column": 90
+ "column": 84
},
"end": {
"line": 140,
- "column": 100
+ "column": 94
}
}
},
@@ -47343,16 +47343,16 @@
"updateContext": null
},
"value": "!==",
- "start": 4421,
- "end": 4424,
+ "start": 4415,
+ "end": 4418,
"loc": {
"start": {
"line": 140,
- "column": 101
+ "column": 95
},
"end": {
"line": 140,
- "column": 104
+ "column": 98
}
}
},
@@ -47369,16 +47369,16 @@
"binop": null
},
"value": "objRef",
- "start": 4425,
- "end": 4431,
+ "start": 4419,
+ "end": 4425,
"loc": {
"start": {
"line": 140,
- "column": 105
+ "column": 99
},
"end": {
"line": 140,
- "column": 111
+ "column": 105
}
}
},
@@ -47395,16 +47395,16 @@
"binop": null,
"updateContext": null
},
- "start": 4431,
- "end": 4432,
+ "start": 4425,
+ "end": 4426,
"loc": {
"start": {
"line": 140,
- "column": 111
+ "column": 105
},
"end": {
"line": 140,
- "column": 112
+ "column": 106
}
}
},
@@ -47421,16 +47421,16 @@
"binop": null
},
"value": "stronghold",
- "start": 4432,
- "end": 4442,
+ "start": 4426,
+ "end": 4436,
"loc": {
"start": {
"line": 140,
- "column": 112
+ "column": 106
},
"end": {
"line": 140,
- "column": 122
+ "column": 116
}
}
},
@@ -47446,16 +47446,16 @@
"postfix": false,
"binop": null
},
- "start": 4442,
- "end": 4443,
+ "start": 4436,
+ "end": 4437,
"loc": {
"start": {
"line": 140,
- "column": 122
+ "column": 116
},
"end": {
"line": 140,
- "column": 123
+ "column": 117
}
}
},
@@ -47471,16 +47471,16 @@
"postfix": false,
"binop": null
},
- "start": 4444,
- "end": 4445,
+ "start": 4438,
+ "end": 4439,
"loc": {
"start": {
"line": 140,
- "column": 124
+ "column": 118
},
"end": {
"line": 140,
- "column": 125
+ "column": 119
}
}
},
@@ -47497,8 +47497,8 @@
"binop": null
},
"value": "objects",
- "start": 4455,
- "end": 4462,
+ "start": 4449,
+ "end": 4456,
"loc": {
"start": {
"line": 141,
@@ -47523,8 +47523,8 @@
"binop": null,
"updateContext": null
},
- "start": 4462,
- "end": 4463,
+ "start": 4456,
+ "end": 4457,
"loc": {
"start": {
"line": 141,
@@ -47549,8 +47549,8 @@
"binop": null
},
"value": "objType",
- "start": 4463,
- "end": 4470,
+ "start": 4457,
+ "end": 4464,
"loc": {
"start": {
"line": 141,
@@ -47575,8 +47575,8 @@
"binop": null,
"updateContext": null
},
- "start": 4470,
- "end": 4471,
+ "start": 4464,
+ "end": 4465,
"loc": {
"start": {
"line": 141,
@@ -47601,8 +47601,8 @@
"binop": null,
"updateContext": null
},
- "start": 4471,
- "end": 4472,
+ "start": 4465,
+ "end": 4466,
"loc": {
"start": {
"line": 141,
@@ -47627,8 +47627,8 @@
"binop": null
},
"value": "obj",
- "start": 4472,
- "end": 4475,
+ "start": 4466,
+ "end": 4469,
"loc": {
"start": {
"line": 141,
@@ -47653,8 +47653,8 @@
"binop": null,
"updateContext": null
},
- "start": 4475,
- "end": 4476,
+ "start": 4469,
+ "end": 4470,
"loc": {
"start": {
"line": 141,
@@ -47679,8 +47679,8 @@
"binop": null,
"updateContext": null
},
- "start": 4476,
- "end": 4477,
+ "start": 4470,
+ "end": 4471,
"loc": {
"start": {
"line": 141,
@@ -47705,8 +47705,8 @@
"binop": null
},
"value": "changeSprite",
- "start": 4477,
- "end": 4489,
+ "start": 4471,
+ "end": 4483,
"loc": {
"start": {
"line": 141,
@@ -47730,8 +47730,8 @@
"postfix": false,
"binop": null
},
- "start": 4489,
- "end": 4490,
+ "start": 4483,
+ "end": 4484,
"loc": {
"start": {
"line": 141,
@@ -47756,8 +47756,8 @@
"binop": null
},
"value": "objRef",
- "start": 4490,
- "end": 4496,
+ "start": 4484,
+ "end": 4490,
"loc": {
"start": {
"line": 141,
@@ -47782,8 +47782,8 @@
"binop": null,
"updateContext": null
},
- "start": 4496,
- "end": 4497,
+ "start": 4490,
+ "end": 4491,
"loc": {
"start": {
"line": 141,
@@ -47807,9 +47807,9 @@
"postfix": false,
"binop": null
},
- "value": "hasShield",
- "start": 4497,
- "end": 4506,
+ "value": "shield",
+ "start": 4491,
+ "end": 4497,
"loc": {
"start": {
"line": 141,
@@ -47817,7 +47817,7 @@
},
"end": {
"line": 141,
- "column": 60
+ "column": 57
}
}
},
@@ -47834,16 +47834,16 @@
"binop": null,
"updateContext": null
},
- "start": 4506,
- "end": 4507,
+ "start": 4497,
+ "end": 4498,
"loc": {
"start": {
"line": 141,
- "column": 60
+ "column": 57
},
"end": {
"line": 141,
- "column": 61
+ "column": 58
}
}
},
@@ -47860,16 +47860,16 @@
"binop": null
},
"value": "objRef",
- "start": 4508,
- "end": 4514,
+ "start": 4499,
+ "end": 4505,
"loc": {
"start": {
"line": 141,
- "column": 62
+ "column": 59
},
"end": {
"line": 141,
- "column": 68
+ "column": 65
}
}
},
@@ -47886,16 +47886,16 @@
"binop": null,
"updateContext": null
},
- "start": 4514,
- "end": 4515,
+ "start": 4505,
+ "end": 4506,
"loc": {
"start": {
"line": 141,
- "column": 68
+ "column": 65
},
"end": {
"line": 141,
- "column": 69
+ "column": 66
}
}
},
@@ -47912,16 +47912,16 @@
"binop": null
},
"value": "stronghold",
- "start": 4515,
- "end": 4525,
+ "start": 4506,
+ "end": 4516,
"loc": {
"start": {
"line": 141,
- "column": 69
+ "column": 66
},
"end": {
"line": 141,
- "column": 79
+ "column": 76
}
}
},
@@ -47937,16 +47937,16 @@
"postfix": false,
"binop": null
},
- "start": 4525,
- "end": 4526,
+ "start": 4516,
+ "end": 4517,
"loc": {
"start": {
"line": 141,
- "column": 79
+ "column": 76
},
"end": {
"line": 141,
- "column": 80
+ "column": 77
}
}
},
@@ -47963,8 +47963,8 @@
"binop": null
},
"value": "console",
- "start": 4536,
- "end": 4543,
+ "start": 4527,
+ "end": 4534,
"loc": {
"start": {
"line": 142,
@@ -47989,8 +47989,8 @@
"binop": null,
"updateContext": null
},
- "start": 4543,
- "end": 4544,
+ "start": 4534,
+ "end": 4535,
"loc": {
"start": {
"line": 142,
@@ -48015,8 +48015,8 @@
"binop": null
},
"value": "log",
- "start": 4544,
- "end": 4547,
+ "start": 4535,
+ "end": 4538,
"loc": {
"start": {
"line": 142,
@@ -48040,8 +48040,8 @@
"postfix": false,
"binop": null
},
- "start": 4547,
- "end": 4548,
+ "start": 4538,
+ "end": 4539,
"loc": {
"start": {
"line": 142,
@@ -48067,8 +48067,8 @@
"updateContext": null
},
"value": "change tex",
- "start": 4548,
- "end": 4560,
+ "start": 4539,
+ "end": 4551,
"loc": {
"start": {
"line": 142,
@@ -48092,8 +48092,8 @@
"postfix": false,
"binop": null
},
- "start": 4560,
- "end": 4561,
+ "start": 4551,
+ "end": 4552,
"loc": {
"start": {
"line": 142,
@@ -48117,8 +48117,8 @@
"postfix": false,
"binop": null
},
- "start": 4570,
- "end": 4571,
+ "start": 4561,
+ "end": 4562,
"loc": {
"start": {
"line": 143,
@@ -48143,8 +48143,8 @@
"binop": null
},
"value": "objects",
- "start": 4581,
- "end": 4588,
+ "start": 4572,
+ "end": 4579,
"loc": {
"start": {
"line": 145,
@@ -48169,8 +48169,8 @@
"binop": null,
"updateContext": null
},
- "start": 4588,
- "end": 4589,
+ "start": 4579,
+ "end": 4580,
"loc": {
"start": {
"line": 145,
@@ -48195,8 +48195,8 @@
"binop": null
},
"value": "objType",
- "start": 4589,
- "end": 4596,
+ "start": 4580,
+ "end": 4587,
"loc": {
"start": {
"line": 145,
@@ -48221,8 +48221,8 @@
"binop": null,
"updateContext": null
},
- "start": 4596,
- "end": 4597,
+ "start": 4587,
+ "end": 4588,
"loc": {
"start": {
"line": 145,
@@ -48247,8 +48247,8 @@
"binop": null,
"updateContext": null
},
- "start": 4597,
- "end": 4598,
+ "start": 4588,
+ "end": 4589,
"loc": {
"start": {
"line": 145,
@@ -48273,8 +48273,8 @@
"binop": null
},
"value": "obj",
- "start": 4598,
- "end": 4601,
+ "start": 4589,
+ "end": 4592,
"loc": {
"start": {
"line": 145,
@@ -48299,8 +48299,8 @@
"binop": null,
"updateContext": null
},
- "start": 4601,
- "end": 4602,
+ "start": 4592,
+ "end": 4593,
"loc": {
"start": {
"line": 145,
@@ -48325,8 +48325,8 @@
"binop": null,
"updateContext": null
},
- "start": 4602,
- "end": 4603,
+ "start": 4593,
+ "end": 4594,
"loc": {
"start": {
"line": 145,
@@ -48350,9 +48350,9 @@
"postfix": false,
"binop": null
},
- "value": "hasShield",
- "start": 4603,
- "end": 4612,
+ "value": "shield",
+ "start": 4594,
+ "end": 4600,
"loc": {
"start": {
"line": 145,
@@ -48360,7 +48360,7 @@
},
"end": {
"line": 145,
- "column": 39
+ "column": 36
}
}
},
@@ -48378,16 +48378,16 @@
"updateContext": null
},
"value": "=",
- "start": 4613,
- "end": 4614,
+ "start": 4601,
+ "end": 4602,
"loc": {
"start": {
"line": 145,
- "column": 40
+ "column": 37
},
"end": {
"line": 145,
- "column": 41
+ "column": 38
}
}
},
@@ -48404,16 +48404,16 @@
"binop": null
},
"value": "objRef",
- "start": 4615,
- "end": 4621,
+ "start": 4603,
+ "end": 4609,
"loc": {
"start": {
"line": 145,
- "column": 42
+ "column": 39
},
"end": {
"line": 145,
- "column": 48
+ "column": 45
}
}
},
@@ -48430,16 +48430,16 @@
"binop": null,
"updateContext": null
},
- "start": 4621,
- "end": 4622,
+ "start": 4609,
+ "end": 4610,
"loc": {
"start": {
"line": 145,
- "column": 48
+ "column": 45
},
"end": {
"line": 145,
- "column": 49
+ "column": 46
}
}
},
@@ -48455,17 +48455,17 @@
"postfix": false,
"binop": null
},
- "value": "hasShield",
- "start": 4622,
- "end": 4631,
+ "value": "shield",
+ "start": 4610,
+ "end": 4616,
"loc": {
"start": {
"line": 145,
- "column": 49
+ "column": 46
},
"end": {
"line": 145,
- "column": 58
+ "column": 52
}
}
},
@@ -48482,8 +48482,8 @@
"binop": null
},
"value": "objects",
- "start": 4640,
- "end": 4647,
+ "start": 4625,
+ "end": 4632,
"loc": {
"start": {
"line": 146,
@@ -48508,8 +48508,8 @@
"binop": null,
"updateContext": null
},
- "start": 4647,
- "end": 4648,
+ "start": 4632,
+ "end": 4633,
"loc": {
"start": {
"line": 146,
@@ -48534,8 +48534,8 @@
"binop": null
},
"value": "objType",
- "start": 4648,
- "end": 4655,
+ "start": 4633,
+ "end": 4640,
"loc": {
"start": {
"line": 146,
@@ -48560,8 +48560,8 @@
"binop": null,
"updateContext": null
},
- "start": 4655,
- "end": 4656,
+ "start": 4640,
+ "end": 4641,
"loc": {
"start": {
"line": 146,
@@ -48586,8 +48586,8 @@
"binop": null,
"updateContext": null
},
- "start": 4656,
- "end": 4657,
+ "start": 4641,
+ "end": 4642,
"loc": {
"start": {
"line": 146,
@@ -48612,8 +48612,8 @@
"binop": null
},
"value": "obj",
- "start": 4657,
- "end": 4660,
+ "start": 4642,
+ "end": 4645,
"loc": {
"start": {
"line": 146,
@@ -48638,8 +48638,8 @@
"binop": null,
"updateContext": null
},
- "start": 4660,
- "end": 4661,
+ "start": 4645,
+ "end": 4646,
"loc": {
"start": {
"line": 146,
@@ -48664,8 +48664,8 @@
"binop": null,
"updateContext": null
},
- "start": 4661,
- "end": 4662,
+ "start": 4646,
+ "end": 4647,
"loc": {
"start": {
"line": 146,
@@ -48690,8 +48690,8 @@
"binop": null
},
"value": "stronghold",
- "start": 4662,
- "end": 4672,
+ "start": 4647,
+ "end": 4657,
"loc": {
"start": {
"line": 146,
@@ -48717,8 +48717,8 @@
"updateContext": null
},
"value": "=",
- "start": 4673,
- "end": 4674,
+ "start": 4658,
+ "end": 4659,
"loc": {
"start": {
"line": 146,
@@ -48743,8 +48743,8 @@
"binop": null
},
"value": "objRef",
- "start": 4675,
- "end": 4681,
+ "start": 4660,
+ "end": 4666,
"loc": {
"start": {
"line": 146,
@@ -48769,8 +48769,8 @@
"binop": null,
"updateContext": null
},
- "start": 4681,
- "end": 4682,
+ "start": 4666,
+ "end": 4667,
"loc": {
"start": {
"line": 146,
@@ -48795,8 +48795,8 @@
"binop": null
},
"value": "stronghold",
- "start": 4682,
- "end": 4692,
+ "start": 4667,
+ "end": 4677,
"loc": {
"start": {
"line": 146,
@@ -48823,8 +48823,8 @@
"updateContext": null
},
"value": "for",
- "start": 4702,
- "end": 4705,
+ "start": 4687,
+ "end": 4690,
"loc": {
"start": {
"line": 148,
@@ -48848,8 +48848,8 @@
"postfix": false,
"binop": null
},
- "start": 4706,
- "end": 4707,
+ "start": 4691,
+ "end": 4692,
"loc": {
"start": {
"line": 148,
@@ -48876,8 +48876,8 @@
"updateContext": null
},
"value": "let",
- "start": 4707,
- "end": 4710,
+ "start": 4692,
+ "end": 4695,
"loc": {
"start": {
"line": 148,
@@ -48902,8 +48902,8 @@
"binop": null
},
"value": "atom",
- "start": 4711,
- "end": 4715,
+ "start": 4696,
+ "end": 4700,
"loc": {
"start": {
"line": 148,
@@ -48930,8 +48930,8 @@
"updateContext": null
},
"value": "in",
- "start": 4716,
- "end": 4718,
+ "start": 4701,
+ "end": 4703,
"loc": {
"start": {
"line": 148,
@@ -48956,8 +48956,8 @@
"binop": null
},
"value": "objRef",
- "start": 4719,
- "end": 4725,
+ "start": 4704,
+ "end": 4710,
"loc": {
"start": {
"line": 148,
@@ -48982,8 +48982,8 @@
"binop": null,
"updateContext": null
},
- "start": 4725,
- "end": 4726,
+ "start": 4710,
+ "end": 4711,
"loc": {
"start": {
"line": 148,
@@ -49008,8 +49008,8 @@
"binop": null
},
"value": "atomList",
- "start": 4726,
- "end": 4734,
+ "start": 4711,
+ "end": 4719,
"loc": {
"start": {
"line": 148,
@@ -49033,8 +49033,8 @@
"postfix": false,
"binop": null
},
- "start": 4734,
- "end": 4735,
+ "start": 4719,
+ "end": 4720,
"loc": {
"start": {
"line": 148,
@@ -49058,8 +49058,8 @@
"postfix": false,
"binop": null
},
- "start": 4736,
- "end": 4737,
+ "start": 4721,
+ "end": 4722,
"loc": {
"start": {
"line": 148,
@@ -49084,8 +49084,8 @@
"binop": null
},
"value": "updateAtomList",
- "start": 4747,
- "end": 4761,
+ "start": 4732,
+ "end": 4746,
"loc": {
"start": {
"line": 149,
@@ -49109,8 +49109,8 @@
"postfix": false,
"binop": null
},
- "start": 4761,
- "end": 4762,
+ "start": 4746,
+ "end": 4747,
"loc": {
"start": {
"line": 149,
@@ -49135,8 +49135,8 @@
"binop": null
},
"value": "atom",
- "start": 4762,
- "end": 4766,
+ "start": 4747,
+ "end": 4751,
"loc": {
"start": {
"line": 149,
@@ -49160,8 +49160,8 @@
"postfix": false,
"binop": null
},
- "start": 4766,
- "end": 4767,
+ "start": 4751,
+ "end": 4752,
"loc": {
"start": {
"line": 149,
@@ -49185,8 +49185,8 @@
"postfix": false,
"binop": null
},
- "start": 4776,
- "end": 4777,
+ "start": 4761,
+ "end": 4762,
"loc": {
"start": {
"line": 150,
@@ -49210,8 +49210,8 @@
"postfix": false,
"binop": null
},
- "start": 4785,
- "end": 4786,
+ "start": 4770,
+ "end": 4771,
"loc": {
"start": {
"line": 151,
@@ -49238,8 +49238,8 @@
"updateContext": null
},
"value": "if",
- "start": 4794,
- "end": 4796,
+ "start": 4779,
+ "end": 4781,
"loc": {
"start": {
"line": 152,
@@ -49263,8 +49263,8 @@
"postfix": false,
"binop": null
},
- "start": 4797,
- "end": 4798,
+ "start": 4782,
+ "end": 4783,
"loc": {
"start": {
"line": 152,
@@ -49289,8 +49289,8 @@
"binop": null
},
"value": "objType",
- "start": 4798,
- "end": 4805,
+ "start": 4783,
+ "end": 4790,
"loc": {
"start": {
"line": 152,
@@ -49316,8 +49316,8 @@
"updateContext": null
},
"value": "===",
- "start": 4806,
- "end": 4809,
+ "start": 4791,
+ "end": 4794,
"loc": {
"start": {
"line": 152,
@@ -49343,8 +49343,8 @@
"updateContext": null
},
"value": "compounds",
- "start": 4810,
- "end": 4821,
+ "start": 4795,
+ "end": 4806,
"loc": {
"start": {
"line": 152,
@@ -49370,8 +49370,8 @@
"updateContext": null
},
"value": "&&",
- "start": 4822,
- "end": 4824,
+ "start": 4807,
+ "end": 4809,
"loc": {
"start": {
"line": 152,
@@ -49396,8 +49396,8 @@
"binop": null
},
"value": "objRef",
- "start": 4825,
- "end": 4831,
+ "start": 4810,
+ "end": 4816,
"loc": {
"start": {
"line": 152,
@@ -49422,8 +49422,8 @@
"binop": null,
"updateContext": null
},
- "start": 4831,
- "end": 4832,
+ "start": 4816,
+ "end": 4817,
"loc": {
"start": {
"line": 152,
@@ -49448,8 +49448,8 @@
"binop": null
},
"value": "ignited",
- "start": 4832,
- "end": 4839,
+ "start": 4817,
+ "end": 4824,
"loc": {
"start": {
"line": 152,
@@ -49473,8 +49473,8 @@
"postfix": false,
"binop": null
},
- "start": 4839,
- "end": 4840,
+ "start": 4824,
+ "end": 4825,
"loc": {
"start": {
"line": 152,
@@ -49498,8 +49498,8 @@
"postfix": false,
"binop": null
},
- "start": 4841,
- "end": 4842,
+ "start": 4826,
+ "end": 4827,
"loc": {
"start": {
"line": 152,
@@ -49524,8 +49524,8 @@
"binop": null
},
"value": "objects",
- "start": 4851,
- "end": 4858,
+ "start": 4836,
+ "end": 4843,
"loc": {
"start": {
"line": 153,
@@ -49550,8 +49550,8 @@
"binop": null,
"updateContext": null
},
- "start": 4858,
- "end": 4859,
+ "start": 4843,
+ "end": 4844,
"loc": {
"start": {
"line": 153,
@@ -49576,8 +49576,8 @@
"binop": null
},
"value": "objType",
- "start": 4859,
- "end": 4866,
+ "start": 4844,
+ "end": 4851,
"loc": {
"start": {
"line": 153,
@@ -49602,8 +49602,8 @@
"binop": null,
"updateContext": null
},
- "start": 4866,
- "end": 4867,
+ "start": 4851,
+ "end": 4852,
"loc": {
"start": {
"line": 153,
@@ -49628,8 +49628,8 @@
"binop": null,
"updateContext": null
},
- "start": 4867,
- "end": 4868,
+ "start": 4852,
+ "end": 4853,
"loc": {
"start": {
"line": 153,
@@ -49654,8 +49654,8 @@
"binop": null
},
"value": "obj",
- "start": 4868,
- "end": 4871,
+ "start": 4853,
+ "end": 4856,
"loc": {
"start": {
"line": 153,
@@ -49680,8 +49680,8 @@
"binop": null,
"updateContext": null
},
- "start": 4871,
- "end": 4872,
+ "start": 4856,
+ "end": 4857,
"loc": {
"start": {
"line": 153,
@@ -49706,8 +49706,8 @@
"binop": null,
"updateContext": null
},
- "start": 4872,
- "end": 4873,
+ "start": 4857,
+ "end": 4858,
"loc": {
"start": {
"line": 153,
@@ -49732,8 +49732,8 @@
"binop": null
},
"value": "ignited",
- "start": 4873,
- "end": 4880,
+ "start": 4858,
+ "end": 4865,
"loc": {
"start": {
"line": 153,
@@ -49759,8 +49759,8 @@
"updateContext": null
},
"value": "=",
- "start": 4881,
- "end": 4882,
+ "start": 4866,
+ "end": 4867,
"loc": {
"start": {
"line": 153,
@@ -49785,8 +49785,8 @@
"binop": null
},
"value": "objRef",
- "start": 4883,
- "end": 4889,
+ "start": 4868,
+ "end": 4874,
"loc": {
"start": {
"line": 153,
@@ -49811,8 +49811,8 @@
"binop": null,
"updateContext": null
},
- "start": 4889,
- "end": 4890,
+ "start": 4874,
+ "end": 4875,
"loc": {
"start": {
"line": 153,
@@ -49837,8 +49837,8 @@
"binop": null
},
"value": "ignited",
- "start": 4890,
- "end": 4897,
+ "start": 4875,
+ "end": 4882,
"loc": {
"start": {
"line": 153,
@@ -49862,8 +49862,8 @@
"postfix": false,
"binop": null
},
- "start": 4905,
- "end": 4906,
+ "start": 4890,
+ "end": 4891,
"loc": {
"start": {
"line": 154,
@@ -49887,8 +49887,8 @@
"postfix": false,
"binop": null
},
- "start": 4913,
- "end": 4914,
+ "start": 4898,
+ "end": 4899,
"loc": {
"start": {
"line": 155,
@@ -49903,8 +49903,8 @@
{
"type": "CommentLine",
"value": " Does not exist - need to clone to clientside",
- "start": 4921,
- "end": 4968,
+ "start": 4906,
+ "end": 4953,
"loc": {
"start": {
"line": 156,
@@ -49931,8 +49931,8 @@
"updateContext": null
},
"value": "else",
- "start": 4975,
- "end": 4979,
+ "start": 4960,
+ "end": 4964,
"loc": {
"start": {
"line": 157,
@@ -49959,8 +49959,8 @@
"updateContext": null
},
"value": "if",
- "start": 4980,
- "end": 4982,
+ "start": 4965,
+ "end": 4967,
"loc": {
"start": {
"line": 157,
@@ -49984,8 +49984,8 @@
"postfix": false,
"binop": null
},
- "start": 4983,
- "end": 4984,
+ "start": 4968,
+ "end": 4969,
"loc": {
"start": {
"line": 157,
@@ -50010,8 +50010,8 @@
"binop": null
},
"value": "isSetup",
- "start": 4984,
- "end": 4991,
+ "start": 4969,
+ "end": 4976,
"loc": {
"start": {
"line": 157,
@@ -50035,8 +50035,8 @@
"postfix": false,
"binop": null
},
- "start": 4991,
- "end": 4992,
+ "start": 4976,
+ "end": 4977,
"loc": {
"start": {
"line": 157,
@@ -50060,8 +50060,8 @@
"postfix": false,
"binop": null
},
- "start": 4993,
- "end": 4994,
+ "start": 4978,
+ "end": 4979,
"loc": {
"start": {
"line": 157,
@@ -50088,8 +50088,8 @@
"updateContext": null
},
"value": "switch",
- "start": 5002,
- "end": 5008,
+ "start": 4987,
+ "end": 4993,
"loc": {
"start": {
"line": 158,
@@ -50113,8 +50113,8 @@
"postfix": false,
"binop": null
},
- "start": 5009,
- "end": 5010,
+ "start": 4994,
+ "end": 4995,
"loc": {
"start": {
"line": 158,
@@ -50139,8 +50139,8 @@
"binop": null
},
"value": "objType",
- "start": 5010,
- "end": 5017,
+ "start": 4995,
+ "end": 5002,
"loc": {
"start": {
"line": 158,
@@ -50164,8 +50164,8 @@
"postfix": false,
"binop": null
},
- "start": 5017,
- "end": 5018,
+ "start": 5002,
+ "end": 5003,
"loc": {
"start": {
"line": 158,
@@ -50189,8 +50189,8 @@
"postfix": false,
"binop": null
},
- "start": 5019,
- "end": 5020,
+ "start": 5004,
+ "end": 5005,
"loc": {
"start": {
"line": 158,
@@ -50217,8 +50217,8 @@
"updateContext": null
},
"value": "case",
- "start": 5029,
- "end": 5033,
+ "start": 5014,
+ "end": 5018,
"loc": {
"start": {
"line": 159,
@@ -50244,8 +50244,8 @@
"updateContext": null
},
"value": "players",
- "start": 5034,
- "end": 5043,
+ "start": 5019,
+ "end": 5028,
"loc": {
"start": {
"line": 159,
@@ -50270,8 +50270,8 @@
"binop": null,
"updateContext": null
},
- "start": 5043,
- "end": 5044,
+ "start": 5028,
+ "end": 5029,
"loc": {
"start": {
"line": 159,
@@ -50296,8 +50296,8 @@
"binop": null
},
"value": "objects",
- "start": 5054,
- "end": 5061,
+ "start": 5039,
+ "end": 5046,
"loc": {
"start": {
"line": 160,
@@ -50322,8 +50322,8 @@
"binop": null,
"updateContext": null
},
- "start": 5061,
- "end": 5062,
+ "start": 5046,
+ "end": 5047,
"loc": {
"start": {
"line": 160,
@@ -50348,8 +50348,8 @@
"binop": null
},
"value": "objType",
- "start": 5062,
- "end": 5069,
+ "start": 5047,
+ "end": 5054,
"loc": {
"start": {
"line": 160,
@@ -50374,8 +50374,8 @@
"binop": null,
"updateContext": null
},
- "start": 5069,
- "end": 5070,
+ "start": 5054,
+ "end": 5055,
"loc": {
"start": {
"line": 160,
@@ -50400,8 +50400,8 @@
"binop": null,
"updateContext": null
},
- "start": 5070,
- "end": 5071,
+ "start": 5055,
+ "end": 5056,
"loc": {
"start": {
"line": 160,
@@ -50426,8 +50426,8 @@
"binop": null
},
"value": "obj",
- "start": 5071,
- "end": 5074,
+ "start": 5056,
+ "end": 5059,
"loc": {
"start": {
"line": 160,
@@ -50452,8 +50452,8 @@
"binop": null,
"updateContext": null
},
- "start": 5074,
- "end": 5075,
+ "start": 5059,
+ "end": 5060,
"loc": {
"start": {
"line": 160,
@@ -50479,8 +50479,8 @@
"updateContext": null
},
"value": "=",
- "start": 5076,
- "end": 5077,
+ "start": 5061,
+ "end": 5062,
"loc": {
"start": {
"line": 160,
@@ -50505,8 +50505,8 @@
"binop": null
},
"value": "createPlayer",
- "start": 5078,
- "end": 5090,
+ "start": 5063,
+ "end": 5075,
"loc": {
"start": {
"line": 160,
@@ -50530,8 +50530,8 @@
"postfix": false,
"binop": null
},
- "start": 5090,
- "end": 5091,
+ "start": 5075,
+ "end": 5076,
"loc": {
"start": {
"line": 160,
@@ -50556,8 +50556,8 @@
"binop": null
},
"value": "objRef",
- "start": 5091,
- "end": 5097,
+ "start": 5076,
+ "end": 5082,
"loc": {
"start": {
"line": 160,
@@ -50581,8 +50581,8 @@
"postfix": false,
"binop": null
},
- "start": 5097,
- "end": 5098,
+ "start": 5082,
+ "end": 5083,
"loc": {
"start": {
"line": 160,
@@ -50609,8 +50609,8 @@
"updateContext": null
},
"value": "break",
- "start": 5108,
- "end": 5113,
+ "start": 5093,
+ "end": 5098,
"loc": {
"start": {
"line": 161,
@@ -50637,8 +50637,8 @@
"updateContext": null
},
"value": "case",
- "start": 5122,
- "end": 5126,
+ "start": 5107,
+ "end": 5111,
"loc": {
"start": {
"line": 162,
@@ -50664,8 +50664,8 @@
"updateContext": null
},
"value": "atoms",
- "start": 5127,
- "end": 5134,
+ "start": 5112,
+ "end": 5119,
"loc": {
"start": {
"line": 162,
@@ -50690,8 +50690,8 @@
"binop": null,
"updateContext": null
},
- "start": 5134,
- "end": 5135,
+ "start": 5119,
+ "end": 5120,
"loc": {
"start": {
"line": 162,
@@ -50716,8 +50716,8 @@
"binop": null
},
"value": "objects",
- "start": 5145,
- "end": 5152,
+ "start": 5130,
+ "end": 5137,
"loc": {
"start": {
"line": 163,
@@ -50742,8 +50742,8 @@
"binop": null,
"updateContext": null
},
- "start": 5152,
- "end": 5153,
+ "start": 5137,
+ "end": 5138,
"loc": {
"start": {
"line": 163,
@@ -50768,8 +50768,8 @@
"binop": null
},
"value": "objType",
- "start": 5153,
- "end": 5160,
+ "start": 5138,
+ "end": 5145,
"loc": {
"start": {
"line": 163,
@@ -50794,8 +50794,8 @@
"binop": null,
"updateContext": null
},
- "start": 5160,
- "end": 5161,
+ "start": 5145,
+ "end": 5146,
"loc": {
"start": {
"line": 163,
@@ -50820,8 +50820,8 @@
"binop": null,
"updateContext": null
},
- "start": 5161,
- "end": 5162,
+ "start": 5146,
+ "end": 5147,
"loc": {
"start": {
"line": 163,
@@ -50846,8 +50846,8 @@
"binop": null
},
"value": "obj",
- "start": 5162,
- "end": 5165,
+ "start": 5147,
+ "end": 5150,
"loc": {
"start": {
"line": 163,
@@ -50872,8 +50872,8 @@
"binop": null,
"updateContext": null
},
- "start": 5165,
- "end": 5166,
+ "start": 5150,
+ "end": 5151,
"loc": {
"start": {
"line": 163,
@@ -50899,8 +50899,8 @@
"updateContext": null
},
"value": "=",
- "start": 5167,
- "end": 5168,
+ "start": 5152,
+ "end": 5153,
"loc": {
"start": {
"line": 163,
@@ -50925,8 +50925,8 @@
"binop": null
},
"value": "createRenderAtom",
- "start": 5169,
- "end": 5185,
+ "start": 5154,
+ "end": 5170,
"loc": {
"start": {
"line": 163,
@@ -50950,8 +50950,8 @@
"postfix": false,
"binop": null
},
- "start": 5185,
- "end": 5186,
+ "start": 5170,
+ "end": 5171,
"loc": {
"start": {
"line": 163,
@@ -50976,8 +50976,8 @@
"binop": null
},
"value": "objRef",
- "start": 5186,
- "end": 5192,
+ "start": 5171,
+ "end": 5177,
"loc": {
"start": {
"line": 163,
@@ -51001,8 +51001,8 @@
"postfix": false,
"binop": null
},
- "start": 5192,
- "end": 5193,
+ "start": 5177,
+ "end": 5178,
"loc": {
"start": {
"line": 163,
@@ -51029,8 +51029,8 @@
"updateContext": null
},
"value": "break",
- "start": 5203,
- "end": 5208,
+ "start": 5188,
+ "end": 5193,
"loc": {
"start": {
"line": 164,
@@ -51057,8 +51057,8 @@
"updateContext": null
},
"value": "case",
- "start": 5217,
- "end": 5221,
+ "start": 5202,
+ "end": 5206,
"loc": {
"start": {
"line": 165,
@@ -51084,8 +51084,8 @@
"updateContext": null
},
"value": "compounds",
- "start": 5222,
- "end": 5233,
+ "start": 5207,
+ "end": 5218,
"loc": {
"start": {
"line": 165,
@@ -51110,8 +51110,8 @@
"binop": null,
"updateContext": null
},
- "start": 5233,
- "end": 5234,
+ "start": 5218,
+ "end": 5219,
"loc": {
"start": {
"line": 165,
@@ -51136,8 +51136,8 @@
"binop": null
},
"value": "objects",
- "start": 5244,
- "end": 5251,
+ "start": 5229,
+ "end": 5236,
"loc": {
"start": {
"line": 166,
@@ -51162,8 +51162,8 @@
"binop": null,
"updateContext": null
},
- "start": 5251,
- "end": 5252,
+ "start": 5236,
+ "end": 5237,
"loc": {
"start": {
"line": 166,
@@ -51188,8 +51188,8 @@
"binop": null
},
"value": "objType",
- "start": 5252,
- "end": 5259,
+ "start": 5237,
+ "end": 5244,
"loc": {
"start": {
"line": 166,
@@ -51214,8 +51214,8 @@
"binop": null,
"updateContext": null
},
- "start": 5259,
- "end": 5260,
+ "start": 5244,
+ "end": 5245,
"loc": {
"start": {
"line": 166,
@@ -51240,8 +51240,8 @@
"binop": null,
"updateContext": null
},
- "start": 5260,
- "end": 5261,
+ "start": 5245,
+ "end": 5246,
"loc": {
"start": {
"line": 166,
@@ -51266,8 +51266,8 @@
"binop": null
},
"value": "obj",
- "start": 5261,
- "end": 5264,
+ "start": 5246,
+ "end": 5249,
"loc": {
"start": {
"line": 166,
@@ -51292,8 +51292,8 @@
"binop": null,
"updateContext": null
},
- "start": 5264,
- "end": 5265,
+ "start": 5249,
+ "end": 5250,
"loc": {
"start": {
"line": 166,
@@ -51319,8 +51319,8 @@
"updateContext": null
},
"value": "=",
- "start": 5266,
- "end": 5267,
+ "start": 5251,
+ "end": 5252,
"loc": {
"start": {
"line": 166,
@@ -51345,8 +51345,8 @@
"binop": null
},
"value": "createRenderCompound",
- "start": 5268,
- "end": 5288,
+ "start": 5253,
+ "end": 5273,
"loc": {
"start": {
"line": 166,
@@ -51370,8 +51370,8 @@
"postfix": false,
"binop": null
},
- "start": 5288,
- "end": 5289,
+ "start": 5273,
+ "end": 5274,
"loc": {
"start": {
"line": 166,
@@ -51396,8 +51396,8 @@
"binop": null
},
"value": "objRef",
- "start": 5289,
- "end": 5295,
+ "start": 5274,
+ "end": 5280,
"loc": {
"start": {
"line": 166,
@@ -51421,8 +51421,8 @@
"postfix": false,
"binop": null
},
- "start": 5295,
- "end": 5296,
+ "start": 5280,
+ "end": 5281,
"loc": {
"start": {
"line": 166,
@@ -51449,8 +51449,8 @@
"updateContext": null
},
"value": "break",
- "start": 5306,
- "end": 5311,
+ "start": 5291,
+ "end": 5296,
"loc": {
"start": {
"line": 167,
@@ -51474,8 +51474,8 @@
"postfix": false,
"binop": null
},
- "start": 5319,
- "end": 5320,
+ "start": 5304,
+ "end": 5305,
"loc": {
"start": {
"line": 168,
@@ -51499,8 +51499,8 @@
"postfix": false,
"binop": null
},
- "start": 5327,
- "end": 5328,
+ "start": 5312,
+ "end": 5313,
"loc": {
"start": {
"line": 169,
@@ -51524,8 +51524,8 @@
"postfix": false,
"binop": null
},
- "start": 5334,
- "end": 5335,
+ "start": 5319,
+ "end": 5320,
"loc": {
"start": {
"line": 170,
@@ -51549,8 +51549,8 @@
"postfix": false,
"binop": null
},
- "start": 5340,
- "end": 5341,
+ "start": 5325,
+ "end": 5326,
"loc": {
"start": {
"line": 171,
@@ -51574,8 +51574,8 @@
"postfix": false,
"binop": null
},
- "start": 5345,
- "end": 5346,
+ "start": 5330,
+ "end": 5331,
"loc": {
"start": {
"line": 172,
@@ -51590,8 +51590,8 @@
{
"type": "CommentLine",
"value": " else { //Tile drawing",
- "start": 5350,
- "end": 5374,
+ "start": 5335,
+ "end": 5359,
"loc": {
"start": {
"line": 173,
@@ -51606,8 +51606,8 @@
{
"type": "CommentLine",
"value": " for (let tile of data.tiles) {",
- "start": 5378,
- "end": 5415,
+ "start": 5363,
+ "end": 5400,
"loc": {
"start": {
"line": 174,
@@ -51622,8 +51622,8 @@
{
"type": "CommentLine",
"value": " let tileName = 'tile_' + tile.col + '_' + tile.row;",
- "start": 5420,
- "end": 5482,
+ "start": 5405,
+ "end": 5467,
"loc": {
"start": {
"line": 176,
@@ -51638,8 +51638,8 @@
{
"type": "CommentLine",
"value": " if (objects.tiles[tileName] === undefined) {",
- "start": 5486,
- "end": 5541,
+ "start": 5471,
+ "end": 5526,
"loc": {
"start": {
"line": 177,
@@ -51654,8 +51654,8 @@
{
"type": "CommentLine",
"value": " // console.log(tileName);",
- "start": 5545,
- "end": 5585,
+ "start": 5530,
+ "end": 5570,
"loc": {
"start": {
"line": 178,
@@ -51670,8 +51670,8 @@
{
"type": "CommentLine",
"value": " objects.tiles[tileName] = new MapTile(MAP_LAYOUT[tile.row][tile.col], tile.col, tile.row);",
- "start": 5589,
- "end": 5694,
+ "start": 5574,
+ "end": 5679,
"loc": {
"start": {
"line": 179,
@@ -51686,8 +51686,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 5698,
- "end": 5710,
+ "start": 5683,
+ "end": 5695,
"loc": {
"start": {
"line": 180,
@@ -51702,8 +51702,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 5715,
- "end": 5723,
+ "start": 5700,
+ "end": 5708,
"loc": {
"start": {
"line": 182,
@@ -51718,8 +51718,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 5727,
- "end": 5731,
+ "start": 5712,
+ "end": 5716,
"loc": {
"start": {
"line": 183,
@@ -51743,8 +51743,8 @@
"postfix": false,
"binop": null
},
- "start": 5734,
- "end": 5735,
+ "start": 5719,
+ "end": 5720,
"loc": {
"start": {
"line": 184,
@@ -51768,8 +51768,8 @@
"postfix": false,
"binop": null
},
- "start": 5737,
- "end": 5738,
+ "start": 5722,
+ "end": 5723,
"loc": {
"start": {
"line": 185,
@@ -51793,8 +51793,8 @@
"postfix": false,
"binop": null
},
- "start": 5738,
- "end": 5739,
+ "start": 5723,
+ "end": 5724,
"loc": {
"start": {
"line": 185,
@@ -51809,8 +51809,8 @@
{
"type": "CommentLine",
"value": " Sync objects when they are deleted or move out of view. ONLY call after objectSync to avoid issue",
- "start": 5742,
- "end": 5842,
+ "start": 5727,
+ "end": 5827,
"loc": {
"start": {
"line": 187,
@@ -51835,8 +51835,8 @@
"binop": null
},
"value": "socket",
- "start": 5844,
- "end": 5850,
+ "start": 5829,
+ "end": 5835,
"loc": {
"start": {
"line": 188,
@@ -51861,8 +51861,8 @@
"binop": null,
"updateContext": null
},
- "start": 5850,
- "end": 5851,
+ "start": 5835,
+ "end": 5836,
"loc": {
"start": {
"line": 188,
@@ -51887,8 +51887,8 @@
"binop": null
},
"value": "on",
- "start": 5851,
- "end": 5853,
+ "start": 5836,
+ "end": 5838,
"loc": {
"start": {
"line": 188,
@@ -51912,8 +51912,8 @@
"postfix": false,
"binop": null
},
- "start": 5853,
- "end": 5854,
+ "start": 5838,
+ "end": 5839,
"loc": {
"start": {
"line": 188,
@@ -51939,8 +51939,8 @@
"updateContext": null
},
"value": "serverSendObjectRemoval",
- "start": 5854,
- "end": 5879,
+ "start": 5839,
+ "end": 5864,
"loc": {
"start": {
"line": 188,
@@ -51965,8 +51965,8 @@
"binop": null,
"updateContext": null
},
- "start": 5879,
- "end": 5880,
+ "start": 5864,
+ "end": 5865,
"loc": {
"start": {
"line": 188,
@@ -51990,8 +51990,8 @@
"postfix": false,
"binop": null
},
- "start": 5881,
- "end": 5882,
+ "start": 5866,
+ "end": 5867,
"loc": {
"start": {
"line": 188,
@@ -52016,8 +52016,8 @@
"binop": null
},
"value": "data",
- "start": 5882,
- "end": 5886,
+ "start": 5867,
+ "end": 5871,
"loc": {
"start": {
"line": 188,
@@ -52041,8 +52041,8 @@
"postfix": false,
"binop": null
},
- "start": 5886,
- "end": 5887,
+ "start": 5871,
+ "end": 5872,
"loc": {
"start": {
"line": 188,
@@ -52067,8 +52067,8 @@
"binop": null,
"updateContext": null
},
- "start": 5888,
- "end": 5890,
+ "start": 5873,
+ "end": 5875,
"loc": {
"start": {
"line": 188,
@@ -52092,8 +52092,8 @@
"postfix": false,
"binop": null
},
- "start": 5891,
- "end": 5892,
+ "start": 5876,
+ "end": 5877,
"loc": {
"start": {
"line": 188,
@@ -52120,8 +52120,8 @@
"updateContext": null
},
"value": "if",
- "start": 5895,
- "end": 5897,
+ "start": 5880,
+ "end": 5882,
"loc": {
"start": {
"line": 189,
@@ -52145,8 +52145,8 @@
"postfix": false,
"binop": null
},
- "start": 5898,
- "end": 5899,
+ "start": 5883,
+ "end": 5884,
"loc": {
"start": {
"line": 189,
@@ -52171,8 +52171,8 @@
"binop": null
},
"value": "GLOBAL",
- "start": 5899,
- "end": 5905,
+ "start": 5884,
+ "end": 5890,
"loc": {
"start": {
"line": 189,
@@ -52197,8 +52197,8 @@
"binop": null,
"updateContext": null
},
- "start": 5905,
- "end": 5906,
+ "start": 5890,
+ "end": 5891,
"loc": {
"start": {
"line": 189,
@@ -52223,8 +52223,8 @@
"binop": null
},
"value": "VERBOSE_SOCKET",
- "start": 5906,
- "end": 5920,
+ "start": 5891,
+ "end": 5905,
"loc": {
"start": {
"line": 189,
@@ -52248,8 +52248,8 @@
"postfix": false,
"binop": null
},
- "start": 5920,
- "end": 5921,
+ "start": 5905,
+ "end": 5906,
"loc": {
"start": {
"line": 189,
@@ -52273,8 +52273,8 @@
"postfix": false,
"binop": null
},
- "start": 5922,
- "end": 5923,
+ "start": 5907,
+ "end": 5908,
"loc": {
"start": {
"line": 189,
@@ -52299,8 +52299,8 @@
"binop": null
},
"value": "console",
- "start": 5927,
- "end": 5934,
+ "start": 5912,
+ "end": 5919,
"loc": {
"start": {
"line": 190,
@@ -52325,8 +52325,8 @@
"binop": null,
"updateContext": null
},
- "start": 5934,
- "end": 5935,
+ "start": 5919,
+ "end": 5920,
"loc": {
"start": {
"line": 190,
@@ -52351,8 +52351,8 @@
"binop": null
},
"value": "info",
- "start": 5935,
- "end": 5939,
+ "start": 5920,
+ "end": 5924,
"loc": {
"start": {
"line": 190,
@@ -52376,8 +52376,8 @@
"postfix": false,
"binop": null
},
- "start": 5939,
- "end": 5940,
+ "start": 5924,
+ "end": 5925,
"loc": {
"start": {
"line": 190,
@@ -52403,8 +52403,8 @@
"updateContext": null
},
"value": "serverSendObjectRemoval() called on: ",
- "start": 5940,
- "end": 5979,
+ "start": 5925,
+ "end": 5964,
"loc": {
"start": {
"line": 190,
@@ -52428,8 +52428,8 @@
"postfix": false,
"binop": null
},
- "start": 5979,
- "end": 5980,
+ "start": 5964,
+ "end": 5965,
"loc": {
"start": {
"line": 190,
@@ -52454,8 +52454,8 @@
"binop": null
},
"value": "console",
- "start": 5984,
- "end": 5991,
+ "start": 5969,
+ "end": 5976,
"loc": {
"start": {
"line": 191,
@@ -52480,8 +52480,8 @@
"binop": null,
"updateContext": null
},
- "start": 5991,
- "end": 5992,
+ "start": 5976,
+ "end": 5977,
"loc": {
"start": {
"line": 191,
@@ -52506,8 +52506,8 @@
"binop": null
},
"value": "info",
- "start": 5992,
- "end": 5996,
+ "start": 5977,
+ "end": 5981,
"loc": {
"start": {
"line": 191,
@@ -52531,8 +52531,8 @@
"postfix": false,
"binop": null
},
- "start": 5996,
- "end": 5997,
+ "start": 5981,
+ "end": 5982,
"loc": {
"start": {
"line": 191,
@@ -52557,8 +52557,8 @@
"binop": null
},
"value": "data",
- "start": 5997,
- "end": 6001,
+ "start": 5982,
+ "end": 5986,
"loc": {
"start": {
"line": 191,
@@ -52582,8 +52582,8 @@
"postfix": false,
"binop": null
},
- "start": 6001,
- "end": 6002,
+ "start": 5986,
+ "end": 5987,
"loc": {
"start": {
"line": 191,
@@ -52608,8 +52608,8 @@
"binop": null
},
"value": "console",
- "start": 6006,
- "end": 6013,
+ "start": 5991,
+ "end": 5998,
"loc": {
"start": {
"line": 192,
@@ -52634,8 +52634,8 @@
"binop": null,
"updateContext": null
},
- "start": 6013,
- "end": 6014,
+ "start": 5998,
+ "end": 5999,
"loc": {
"start": {
"line": 192,
@@ -52660,8 +52660,8 @@
"binop": null
},
"value": "info",
- "start": 6014,
- "end": 6018,
+ "start": 5999,
+ "end": 6003,
"loc": {
"start": {
"line": 192,
@@ -52685,8 +52685,8 @@
"postfix": false,
"binop": null
},
- "start": 6018,
- "end": 6019,
+ "start": 6003,
+ "end": 6004,
"loc": {
"start": {
"line": 192,
@@ -52711,8 +52711,8 @@
"binop": null
},
"value": "objects",
- "start": 6019,
- "end": 6026,
+ "start": 6004,
+ "end": 6011,
"loc": {
"start": {
"line": 192,
@@ -52737,8 +52737,8 @@
"binop": null,
"updateContext": null
},
- "start": 6026,
- "end": 6027,
+ "start": 6011,
+ "end": 6012,
"loc": {
"start": {
"line": 192,
@@ -52763,8 +52763,8 @@
"binop": null
},
"value": "data",
- "start": 6027,
- "end": 6031,
+ "start": 6012,
+ "end": 6016,
"loc": {
"start": {
"line": 192,
@@ -52789,8 +52789,8 @@
"binop": null,
"updateContext": null
},
- "start": 6031,
- "end": 6032,
+ "start": 6016,
+ "end": 6017,
"loc": {
"start": {
"line": 192,
@@ -52815,8 +52815,8 @@
"binop": null
},
"value": "type",
- "start": 6032,
- "end": 6036,
+ "start": 6017,
+ "end": 6021,
"loc": {
"start": {
"line": 192,
@@ -52841,8 +52841,8 @@
"binop": null,
"updateContext": null
},
- "start": 6036,
- "end": 6037,
+ "start": 6021,
+ "end": 6022,
"loc": {
"start": {
"line": 192,
@@ -52867,8 +52867,8 @@
"binop": null,
"updateContext": null
},
- "start": 6037,
- "end": 6038,
+ "start": 6022,
+ "end": 6023,
"loc": {
"start": {
"line": 192,
@@ -52893,8 +52893,8 @@
"binop": null
},
"value": "data",
- "start": 6038,
- "end": 6042,
+ "start": 6023,
+ "end": 6027,
"loc": {
"start": {
"line": 192,
@@ -52919,8 +52919,8 @@
"binop": null,
"updateContext": null
},
- "start": 6042,
- "end": 6043,
+ "start": 6027,
+ "end": 6028,
"loc": {
"start": {
"line": 192,
@@ -52945,8 +52945,8 @@
"binop": null
},
"value": "id",
- "start": 6043,
- "end": 6045,
+ "start": 6028,
+ "end": 6030,
"loc": {
"start": {
"line": 192,
@@ -52971,8 +52971,8 @@
"binop": null,
"updateContext": null
},
- "start": 6045,
- "end": 6046,
+ "start": 6030,
+ "end": 6031,
"loc": {
"start": {
"line": 192,
@@ -52996,8 +52996,8 @@
"postfix": false,
"binop": null
},
- "start": 6046,
- "end": 6047,
+ "start": 6031,
+ "end": 6032,
"loc": {
"start": {
"line": 192,
@@ -53022,8 +53022,8 @@
"binop": null
},
"value": "console",
- "start": 6051,
- "end": 6058,
+ "start": 6036,
+ "end": 6043,
"loc": {
"start": {
"line": 193,
@@ -53048,8 +53048,8 @@
"binop": null,
"updateContext": null
},
- "start": 6058,
- "end": 6059,
+ "start": 6043,
+ "end": 6044,
"loc": {
"start": {
"line": 193,
@@ -53074,8 +53074,8 @@
"binop": null
},
"value": "info",
- "start": 6059,
- "end": 6063,
+ "start": 6044,
+ "end": 6048,
"loc": {
"start": {
"line": 193,
@@ -53099,8 +53099,8 @@
"postfix": false,
"binop": null
},
- "start": 6063,
- "end": 6064,
+ "start": 6048,
+ "end": 6049,
"loc": {
"start": {
"line": 193,
@@ -53125,8 +53125,8 @@
"binop": null
},
"value": "objects",
- "start": 6064,
- "end": 6071,
+ "start": 6049,
+ "end": 6056,
"loc": {
"start": {
"line": 193,
@@ -53150,8 +53150,8 @@
"postfix": false,
"binop": null
},
- "start": 6071,
- "end": 6072,
+ "start": 6056,
+ "end": 6057,
"loc": {
"start": {
"line": 193,
@@ -53175,8 +53175,8 @@
"postfix": false,
"binop": null
},
- "start": 6075,
- "end": 6076,
+ "start": 6060,
+ "end": 6061,
"loc": {
"start": {
"line": 194,
@@ -53203,8 +53203,8 @@
"updateContext": null
},
"value": "if",
- "start": 6079,
- "end": 6081,
+ "start": 6064,
+ "end": 6066,
"loc": {
"start": {
"line": 195,
@@ -53228,8 +53228,8 @@
"postfix": false,
"binop": null
},
- "start": 6082,
- "end": 6083,
+ "start": 6067,
+ "end": 6068,
"loc": {
"start": {
"line": 195,
@@ -53254,8 +53254,8 @@
"binop": null
},
"value": "objects",
- "start": 6083,
- "end": 6090,
+ "start": 6068,
+ "end": 6075,
"loc": {
"start": {
"line": 195,
@@ -53280,8 +53280,8 @@
"binop": null,
"updateContext": null
},
- "start": 6090,
- "end": 6091,
+ "start": 6075,
+ "end": 6076,
"loc": {
"start": {
"line": 195,
@@ -53306,8 +53306,8 @@
"binop": null
},
"value": "data",
- "start": 6091,
- "end": 6095,
+ "start": 6076,
+ "end": 6080,
"loc": {
"start": {
"line": 195,
@@ -53332,8 +53332,8 @@
"binop": null,
"updateContext": null
},
- "start": 6095,
- "end": 6096,
+ "start": 6080,
+ "end": 6081,
"loc": {
"start": {
"line": 195,
@@ -53358,8 +53358,8 @@
"binop": null
},
"value": "type",
- "start": 6096,
- "end": 6100,
+ "start": 6081,
+ "end": 6085,
"loc": {
"start": {
"line": 195,
@@ -53384,8 +53384,8 @@
"binop": null,
"updateContext": null
},
- "start": 6100,
- "end": 6101,
+ "start": 6085,
+ "end": 6086,
"loc": {
"start": {
"line": 195,
@@ -53410,8 +53410,8 @@
"binop": null,
"updateContext": null
},
- "start": 6101,
- "end": 6102,
+ "start": 6086,
+ "end": 6087,
"loc": {
"start": {
"line": 195,
@@ -53436,8 +53436,8 @@
"binop": null
},
"value": "data",
- "start": 6102,
- "end": 6106,
+ "start": 6087,
+ "end": 6091,
"loc": {
"start": {
"line": 195,
@@ -53462,8 +53462,8 @@
"binop": null,
"updateContext": null
},
- "start": 6106,
- "end": 6107,
+ "start": 6091,
+ "end": 6092,
"loc": {
"start": {
"line": 195,
@@ -53488,8 +53488,8 @@
"binop": null
},
"value": "id",
- "start": 6107,
- "end": 6109,
+ "start": 6092,
+ "end": 6094,
"loc": {
"start": {
"line": 195,
@@ -53514,8 +53514,8 @@
"binop": null,
"updateContext": null
},
- "start": 6109,
- "end": 6110,
+ "start": 6094,
+ "end": 6095,
"loc": {
"start": {
"line": 195,
@@ -53541,8 +53541,8 @@
"updateContext": null
},
"value": "===",
- "start": 6111,
- "end": 6114,
+ "start": 6096,
+ "end": 6099,
"loc": {
"start": {
"line": 195,
@@ -53567,8 +53567,8 @@
"binop": null
},
"value": "undefined",
- "start": 6115,
- "end": 6124,
+ "start": 6100,
+ "end": 6109,
"loc": {
"start": {
"line": 195,
@@ -53594,8 +53594,8 @@
"updateContext": null
},
"value": "||",
- "start": 6125,
- "end": 6127,
+ "start": 6110,
+ "end": 6112,
"loc": {
"start": {
"line": 195,
@@ -53620,8 +53620,8 @@
"binop": null
},
"value": "objects",
- "start": 6128,
- "end": 6135,
+ "start": 6113,
+ "end": 6120,
"loc": {
"start": {
"line": 195,
@@ -53646,8 +53646,8 @@
"binop": null,
"updateContext": null
},
- "start": 6135,
- "end": 6136,
+ "start": 6120,
+ "end": 6121,
"loc": {
"start": {
"line": 195,
@@ -53672,8 +53672,8 @@
"binop": null
},
"value": "data",
- "start": 6136,
- "end": 6140,
+ "start": 6121,
+ "end": 6125,
"loc": {
"start": {
"line": 195,
@@ -53698,8 +53698,8 @@
"binop": null,
"updateContext": null
},
- "start": 6140,
- "end": 6141,
+ "start": 6125,
+ "end": 6126,
"loc": {
"start": {
"line": 195,
@@ -53724,8 +53724,8 @@
"binop": null
},
"value": "type",
- "start": 6141,
- "end": 6145,
+ "start": 6126,
+ "end": 6130,
"loc": {
"start": {
"line": 195,
@@ -53750,8 +53750,8 @@
"binop": null,
"updateContext": null
},
- "start": 6145,
- "end": 6146,
+ "start": 6130,
+ "end": 6131,
"loc": {
"start": {
"line": 195,
@@ -53776,8 +53776,8 @@
"binop": null,
"updateContext": null
},
- "start": 6146,
- "end": 6147,
+ "start": 6131,
+ "end": 6132,
"loc": {
"start": {
"line": 195,
@@ -53802,8 +53802,8 @@
"binop": null
},
"value": "data",
- "start": 6147,
- "end": 6151,
+ "start": 6132,
+ "end": 6136,
"loc": {
"start": {
"line": 195,
@@ -53828,8 +53828,8 @@
"binop": null,
"updateContext": null
},
- "start": 6151,
- "end": 6152,
+ "start": 6136,
+ "end": 6137,
"loc": {
"start": {
"line": 195,
@@ -53854,8 +53854,8 @@
"binop": null
},
"value": "id",
- "start": 6152,
- "end": 6154,
+ "start": 6137,
+ "end": 6139,
"loc": {
"start": {
"line": 195,
@@ -53880,8 +53880,8 @@
"binop": null,
"updateContext": null
},
- "start": 6154,
- "end": 6155,
+ "start": 6139,
+ "end": 6140,
"loc": {
"start": {
"line": 195,
@@ -53907,8 +53907,8 @@
"updateContext": null
},
"value": "===",
- "start": 6156,
- "end": 6159,
+ "start": 6141,
+ "end": 6144,
"loc": {
"start": {
"line": 195,
@@ -53935,8 +53935,8 @@
"updateContext": null
},
"value": "null",
- "start": 6160,
- "end": 6164,
+ "start": 6145,
+ "end": 6149,
"loc": {
"start": {
"line": 195,
@@ -53960,8 +53960,8 @@
"postfix": false,
"binop": null
},
- "start": 6164,
- "end": 6165,
+ "start": 6149,
+ "end": 6150,
"loc": {
"start": {
"line": 195,
@@ -53985,8 +53985,8 @@
"postfix": false,
"binop": null
},
- "start": 6166,
- "end": 6167,
+ "start": 6151,
+ "end": 6152,
"loc": {
"start": {
"line": 195,
@@ -54013,8 +54013,8 @@
"updateContext": null
},
"value": "if",
- "start": 6171,
- "end": 6173,
+ "start": 6156,
+ "end": 6158,
"loc": {
"start": {
"line": 196,
@@ -54038,8 +54038,8 @@
"postfix": false,
"binop": null
},
- "start": 6174,
- "end": 6175,
+ "start": 6159,
+ "end": 6160,
"loc": {
"start": {
"line": 196,
@@ -54064,8 +54064,8 @@
"binop": null
},
"value": "GLOBAL",
- "start": 6175,
- "end": 6181,
+ "start": 6160,
+ "end": 6166,
"loc": {
"start": {
"line": 196,
@@ -54090,8 +54090,8 @@
"binop": null,
"updateContext": null
},
- "start": 6181,
- "end": 6182,
+ "start": 6166,
+ "end": 6167,
"loc": {
"start": {
"line": 196,
@@ -54116,8 +54116,8 @@
"binop": null
},
"value": "VERBOSE_SOCKET",
- "start": 6182,
- "end": 6196,
+ "start": 6167,
+ "end": 6181,
"loc": {
"start": {
"line": 196,
@@ -54141,8 +54141,8 @@
"postfix": false,
"binop": null
},
- "start": 6196,
- "end": 6197,
+ "start": 6181,
+ "end": 6182,
"loc": {
"start": {
"line": 196,
@@ -54166,8 +54166,8 @@
"postfix": false,
"binop": null
},
- "start": 6198,
- "end": 6199,
+ "start": 6183,
+ "end": 6184,
"loc": {
"start": {
"line": 196,
@@ -54192,8 +54192,8 @@
"binop": null
},
"value": "console",
- "start": 6204,
- "end": 6211,
+ "start": 6189,
+ "end": 6196,
"loc": {
"start": {
"line": 197,
@@ -54218,8 +54218,8 @@
"binop": null,
"updateContext": null
},
- "start": 6211,
- "end": 6212,
+ "start": 6196,
+ "end": 6197,
"loc": {
"start": {
"line": 197,
@@ -54244,8 +54244,8 @@
"binop": null
},
"value": "warn",
- "start": 6212,
- "end": 6216,
+ "start": 6197,
+ "end": 6201,
"loc": {
"start": {
"line": 197,
@@ -54269,8 +54269,8 @@
"postfix": false,
"binop": null
},
- "start": 6216,
- "end": 6217,
+ "start": 6201,
+ "end": 6202,
"loc": {
"start": {
"line": 197,
@@ -54296,8 +54296,8 @@
"updateContext": null
},
"value": "serverSendObjectRemoval() called on invalid object. Retry.",
- "start": 6217,
- "end": 6277,
+ "start": 6202,
+ "end": 6262,
"loc": {
"start": {
"line": 197,
@@ -54322,8 +54322,8 @@
"binop": null,
"updateContext": null
},
- "start": 6277,
- "end": 6278,
+ "start": 6262,
+ "end": 6263,
"loc": {
"start": {
"line": 197,
@@ -54348,8 +54348,8 @@
"binop": null
},
"value": "data",
- "start": 6279,
- "end": 6283,
+ "start": 6264,
+ "end": 6268,
"loc": {
"start": {
"line": 197,
@@ -54373,8 +54373,8 @@
"postfix": false,
"binop": null
},
- "start": 6283,
- "end": 6284,
+ "start": 6268,
+ "end": 6269,
"loc": {
"start": {
"line": 197,
@@ -54398,8 +54398,8 @@
"postfix": false,
"binop": null
},
- "start": 6288,
- "end": 6289,
+ "start": 6273,
+ "end": 6274,
"loc": {
"start": {
"line": 198,
@@ -54424,8 +54424,8 @@
"binop": null
},
"value": "setTimeout",
- "start": 6293,
- "end": 6303,
+ "start": 6278,
+ "end": 6288,
"loc": {
"start": {
"line": 199,
@@ -54449,8 +54449,8 @@
"postfix": false,
"binop": null
},
- "start": 6303,
- "end": 6304,
+ "start": 6288,
+ "end": 6289,
"loc": {
"start": {
"line": 199,
@@ -54474,8 +54474,8 @@
"postfix": false,
"binop": null
},
- "start": 6304,
- "end": 6305,
+ "start": 6289,
+ "end": 6290,
"loc": {
"start": {
"line": 199,
@@ -54499,8 +54499,8 @@
"postfix": false,
"binop": null
},
- "start": 6305,
- "end": 6306,
+ "start": 6290,
+ "end": 6291,
"loc": {
"start": {
"line": 199,
@@ -54525,8 +54525,8 @@
"binop": null,
"updateContext": null
},
- "start": 6307,
- "end": 6309,
+ "start": 6292,
+ "end": 6294,
"loc": {
"start": {
"line": 199,
@@ -54550,8 +54550,8 @@
"postfix": false,
"binop": null
},
- "start": 6310,
- "end": 6311,
+ "start": 6295,
+ "end": 6296,
"loc": {
"start": {
"line": 199,
@@ -54578,8 +54578,8 @@
"updateContext": null
},
"value": "try",
- "start": 6316,
- "end": 6319,
+ "start": 6301,
+ "end": 6304,
"loc": {
"start": {
"line": 200,
@@ -54603,8 +54603,8 @@
"postfix": false,
"binop": null
},
- "start": 6320,
- "end": 6321,
+ "start": 6305,
+ "end": 6306,
"loc": {
"start": {
"line": 200,
@@ -54631,8 +54631,8 @@
"updateContext": null
},
"value": "if",
- "start": 6327,
- "end": 6329,
+ "start": 6312,
+ "end": 6314,
"loc": {
"start": {
"line": 201,
@@ -54656,8 +54656,8 @@
"postfix": false,
"binop": null
},
- "start": 6330,
- "end": 6331,
+ "start": 6315,
+ "end": 6316,
"loc": {
"start": {
"line": 201,
@@ -54682,8 +54682,8 @@
"binop": null
},
"value": "removeObject",
- "start": 6331,
- "end": 6343,
+ "start": 6316,
+ "end": 6328,
"loc": {
"start": {
"line": 201,
@@ -54707,8 +54707,8 @@
"postfix": false,
"binop": null
},
- "start": 6343,
- "end": 6344,
+ "start": 6328,
+ "end": 6329,
"loc": {
"start": {
"line": 201,
@@ -54733,8 +54733,8 @@
"binop": null
},
"value": "data",
- "start": 6344,
- "end": 6348,
+ "start": 6329,
+ "end": 6333,
"loc": {
"start": {
"line": 201,
@@ -54758,8 +54758,8 @@
"postfix": false,
"binop": null
},
- "start": 6348,
- "end": 6349,
+ "start": 6333,
+ "end": 6334,
"loc": {
"start": {
"line": 201,
@@ -54783,8 +54783,8 @@
"postfix": false,
"binop": null
},
- "start": 6349,
- "end": 6350,
+ "start": 6334,
+ "end": 6335,
"loc": {
"start": {
"line": 201,
@@ -54808,8 +54808,8 @@
"postfix": false,
"binop": null
},
- "start": 6351,
- "end": 6352,
+ "start": 6336,
+ "end": 6337,
"loc": {
"start": {
"line": 201,
@@ -54836,8 +54836,8 @@
"updateContext": null
},
"value": "if",
- "start": 6359,
- "end": 6361,
+ "start": 6344,
+ "end": 6346,
"loc": {
"start": {
"line": 202,
@@ -54861,8 +54861,8 @@
"postfix": false,
"binop": null
},
- "start": 6362,
- "end": 6363,
+ "start": 6347,
+ "end": 6348,
"loc": {
"start": {
"line": 202,
@@ -54887,8 +54887,8 @@
"binop": null
},
"value": "GLOBAL",
- "start": 6363,
- "end": 6369,
+ "start": 6348,
+ "end": 6354,
"loc": {
"start": {
"line": 202,
@@ -54913,8 +54913,8 @@
"binop": null,
"updateContext": null
},
- "start": 6369,
- "end": 6370,
+ "start": 6354,
+ "end": 6355,
"loc": {
"start": {
"line": 202,
@@ -54939,8 +54939,8 @@
"binop": null
},
"value": "VERBOSE_SOCKET",
- "start": 6370,
- "end": 6384,
+ "start": 6355,
+ "end": 6369,
"loc": {
"start": {
"line": 202,
@@ -54964,8 +54964,8 @@
"postfix": false,
"binop": null
},
- "start": 6384,
- "end": 6385,
+ "start": 6369,
+ "end": 6370,
"loc": {
"start": {
"line": 202,
@@ -54989,8 +54989,8 @@
"postfix": false,
"binop": null
},
- "start": 6386,
- "end": 6387,
+ "start": 6371,
+ "end": 6372,
"loc": {
"start": {
"line": 202,
@@ -55015,8 +55015,8 @@
"binop": null
},
"value": "console",
- "start": 6395,
- "end": 6402,
+ "start": 6380,
+ "end": 6387,
"loc": {
"start": {
"line": 203,
@@ -55041,8 +55041,8 @@
"binop": null,
"updateContext": null
},
- "start": 6402,
- "end": 6403,
+ "start": 6387,
+ "end": 6388,
"loc": {
"start": {
"line": 203,
@@ -55067,8 +55067,8 @@
"binop": null
},
"value": "info",
- "start": 6403,
- "end": 6407,
+ "start": 6388,
+ "end": 6392,
"loc": {
"start": {
"line": 203,
@@ -55092,8 +55092,8 @@
"postfix": false,
"binop": null
},
- "start": 6407,
- "end": 6408,
+ "start": 6392,
+ "end": 6393,
"loc": {
"start": {
"line": 203,
@@ -55119,8 +55119,8 @@
"updateContext": null
},
"value": "Retry successfully removed object. While this worked, it should not happen. Please fix root cause of issue. ",
- "start": 6408,
- "end": 6518,
+ "start": 6393,
+ "end": 6503,
"loc": {
"start": {
"line": 203,
@@ -55144,8 +55144,8 @@
"postfix": false,
"binop": null
},
- "start": 6518,
- "end": 6519,
+ "start": 6503,
+ "end": 6504,
"loc": {
"start": {
"line": 203,
@@ -55169,8 +55169,8 @@
"postfix": false,
"binop": null
},
- "start": 6526,
- "end": 6527,
+ "start": 6511,
+ "end": 6512,
"loc": {
"start": {
"line": 204,
@@ -55197,8 +55197,8 @@
"updateContext": null
},
"value": "return",
- "start": 6534,
- "end": 6540,
+ "start": 6519,
+ "end": 6525,
"loc": {
"start": {
"line": 205,
@@ -55224,8 +55224,8 @@
"updateContext": null
},
"value": 0,
- "start": 6541,
- "end": 6542,
+ "start": 6526,
+ "end": 6527,
"loc": {
"start": {
"line": 205,
@@ -55249,8 +55249,8 @@
"postfix": false,
"binop": null
},
- "start": 6548,
- "end": 6549,
+ "start": 6533,
+ "end": 6534,
"loc": {
"start": {
"line": 206,
@@ -55274,8 +55274,8 @@
"postfix": false,
"binop": null
},
- "start": 6554,
- "end": 6555,
+ "start": 6539,
+ "end": 6540,
"loc": {
"start": {
"line": 207,
@@ -55302,8 +55302,8 @@
"updateContext": null
},
"value": "catch",
- "start": 6560,
- "end": 6565,
+ "start": 6545,
+ "end": 6550,
"loc": {
"start": {
"line": 208,
@@ -55327,8 +55327,8 @@
"postfix": false,
"binop": null
},
- "start": 6566,
- "end": 6567,
+ "start": 6551,
+ "end": 6552,
"loc": {
"start": {
"line": 208,
@@ -55353,8 +55353,8 @@
"binop": null
},
"value": "err",
- "start": 6567,
- "end": 6570,
+ "start": 6552,
+ "end": 6555,
"loc": {
"start": {
"line": 208,
@@ -55378,8 +55378,8 @@
"postfix": false,
"binop": null
},
- "start": 6570,
- "end": 6571,
+ "start": 6555,
+ "end": 6556,
"loc": {
"start": {
"line": 208,
@@ -55403,8 +55403,8 @@
"postfix": false,
"binop": null
},
- "start": 6572,
- "end": 6573,
+ "start": 6557,
+ "end": 6558,
"loc": {
"start": {
"line": 208,
@@ -55431,8 +55431,8 @@
"updateContext": null
},
"value": "if",
- "start": 6579,
- "end": 6581,
+ "start": 6564,
+ "end": 6566,
"loc": {
"start": {
"line": 209,
@@ -55456,8 +55456,8 @@
"postfix": false,
"binop": null
},
- "start": 6582,
- "end": 6583,
+ "start": 6567,
+ "end": 6568,
"loc": {
"start": {
"line": 209,
@@ -55482,8 +55482,8 @@
"binop": null
},
"value": "GLOBAL",
- "start": 6583,
- "end": 6589,
+ "start": 6568,
+ "end": 6574,
"loc": {
"start": {
"line": 209,
@@ -55508,8 +55508,8 @@
"binop": null,
"updateContext": null
},
- "start": 6589,
- "end": 6590,
+ "start": 6574,
+ "end": 6575,
"loc": {
"start": {
"line": 209,
@@ -55534,8 +55534,8 @@
"binop": null
},
"value": "VERBOSE_SOCKET",
- "start": 6590,
- "end": 6604,
+ "start": 6575,
+ "end": 6589,
"loc": {
"start": {
"line": 209,
@@ -55559,8 +55559,8 @@
"postfix": false,
"binop": null
},
- "start": 6604,
- "end": 6605,
+ "start": 6589,
+ "end": 6590,
"loc": {
"start": {
"line": 209,
@@ -55584,8 +55584,8 @@
"postfix": false,
"binop": null
},
- "start": 6606,
- "end": 6607,
+ "start": 6591,
+ "end": 6592,
"loc": {
"start": {
"line": 209,
@@ -55610,8 +55610,8 @@
"binop": null
},
"value": "console",
- "start": 6614,
- "end": 6621,
+ "start": 6599,
+ "end": 6606,
"loc": {
"start": {
"line": 210,
@@ -55636,8 +55636,8 @@
"binop": null,
"updateContext": null
},
- "start": 6621,
- "end": 6622,
+ "start": 6606,
+ "end": 6607,
"loc": {
"start": {
"line": 210,
@@ -55662,8 +55662,8 @@
"binop": null
},
"value": "error",
- "start": 6622,
- "end": 6627,
+ "start": 6607,
+ "end": 6612,
"loc": {
"start": {
"line": 210,
@@ -55687,8 +55687,8 @@
"postfix": false,
"binop": null
},
- "start": 6627,
- "end": 6628,
+ "start": 6612,
+ "end": 6613,
"loc": {
"start": {
"line": 210,
@@ -55714,8 +55714,8 @@
"updateContext": null
},
"value": "Retry failed. Object removal failed. Abandoning request. ",
- "start": 6628,
- "end": 6687,
+ "start": 6613,
+ "end": 6672,
"loc": {
"start": {
"line": 210,
@@ -55739,8 +55739,8 @@
"postfix": false,
"binop": null
},
- "start": 6687,
- "end": 6688,
+ "start": 6672,
+ "end": 6673,
"loc": {
"start": {
"line": 210,
@@ -55764,8 +55764,8 @@
"postfix": false,
"binop": null
},
- "start": 6694,
- "end": 6695,
+ "start": 6679,
+ "end": 6680,
"loc": {
"start": {
"line": 211,
@@ -55792,8 +55792,8 @@
"updateContext": null
},
"value": "return",
- "start": 6701,
- "end": 6707,
+ "start": 6686,
+ "end": 6692,
"loc": {
"start": {
"line": 212,
@@ -55819,8 +55819,8 @@
"updateContext": null
},
"value": 1,
- "start": 6708,
- "end": 6709,
+ "start": 6693,
+ "end": 6694,
"loc": {
"start": {
"line": 212,
@@ -55844,8 +55844,8 @@
"postfix": false,
"binop": null
},
- "start": 6714,
- "end": 6715,
+ "start": 6699,
+ "end": 6700,
"loc": {
"start": {
"line": 213,
@@ -55860,8 +55860,8 @@
{
"type": "CommentLine",
"value": " removeObject(data);",
- "start": 6720,
- "end": 6742,
+ "start": 6705,
+ "end": 6727,
"loc": {
"start": {
"line": 214,
@@ -55885,8 +55885,8 @@
"postfix": false,
"binop": null
},
- "start": 6746,
- "end": 6747,
+ "start": 6731,
+ "end": 6732,
"loc": {
"start": {
"line": 215,
@@ -55911,8 +55911,8 @@
"binop": null,
"updateContext": null
},
- "start": 6747,
- "end": 6748,
+ "start": 6732,
+ "end": 6733,
"loc": {
"start": {
"line": 215,
@@ -55938,8 +55938,8 @@
"updateContext": null
},
"value": 1000,
- "start": 6749,
- "end": 6753,
+ "start": 6734,
+ "end": 6738,
"loc": {
"start": {
"line": 215,
@@ -55965,8 +55965,8 @@
"updateContext": null
},
"value": "/",
- "start": 6754,
- "end": 6755,
+ "start": 6739,
+ "end": 6740,
"loc": {
"start": {
"line": 215,
@@ -55992,8 +55992,8 @@
"updateContext": null
},
"value": 60,
- "start": 6756,
- "end": 6758,
+ "start": 6741,
+ "end": 6743,
"loc": {
"start": {
"line": 215,
@@ -56017,8 +56017,8 @@
"postfix": false,
"binop": null
},
- "start": 6758,
- "end": 6759,
+ "start": 6743,
+ "end": 6744,
"loc": {
"start": {
"line": 215,
@@ -56033,8 +56033,8 @@
{
"type": "CommentLine",
"value": " return 1",
- "start": 6763,
- "end": 6774,
+ "start": 6748,
+ "end": 6759,
"loc": {
"start": {
"line": 216,
@@ -56058,8 +56058,8 @@
"postfix": false,
"binop": null
},
- "start": 6777,
- "end": 6778,
+ "start": 6762,
+ "end": 6763,
"loc": {
"start": {
"line": 217,
@@ -56086,8 +56086,8 @@
"updateContext": null
},
"value": "else",
- "start": 6781,
- "end": 6785,
+ "start": 6766,
+ "end": 6770,
"loc": {
"start": {
"line": 218,
@@ -56111,8 +56111,8 @@
"postfix": false,
"binop": null
},
- "start": 6786,
- "end": 6787,
+ "start": 6771,
+ "end": 6772,
"loc": {
"start": {
"line": 218,
@@ -56127,8 +56127,8 @@
{
"type": "CommentLine",
"value": " console.log(objects[data.type][data.id].destroyed);",
- "start": 6791,
- "end": 6845,
+ "start": 6776,
+ "end": 6830,
"loc": {
"start": {
"line": 219,
@@ -56143,8 +56143,8 @@
{
"type": "CommentLine",
"value": " An object was removed",
- "start": 6848,
- "end": 6872,
+ "start": 6833,
+ "end": 6857,
"loc": {
"start": {
"line": 220,
@@ -56171,8 +56171,8 @@
"updateContext": null
},
"value": "if",
- "start": 6876,
- "end": 6878,
+ "start": 6861,
+ "end": 6863,
"loc": {
"start": {
"line": 221,
@@ -56196,8 +56196,8 @@
"postfix": false,
"binop": null
},
- "start": 6879,
- "end": 6880,
+ "start": 6864,
+ "end": 6865,
"loc": {
"start": {
"line": 221,
@@ -56223,8 +56223,8 @@
"updateContext": null
},
"value": "!",
- "start": 6880,
- "end": 6881,
+ "start": 6865,
+ "end": 6866,
"loc": {
"start": {
"line": 221,
@@ -56249,8 +56249,8 @@
"binop": null
},
"value": "objects",
- "start": 6881,
- "end": 6888,
+ "start": 6866,
+ "end": 6873,
"loc": {
"start": {
"line": 221,
@@ -56275,8 +56275,8 @@
"binop": null,
"updateContext": null
},
- "start": 6888,
- "end": 6889,
+ "start": 6873,
+ "end": 6874,
"loc": {
"start": {
"line": 221,
@@ -56301,8 +56301,8 @@
"binop": null
},
"value": "data",
- "start": 6889,
- "end": 6893,
+ "start": 6874,
+ "end": 6878,
"loc": {
"start": {
"line": 221,
@@ -56327,8 +56327,8 @@
"binop": null,
"updateContext": null
},
- "start": 6893,
- "end": 6894,
+ "start": 6878,
+ "end": 6879,
"loc": {
"start": {
"line": 221,
@@ -56353,8 +56353,8 @@
"binop": null
},
"value": "type",
- "start": 6894,
- "end": 6898,
+ "start": 6879,
+ "end": 6883,
"loc": {
"start": {
"line": 221,
@@ -56379,8 +56379,8 @@
"binop": null,
"updateContext": null
},
- "start": 6898,
- "end": 6899,
+ "start": 6883,
+ "end": 6884,
"loc": {
"start": {
"line": 221,
@@ -56405,8 +56405,8 @@
"binop": null,
"updateContext": null
},
- "start": 6899,
- "end": 6900,
+ "start": 6884,
+ "end": 6885,
"loc": {
"start": {
"line": 221,
@@ -56431,8 +56431,8 @@
"binop": null
},
"value": "data",
- "start": 6900,
- "end": 6904,
+ "start": 6885,
+ "end": 6889,
"loc": {
"start": {
"line": 221,
@@ -56457,8 +56457,8 @@
"binop": null,
"updateContext": null
},
- "start": 6904,
- "end": 6905,
+ "start": 6889,
+ "end": 6890,
"loc": {
"start": {
"line": 221,
@@ -56483,8 +56483,8 @@
"binop": null
},
"value": "id",
- "start": 6905,
- "end": 6907,
+ "start": 6890,
+ "end": 6892,
"loc": {
"start": {
"line": 221,
@@ -56509,8 +56509,8 @@
"binop": null,
"updateContext": null
},
- "start": 6907,
- "end": 6908,
+ "start": 6892,
+ "end": 6893,
"loc": {
"start": {
"line": 221,
@@ -56535,8 +56535,8 @@
"binop": null,
"updateContext": null
},
- "start": 6908,
- "end": 6909,
+ "start": 6893,
+ "end": 6894,
"loc": {
"start": {
"line": 221,
@@ -56561,8 +56561,8 @@
"binop": null
},
"value": "destroyed",
- "start": 6909,
- "end": 6918,
+ "start": 6894,
+ "end": 6903,
"loc": {
"start": {
"line": 221,
@@ -56586,8 +56586,8 @@
"postfix": false,
"binop": null
},
- "start": 6918,
- "end": 6919,
+ "start": 6903,
+ "end": 6904,
"loc": {
"start": {
"line": 221,
@@ -56611,8 +56611,8 @@
"postfix": false,
"binop": null
},
- "start": 6920,
- "end": 6921,
+ "start": 6905,
+ "end": 6906,
"loc": {
"start": {
"line": 221,
@@ -56627,8 +56627,8 @@
{
"type": "CommentLine",
"value": " Only remove if not already",
- "start": 6922,
- "end": 6951,
+ "start": 6907,
+ "end": 6936,
"loc": {
"start": {
"line": 221,
@@ -56653,8 +56653,8 @@
"binop": null
},
"value": "removeObject",
- "start": 6956,
- "end": 6968,
+ "start": 6941,
+ "end": 6953,
"loc": {
"start": {
"line": 222,
@@ -56678,8 +56678,8 @@
"postfix": false,
"binop": null
},
- "start": 6968,
- "end": 6969,
+ "start": 6953,
+ "end": 6954,
"loc": {
"start": {
"line": 222,
@@ -56704,8 +56704,8 @@
"binop": null
},
"value": "data",
- "start": 6969,
- "end": 6973,
+ "start": 6954,
+ "end": 6958,
"loc": {
"start": {
"line": 222,
@@ -56729,8 +56729,8 @@
"postfix": false,
"binop": null
},
- "start": 6973,
- "end": 6974,
+ "start": 6958,
+ "end": 6959,
"loc": {
"start": {
"line": 222,
@@ -56754,8 +56754,8 @@
"postfix": false,
"binop": null
},
- "start": 6978,
- "end": 6979,
+ "start": 6963,
+ "end": 6964,
"loc": {
"start": {
"line": 223,
@@ -56782,8 +56782,8 @@
"updateContext": null
},
"value": "else",
- "start": 6983,
- "end": 6987,
+ "start": 6968,
+ "end": 6972,
"loc": {
"start": {
"line": 224,
@@ -56807,8 +56807,8 @@
"postfix": false,
"binop": null
},
- "start": 6988,
- "end": 6989,
+ "start": 6973,
+ "end": 6974,
"loc": {
"start": {
"line": 224,
@@ -56833,8 +56833,8 @@
"binop": null
},
"value": "console",
- "start": 6994,
- "end": 7001,
+ "start": 6979,
+ "end": 6986,
"loc": {
"start": {
"line": 225,
@@ -56859,8 +56859,8 @@
"binop": null,
"updateContext": null
},
- "start": 7001,
- "end": 7002,
+ "start": 6986,
+ "end": 6987,
"loc": {
"start": {
"line": 225,
@@ -56885,8 +56885,8 @@
"binop": null
},
"value": "warn",
- "start": 7002,
- "end": 7006,
+ "start": 6987,
+ "end": 6991,
"loc": {
"start": {
"line": 225,
@@ -56910,8 +56910,8 @@
"postfix": false,
"binop": null
},
- "start": 7006,
- "end": 7007,
+ "start": 6991,
+ "end": 6992,
"loc": {
"start": {
"line": 225,
@@ -56937,8 +56937,8 @@
"updateContext": null
},
"value": "serverSendObjectRemoval() called despite object has already been destroyed.",
- "start": 7007,
- "end": 7084,
+ "start": 6992,
+ "end": 7069,
"loc": {
"start": {
"line": 225,
@@ -56962,8 +56962,8 @@
"postfix": false,
"binop": null
},
- "start": 7084,
- "end": 7085,
+ "start": 7069,
+ "end": 7070,
"loc": {
"start": {
"line": 225,
@@ -56978,8 +56978,8 @@
{
"type": "CommentLine",
"value": " Sanity check",
- "start": 7086,
- "end": 7101,
+ "start": 7071,
+ "end": 7086,
"loc": {
"start": {
"line": 225,
@@ -57006,8 +57006,8 @@
"updateContext": null
},
"value": "return",
- "start": 7106,
- "end": 7112,
+ "start": 7091,
+ "end": 7097,
"loc": {
"start": {
"line": 226,
@@ -57033,8 +57033,8 @@
"updateContext": null
},
"value": 1,
- "start": 7113,
- "end": 7114,
+ "start": 7098,
+ "end": 7099,
"loc": {
"start": {
"line": 226,
@@ -57058,8 +57058,8 @@
"postfix": false,
"binop": null
},
- "start": 7118,
- "end": 7119,
+ "start": 7103,
+ "end": 7104,
"loc": {
"start": {
"line": 227,
@@ -57083,8 +57083,8 @@
"postfix": false,
"binop": null
},
- "start": 7122,
- "end": 7123,
+ "start": 7107,
+ "end": 7108,
"loc": {
"start": {
"line": 228,
@@ -57099,8 +57099,8 @@
{
"type": "CommentLine",
"value": " Must keep checking if the object was not created at time of destruction.",
- "start": 7127,
- "end": 7202,
+ "start": 7112,
+ "end": 7187,
"loc": {
"start": {
"line": 230,
@@ -57115,8 +57115,8 @@
{
"type": "CommentLine",
"value": " One example of this needing to be run is when a player instantly collects an atom on spawn.",
- "start": 7205,
- "end": 7299,
+ "start": 7190,
+ "end": 7284,
"loc": {
"start": {
"line": 231,
@@ -57131,8 +57131,8 @@
{
"type": "CommentLine",
"value": " if (objects[data.type][data.id] === undefined) {",
- "start": 7302,
- "end": 7353,
+ "start": 7287,
+ "end": 7338,
"loc": {
"start": {
"line": 232,
@@ -57147,8 +57147,8 @@
{
"type": "CommentLine",
"value": " \tlet thisInterval = setTimeout(() => {",
- "start": 7356,
- "end": 7397,
+ "start": 7341,
+ "end": 7382,
"loc": {
"start": {
"line": 233,
@@ -57163,8 +57163,8 @@
{
"type": "CommentLine",
"value": " \t\tif (objects[data.type][data.id].destroyed) {",
- "start": 7400,
- "end": 7449,
+ "start": 7385,
+ "end": 7434,
"loc": {
"start": {
"line": 234,
@@ -57179,8 +57179,8 @@
{
"type": "CommentLine",
"value": " \t\t\tclearInterval(thisInterval)",
- "start": 7452,
- "end": 7485,
+ "start": 7437,
+ "end": 7470,
"loc": {
"start": {
"line": 235,
@@ -57195,8 +57195,8 @@
{
"type": "CommentLine",
"value": " \t\t}",
- "start": 7488,
- "end": 7494,
+ "start": 7473,
+ "end": 7479,
"loc": {
"start": {
"line": 236,
@@ -57211,8 +57211,8 @@
{
"type": "CommentLine",
"value": " \t\telse {",
- "start": 7497,
- "end": 7508,
+ "start": 7482,
+ "end": 7493,
"loc": {
"start": {
"line": 237,
@@ -57227,8 +57227,8 @@
{
"type": "CommentLine",
"value": " \t\t\tremoveObject(data)",
- "start": 7511,
- "end": 7535,
+ "start": 7496,
+ "end": 7520,
"loc": {
"start": {
"line": 238,
@@ -57243,8 +57243,8 @@
{
"type": "CommentLine",
"value": " \t\t}",
- "start": 7538,
- "end": 7544,
+ "start": 7523,
+ "end": 7529,
"loc": {
"start": {
"line": 239,
@@ -57259,8 +57259,8 @@
{
"type": "CommentLine",
"value": " \t}, 200)",
- "start": 7547,
- "end": 7558,
+ "start": 7532,
+ "end": 7543,
"loc": {
"start": {
"line": 240,
@@ -57275,8 +57275,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 7561,
- "end": 7565,
+ "start": 7546,
+ "end": 7550,
"loc": {
"start": {
"line": 241,
@@ -57300,8 +57300,8 @@
"postfix": false,
"binop": null
},
- "start": 7567,
- "end": 7568,
+ "start": 7552,
+ "end": 7553,
"loc": {
"start": {
"line": 242,
@@ -57325,8 +57325,8 @@
"postfix": false,
"binop": null
},
- "start": 7568,
- "end": 7569,
+ "start": 7553,
+ "end": 7554,
"loc": {
"start": {
"line": 242,
@@ -57350,8 +57350,8 @@
"postfix": false,
"binop": null
},
- "start": 7570,
- "end": 7571,
+ "start": 7555,
+ "end": 7556,
"loc": {
"start": {
"line": 243,
@@ -57366,8 +57366,8 @@
{
"type": "CommentBlock",
"value": "*\n * Sets up socket connection listeners.\n * Run in setupSocket().\n ",
- "start": 7573,
- "end": 7645,
+ "start": 7558,
+ "end": 7630,
"loc": {
"start": {
"line": 245,
@@ -57393,8 +57393,8 @@
"binop": null
},
"value": "function",
- "start": 7646,
- "end": 7654,
+ "start": 7631,
+ "end": 7639,
"loc": {
"start": {
"line": 249,
@@ -57419,8 +57419,8 @@
"binop": null
},
"value": "setupSocketConnection",
- "start": 7655,
- "end": 7676,
+ "start": 7640,
+ "end": 7661,
"loc": {
"start": {
"line": 249,
@@ -57444,8 +57444,8 @@
"postfix": false,
"binop": null
},
- "start": 7677,
- "end": 7678,
+ "start": 7662,
+ "end": 7663,
"loc": {
"start": {
"line": 249,
@@ -57469,8 +57469,8 @@
"postfix": false,
"binop": null
},
- "start": 7678,
- "end": 7679,
+ "start": 7663,
+ "end": 7664,
"loc": {
"start": {
"line": 249,
@@ -57494,8 +57494,8 @@
"postfix": false,
"binop": null
},
- "start": 7680,
- "end": 7681,
+ "start": 7665,
+ "end": 7666,
"loc": {
"start": {
"line": 249,
@@ -57510,8 +57510,8 @@
{
"type": "CommentLine",
"value": " On Connection Failure",
- "start": 7683,
- "end": 7707,
+ "start": 7668,
+ "end": 7692,
"loc": {
"start": {
"line": 250,
@@ -57536,8 +57536,8 @@
"binop": null
},
"value": "socket",
- "start": 7709,
- "end": 7715,
+ "start": 7694,
+ "end": 7700,
"loc": {
"start": {
"line": 251,
@@ -57562,8 +57562,8 @@
"binop": null,
"updateContext": null
},
- "start": 7715,
- "end": 7716,
+ "start": 7700,
+ "end": 7701,
"loc": {
"start": {
"line": 251,
@@ -57588,8 +57588,8 @@
"binop": null
},
"value": "on",
- "start": 7716,
- "end": 7718,
+ "start": 7701,
+ "end": 7703,
"loc": {
"start": {
"line": 251,
@@ -57613,8 +57613,8 @@
"postfix": false,
"binop": null
},
- "start": 7718,
- "end": 7719,
+ "start": 7703,
+ "end": 7704,
"loc": {
"start": {
"line": 251,
@@ -57640,8 +57640,8 @@
"updateContext": null
},
"value": "reconnect_failed",
- "start": 7719,
- "end": 7737,
+ "start": 7704,
+ "end": 7722,
"loc": {
"start": {
"line": 251,
@@ -57666,8 +57666,8 @@
"binop": null,
"updateContext": null
},
- "start": 7737,
- "end": 7738,
+ "start": 7722,
+ "end": 7723,
"loc": {
"start": {
"line": 251,
@@ -57691,8 +57691,8 @@
"postfix": false,
"binop": null
},
- "start": 7739,
- "end": 7740,
+ "start": 7724,
+ "end": 7725,
"loc": {
"start": {
"line": 251,
@@ -57716,8 +57716,8 @@
"postfix": false,
"binop": null
},
- "start": 7740,
- "end": 7741,
+ "start": 7725,
+ "end": 7726,
"loc": {
"start": {
"line": 251,
@@ -57742,8 +57742,8 @@
"binop": null,
"updateContext": null
},
- "start": 7742,
- "end": 7744,
+ "start": 7727,
+ "end": 7729,
"loc": {
"start": {
"line": 251,
@@ -57767,8 +57767,8 @@
"postfix": false,
"binop": null
},
- "start": 7745,
- "end": 7746,
+ "start": 7730,
+ "end": 7731,
"loc": {
"start": {
"line": 251,
@@ -57793,8 +57793,8 @@
"binop": null
},
"value": "alert",
- "start": 7749,
- "end": 7754,
+ "start": 7734,
+ "end": 7739,
"loc": {
"start": {
"line": 252,
@@ -57818,8 +57818,8 @@
"postfix": false,
"binop": null
},
- "start": 7754,
- "end": 7755,
+ "start": 7739,
+ "end": 7740,
"loc": {
"start": {
"line": 252,
@@ -57845,8 +57845,8 @@
"updateContext": null
},
"value": "You have lost connection to the server!",
- "start": 7755,
- "end": 7796,
+ "start": 7740,
+ "end": 7781,
"loc": {
"start": {
"line": 252,
@@ -57870,8 +57870,8 @@
"postfix": false,
"binop": null
},
- "start": 7796,
- "end": 7797,
+ "start": 7781,
+ "end": 7782,
"loc": {
"start": {
"line": 252,
@@ -57895,8 +57895,8 @@
"postfix": false,
"binop": null
},
- "start": 7799,
- "end": 7800,
+ "start": 7784,
+ "end": 7785,
"loc": {
"start": {
"line": 253,
@@ -57920,8 +57920,8 @@
"postfix": false,
"binop": null
},
- "start": 7800,
- "end": 7801,
+ "start": 7785,
+ "end": 7786,
"loc": {
"start": {
"line": 253,
@@ -57946,8 +57946,8 @@
"binop": null
},
"value": "socket",
- "start": 7804,
- "end": 7810,
+ "start": 7789,
+ "end": 7795,
"loc": {
"start": {
"line": 255,
@@ -57972,8 +57972,8 @@
"binop": null,
"updateContext": null
},
- "start": 7810,
- "end": 7811,
+ "start": 7795,
+ "end": 7796,
"loc": {
"start": {
"line": 255,
@@ -57998,8 +57998,8 @@
"binop": null
},
"value": "on",
- "start": 7811,
- "end": 7813,
+ "start": 7796,
+ "end": 7798,
"loc": {
"start": {
"line": 255,
@@ -58023,8 +58023,8 @@
"postfix": false,
"binop": null
},
- "start": 7813,
- "end": 7814,
+ "start": 7798,
+ "end": 7799,
"loc": {
"start": {
"line": 255,
@@ -58050,8 +58050,8 @@
"updateContext": null
},
"value": "reconnecting",
- "start": 7814,
- "end": 7828,
+ "start": 7799,
+ "end": 7813,
"loc": {
"start": {
"line": 255,
@@ -58076,8 +58076,8 @@
"binop": null,
"updateContext": null
},
- "start": 7828,
- "end": 7829,
+ "start": 7813,
+ "end": 7814,
"loc": {
"start": {
"line": 255,
@@ -58101,8 +58101,8 @@
"postfix": false,
"binop": null
},
- "start": 7830,
- "end": 7831,
+ "start": 7815,
+ "end": 7816,
"loc": {
"start": {
"line": 255,
@@ -58127,8 +58127,8 @@
"binop": null
},
"value": "attempt",
- "start": 7831,
- "end": 7838,
+ "start": 7816,
+ "end": 7823,
"loc": {
"start": {
"line": 255,
@@ -58152,8 +58152,8 @@
"postfix": false,
"binop": null
},
- "start": 7838,
- "end": 7839,
+ "start": 7823,
+ "end": 7824,
"loc": {
"start": {
"line": 255,
@@ -58178,8 +58178,8 @@
"binop": null,
"updateContext": null
},
- "start": 7840,
- "end": 7842,
+ "start": 7825,
+ "end": 7827,
"loc": {
"start": {
"line": 255,
@@ -58203,8 +58203,8 @@
"postfix": false,
"binop": null
},
- "start": 7843,
- "end": 7844,
+ "start": 7828,
+ "end": 7829,
"loc": {
"start": {
"line": 255,
@@ -58229,8 +58229,8 @@
"binop": null
},
"value": "console",
- "start": 7847,
- "end": 7854,
+ "start": 7832,
+ "end": 7839,
"loc": {
"start": {
"line": 256,
@@ -58255,8 +58255,8 @@
"binop": null,
"updateContext": null
},
- "start": 7854,
- "end": 7855,
+ "start": 7839,
+ "end": 7840,
"loc": {
"start": {
"line": 256,
@@ -58281,8 +58281,8 @@
"binop": null
},
"value": "log",
- "start": 7855,
- "end": 7858,
+ "start": 7840,
+ "end": 7843,
"loc": {
"start": {
"line": 256,
@@ -58306,8 +58306,8 @@
"postfix": false,
"binop": null
},
- "start": 7858,
- "end": 7859,
+ "start": 7843,
+ "end": 7844,
"loc": {
"start": {
"line": 256,
@@ -58333,8 +58333,8 @@
"updateContext": null
},
"value": "Lost connection. Reconnecting on attempt: ",
- "start": 7859,
- "end": 7903,
+ "start": 7844,
+ "end": 7888,
"loc": {
"start": {
"line": 256,
@@ -58360,8 +58360,8 @@
"updateContext": null
},
"value": "+",
- "start": 7904,
- "end": 7905,
+ "start": 7889,
+ "end": 7890,
"loc": {
"start": {
"line": 256,
@@ -58386,8 +58386,8 @@
"binop": null
},
"value": "attempt",
- "start": 7906,
- "end": 7913,
+ "start": 7891,
+ "end": 7898,
"loc": {
"start": {
"line": 256,
@@ -58411,8 +58411,8 @@
"postfix": false,
"binop": null
},
- "start": 7913,
- "end": 7914,
+ "start": 7898,
+ "end": 7899,
"loc": {
"start": {
"line": 256,
@@ -58437,8 +58437,8 @@
"binop": null
},
"value": "quitGame",
- "start": 7917,
- "end": 7925,
+ "start": 7902,
+ "end": 7910,
"loc": {
"start": {
"line": 257,
@@ -58462,8 +58462,8 @@
"postfix": false,
"binop": null
},
- "start": 7925,
- "end": 7926,
+ "start": 7910,
+ "end": 7911,
"loc": {
"start": {
"line": 257,
@@ -58489,8 +58489,8 @@
"updateContext": null
},
"value": "Lost connection to server",
- "start": 7926,
- "end": 7953,
+ "start": 7911,
+ "end": 7938,
"loc": {
"start": {
"line": 257,
@@ -58514,8 +58514,8 @@
"postfix": false,
"binop": null
},
- "start": 7953,
- "end": 7954,
+ "start": 7938,
+ "end": 7939,
"loc": {
"start": {
"line": 257,
@@ -58539,8 +58539,8 @@
"postfix": false,
"binop": null
},
- "start": 7956,
- "end": 7957,
+ "start": 7941,
+ "end": 7942,
"loc": {
"start": {
"line": 258,
@@ -58564,8 +58564,8 @@
"postfix": false,
"binop": null
},
- "start": 7957,
- "end": 7958,
+ "start": 7942,
+ "end": 7943,
"loc": {
"start": {
"line": 258,
@@ -58590,8 +58590,8 @@
"binop": null
},
"value": "socket",
- "start": 7961,
- "end": 7967,
+ "start": 7946,
+ "end": 7952,
"loc": {
"start": {
"line": 260,
@@ -58616,8 +58616,8 @@
"binop": null,
"updateContext": null
},
- "start": 7967,
- "end": 7968,
+ "start": 7952,
+ "end": 7953,
"loc": {
"start": {
"line": 260,
@@ -58642,8 +58642,8 @@
"binop": null
},
"value": "on",
- "start": 7968,
- "end": 7970,
+ "start": 7953,
+ "end": 7955,
"loc": {
"start": {
"line": 260,
@@ -58667,8 +58667,8 @@
"postfix": false,
"binop": null
},
- "start": 7970,
- "end": 7971,
+ "start": 7955,
+ "end": 7956,
"loc": {
"start": {
"line": 260,
@@ -58694,8 +58694,8 @@
"updateContext": null
},
"value": "reconnect_error",
- "start": 7971,
- "end": 7988,
+ "start": 7956,
+ "end": 7973,
"loc": {
"start": {
"line": 260,
@@ -58720,8 +58720,8 @@
"binop": null,
"updateContext": null
},
- "start": 7988,
- "end": 7989,
+ "start": 7973,
+ "end": 7974,
"loc": {
"start": {
"line": 260,
@@ -58745,8 +58745,8 @@
"postfix": false,
"binop": null
},
- "start": 7990,
- "end": 7991,
+ "start": 7975,
+ "end": 7976,
"loc": {
"start": {
"line": 260,
@@ -58771,8 +58771,8 @@
"binop": null
},
"value": "err",
- "start": 7991,
- "end": 7994,
+ "start": 7976,
+ "end": 7979,
"loc": {
"start": {
"line": 260,
@@ -58796,8 +58796,8 @@
"postfix": false,
"binop": null
},
- "start": 7994,
- "end": 7995,
+ "start": 7979,
+ "end": 7980,
"loc": {
"start": {
"line": 260,
@@ -58822,8 +58822,8 @@
"binop": null,
"updateContext": null
},
- "start": 7996,
- "end": 7998,
+ "start": 7981,
+ "end": 7983,
"loc": {
"start": {
"line": 260,
@@ -58847,8 +58847,8 @@
"postfix": false,
"binop": null
},
- "start": 7999,
- "end": 8000,
+ "start": 7984,
+ "end": 7985,
"loc": {
"start": {
"line": 260,
@@ -58873,8 +58873,8 @@
"binop": null
},
"value": "console",
- "start": 8003,
- "end": 8010,
+ "start": 7988,
+ "end": 7995,
"loc": {
"start": {
"line": 261,
@@ -58899,8 +58899,8 @@
"binop": null,
"updateContext": null
},
- "start": 8010,
- "end": 8011,
+ "start": 7995,
+ "end": 7996,
"loc": {
"start": {
"line": 261,
@@ -58925,8 +58925,8 @@
"binop": null
},
"value": "log",
- "start": 8011,
- "end": 8014,
+ "start": 7996,
+ "end": 7999,
"loc": {
"start": {
"line": 261,
@@ -58950,8 +58950,8 @@
"postfix": false,
"binop": null
},
- "start": 8014,
- "end": 8015,
+ "start": 7999,
+ "end": 8000,
"loc": {
"start": {
"line": 261,
@@ -58977,8 +58977,8 @@
"updateContext": null
},
"value": "CRITICAL: Reconnect failed! ",
- "start": 8015,
- "end": 8045,
+ "start": 8000,
+ "end": 8030,
"loc": {
"start": {
"line": 261,
@@ -59004,8 +59004,8 @@
"updateContext": null
},
"value": "+",
- "start": 8046,
- "end": 8047,
+ "start": 8031,
+ "end": 8032,
"loc": {
"start": {
"line": 261,
@@ -59030,8 +59030,8 @@
"binop": null
},
"value": "err",
- "start": 8048,
- "end": 8051,
+ "start": 8033,
+ "end": 8036,
"loc": {
"start": {
"line": 261,
@@ -59055,8 +59055,8 @@
"postfix": false,
"binop": null
},
- "start": 8051,
- "end": 8052,
+ "start": 8036,
+ "end": 8037,
"loc": {
"start": {
"line": 261,
@@ -59080,8 +59080,8 @@
"postfix": false,
"binop": null
},
- "start": 8054,
- "end": 8055,
+ "start": 8039,
+ "end": 8040,
"loc": {
"start": {
"line": 262,
@@ -59105,8 +59105,8 @@
"postfix": false,
"binop": null
},
- "start": 8055,
- "end": 8056,
+ "start": 8040,
+ "end": 8041,
"loc": {
"start": {
"line": 262,
@@ -59131,8 +59131,8 @@
"binop": null
},
"value": "socket",
- "start": 8059,
- "end": 8065,
+ "start": 8044,
+ "end": 8050,
"loc": {
"start": {
"line": 264,
@@ -59157,8 +59157,8 @@
"binop": null,
"updateContext": null
},
- "start": 8065,
- "end": 8066,
+ "start": 8050,
+ "end": 8051,
"loc": {
"start": {
"line": 264,
@@ -59183,8 +59183,8 @@
"binop": null
},
"value": "on",
- "start": 8066,
- "end": 8068,
+ "start": 8051,
+ "end": 8053,
"loc": {
"start": {
"line": 264,
@@ -59208,8 +59208,8 @@
"postfix": false,
"binop": null
},
- "start": 8068,
- "end": 8069,
+ "start": 8053,
+ "end": 8054,
"loc": {
"start": {
"line": 264,
@@ -59235,8 +59235,8 @@
"updateContext": null
},
"value": "pong",
- "start": 8069,
- "end": 8075,
+ "start": 8054,
+ "end": 8060,
"loc": {
"start": {
"line": 264,
@@ -59261,8 +59261,8 @@
"binop": null,
"updateContext": null
},
- "start": 8075,
- "end": 8076,
+ "start": 8060,
+ "end": 8061,
"loc": {
"start": {
"line": 264,
@@ -59286,8 +59286,8 @@
"postfix": false,
"binop": null
},
- "start": 8077,
- "end": 8078,
+ "start": 8062,
+ "end": 8063,
"loc": {
"start": {
"line": 264,
@@ -59312,8 +59312,8 @@
"binop": null
},
"value": "ping",
- "start": 8078,
- "end": 8082,
+ "start": 8063,
+ "end": 8067,
"loc": {
"start": {
"line": 264,
@@ -59337,8 +59337,8 @@
"postfix": false,
"binop": null
},
- "start": 8082,
- "end": 8083,
+ "start": 8067,
+ "end": 8068,
"loc": {
"start": {
"line": 264,
@@ -59363,8 +59363,8 @@
"binop": null,
"updateContext": null
},
- "start": 8084,
- "end": 8086,
+ "start": 8069,
+ "end": 8071,
"loc": {
"start": {
"line": 264,
@@ -59388,8 +59388,8 @@
"postfix": false,
"binop": null
},
- "start": 8087,
- "end": 8088,
+ "start": 8072,
+ "end": 8073,
"loc": {
"start": {
"line": 264,
@@ -59414,8 +59414,8 @@
"binop": null
},
"value": "console",
- "start": 8091,
- "end": 8098,
+ "start": 8076,
+ "end": 8083,
"loc": {
"start": {
"line": 265,
@@ -59440,8 +59440,8 @@
"binop": null,
"updateContext": null
},
- "start": 8098,
- "end": 8099,
+ "start": 8083,
+ "end": 8084,
"loc": {
"start": {
"line": 265,
@@ -59466,8 +59466,8 @@
"binop": null
},
"value": "log",
- "start": 8099,
- "end": 8102,
+ "start": 8084,
+ "end": 8087,
"loc": {
"start": {
"line": 265,
@@ -59491,8 +59491,8 @@
"postfix": false,
"binop": null
},
- "start": 8102,
- "end": 8103,
+ "start": 8087,
+ "end": 8088,
"loc": {
"start": {
"line": 265,
@@ -59518,8 +59518,8 @@
"updateContext": null
},
"value": "Your Ping Is: ",
- "start": 8103,
- "end": 8119,
+ "start": 8088,
+ "end": 8104,
"loc": {
"start": {
"line": 265,
@@ -59545,8 +59545,8 @@
"updateContext": null
},
"value": "+",
- "start": 8120,
- "end": 8121,
+ "start": 8105,
+ "end": 8106,
"loc": {
"start": {
"line": 265,
@@ -59571,8 +59571,8 @@
"binop": null
},
"value": "ping",
- "start": 8122,
- "end": 8126,
+ "start": 8107,
+ "end": 8111,
"loc": {
"start": {
"line": 265,
@@ -59596,8 +59596,8 @@
"postfix": false,
"binop": null
},
- "start": 8126,
- "end": 8127,
+ "start": 8111,
+ "end": 8112,
"loc": {
"start": {
"line": 265,
@@ -59621,8 +59621,8 @@
"postfix": false,
"binop": null
},
- "start": 8129,
- "end": 8130,
+ "start": 8114,
+ "end": 8115,
"loc": {
"start": {
"line": 266,
@@ -59646,8 +59646,8 @@
"postfix": false,
"binop": null
},
- "start": 8130,
- "end": 8131,
+ "start": 8115,
+ "end": 8116,
"loc": {
"start": {
"line": 266,
@@ -59672,8 +59672,8 @@
"binop": null
},
"value": "socket",
- "start": 8134,
- "end": 8140,
+ "start": 8119,
+ "end": 8125,
"loc": {
"start": {
"line": 268,
@@ -59698,8 +59698,8 @@
"binop": null,
"updateContext": null
},
- "start": 8140,
- "end": 8141,
+ "start": 8125,
+ "end": 8126,
"loc": {
"start": {
"line": 268,
@@ -59724,8 +59724,8 @@
"binop": null
},
"value": "on",
- "start": 8141,
- "end": 8143,
+ "start": 8126,
+ "end": 8128,
"loc": {
"start": {
"line": 268,
@@ -59749,8 +59749,8 @@
"postfix": false,
"binop": null
},
- "start": 8143,
- "end": 8144,
+ "start": 8128,
+ "end": 8129,
"loc": {
"start": {
"line": 268,
@@ -59776,8 +59776,8 @@
"updateContext": null
},
"value": "disconnectedPlayer",
- "start": 8144,
- "end": 8164,
+ "start": 8129,
+ "end": 8149,
"loc": {
"start": {
"line": 268,
@@ -59802,8 +59802,8 @@
"binop": null,
"updateContext": null
},
- "start": 8164,
- "end": 8165,
+ "start": 8149,
+ "end": 8150,
"loc": {
"start": {
"line": 268,
@@ -59827,8 +59827,8 @@
"postfix": false,
"binop": null
},
- "start": 8166,
- "end": 8167,
+ "start": 8151,
+ "end": 8152,
"loc": {
"start": {
"line": 268,
@@ -59853,8 +59853,8 @@
"binop": null
},
"value": "data",
- "start": 8167,
- "end": 8171,
+ "start": 8152,
+ "end": 8156,
"loc": {
"start": {
"line": 268,
@@ -59878,8 +59878,8 @@
"postfix": false,
"binop": null
},
- "start": 8171,
- "end": 8172,
+ "start": 8156,
+ "end": 8157,
"loc": {
"start": {
"line": 268,
@@ -59904,8 +59904,8 @@
"binop": null,
"updateContext": null
},
- "start": 8173,
- "end": 8175,
+ "start": 8158,
+ "end": 8160,
"loc": {
"start": {
"line": 268,
@@ -59929,8 +59929,8 @@
"postfix": false,
"binop": null
},
- "start": 8176,
- "end": 8177,
+ "start": 8161,
+ "end": 8162,
"loc": {
"start": {
"line": 268,
@@ -59955,8 +59955,8 @@
"binop": null
},
"value": "console",
- "start": 8180,
- "end": 8187,
+ "start": 8165,
+ "end": 8172,
"loc": {
"start": {
"line": 269,
@@ -59981,8 +59981,8 @@
"binop": null,
"updateContext": null
},
- "start": 8187,
- "end": 8188,
+ "start": 8172,
+ "end": 8173,
"loc": {
"start": {
"line": 269,
@@ -60007,8 +60007,8 @@
"binop": null
},
"value": "log",
- "start": 8188,
- "end": 8191,
+ "start": 8173,
+ "end": 8176,
"loc": {
"start": {
"line": 269,
@@ -60032,8 +60032,8 @@
"postfix": false,
"binop": null
},
- "start": 8191,
- "end": 8192,
+ "start": 8176,
+ "end": 8177,
"loc": {
"start": {
"line": 269,
@@ -60059,8 +60059,8 @@
"updateContext": null
},
"value": "Player ",
- "start": 8192,
- "end": 8201,
+ "start": 8177,
+ "end": 8186,
"loc": {
"start": {
"line": 269,
@@ -60086,8 +60086,8 @@
"updateContext": null
},
"value": "+",
- "start": 8202,
- "end": 8203,
+ "start": 8187,
+ "end": 8188,
"loc": {
"start": {
"line": 269,
@@ -60112,8 +60112,8 @@
"binop": null
},
"value": "data",
- "start": 8204,
- "end": 8208,
+ "start": 8189,
+ "end": 8193,
"loc": {
"start": {
"line": 269,
@@ -60138,8 +60138,8 @@
"binop": null,
"updateContext": null
},
- "start": 8208,
- "end": 8209,
+ "start": 8193,
+ "end": 8194,
"loc": {
"start": {
"line": 269,
@@ -60164,8 +60164,8 @@
"binop": null
},
"value": "id",
- "start": 8209,
- "end": 8211,
+ "start": 8194,
+ "end": 8196,
"loc": {
"start": {
"line": 269,
@@ -60191,8 +60191,8 @@
"updateContext": null
},
"value": "+",
- "start": 8212,
- "end": 8213,
+ "start": 8197,
+ "end": 8198,
"loc": {
"start": {
"line": 269,
@@ -60218,8 +60218,8 @@
"updateContext": null
},
"value": " has disconnected",
- "start": 8214,
- "end": 8233,
+ "start": 8199,
+ "end": 8218,
"loc": {
"start": {
"line": 269,
@@ -60243,8 +60243,8 @@
"postfix": false,
"binop": null
},
- "start": 8233,
- "end": 8234,
+ "start": 8218,
+ "end": 8219,
"loc": {
"start": {
"line": 269,
@@ -60269,8 +60269,8 @@
"binop": null
},
"value": "chat",
- "start": 8237,
- "end": 8241,
+ "start": 8222,
+ "end": 8226,
"loc": {
"start": {
"line": 270,
@@ -60295,8 +60295,8 @@
"binop": null,
"updateContext": null
},
- "start": 8241,
- "end": 8242,
+ "start": 8226,
+ "end": 8227,
"loc": {
"start": {
"line": 270,
@@ -60321,8 +60321,8 @@
"binop": null
},
"value": "addSystemLine",
- "start": 8242,
- "end": 8255,
+ "start": 8227,
+ "end": 8240,
"loc": {
"start": {
"line": 270,
@@ -60346,8 +60346,8 @@
"postfix": false,
"binop": null
},
- "start": 8255,
- "end": 8256,
+ "start": 8240,
+ "end": 8241,
"loc": {
"start": {
"line": 270,
@@ -60373,8 +60373,8 @@
"updateContext": null
},
"value": "Player ",
- "start": 8256,
- "end": 8265,
+ "start": 8241,
+ "end": 8250,
"loc": {
"start": {
"line": 270,
@@ -60400,8 +60400,8 @@
"updateContext": null
},
"value": "+",
- "start": 8266,
- "end": 8267,
+ "start": 8251,
+ "end": 8252,
"loc": {
"start": {
"line": 270,
@@ -60426,8 +60426,8 @@
"binop": null
},
"value": "objects",
- "start": 8268,
- "end": 8275,
+ "start": 8253,
+ "end": 8260,
"loc": {
"start": {
"line": 270,
@@ -60452,8 +60452,8 @@
"binop": null,
"updateContext": null
},
- "start": 8275,
- "end": 8276,
+ "start": 8260,
+ "end": 8261,
"loc": {
"start": {
"line": 270,
@@ -60478,8 +60478,8 @@
"binop": null
},
"value": "players",
- "start": 8276,
- "end": 8283,
+ "start": 8261,
+ "end": 8268,
"loc": {
"start": {
"line": 270,
@@ -60504,8 +60504,8 @@
"binop": null,
"updateContext": null
},
- "start": 8283,
- "end": 8284,
+ "start": 8268,
+ "end": 8269,
"loc": {
"start": {
"line": 270,
@@ -60530,8 +60530,8 @@
"binop": null
},
"value": "data",
- "start": 8284,
- "end": 8288,
+ "start": 8269,
+ "end": 8273,
"loc": {
"start": {
"line": 270,
@@ -60556,8 +60556,8 @@
"binop": null,
"updateContext": null
},
- "start": 8288,
- "end": 8289,
+ "start": 8273,
+ "end": 8274,
"loc": {
"start": {
"line": 270,
@@ -60582,8 +60582,8 @@
"binop": null
},
"value": "id",
- "start": 8289,
- "end": 8291,
+ "start": 8274,
+ "end": 8276,
"loc": {
"start": {
"line": 270,
@@ -60608,8 +60608,8 @@
"binop": null,
"updateContext": null
},
- "start": 8291,
- "end": 8292,
+ "start": 8276,
+ "end": 8277,
"loc": {
"start": {
"line": 270,
@@ -60634,8 +60634,8 @@
"binop": null,
"updateContext": null
},
- "start": 8292,
- "end": 8293,
+ "start": 8277,
+ "end": 8278,
"loc": {
"start": {
"line": 270,
@@ -60660,8 +60660,8 @@
"binop": null
},
"value": "name",
- "start": 8293,
- "end": 8297,
+ "start": 8278,
+ "end": 8282,
"loc": {
"start": {
"line": 270,
@@ -60687,8 +60687,8 @@
"updateContext": null
},
"value": "+",
- "start": 8298,
- "end": 8299,
+ "start": 8283,
+ "end": 8284,
"loc": {
"start": {
"line": 270,
@@ -60714,8 +60714,8 @@
"updateContext": null
},
"value": " has disconnected",
- "start": 8300,
- "end": 8319,
+ "start": 8285,
+ "end": 8304,
"loc": {
"start": {
"line": 270,
@@ -60739,8 +60739,8 @@
"postfix": false,
"binop": null
},
- "start": 8319,
- "end": 8320,
+ "start": 8304,
+ "end": 8305,
"loc": {
"start": {
"line": 270,
@@ -60767,8 +60767,8 @@
"updateContext": null
},
"value": "if",
- "start": 8323,
- "end": 8325,
+ "start": 8308,
+ "end": 8310,
"loc": {
"start": {
"line": 271,
@@ -60792,8 +60792,8 @@
"postfix": false,
"binop": null
},
- "start": 8326,
- "end": 8327,
+ "start": 8311,
+ "end": 8312,
"loc": {
"start": {
"line": 271,
@@ -60818,8 +60818,8 @@
"binop": null
},
"value": "objects",
- "start": 8327,
- "end": 8334,
+ "start": 8312,
+ "end": 8319,
"loc": {
"start": {
"line": 271,
@@ -60844,8 +60844,8 @@
"binop": null,
"updateContext": null
},
- "start": 8334,
- "end": 8335,
+ "start": 8319,
+ "end": 8320,
"loc": {
"start": {
"line": 271,
@@ -60870,8 +60870,8 @@
"binop": null
},
"value": "players",
- "start": 8335,
- "end": 8342,
+ "start": 8320,
+ "end": 8327,
"loc": {
"start": {
"line": 271,
@@ -60896,8 +60896,8 @@
"binop": null,
"updateContext": null
},
- "start": 8342,
- "end": 8343,
+ "start": 8327,
+ "end": 8328,
"loc": {
"start": {
"line": 271,
@@ -60922,8 +60922,8 @@
"binop": null
},
"value": "data",
- "start": 8343,
- "end": 8347,
+ "start": 8328,
+ "end": 8332,
"loc": {
"start": {
"line": 271,
@@ -60948,8 +60948,8 @@
"binop": null,
"updateContext": null
},
- "start": 8347,
- "end": 8348,
+ "start": 8332,
+ "end": 8333,
"loc": {
"start": {
"line": 271,
@@ -60974,8 +60974,8 @@
"binop": null
},
"value": "id",
- "start": 8348,
- "end": 8350,
+ "start": 8333,
+ "end": 8335,
"loc": {
"start": {
"line": 271,
@@ -61000,8 +61000,8 @@
"binop": null,
"updateContext": null
},
- "start": 8350,
- "end": 8351,
+ "start": 8335,
+ "end": 8336,
"loc": {
"start": {
"line": 271,
@@ -61027,8 +61027,8 @@
"updateContext": null
},
"value": "!==",
- "start": 8352,
- "end": 8355,
+ "start": 8337,
+ "end": 8340,
"loc": {
"start": {
"line": 271,
@@ -61053,8 +61053,8 @@
"binop": null
},
"value": "undefined",
- "start": 8356,
- "end": 8365,
+ "start": 8341,
+ "end": 8350,
"loc": {
"start": {
"line": 271,
@@ -61078,8 +61078,8 @@
"postfix": false,
"binop": null
},
- "start": 8365,
- "end": 8366,
+ "start": 8350,
+ "end": 8351,
"loc": {
"start": {
"line": 271,
@@ -61103,8 +61103,8 @@
"postfix": false,
"binop": null
},
- "start": 8367,
- "end": 8368,
+ "start": 8352,
+ "end": 8353,
"loc": {
"start": {
"line": 271,
@@ -61129,8 +61129,8 @@
"binop": null
},
"value": "objects",
- "start": 8372,
- "end": 8379,
+ "start": 8357,
+ "end": 8364,
"loc": {
"start": {
"line": 272,
@@ -61155,8 +61155,8 @@
"binop": null,
"updateContext": null
},
- "start": 8379,
- "end": 8380,
+ "start": 8364,
+ "end": 8365,
"loc": {
"start": {
"line": 272,
@@ -61181,8 +61181,8 @@
"binop": null
},
"value": "players",
- "start": 8380,
- "end": 8387,
+ "start": 8365,
+ "end": 8372,
"loc": {
"start": {
"line": 272,
@@ -61207,8 +61207,8 @@
"binop": null,
"updateContext": null
},
- "start": 8387,
- "end": 8388,
+ "start": 8372,
+ "end": 8373,
"loc": {
"start": {
"line": 272,
@@ -61233,8 +61233,8 @@
"binop": null
},
"value": "data",
- "start": 8388,
- "end": 8392,
+ "start": 8373,
+ "end": 8377,
"loc": {
"start": {
"line": 272,
@@ -61259,8 +61259,8 @@
"binop": null,
"updateContext": null
},
- "start": 8392,
- "end": 8393,
+ "start": 8377,
+ "end": 8378,
"loc": {
"start": {
"line": 272,
@@ -61285,8 +61285,8 @@
"binop": null
},
"value": "id",
- "start": 8393,
- "end": 8395,
+ "start": 8378,
+ "end": 8380,
"loc": {
"start": {
"line": 272,
@@ -61311,8 +61311,8 @@
"binop": null,
"updateContext": null
},
- "start": 8395,
- "end": 8396,
+ "start": 8380,
+ "end": 8381,
"loc": {
"start": {
"line": 272,
@@ -61337,8 +61337,8 @@
"binop": null,
"updateContext": null
},
- "start": 8396,
- "end": 8397,
+ "start": 8381,
+ "end": 8382,
"loc": {
"start": {
"line": 272,
@@ -61363,8 +61363,8 @@
"binop": null
},
"value": "hide",
- "start": 8397,
- "end": 8401,
+ "start": 8382,
+ "end": 8386,
"loc": {
"start": {
"line": 272,
@@ -61388,8 +61388,8 @@
"postfix": false,
"binop": null
},
- "start": 8401,
- "end": 8402,
+ "start": 8386,
+ "end": 8387,
"loc": {
"start": {
"line": 272,
@@ -61413,8 +61413,8 @@
"postfix": false,
"binop": null
},
- "start": 8402,
- "end": 8403,
+ "start": 8387,
+ "end": 8388,
"loc": {
"start": {
"line": 272,
@@ -61441,8 +61441,8 @@
"updateContext": null
},
"value": "delete",
- "start": 8407,
- "end": 8413,
+ "start": 8392,
+ "end": 8398,
"loc": {
"start": {
"line": 273,
@@ -61467,8 +61467,8 @@
"binop": null
},
"value": "objects",
- "start": 8414,
- "end": 8421,
+ "start": 8399,
+ "end": 8406,
"loc": {
"start": {
"line": 273,
@@ -61493,8 +61493,8 @@
"binop": null,
"updateContext": null
},
- "start": 8421,
- "end": 8422,
+ "start": 8406,
+ "end": 8407,
"loc": {
"start": {
"line": 273,
@@ -61519,8 +61519,8 @@
"binop": null
},
"value": "players",
- "start": 8422,
- "end": 8429,
+ "start": 8407,
+ "end": 8414,
"loc": {
"start": {
"line": 273,
@@ -61545,8 +61545,8 @@
"binop": null,
"updateContext": null
},
- "start": 8429,
- "end": 8430,
+ "start": 8414,
+ "end": 8415,
"loc": {
"start": {
"line": 273,
@@ -61571,8 +61571,8 @@
"binop": null
},
"value": "data",
- "start": 8430,
- "end": 8434,
+ "start": 8415,
+ "end": 8419,
"loc": {
"start": {
"line": 273,
@@ -61597,8 +61597,8 @@
"binop": null,
"updateContext": null
},
- "start": 8434,
- "end": 8435,
+ "start": 8419,
+ "end": 8420,
"loc": {
"start": {
"line": 273,
@@ -61623,8 +61623,8 @@
"binop": null
},
"value": "id",
- "start": 8435,
- "end": 8437,
+ "start": 8420,
+ "end": 8422,
"loc": {
"start": {
"line": 273,
@@ -61649,8 +61649,8 @@
"binop": null,
"updateContext": null
},
- "start": 8437,
- "end": 8438,
+ "start": 8422,
+ "end": 8423,
"loc": {
"start": {
"line": 273,
@@ -61674,8 +61674,8 @@
"postfix": false,
"binop": null
},
- "start": 8441,
- "end": 8442,
+ "start": 8426,
+ "end": 8427,
"loc": {
"start": {
"line": 274,
@@ -61699,8 +61699,8 @@
"postfix": false,
"binop": null
},
- "start": 8444,
- "end": 8445,
+ "start": 8429,
+ "end": 8430,
"loc": {
"start": {
"line": 275,
@@ -61724,8 +61724,8 @@
"postfix": false,
"binop": null
},
- "start": 8445,
- "end": 8446,
+ "start": 8430,
+ "end": 8431,
"loc": {
"start": {
"line": 275,
@@ -61750,8 +61750,8 @@
"binop": null
},
"value": "socket",
- "start": 8449,
- "end": 8455,
+ "start": 8434,
+ "end": 8440,
"loc": {
"start": {
"line": 277,
@@ -61776,8 +61776,8 @@
"binop": null,
"updateContext": null
},
- "start": 8455,
- "end": 8456,
+ "start": 8440,
+ "end": 8441,
"loc": {
"start": {
"line": 277,
@@ -61802,8 +61802,8 @@
"binop": null
},
"value": "on",
- "start": 8456,
- "end": 8458,
+ "start": 8441,
+ "end": 8443,
"loc": {
"start": {
"line": 277,
@@ -61827,8 +61827,8 @@
"postfix": false,
"binop": null
},
- "start": 8458,
- "end": 8459,
+ "start": 8443,
+ "end": 8444,
"loc": {
"start": {
"line": 277,
@@ -61854,8 +61854,8 @@
"updateContext": null
},
"value": "serverSendDisconnect",
- "start": 8459,
- "end": 8481,
+ "start": 8444,
+ "end": 8466,
"loc": {
"start": {
"line": 277,
@@ -61880,8 +61880,8 @@
"binop": null,
"updateContext": null
},
- "start": 8481,
- "end": 8482,
+ "start": 8466,
+ "end": 8467,
"loc": {
"start": {
"line": 277,
@@ -61905,8 +61905,8 @@
"postfix": false,
"binop": null
},
- "start": 8483,
- "end": 8484,
+ "start": 8468,
+ "end": 8469,
"loc": {
"start": {
"line": 277,
@@ -61930,8 +61930,8 @@
"postfix": false,
"binop": null
},
- "start": 8484,
- "end": 8485,
+ "start": 8469,
+ "end": 8470,
"loc": {
"start": {
"line": 277,
@@ -61956,8 +61956,8 @@
"binop": null,
"updateContext": null
},
- "start": 8486,
- "end": 8488,
+ "start": 8471,
+ "end": 8473,
"loc": {
"start": {
"line": 277,
@@ -61981,8 +61981,8 @@
"postfix": false,
"binop": null
},
- "start": 8489,
- "end": 8490,
+ "start": 8474,
+ "end": 8475,
"loc": {
"start": {
"line": 277,
@@ -62007,8 +62007,8 @@
"binop": null
},
"value": "quitGame",
- "start": 8493,
- "end": 8501,
+ "start": 8478,
+ "end": 8486,
"loc": {
"start": {
"line": 278,
@@ -62032,8 +62032,8 @@
"postfix": false,
"binop": null
},
- "start": 8501,
- "end": 8502,
+ "start": 8486,
+ "end": 8487,
"loc": {
"start": {
"line": 278,
@@ -62059,8 +62059,8 @@
"updateContext": null
},
"value": "The game has ended.",
- "start": 8502,
- "end": 8523,
+ "start": 8487,
+ "end": 8508,
"loc": {
"start": {
"line": 278,
@@ -62085,8 +62085,8 @@
"binop": null,
"updateContext": null
},
- "start": 8523,
- "end": 8524,
+ "start": 8508,
+ "end": 8509,
"loc": {
"start": {
"line": 278,
@@ -62113,8 +62113,8 @@
"updateContext": null
},
"value": "false",
- "start": 8525,
- "end": 8530,
+ "start": 8510,
+ "end": 8515,
"loc": {
"start": {
"line": 278,
@@ -62138,8 +62138,8 @@
"postfix": false,
"binop": null
},
- "start": 8530,
- "end": 8531,
+ "start": 8515,
+ "end": 8516,
"loc": {
"start": {
"line": 278,
@@ -62164,8 +62164,8 @@
"binop": null
},
"value": "hideElement",
- "start": 8534,
- "end": 8545,
+ "start": 8519,
+ "end": 8530,
"loc": {
"start": {
"line": 279,
@@ -62189,8 +62189,8 @@
"postfix": false,
"binop": null
},
- "start": 8545,
- "end": 8546,
+ "start": 8530,
+ "end": 8531,
"loc": {
"start": {
"line": 279,
@@ -62216,8 +62216,8 @@
"updateContext": null
},
"value": "winner-panel",
- "start": 8546,
- "end": 8560,
+ "start": 8531,
+ "end": 8545,
"loc": {
"start": {
"line": 279,
@@ -62241,8 +62241,8 @@
"postfix": false,
"binop": null
},
- "start": 8560,
- "end": 8561,
+ "start": 8545,
+ "end": 8546,
"loc": {
"start": {
"line": 279,
@@ -62266,8 +62266,8 @@
"postfix": false,
"binop": null
},
- "start": 8563,
- "end": 8564,
+ "start": 8548,
+ "end": 8549,
"loc": {
"start": {
"line": 280,
@@ -62291,8 +62291,8 @@
"postfix": false,
"binop": null
},
- "start": 8564,
- "end": 8565,
+ "start": 8549,
+ "end": 8550,
"loc": {
"start": {
"line": 280,
@@ -62307,8 +62307,8 @@
{
"type": "CommentLine",
"value": " Errors on join",
- "start": 8568,
- "end": 8585,
+ "start": 8553,
+ "end": 8570,
"loc": {
"start": {
"line": 282,
@@ -62333,8 +62333,8 @@
"binop": null
},
"value": "socket",
- "start": 8587,
- "end": 8593,
+ "start": 8572,
+ "end": 8578,
"loc": {
"start": {
"line": 283,
@@ -62359,8 +62359,8 @@
"binop": null,
"updateContext": null
},
- "start": 8593,
- "end": 8594,
+ "start": 8578,
+ "end": 8579,
"loc": {
"start": {
"line": 283,
@@ -62385,8 +62385,8 @@
"binop": null
},
"value": "on",
- "start": 8594,
- "end": 8596,
+ "start": 8579,
+ "end": 8581,
"loc": {
"start": {
"line": 283,
@@ -62410,8 +62410,8 @@
"postfix": false,
"binop": null
},
- "start": 8596,
- "end": 8597,
+ "start": 8581,
+ "end": 8582,
"loc": {
"start": {
"line": 283,
@@ -62437,8 +62437,8 @@
"updateContext": null
},
"value": "connectionError",
- "start": 8597,
- "end": 8614,
+ "start": 8582,
+ "end": 8599,
"loc": {
"start": {
"line": 283,
@@ -62463,8 +62463,8 @@
"binop": null,
"updateContext": null
},
- "start": 8614,
- "end": 8615,
+ "start": 8599,
+ "end": 8600,
"loc": {
"start": {
"line": 283,
@@ -62488,8 +62488,8 @@
"postfix": false,
"binop": null
},
- "start": 8616,
- "end": 8617,
+ "start": 8601,
+ "end": 8602,
"loc": {
"start": {
"line": 283,
@@ -62514,8 +62514,8 @@
"binop": null
},
"value": "data",
- "start": 8617,
- "end": 8621,
+ "start": 8602,
+ "end": 8606,
"loc": {
"start": {
"line": 283,
@@ -62539,8 +62539,8 @@
"postfix": false,
"binop": null
},
- "start": 8621,
- "end": 8622,
+ "start": 8606,
+ "end": 8607,
"loc": {
"start": {
"line": 283,
@@ -62565,8 +62565,8 @@
"binop": null,
"updateContext": null
},
- "start": 8623,
- "end": 8625,
+ "start": 8608,
+ "end": 8610,
"loc": {
"start": {
"line": 283,
@@ -62590,8 +62590,8 @@
"postfix": false,
"binop": null
},
- "start": 8626,
- "end": 8627,
+ "start": 8611,
+ "end": 8612,
"loc": {
"start": {
"line": 283,
@@ -62616,8 +62616,8 @@
"binop": null
},
"value": "socket",
- "start": 8630,
- "end": 8636,
+ "start": 8615,
+ "end": 8621,
"loc": {
"start": {
"line": 284,
@@ -62642,8 +62642,8 @@
"binop": null,
"updateContext": null
},
- "start": 8636,
- "end": 8637,
+ "start": 8621,
+ "end": 8622,
"loc": {
"start": {
"line": 284,
@@ -62668,8 +62668,8 @@
"binop": null
},
"value": "disconnect",
- "start": 8637,
- "end": 8647,
+ "start": 8622,
+ "end": 8632,
"loc": {
"start": {
"line": 284,
@@ -62693,8 +62693,8 @@
"postfix": false,
"binop": null
},
- "start": 8647,
- "end": 8648,
+ "start": 8632,
+ "end": 8633,
"loc": {
"start": {
"line": 284,
@@ -62718,8 +62718,8 @@
"postfix": false,
"binop": null
},
- "start": 8648,
- "end": 8649,
+ "start": 8633,
+ "end": 8634,
"loc": {
"start": {
"line": 284,
@@ -62744,8 +62744,8 @@
"binop": null
},
"value": "quitGame",
- "start": 8652,
- "end": 8660,
+ "start": 8637,
+ "end": 8645,
"loc": {
"start": {
"line": 285,
@@ -62769,8 +62769,8 @@
"postfix": false,
"binop": null
},
- "start": 8660,
- "end": 8661,
+ "start": 8645,
+ "end": 8646,
"loc": {
"start": {
"line": 285,
@@ -62795,8 +62795,8 @@
"binop": null
},
"value": "data",
- "start": 8661,
- "end": 8665,
+ "start": 8646,
+ "end": 8650,
"loc": {
"start": {
"line": 285,
@@ -62821,8 +62821,8 @@
"binop": null,
"updateContext": null
},
- "start": 8665,
- "end": 8666,
+ "start": 8650,
+ "end": 8651,
"loc": {
"start": {
"line": 285,
@@ -62847,8 +62847,8 @@
"binop": null
},
"value": "msg",
- "start": 8666,
- "end": 8669,
+ "start": 8651,
+ "end": 8654,
"loc": {
"start": {
"line": 285,
@@ -62873,8 +62873,8 @@
"binop": null,
"updateContext": null
},
- "start": 8669,
- "end": 8670,
+ "start": 8654,
+ "end": 8655,
"loc": {
"start": {
"line": 285,
@@ -62901,8 +62901,8 @@
"updateContext": null
},
"value": "true",
- "start": 8671,
- "end": 8675,
+ "start": 8656,
+ "end": 8660,
"loc": {
"start": {
"line": 285,
@@ -62926,8 +62926,8 @@
"postfix": false,
"binop": null
},
- "start": 8675,
- "end": 8676,
+ "start": 8660,
+ "end": 8661,
"loc": {
"start": {
"line": 285,
@@ -62951,8 +62951,8 @@
"postfix": false,
"binop": null
},
- "start": 8678,
- "end": 8679,
+ "start": 8663,
+ "end": 8664,
"loc": {
"start": {
"line": 286,
@@ -62976,8 +62976,8 @@
"postfix": false,
"binop": null
},
- "start": 8679,
- "end": 8680,
+ "start": 8664,
+ "end": 8665,
"loc": {
"start": {
"line": 286,
@@ -63001,8 +63001,8 @@
"postfix": false,
"binop": null
},
- "start": 8681,
- "end": 8682,
+ "start": 8666,
+ "end": 8667,
"loc": {
"start": {
"line": 287,
@@ -63017,8 +63017,8 @@
{
"type": "CommentBlock",
"value": "*\n * Sets up socket information transfer listeners.\n * Run in setupSocket().\n * @param {*} chat The chat client instance to be used for notifications\n ",
- "start": 8684,
- "end": 8839,
+ "start": 8669,
+ "end": 8824,
"loc": {
"start": {
"line": 289,
@@ -63044,8 +63044,8 @@
"binop": null
},
"value": "function",
- "start": 8840,
- "end": 8848,
+ "start": 8825,
+ "end": 8833,
"loc": {
"start": {
"line": 294,
@@ -63070,8 +63070,8 @@
"binop": null
},
"value": "setupSocketInfo",
- "start": 8849,
- "end": 8864,
+ "start": 8834,
+ "end": 8849,
"loc": {
"start": {
"line": 294,
@@ -63095,8 +63095,8 @@
"postfix": false,
"binop": null
},
- "start": 8865,
- "end": 8866,
+ "start": 8850,
+ "end": 8851,
"loc": {
"start": {
"line": 294,
@@ -63121,8 +63121,8 @@
"binop": null
},
"value": "chat",
- "start": 8866,
- "end": 8870,
+ "start": 8851,
+ "end": 8855,
"loc": {
"start": {
"line": 294,
@@ -63146,8 +63146,8 @@
"postfix": false,
"binop": null
},
- "start": 8870,
- "end": 8871,
+ "start": 8855,
+ "end": 8856,
"loc": {
"start": {
"line": 294,
@@ -63171,8 +63171,8 @@
"postfix": false,
"binop": null
},
- "start": 8872,
- "end": 8873,
+ "start": 8857,
+ "end": 8858,
"loc": {
"start": {
"line": 294,
@@ -63187,8 +63187,8 @@
{
"type": "CommentLine",
"value": " Chat system receiver",
- "start": 8875,
- "end": 8898,
+ "start": 8860,
+ "end": 8883,
"loc": {
"start": {
"line": 295,
@@ -63213,8 +63213,8 @@
"binop": null
},
"value": "socket",
- "start": 8900,
- "end": 8906,
+ "start": 8885,
+ "end": 8891,
"loc": {
"start": {
"line": 296,
@@ -63239,8 +63239,8 @@
"binop": null,
"updateContext": null
},
- "start": 8906,
- "end": 8907,
+ "start": 8891,
+ "end": 8892,
"loc": {
"start": {
"line": 296,
@@ -63265,8 +63265,8 @@
"binop": null
},
"value": "on",
- "start": 8907,
- "end": 8909,
+ "start": 8892,
+ "end": 8894,
"loc": {
"start": {
"line": 296,
@@ -63290,8 +63290,8 @@
"postfix": false,
"binop": null
},
- "start": 8909,
- "end": 8910,
+ "start": 8894,
+ "end": 8895,
"loc": {
"start": {
"line": 296,
@@ -63317,8 +63317,8 @@
"updateContext": null
},
"value": "serverMSG",
- "start": 8910,
- "end": 8921,
+ "start": 8895,
+ "end": 8906,
"loc": {
"start": {
"line": 296,
@@ -63343,8 +63343,8 @@
"binop": null,
"updateContext": null
},
- "start": 8921,
- "end": 8922,
+ "start": 8906,
+ "end": 8907,
"loc": {
"start": {
"line": 296,
@@ -63369,8 +63369,8 @@
"binop": null
},
"value": "data",
- "start": 8923,
- "end": 8927,
+ "start": 8908,
+ "end": 8912,
"loc": {
"start": {
"line": 296,
@@ -63395,8 +63395,8 @@
"binop": null,
"updateContext": null
},
- "start": 8928,
- "end": 8930,
+ "start": 8913,
+ "end": 8915,
"loc": {
"start": {
"line": 296,
@@ -63420,8 +63420,8 @@
"postfix": false,
"binop": null
},
- "start": 8931,
- "end": 8932,
+ "start": 8916,
+ "end": 8917,
"loc": {
"start": {
"line": 296,
@@ -63446,8 +63446,8 @@
"binop": null
},
"value": "chat",
- "start": 8935,
- "end": 8939,
+ "start": 8920,
+ "end": 8924,
"loc": {
"start": {
"line": 297,
@@ -63472,8 +63472,8 @@
"binop": null,
"updateContext": null
},
- "start": 8939,
- "end": 8940,
+ "start": 8924,
+ "end": 8925,
"loc": {
"start": {
"line": 297,
@@ -63498,8 +63498,8 @@
"binop": null
},
"value": "addSystemLine",
- "start": 8940,
- "end": 8953,
+ "start": 8925,
+ "end": 8938,
"loc": {
"start": {
"line": 297,
@@ -63523,8 +63523,8 @@
"postfix": false,
"binop": null
},
- "start": 8953,
- "end": 8954,
+ "start": 8938,
+ "end": 8939,
"loc": {
"start": {
"line": 297,
@@ -63549,8 +63549,8 @@
"binop": null
},
"value": "data",
- "start": 8954,
- "end": 8958,
+ "start": 8939,
+ "end": 8943,
"loc": {
"start": {
"line": 297,
@@ -63574,8 +63574,8 @@
"postfix": false,
"binop": null
},
- "start": 8958,
- "end": 8959,
+ "start": 8943,
+ "end": 8944,
"loc": {
"start": {
"line": 297,
@@ -63599,8 +63599,8 @@
"postfix": false,
"binop": null
},
- "start": 8961,
- "end": 8962,
+ "start": 8946,
+ "end": 8947,
"loc": {
"start": {
"line": 298,
@@ -63624,8 +63624,8 @@
"postfix": false,
"binop": null
},
- "start": 8962,
- "end": 8963,
+ "start": 8947,
+ "end": 8948,
"loc": {
"start": {
"line": 298,
@@ -63650,8 +63650,8 @@
"binop": null
},
"value": "socket",
- "start": 8966,
- "end": 8972,
+ "start": 8951,
+ "end": 8957,
"loc": {
"start": {
"line": 300,
@@ -63676,8 +63676,8 @@
"binop": null,
"updateContext": null
},
- "start": 8972,
- "end": 8973,
+ "start": 8957,
+ "end": 8958,
"loc": {
"start": {
"line": 300,
@@ -63702,8 +63702,8 @@
"binop": null
},
"value": "on",
- "start": 8973,
- "end": 8975,
+ "start": 8958,
+ "end": 8960,
"loc": {
"start": {
"line": 300,
@@ -63727,8 +63727,8 @@
"postfix": false,
"binop": null
},
- "start": 8975,
- "end": 8976,
+ "start": 8960,
+ "end": 8961,
"loc": {
"start": {
"line": 300,
@@ -63754,8 +63754,8 @@
"updateContext": null
},
"value": "serverAnnouncement",
- "start": 8976,
- "end": 8996,
+ "start": 8961,
+ "end": 8981,
"loc": {
"start": {
"line": 300,
@@ -63780,8 +63780,8 @@
"binop": null,
"updateContext": null
},
- "start": 8996,
- "end": 8997,
+ "start": 8981,
+ "end": 8982,
"loc": {
"start": {
"line": 300,
@@ -63806,8 +63806,8 @@
"binop": null
},
"value": "data",
- "start": 8998,
- "end": 9002,
+ "start": 8983,
+ "end": 8987,
"loc": {
"start": {
"line": 300,
@@ -63832,8 +63832,8 @@
"binop": null,
"updateContext": null
},
- "start": 9003,
- "end": 9005,
+ "start": 8988,
+ "end": 8990,
"loc": {
"start": {
"line": 300,
@@ -63857,8 +63857,8 @@
"postfix": false,
"binop": null
},
- "start": 9006,
- "end": 9007,
+ "start": 8991,
+ "end": 8992,
"loc": {
"start": {
"line": 300,
@@ -63883,8 +63883,8 @@
"binop": null
},
"value": "chat",
- "start": 9010,
- "end": 9014,
+ "start": 8995,
+ "end": 8999,
"loc": {
"start": {
"line": 301,
@@ -63909,8 +63909,8 @@
"binop": null,
"updateContext": null
},
- "start": 9014,
- "end": 9015,
+ "start": 8999,
+ "end": 9000,
"loc": {
"start": {
"line": 301,
@@ -63935,8 +63935,8 @@
"binop": null
},
"value": "addChatAnnouncement",
- "start": 9015,
- "end": 9034,
+ "start": 9000,
+ "end": 9019,
"loc": {
"start": {
"line": 301,
@@ -63960,8 +63960,8 @@
"postfix": false,
"binop": null
},
- "start": 9034,
- "end": 9035,
+ "start": 9019,
+ "end": 9020,
"loc": {
"start": {
"line": 301,
@@ -63986,8 +63986,8 @@
"binop": null
},
"value": "data",
- "start": 9035,
- "end": 9039,
+ "start": 9020,
+ "end": 9024,
"loc": {
"start": {
"line": 301,
@@ -64012,8 +64012,8 @@
"binop": null,
"updateContext": null
},
- "start": 9039,
- "end": 9040,
+ "start": 9024,
+ "end": 9025,
"loc": {
"start": {
"line": 301,
@@ -64038,8 +64038,8 @@
"binop": null
},
"value": "message",
- "start": 9040,
- "end": 9047,
+ "start": 9025,
+ "end": 9032,
"loc": {
"start": {
"line": 301,
@@ -64064,8 +64064,8 @@
"binop": null,
"updateContext": null
},
- "start": 9047,
- "end": 9048,
+ "start": 9032,
+ "end": 9033,
"loc": {
"start": {
"line": 301,
@@ -64090,8 +64090,8 @@
"binop": null
},
"value": "data",
- "start": 9049,
- "end": 9053,
+ "start": 9034,
+ "end": 9038,
"loc": {
"start": {
"line": 301,
@@ -64116,8 +64116,8 @@
"binop": null,
"updateContext": null
},
- "start": 9053,
- "end": 9054,
+ "start": 9038,
+ "end": 9039,
"loc": {
"start": {
"line": 301,
@@ -64142,8 +64142,8 @@
"binop": null
},
"value": "sendingTeam",
- "start": 9054,
- "end": 9065,
+ "start": 9039,
+ "end": 9050,
"loc": {
"start": {
"line": 301,
@@ -64167,8 +64167,8 @@
"postfix": false,
"binop": null
},
- "start": 9065,
- "end": 9066,
+ "start": 9050,
+ "end": 9051,
"loc": {
"start": {
"line": 301,
@@ -64192,8 +64192,8 @@
"postfix": false,
"binop": null
},
- "start": 9068,
- "end": 9069,
+ "start": 9053,
+ "end": 9054,
"loc": {
"start": {
"line": 302,
@@ -64217,8 +64217,8 @@
"postfix": false,
"binop": null
},
- "start": 9069,
- "end": 9070,
+ "start": 9054,
+ "end": 9055,
"loc": {
"start": {
"line": 302,
@@ -64243,8 +64243,8 @@
"binop": null
},
"value": "socket",
- "start": 9073,
- "end": 9079,
+ "start": 9058,
+ "end": 9064,
"loc": {
"start": {
"line": 304,
@@ -64269,8 +64269,8 @@
"binop": null,
"updateContext": null
},
- "start": 9079,
- "end": 9080,
+ "start": 9064,
+ "end": 9065,
"loc": {
"start": {
"line": 304,
@@ -64295,8 +64295,8 @@
"binop": null
},
"value": "on",
- "start": 9080,
- "end": 9082,
+ "start": 9065,
+ "end": 9067,
"loc": {
"start": {
"line": 304,
@@ -64320,8 +64320,8 @@
"postfix": false,
"binop": null
},
- "start": 9082,
- "end": 9083,
+ "start": 9067,
+ "end": 9068,
"loc": {
"start": {
"line": 304,
@@ -64347,8 +64347,8 @@
"updateContext": null
},
"value": "serverSendPlayerChat",
- "start": 9083,
- "end": 9105,
+ "start": 9068,
+ "end": 9090,
"loc": {
"start": {
"line": 304,
@@ -64373,8 +64373,8 @@
"binop": null,
"updateContext": null
},
- "start": 9105,
- "end": 9106,
+ "start": 9090,
+ "end": 9091,
"loc": {
"start": {
"line": 304,
@@ -64399,8 +64399,8 @@
"binop": null
},
"value": "data",
- "start": 9107,
- "end": 9111,
+ "start": 9092,
+ "end": 9096,
"loc": {
"start": {
"line": 304,
@@ -64425,8 +64425,8 @@
"binop": null,
"updateContext": null
},
- "start": 9112,
- "end": 9114,
+ "start": 9097,
+ "end": 9099,
"loc": {
"start": {
"line": 304,
@@ -64450,8 +64450,8 @@
"postfix": false,
"binop": null
},
- "start": 9115,
- "end": 9116,
+ "start": 9100,
+ "end": 9101,
"loc": {
"start": {
"line": 304,
@@ -64476,8 +64476,8 @@
"binop": null
},
"value": "chat",
- "start": 9119,
- "end": 9123,
+ "start": 9104,
+ "end": 9108,
"loc": {
"start": {
"line": 305,
@@ -64502,8 +64502,8 @@
"binop": null,
"updateContext": null
},
- "start": 9123,
- "end": 9124,
+ "start": 9108,
+ "end": 9109,
"loc": {
"start": {
"line": 305,
@@ -64528,8 +64528,8 @@
"binop": null
},
"value": "addChatLine",
- "start": 9124,
- "end": 9135,
+ "start": 9109,
+ "end": 9120,
"loc": {
"start": {
"line": 305,
@@ -64553,8 +64553,8 @@
"postfix": false,
"binop": null
},
- "start": 9135,
- "end": 9136,
+ "start": 9120,
+ "end": 9121,
"loc": {
"start": {
"line": 305,
@@ -64579,8 +64579,8 @@
"binop": null
},
"value": "data",
- "start": 9136,
- "end": 9140,
+ "start": 9121,
+ "end": 9125,
"loc": {
"start": {
"line": 305,
@@ -64605,8 +64605,8 @@
"binop": null,
"updateContext": null
},
- "start": 9140,
- "end": 9141,
+ "start": 9125,
+ "end": 9126,
"loc": {
"start": {
"line": 305,
@@ -64631,8 +64631,8 @@
"binop": null
},
"value": "sender",
- "start": 9141,
- "end": 9147,
+ "start": 9126,
+ "end": 9132,
"loc": {
"start": {
"line": 305,
@@ -64657,8 +64657,8 @@
"binop": null,
"updateContext": null
},
- "start": 9147,
- "end": 9148,
+ "start": 9132,
+ "end": 9133,
"loc": {
"start": {
"line": 305,
@@ -64683,8 +64683,8 @@
"binop": null
},
"value": "data",
- "start": 9149,
- "end": 9153,
+ "start": 9134,
+ "end": 9138,
"loc": {
"start": {
"line": 305,
@@ -64709,8 +64709,8 @@
"binop": null,
"updateContext": null
},
- "start": 9153,
- "end": 9154,
+ "start": 9138,
+ "end": 9139,
"loc": {
"start": {
"line": 305,
@@ -64735,8 +64735,8 @@
"binop": null
},
"value": "message",
- "start": 9154,
- "end": 9161,
+ "start": 9139,
+ "end": 9146,
"loc": {
"start": {
"line": 305,
@@ -64761,8 +64761,8 @@
"binop": null,
"updateContext": null
},
- "start": 9161,
- "end": 9162,
+ "start": 9146,
+ "end": 9147,
"loc": {
"start": {
"line": 305,
@@ -64789,8 +64789,8 @@
"updateContext": null
},
"value": "false",
- "start": 9163,
- "end": 9168,
+ "start": 9148,
+ "end": 9153,
"loc": {
"start": {
"line": 305,
@@ -64815,8 +64815,8 @@
"binop": null,
"updateContext": null
},
- "start": 9168,
- "end": 9169,
+ "start": 9153,
+ "end": 9154,
"loc": {
"start": {
"line": 305,
@@ -64841,8 +64841,8 @@
"binop": null
},
"value": "data",
- "start": 9170,
- "end": 9174,
+ "start": 9155,
+ "end": 9159,
"loc": {
"start": {
"line": 305,
@@ -64867,8 +64867,8 @@
"binop": null,
"updateContext": null
},
- "start": 9174,
- "end": 9175,
+ "start": 9159,
+ "end": 9160,
"loc": {
"start": {
"line": 305,
@@ -64893,8 +64893,8 @@
"binop": null
},
"value": "sendingTeam",
- "start": 9175,
- "end": 9186,
+ "start": 9160,
+ "end": 9171,
"loc": {
"start": {
"line": 305,
@@ -64918,8 +64918,8 @@
"postfix": false,
"binop": null
},
- "start": 9186,
- "end": 9187,
+ "start": 9171,
+ "end": 9172,
"loc": {
"start": {
"line": 305,
@@ -64943,8 +64943,8 @@
"postfix": false,
"binop": null
},
- "start": 9189,
- "end": 9190,
+ "start": 9174,
+ "end": 9175,
"loc": {
"start": {
"line": 306,
@@ -64968,8 +64968,8 @@
"postfix": false,
"binop": null
},
- "start": 9190,
- "end": 9191,
+ "start": 9175,
+ "end": 9176,
"loc": {
"start": {
"line": 306,
@@ -64994,8 +64994,8 @@
"binop": null
},
"value": "socket",
- "start": 9194,
- "end": 9200,
+ "start": 9179,
+ "end": 9185,
"loc": {
"start": {
"line": 308,
@@ -65020,8 +65020,8 @@
"binop": null,
"updateContext": null
},
- "start": 9200,
- "end": 9201,
+ "start": 9185,
+ "end": 9186,
"loc": {
"start": {
"line": 308,
@@ -65046,8 +65046,8 @@
"binop": null
},
"value": "on",
- "start": 9201,
- "end": 9203,
+ "start": 9186,
+ "end": 9188,
"loc": {
"start": {
"line": 308,
@@ -65071,8 +65071,8 @@
"postfix": false,
"binop": null
},
- "start": 9203,
- "end": 9204,
+ "start": 9188,
+ "end": 9189,
"loc": {
"start": {
"line": 308,
@@ -65098,8 +65098,8 @@
"updateContext": null
},
"value": "serverSendLoginMessage",
- "start": 9204,
- "end": 9228,
+ "start": 9189,
+ "end": 9213,
"loc": {
"start": {
"line": 308,
@@ -65124,8 +65124,8 @@
"binop": null,
"updateContext": null
},
- "start": 9228,
- "end": 9229,
+ "start": 9213,
+ "end": 9214,
"loc": {
"start": {
"line": 308,
@@ -65150,8 +65150,8 @@
"binop": null
},
"value": "data",
- "start": 9230,
- "end": 9234,
+ "start": 9215,
+ "end": 9219,
"loc": {
"start": {
"line": 308,
@@ -65176,8 +65176,8 @@
"binop": null,
"updateContext": null
},
- "start": 9235,
- "end": 9237,
+ "start": 9220,
+ "end": 9222,
"loc": {
"start": {
"line": 308,
@@ -65201,8 +65201,8 @@
"postfix": false,
"binop": null
},
- "start": 9238,
- "end": 9239,
+ "start": 9223,
+ "end": 9224,
"loc": {
"start": {
"line": 308,
@@ -65227,8 +65227,8 @@
"binop": null
},
"value": "chat",
- "start": 9242,
- "end": 9246,
+ "start": 9227,
+ "end": 9231,
"loc": {
"start": {
"line": 309,
@@ -65253,8 +65253,8 @@
"binop": null,
"updateContext": null
},
- "start": 9246,
- "end": 9247,
+ "start": 9231,
+ "end": 9232,
"loc": {
"start": {
"line": 309,
@@ -65279,8 +65279,8 @@
"binop": null
},
"value": "addLoginMessage",
- "start": 9247,
- "end": 9262,
+ "start": 9232,
+ "end": 9247,
"loc": {
"start": {
"line": 309,
@@ -65304,8 +65304,8 @@
"postfix": false,
"binop": null
},
- "start": 9262,
- "end": 9263,
+ "start": 9247,
+ "end": 9248,
"loc": {
"start": {
"line": 309,
@@ -65330,8 +65330,8 @@
"binop": null
},
"value": "data",
- "start": 9263,
- "end": 9267,
+ "start": 9248,
+ "end": 9252,
"loc": {
"start": {
"line": 309,
@@ -65356,8 +65356,8 @@
"binop": null,
"updateContext": null
},
- "start": 9267,
- "end": 9268,
+ "start": 9252,
+ "end": 9253,
"loc": {
"start": {
"line": 309,
@@ -65382,8 +65382,8 @@
"binop": null
},
"value": "sender",
- "start": 9268,
- "end": 9274,
+ "start": 9253,
+ "end": 9259,
"loc": {
"start": {
"line": 309,
@@ -65408,8 +65408,8 @@
"binop": null,
"updateContext": null
},
- "start": 9274,
- "end": 9275,
+ "start": 9259,
+ "end": 9260,
"loc": {
"start": {
"line": 309,
@@ -65436,8 +65436,8 @@
"updateContext": null
},
"value": "false",
- "start": 9276,
- "end": 9281,
+ "start": 9261,
+ "end": 9266,
"loc": {
"start": {
"line": 309,
@@ -65461,8 +65461,8 @@
"postfix": false,
"binop": null
},
- "start": 9281,
- "end": 9282,
+ "start": 9266,
+ "end": 9267,
"loc": {
"start": {
"line": 309,
@@ -65486,8 +65486,8 @@
"postfix": false,
"binop": null
},
- "start": 9284,
- "end": 9285,
+ "start": 9269,
+ "end": 9270,
"loc": {
"start": {
"line": 310,
@@ -65511,8 +65511,8 @@
"postfix": false,
"binop": null
},
- "start": 9285,
- "end": 9286,
+ "start": 9270,
+ "end": 9271,
"loc": {
"start": {
"line": 310,
@@ -65527,8 +65527,8 @@
{
"type": "CommentLine",
"value": " Receive information about room players",
- "start": 9289,
- "end": 9330,
+ "start": 9274,
+ "end": 9315,
"loc": {
"start": {
"line": 312,
@@ -65553,8 +65553,8 @@
"binop": null
},
"value": "socket",
- "start": 9332,
- "end": 9338,
+ "start": 9317,
+ "end": 9323,
"loc": {
"start": {
"line": 313,
@@ -65579,8 +65579,8 @@
"binop": null,
"updateContext": null
},
- "start": 9338,
- "end": 9339,
+ "start": 9323,
+ "end": 9324,
"loc": {
"start": {
"line": 313,
@@ -65605,8 +65605,8 @@
"binop": null
},
"value": "on",
- "start": 9339,
- "end": 9341,
+ "start": 9324,
+ "end": 9326,
"loc": {
"start": {
"line": 313,
@@ -65630,8 +65630,8 @@
"postfix": false,
"binop": null
},
- "start": 9341,
- "end": 9342,
+ "start": 9326,
+ "end": 9327,
"loc": {
"start": {
"line": 313,
@@ -65657,8 +65657,8 @@
"updateContext": null
},
"value": "roomInfo",
- "start": 9342,
- "end": 9352,
+ "start": 9327,
+ "end": 9337,
"loc": {
"start": {
"line": 313,
@@ -65683,8 +65683,8 @@
"binop": null,
"updateContext": null
},
- "start": 9352,
- "end": 9353,
+ "start": 9337,
+ "end": 9338,
"loc": {
"start": {
"line": 313,
@@ -65708,8 +65708,8 @@
"postfix": false,
"binop": null
},
- "start": 9354,
- "end": 9355,
+ "start": 9339,
+ "end": 9340,
"loc": {
"start": {
"line": 313,
@@ -65734,8 +65734,8 @@
"binop": null
},
"value": "data",
- "start": 9355,
- "end": 9359,
+ "start": 9340,
+ "end": 9344,
"loc": {
"start": {
"line": 313,
@@ -65759,8 +65759,8 @@
"postfix": false,
"binop": null
},
- "start": 9359,
- "end": 9360,
+ "start": 9344,
+ "end": 9345,
"loc": {
"start": {
"line": 313,
@@ -65785,8 +65785,8 @@
"binop": null,
"updateContext": null
},
- "start": 9361,
- "end": 9363,
+ "start": 9346,
+ "end": 9348,
"loc": {
"start": {
"line": 313,
@@ -65810,8 +65810,8 @@
"postfix": false,
"binop": null
},
- "start": 9364,
- "end": 9365,
+ "start": 9349,
+ "end": 9350,
"loc": {
"start": {
"line": 313,
@@ -65826,8 +65826,8 @@
{
"type": "CommentLine",
"value": " Update lobby info. Pass to app.js",
- "start": 9368,
- "end": 9404,
+ "start": 9353,
+ "end": 9389,
"loc": {
"start": {
"line": 314,
@@ -65852,8 +65852,8 @@
"binop": null
},
"value": "updateLobby",
- "start": 9407,
- "end": 9418,
+ "start": 9392,
+ "end": 9403,
"loc": {
"start": {
"line": 315,
@@ -65877,8 +65877,8 @@
"postfix": false,
"binop": null
},
- "start": 9418,
- "end": 9419,
+ "start": 9403,
+ "end": 9404,
"loc": {
"start": {
"line": 315,
@@ -65903,8 +65903,8 @@
"binop": null
},
"value": "data",
- "start": 9419,
- "end": 9423,
+ "start": 9404,
+ "end": 9408,
"loc": {
"start": {
"line": 315,
@@ -65928,8 +65928,8 @@
"postfix": false,
"binop": null
},
- "start": 9423,
- "end": 9424,
+ "start": 9408,
+ "end": 9409,
"loc": {
"start": {
"line": 315,
@@ -65944,8 +65944,8 @@
{
"type": "CommentLine",
"value": " if(GLOBAL.DEBUG) {",
- "start": 9428,
- "end": 9449,
+ "start": 9413,
+ "end": 9434,
"loc": {
"start": {
"line": 317,
@@ -65960,8 +65960,8 @@
{
"type": "CommentLine",
"value": " console.log(\"rcvd: \",data);",
- "start": 9452,
- "end": 9486,
+ "start": 9437,
+ "end": 9471,
"loc": {
"start": {
"line": 318,
@@ -65976,8 +65976,8 @@
{
"type": "CommentLine",
"value": " }",
- "start": 9489,
- "end": 9493,
+ "start": 9474,
+ "end": 9478,
"loc": {
"start": {
"line": 319,
@@ -66001,8 +66001,8 @@
"postfix": false,
"binop": null
},
- "start": 9495,
- "end": 9496,
+ "start": 9480,
+ "end": 9481,
"loc": {
"start": {
"line": 320,
@@ -66026,8 +66026,8 @@
"postfix": false,
"binop": null
},
- "start": 9496,
- "end": 9497,
+ "start": 9481,
+ "end": 9482,
"loc": {
"start": {
"line": 320,
@@ -66052,8 +66052,8 @@
"binop": null
},
"value": "socket",
- "start": 9500,
- "end": 9506,
+ "start": 9485,
+ "end": 9491,
"loc": {
"start": {
"line": 322,
@@ -66078,8 +66078,8 @@
"binop": null,
"updateContext": null
},
- "start": 9506,
- "end": 9507,
+ "start": 9491,
+ "end": 9492,
"loc": {
"start": {
"line": 322,
@@ -66104,8 +66104,8 @@
"binop": null
},
"value": "on",
- "start": 9507,
- "end": 9509,
+ "start": 9492,
+ "end": 9494,
"loc": {
"start": {
"line": 322,
@@ -66129,8 +66129,8 @@
"postfix": false,
"binop": null
},
- "start": 9509,
- "end": 9510,
+ "start": 9494,
+ "end": 9495,
"loc": {
"start": {
"line": 322,
@@ -66156,8 +66156,8 @@
"updateContext": null
},
"value": "serverSendStartGame",
- "start": 9510,
- "end": 9531,
+ "start": 9495,
+ "end": 9516,
"loc": {
"start": {
"line": 322,
@@ -66182,8 +66182,8 @@
"binop": null,
"updateContext": null
},
- "start": 9531,
- "end": 9532,
+ "start": 9516,
+ "end": 9517,
"loc": {
"start": {
"line": 322,
@@ -66207,8 +66207,8 @@
"postfix": false,
"binop": null
},
- "start": 9533,
- "end": 9534,
+ "start": 9518,
+ "end": 9519,
"loc": {
"start": {
"line": 322,
@@ -66233,8 +66233,8 @@
"binop": null
},
"value": "data",
- "start": 9534,
- "end": 9538,
+ "start": 9519,
+ "end": 9523,
"loc": {
"start": {
"line": 322,
@@ -66258,8 +66258,8 @@
"postfix": false,
"binop": null
},
- "start": 9538,
- "end": 9539,
+ "start": 9523,
+ "end": 9524,
"loc": {
"start": {
"line": 322,
@@ -66284,8 +66284,8 @@
"binop": null,
"updateContext": null
},
- "start": 9540,
- "end": 9542,
+ "start": 9525,
+ "end": 9527,
"loc": {
"start": {
"line": 322,
@@ -66309,8 +66309,8 @@
"postfix": false,
"binop": null
},
- "start": 9543,
- "end": 9544,
+ "start": 9528,
+ "end": 9529,
"loc": {
"start": {
"line": 322,
@@ -66335,8 +66335,8 @@
"binop": null
},
"value": "console",
- "start": 9547,
- "end": 9554,
+ "start": 9532,
+ "end": 9539,
"loc": {
"start": {
"line": 323,
@@ -66361,8 +66361,8 @@
"binop": null,
"updateContext": null
},
- "start": 9554,
- "end": 9555,
+ "start": 9539,
+ "end": 9540,
"loc": {
"start": {
"line": 323,
@@ -66387,8 +66387,8 @@
"binop": null
},
"value": "log",
- "start": 9555,
- "end": 9558,
+ "start": 9540,
+ "end": 9543,
"loc": {
"start": {
"line": 323,
@@ -66412,8 +66412,8 @@
"postfix": false,
"binop": null
},
- "start": 9558,
- "end": 9559,
+ "start": 9543,
+ "end": 9544,
"loc": {
"start": {
"line": 323,
@@ -66439,8 +66439,8 @@
"updateContext": null
},
"value": "game has started",
- "start": 9559,
- "end": 9577,
+ "start": 9544,
+ "end": 9562,
"loc": {
"start": {
"line": 323,
@@ -66464,8 +66464,8 @@
"postfix": false,
"binop": null
},
- "start": 9577,
- "end": 9578,
+ "start": 9562,
+ "end": 9563,
"loc": {
"start": {
"line": 323,
@@ -66490,8 +66490,8 @@
"binop": null
},
"value": "startGame",
- "start": 9581,
- "end": 9590,
+ "start": 9566,
+ "end": 9575,
"loc": {
"start": {
"line": 324,
@@ -66515,8 +66515,8 @@
"postfix": false,
"binop": null
},
- "start": 9590,
- "end": 9591,
+ "start": 9575,
+ "end": 9576,
"loc": {
"start": {
"line": 324,
@@ -66543,8 +66543,8 @@
"updateContext": null
},
"value": "false",
- "start": 9591,
- "end": 9596,
+ "start": 9576,
+ "end": 9581,
"loc": {
"start": {
"line": 324,
@@ -66569,8 +66569,8 @@
"binop": null,
"updateContext": null
},
- "start": 9596,
- "end": 9597,
+ "start": 9581,
+ "end": 9582,
"loc": {
"start": {
"line": 324,
@@ -66595,8 +66595,8 @@
"binop": null
},
"value": "data",
- "start": 9598,
- "end": 9602,
+ "start": 9583,
+ "end": 9587,
"loc": {
"start": {
"line": 324,
@@ -66621,8 +66621,8 @@
"binop": null,
"updateContext": null
},
- "start": 9602,
- "end": 9603,
+ "start": 9587,
+ "end": 9588,
"loc": {
"start": {
"line": 324,
@@ -66647,8 +66647,8 @@
"binop": null
},
"value": "teams",
- "start": 9603,
- "end": 9608,
+ "start": 9588,
+ "end": 9593,
"loc": {
"start": {
"line": 324,
@@ -66672,8 +66672,8 @@
"postfix": false,
"binop": null
},
- "start": 9608,
- "end": 9609,
+ "start": 9593,
+ "end": 9594,
"loc": {
"start": {
"line": 324,
@@ -66697,8 +66697,8 @@
"postfix": false,
"binop": null
},
- "start": 9611,
- "end": 9612,
+ "start": 9596,
+ "end": 9597,
"loc": {
"start": {
"line": 325,
@@ -66722,8 +66722,8 @@
"postfix": false,
"binop": null
},
- "start": 9612,
- "end": 9613,
+ "start": 9597,
+ "end": 9598,
"loc": {
"start": {
"line": 325,
@@ -66748,8 +66748,8 @@
"binop": null
},
"value": "socket",
- "start": 9616,
- "end": 9622,
+ "start": 9601,
+ "end": 9607,
"loc": {
"start": {
"line": 327,
@@ -66774,8 +66774,8 @@
"binop": null,
"updateContext": null
},
- "start": 9622,
- "end": 9623,
+ "start": 9607,
+ "end": 9608,
"loc": {
"start": {
"line": 327,
@@ -66800,8 +66800,8 @@
"binop": null
},
"value": "on",
- "start": 9623,
- "end": 9625,
+ "start": 9608,
+ "end": 9610,
"loc": {
"start": {
"line": 327,
@@ -66825,8 +66825,8 @@
"postfix": false,
"binop": null
},
- "start": 9625,
- "end": 9626,
+ "start": 9610,
+ "end": 9611,
"loc": {
"start": {
"line": 327,
@@ -66852,8 +66852,8 @@
"updateContext": null
},
"value": "levelUp",
- "start": 9626,
- "end": 9635,
+ "start": 9611,
+ "end": 9620,
"loc": {
"start": {
"line": 327,
@@ -66878,8 +66878,8 @@
"binop": null,
"updateContext": null
},
- "start": 9635,
- "end": 9636,
+ "start": 9620,
+ "end": 9621,
"loc": {
"start": {
"line": 327,
@@ -66903,8 +66903,8 @@
"postfix": false,
"binop": null
},
- "start": 9637,
- "end": 9638,
+ "start": 9622,
+ "end": 9623,
"loc": {
"start": {
"line": 327,
@@ -66929,8 +66929,8 @@
"binop": null
},
"value": "data",
- "start": 9638,
- "end": 9642,
+ "start": 9623,
+ "end": 9627,
"loc": {
"start": {
"line": 327,
@@ -66954,8 +66954,8 @@
"postfix": false,
"binop": null
},
- "start": 9642,
- "end": 9643,
+ "start": 9627,
+ "end": 9628,
"loc": {
"start": {
"line": 327,
@@ -66980,8 +66980,8 @@
"binop": null,
"updateContext": null
},
- "start": 9644,
- "end": 9646,
+ "start": 9629,
+ "end": 9631,
"loc": {
"start": {
"line": 327,
@@ -67005,8 +67005,8 @@
"postfix": false,
"binop": null
},
- "start": 9647,
- "end": 9648,
+ "start": 9632,
+ "end": 9633,
"loc": {
"start": {
"line": 327,
@@ -67031,8 +67031,8 @@
"binop": null
},
"value": "console",
- "start": 9651,
- "end": 9658,
+ "start": 9636,
+ "end": 9643,
"loc": {
"start": {
"line": 328,
@@ -67057,8 +67057,8 @@
"binop": null,
"updateContext": null
},
- "start": 9658,
- "end": 9659,
+ "start": 9643,
+ "end": 9644,
"loc": {
"start": {
"line": 328,
@@ -67083,8 +67083,8 @@
"binop": null
},
"value": "log",
- "start": 9659,
- "end": 9662,
+ "start": 9644,
+ "end": 9647,
"loc": {
"start": {
"line": 328,
@@ -67108,8 +67108,8 @@
"postfix": false,
"binop": null
},
- "start": 9662,
- "end": 9663,
+ "start": 9647,
+ "end": 9648,
"loc": {
"start": {
"line": 328,
@@ -67135,8 +67135,8 @@
"updateContext": null
},
"value": "You LEVELED UP! Level: ",
- "start": 9663,
- "end": 9688,
+ "start": 9648,
+ "end": 9673,
"loc": {
"start": {
"line": 328,
@@ -67162,8 +67162,8 @@
"updateContext": null
},
"value": "+",
- "start": 9689,
- "end": 9690,
+ "start": 9674,
+ "end": 9675,
"loc": {
"start": {
"line": 328,
@@ -67188,8 +67188,8 @@
"binop": null
},
"value": "data",
- "start": 9691,
- "end": 9695,
+ "start": 9676,
+ "end": 9680,
"loc": {
"start": {
"line": 328,
@@ -67214,8 +67214,8 @@
"binop": null,
"updateContext": null
},
- "start": 9695,
- "end": 9696,
+ "start": 9680,
+ "end": 9681,
"loc": {
"start": {
"line": 328,
@@ -67240,8 +67240,8 @@
"binop": null
},
"value": "newLevel",
- "start": 9696,
- "end": 9704,
+ "start": 9681,
+ "end": 9689,
"loc": {
"start": {
"line": 328,
@@ -67265,8 +67265,8 @@
"postfix": false,
"binop": null
},
- "start": 9704,
- "end": 9705,
+ "start": 9689,
+ "end": 9690,
"loc": {
"start": {
"line": 328,
@@ -67290,8 +67290,8 @@
"postfix": false,
"binop": null
},
- "start": 9707,
- "end": 9708,
+ "start": 9692,
+ "end": 9693,
"loc": {
"start": {
"line": 329,
@@ -67315,8 +67315,8 @@
"postfix": false,
"binop": null
},
- "start": 9708,
- "end": 9709,
+ "start": 9693,
+ "end": 9694,
"loc": {
"start": {
"line": 329,
@@ -67331,8 +67331,8 @@
{
"type": "CommentLine",
"value": " Respawn",
- "start": 9712,
- "end": 9722,
+ "start": 9697,
+ "end": 9707,
"loc": {
"start": {
"line": 331,
@@ -67357,8 +67357,8 @@
"binop": null
},
"value": "socket",
- "start": 9724,
- "end": 9730,
+ "start": 9709,
+ "end": 9715,
"loc": {
"start": {
"line": 332,
@@ -67383,8 +67383,8 @@
"binop": null,
"updateContext": null
},
- "start": 9730,
- "end": 9731,
+ "start": 9715,
+ "end": 9716,
"loc": {
"start": {
"line": 332,
@@ -67409,8 +67409,8 @@
"binop": null
},
"value": "on",
- "start": 9731,
- "end": 9733,
+ "start": 9716,
+ "end": 9718,
"loc": {
"start": {
"line": 332,
@@ -67434,8 +67434,8 @@
"postfix": false,
"binop": null
},
- "start": 9733,
- "end": 9734,
+ "start": 9718,
+ "end": 9719,
"loc": {
"start": {
"line": 332,
@@ -67461,8 +67461,8 @@
"updateContext": null
},
"value": "serverSendPlayerDeath",
- "start": 9734,
- "end": 9757,
+ "start": 9719,
+ "end": 9742,
"loc": {
"start": {
"line": 332,
@@ -67487,8 +67487,8 @@
"binop": null,
"updateContext": null
},
- "start": 9757,
- "end": 9758,
+ "start": 9742,
+ "end": 9743,
"loc": {
"start": {
"line": 332,
@@ -67512,8 +67512,8 @@
"postfix": false,
"binop": null
},
- "start": 9759,
- "end": 9760,
+ "start": 9744,
+ "end": 9745,
"loc": {
"start": {
"line": 332,
@@ -67538,8 +67538,8 @@
"binop": null
},
"value": "data",
- "start": 9760,
- "end": 9764,
+ "start": 9745,
+ "end": 9749,
"loc": {
"start": {
"line": 332,
@@ -67563,8 +67563,8 @@
"postfix": false,
"binop": null
},
- "start": 9764,
- "end": 9765,
+ "start": 9749,
+ "end": 9750,
"loc": {
"start": {
"line": 332,
@@ -67589,8 +67589,8 @@
"binop": null,
"updateContext": null
},
- "start": 9766,
- "end": 9768,
+ "start": 9751,
+ "end": 9753,
"loc": {
"start": {
"line": 332,
@@ -67614,8 +67614,8 @@
"postfix": false,
"binop": null
},
- "start": 9769,
- "end": 9770,
+ "start": 9754,
+ "end": 9755,
"loc": {
"start": {
"line": 332,
@@ -67640,8 +67640,8 @@
"binop": null
},
"value": "console",
- "start": 9773,
- "end": 9780,
+ "start": 9758,
+ "end": 9765,
"loc": {
"start": {
"line": 333,
@@ -67666,8 +67666,8 @@
"binop": null,
"updateContext": null
},
- "start": 9780,
- "end": 9781,
+ "start": 9765,
+ "end": 9766,
"loc": {
"start": {
"line": 333,
@@ -67692,8 +67692,8 @@
"binop": null
},
"value": "log",
- "start": 9781,
- "end": 9784,
+ "start": 9766,
+ "end": 9769,
"loc": {
"start": {
"line": 333,
@@ -67717,8 +67717,8 @@
"postfix": false,
"binop": null
},
- "start": 9784,
- "end": 9785,
+ "start": 9769,
+ "end": 9770,
"loc": {
"start": {
"line": 333,
@@ -67744,8 +67744,8 @@
"updateContext": null
},
"value": "You Died!",
- "start": 9785,
- "end": 9796,
+ "start": 9770,
+ "end": 9781,
"loc": {
"start": {
"line": 333,
@@ -67769,8 +67769,8 @@
"postfix": false,
"binop": null
},
- "start": 9796,
- "end": 9797,
+ "start": 9781,
+ "end": 9782,
"loc": {
"start": {
"line": 333,
@@ -67795,8 +67795,8 @@
"binop": null
},
"value": "objects",
- "start": 9800,
- "end": 9807,
+ "start": 9785,
+ "end": 9792,
"loc": {
"start": {
"line": 334,
@@ -67821,8 +67821,8 @@
"binop": null,
"updateContext": null
},
- "start": 9807,
- "end": 9808,
+ "start": 9792,
+ "end": 9793,
"loc": {
"start": {
"line": 334,
@@ -67847,8 +67847,8 @@
"binop": null
},
"value": "players",
- "start": 9808,
- "end": 9815,
+ "start": 9793,
+ "end": 9800,
"loc": {
"start": {
"line": 334,
@@ -67873,8 +67873,8 @@
"binop": null,
"updateContext": null
},
- "start": 9815,
- "end": 9816,
+ "start": 9800,
+ "end": 9801,
"loc": {
"start": {
"line": 334,
@@ -67899,8 +67899,8 @@
"binop": null
},
"value": "socket",
- "start": 9816,
- "end": 9822,
+ "start": 9801,
+ "end": 9807,
"loc": {
"start": {
"line": 334,
@@ -67925,8 +67925,8 @@
"binop": null,
"updateContext": null
},
- "start": 9822,
- "end": 9823,
+ "start": 9807,
+ "end": 9808,
"loc": {
"start": {
"line": 334,
@@ -67951,8 +67951,8 @@
"binop": null
},
"value": "id",
- "start": 9823,
- "end": 9825,
+ "start": 9808,
+ "end": 9810,
"loc": {
"start": {
"line": 334,
@@ -67977,8 +67977,8 @@
"binop": null,
"updateContext": null
},
- "start": 9825,
- "end": 9826,
+ "start": 9810,
+ "end": 9811,
"loc": {
"start": {
"line": 334,
@@ -68003,8 +68003,8 @@
"binop": null,
"updateContext": null
},
- "start": 9826,
- "end": 9827,
+ "start": 9811,
+ "end": 9812,
"loc": {
"start": {
"line": 334,
@@ -68029,8 +68029,8 @@
"binop": null
},
"value": "setData",
- "start": 9827,
- "end": 9834,
+ "start": 9812,
+ "end": 9819,
"loc": {
"start": {
"line": 334,
@@ -68054,8 +68054,8 @@
"postfix": false,
"binop": null
},
- "start": 9834,
- "end": 9835,
+ "start": 9819,
+ "end": 9820,
"loc": {
"start": {
"line": 334,
@@ -68080,8 +68080,8 @@
"binop": null
},
"value": "data",
- "start": 9835,
- "end": 9839,
+ "start": 9820,
+ "end": 9824,
"loc": {
"start": {
"line": 334,
@@ -68106,8 +68106,8 @@
"binop": null,
"updateContext": null
},
- "start": 9839,
- "end": 9840,
+ "start": 9824,
+ "end": 9825,
"loc": {
"start": {
"line": 334,
@@ -68132,8 +68132,8 @@
"binop": null
},
"value": "posX",
- "start": 9840,
- "end": 9844,
+ "start": 9825,
+ "end": 9829,
"loc": {
"start": {
"line": 334,
@@ -68158,8 +68158,8 @@
"binop": null,
"updateContext": null
},
- "start": 9844,
- "end": 9845,
+ "start": 9829,
+ "end": 9830,
"loc": {
"start": {
"line": 334,
@@ -68184,8 +68184,8 @@
"binop": null
},
"value": "data",
- "start": 9846,
- "end": 9850,
+ "start": 9831,
+ "end": 9835,
"loc": {
"start": {
"line": 334,
@@ -68210,8 +68210,8 @@
"binop": null,
"updateContext": null
},
- "start": 9850,
- "end": 9851,
+ "start": 9835,
+ "end": 9836,
"loc": {
"start": {
"line": 334,
@@ -68236,8 +68236,8 @@
"binop": null
},
"value": "posY",
- "start": 9851,
- "end": 9855,
+ "start": 9836,
+ "end": 9840,
"loc": {
"start": {
"line": 334,
@@ -68262,8 +68262,8 @@
"binop": null,
"updateContext": null
},
- "start": 9855,
- "end": 9856,
+ "start": 9840,
+ "end": 9841,
"loc": {
"start": {
"line": 334,
@@ -68288,8 +68288,8 @@
"binop": null
},
"value": "data",
- "start": 9857,
- "end": 9861,
+ "start": 9842,
+ "end": 9846,
"loc": {
"start": {
"line": 334,
@@ -68314,8 +68314,8 @@
"binop": null,
"updateContext": null
},
- "start": 9861,
- "end": 9862,
+ "start": 9846,
+ "end": 9847,
"loc": {
"start": {
"line": 334,
@@ -68340,8 +68340,8 @@
"binop": null
},
"value": "vx",
- "start": 9862,
- "end": 9864,
+ "start": 9847,
+ "end": 9849,
"loc": {
"start": {
"line": 334,
@@ -68366,8 +68366,8 @@
"binop": null,
"updateContext": null
},
- "start": 9864,
- "end": 9865,
+ "start": 9849,
+ "end": 9850,
"loc": {
"start": {
"line": 334,
@@ -68392,8 +68392,8 @@
"binop": null
},
"value": "data",
- "start": 9866,
- "end": 9870,
+ "start": 9851,
+ "end": 9855,
"loc": {
"start": {
"line": 334,
@@ -68418,8 +68418,8 @@
"binop": null,
"updateContext": null
},
- "start": 9870,
- "end": 9871,
+ "start": 9855,
+ "end": 9856,
"loc": {
"start": {
"line": 334,
@@ -68444,8 +68444,8 @@
"binop": null
},
"value": "vy",
- "start": 9871,
- "end": 9873,
+ "start": 9856,
+ "end": 9858,
"loc": {
"start": {
"line": 334,
@@ -68469,8 +68469,8 @@
"postfix": false,
"binop": null
},
- "start": 9873,
- "end": 9874,
+ "start": 9858,
+ "end": 9859,
"loc": {
"start": {
"line": 334,
@@ -68495,8 +68495,8 @@
"binop": null
},
"value": "socket",
- "start": 9877,
- "end": 9883,
+ "start": 9862,
+ "end": 9868,
"loc": {
"start": {
"line": 335,
@@ -68521,8 +68521,8 @@
"binop": null,
"updateContext": null
},
- "start": 9883,
- "end": 9884,
+ "start": 9868,
+ "end": 9869,
"loc": {
"start": {
"line": 335,
@@ -68547,8 +68547,8 @@
"binop": null
},
"value": "emit",
- "start": 9884,
- "end": 9888,
+ "start": 9869,
+ "end": 9873,
"loc": {
"start": {
"line": 335,
@@ -68572,8 +68572,8 @@
"postfix": false,
"binop": null
},
- "start": 9888,
- "end": 9889,
+ "start": 9873,
+ "end": 9874,
"loc": {
"start": {
"line": 335,
@@ -68599,8 +68599,8 @@
"updateContext": null
},
"value": "verifyPlayerDeath",
- "start": 9889,
- "end": 9908,
+ "start": 9874,
+ "end": 9893,
"loc": {
"start": {
"line": 335,
@@ -68625,8 +68625,8 @@
"binop": null,
"updateContext": null
},
- "start": 9908,
- "end": 9909,
+ "start": 9893,
+ "end": 9894,
"loc": {
"start": {
"line": 335,
@@ -68650,8 +68650,8 @@
"postfix": false,
"binop": null
},
- "start": 9910,
- "end": 9911,
+ "start": 9895,
+ "end": 9896,
"loc": {
"start": {
"line": 335,
@@ -68676,8 +68676,8 @@
"binop": null
},
"value": "id",
- "start": 9912,
- "end": 9914,
+ "start": 9897,
+ "end": 9899,
"loc": {
"start": {
"line": 335,
@@ -68702,8 +68702,8 @@
"binop": null,
"updateContext": null
},
- "start": 9914,
- "end": 9915,
+ "start": 9899,
+ "end": 9900,
"loc": {
"start": {
"line": 335,
@@ -68728,8 +68728,8 @@
"binop": null
},
"value": "socket",
- "start": 9916,
- "end": 9922,
+ "start": 9901,
+ "end": 9907,
"loc": {
"start": {
"line": 335,
@@ -68754,8 +68754,8 @@
"binop": null,
"updateContext": null
},
- "start": 9922,
- "end": 9923,
+ "start": 9907,
+ "end": 9908,
"loc": {
"start": {
"line": 335,
@@ -68780,8 +68780,8 @@
"binop": null
},
"value": "id",
- "start": 9923,
- "end": 9925,
+ "start": 9908,
+ "end": 9910,
"loc": {
"start": {
"line": 335,
@@ -68805,8 +68805,8 @@
"postfix": false,
"binop": null
},
- "start": 9926,
- "end": 9927,
+ "start": 9911,
+ "end": 9912,
"loc": {
"start": {
"line": 335,
@@ -68830,8 +68830,8 @@
"postfix": false,
"binop": null
},
- "start": 9927,
- "end": 9928,
+ "start": 9912,
+ "end": 9913,
"loc": {
"start": {
"line": 335,
@@ -68856,8 +68856,8 @@
"binop": null
},
"value": "console",
- "start": 9931,
- "end": 9938,
+ "start": 9916,
+ "end": 9923,
"loc": {
"start": {
"line": 336,
@@ -68882,8 +68882,8 @@
"binop": null,
"updateContext": null
},
- "start": 9938,
- "end": 9939,
+ "start": 9923,
+ "end": 9924,
"loc": {
"start": {
"line": 336,
@@ -68908,8 +68908,8 @@
"binop": null
},
"value": "log",
- "start": 9939,
- "end": 9942,
+ "start": 9924,
+ "end": 9927,
"loc": {
"start": {
"line": 336,
@@ -68933,8 +68933,8 @@
"postfix": false,
"binop": null
},
- "start": 9942,
- "end": 9943,
+ "start": 9927,
+ "end": 9928,
"loc": {
"start": {
"line": 336,
@@ -68959,8 +68959,8 @@
"binop": null
},
"value": "objects",
- "start": 9943,
- "end": 9950,
+ "start": 9928,
+ "end": 9935,
"loc": {
"start": {
"line": 336,
@@ -68985,8 +68985,8 @@
"binop": null,
"updateContext": null
},
- "start": 9950,
- "end": 9951,
+ "start": 9935,
+ "end": 9936,
"loc": {
"start": {
"line": 336,
@@ -69011,8 +69011,8 @@
"binop": null
},
"value": "players",
- "start": 9951,
- "end": 9958,
+ "start": 9936,
+ "end": 9943,
"loc": {
"start": {
"line": 336,
@@ -69037,8 +69037,8 @@
"binop": null,
"updateContext": null
},
- "start": 9958,
- "end": 9959,
+ "start": 9943,
+ "end": 9944,
"loc": {
"start": {
"line": 336,
@@ -69063,8 +69063,8 @@
"binop": null
},
"value": "socket",
- "start": 9959,
- "end": 9965,
+ "start": 9944,
+ "end": 9950,
"loc": {
"start": {
"line": 336,
@@ -69089,8 +69089,8 @@
"binop": null,
"updateContext": null
},
- "start": 9965,
- "end": 9966,
+ "start": 9950,
+ "end": 9951,
"loc": {
"start": {
"line": 336,
@@ -69115,8 +69115,8 @@
"binop": null
},
"value": "id",
- "start": 9966,
- "end": 9968,
+ "start": 9951,
+ "end": 9953,
"loc": {
"start": {
"line": 336,
@@ -69141,8 +69141,8 @@
"binop": null,
"updateContext": null
},
- "start": 9968,
- "end": 9969,
+ "start": 9953,
+ "end": 9954,
"loc": {
"start": {
"line": 336,
@@ -69166,8 +69166,8 @@
"postfix": false,
"binop": null
},
- "start": 9969,
- "end": 9970,
+ "start": 9954,
+ "end": 9955,
"loc": {
"start": {
"line": 336,
@@ -69192,8 +69192,8 @@
"binop": null
},
"value": "updateAtomList",
- "start": 9973,
- "end": 9987,
+ "start": 9958,
+ "end": 9972,
"loc": {
"start": {
"line": 337,
@@ -69217,8 +69217,8 @@
"postfix": false,
"binop": null
},
- "start": 9987,
- "end": 9988,
+ "start": 9972,
+ "end": 9973,
"loc": {
"start": {
"line": 337,
@@ -69242,8 +69242,8 @@
"postfix": false,
"binop": null
},
- "start": 9988,
- "end": 9989,
+ "start": 9973,
+ "end": 9974,
"loc": {
"start": {
"line": 337,
@@ -69267,8 +69267,8 @@
"postfix": false,
"binop": null
},
- "start": 9991,
- "end": 9992,
+ "start": 9976,
+ "end": 9977,
"loc": {
"start": {
"line": 338,
@@ -69292,8 +69292,8 @@
"postfix": false,
"binop": null
},
- "start": 9992,
- "end": 9993,
+ "start": 9977,
+ "end": 9978,
"loc": {
"start": {
"line": 338,
@@ -69308,8 +69308,8 @@
{
"type": "CommentLine",
"value": " Another player died",
- "start": 9996,
- "end": 10018,
+ "start": 9981,
+ "end": 10003,
"loc": {
"start": {
"line": 340,
@@ -69334,8 +69334,8 @@
"binop": null
},
"value": "socket",
- "start": 10020,
- "end": 10026,
+ "start": 10005,
+ "end": 10011,
"loc": {
"start": {
"line": 341,
@@ -69360,8 +69360,8 @@
"binop": null,
"updateContext": null
},
- "start": 10026,
- "end": 10027,
+ "start": 10011,
+ "end": 10012,
"loc": {
"start": {
"line": 341,
@@ -69386,8 +69386,8 @@
"binop": null
},
"value": "on",
- "start": 10027,
- "end": 10029,
+ "start": 10012,
+ "end": 10014,
"loc": {
"start": {
"line": 341,
@@ -69411,8 +69411,8 @@
"postfix": false,
"binop": null
},
- "start": 10029,
- "end": 10030,
+ "start": 10014,
+ "end": 10015,
"loc": {
"start": {
"line": 341,
@@ -69438,8 +69438,8 @@
"updateContext": null
},
"value": "serverSendNotifyPlayerDeath",
- "start": 10030,
- "end": 10059,
+ "start": 10015,
+ "end": 10044,
"loc": {
"start": {
"line": 341,
@@ -69464,8 +69464,8 @@
"binop": null,
"updateContext": null
},
- "start": 10059,
- "end": 10060,
+ "start": 10044,
+ "end": 10045,
"loc": {
"start": {
"line": 341,
@@ -69489,8 +69489,8 @@
"postfix": false,
"binop": null
},
- "start": 10061,
- "end": 10062,
+ "start": 10046,
+ "end": 10047,
"loc": {
"start": {
"line": 341,
@@ -69515,8 +69515,8 @@
"binop": null
},
"value": "data",
- "start": 10062,
- "end": 10066,
+ "start": 10047,
+ "end": 10051,
"loc": {
"start": {
"line": 341,
@@ -69540,8 +69540,8 @@
"postfix": false,
"binop": null
},
- "start": 10066,
- "end": 10067,
+ "start": 10051,
+ "end": 10052,
"loc": {
"start": {
"line": 341,
@@ -69566,8 +69566,8 @@
"binop": null,
"updateContext": null
},
- "start": 10068,
- "end": 10070,
+ "start": 10053,
+ "end": 10055,
"loc": {
"start": {
"line": 341,
@@ -69591,8 +69591,8 @@
"postfix": false,
"binop": null
},
- "start": 10071,
- "end": 10072,
+ "start": 10056,
+ "end": 10057,
"loc": {
"start": {
"line": 341,
@@ -69607,8 +69607,8 @@
{
"type": "CommentLine",
"value": " Append to chat TODO",
- "start": 10075,
- "end": 10097,
+ "start": 10060,
+ "end": 10082,
"loc": {
"start": {
"line": 342,
@@ -69632,8 +69632,8 @@
"postfix": false,
"binop": null
},
- "start": 10099,
- "end": 10100,
+ "start": 10084,
+ "end": 10085,
"loc": {
"start": {
"line": 343,
@@ -69657,8 +69657,8 @@
"postfix": false,
"binop": null
},
- "start": 10100,
- "end": 10101,
+ "start": 10085,
+ "end": 10086,
"loc": {
"start": {
"line": 343,
@@ -69673,8 +69673,8 @@
{
"type": "CommentLine",
"value": " Update timer",
- "start": 10104,
- "end": 10119,
+ "start": 10089,
+ "end": 10104,
"loc": {
"start": {
"line": 345,
@@ -69699,8 +69699,8 @@
"binop": null
},
"value": "socket",
- "start": 10121,
- "end": 10127,
+ "start": 10106,
+ "end": 10112,
"loc": {
"start": {
"line": 346,
@@ -69725,8 +69725,8 @@
"binop": null,
"updateContext": null
},
- "start": 10127,
- "end": 10128,
+ "start": 10112,
+ "end": 10113,
"loc": {
"start": {
"line": 346,
@@ -69751,8 +69751,8 @@
"binop": null
},
"value": "on",
- "start": 10128,
- "end": 10130,
+ "start": 10113,
+ "end": 10115,
"loc": {
"start": {
"line": 346,
@@ -69776,8 +69776,8 @@
"postfix": false,
"binop": null
},
- "start": 10130,
- "end": 10131,
+ "start": 10115,
+ "end": 10116,
"loc": {
"start": {
"line": 346,
@@ -69803,8 +69803,8 @@
"updateContext": null
},
"value": "time",
- "start": 10131,
- "end": 10137,
+ "start": 10116,
+ "end": 10122,
"loc": {
"start": {
"line": 346,
@@ -69829,8 +69829,8 @@
"binop": null,
"updateContext": null
},
- "start": 10137,
- "end": 10138,
+ "start": 10122,
+ "end": 10123,
"loc": {
"start": {
"line": 346,
@@ -69854,8 +69854,8 @@
"postfix": false,
"binop": null
},
- "start": 10139,
- "end": 10140,
+ "start": 10124,
+ "end": 10125,
"loc": {
"start": {
"line": 346,
@@ -69880,8 +69880,8 @@
"binop": null
},
"value": "data",
- "start": 10140,
- "end": 10144,
+ "start": 10125,
+ "end": 10129,
"loc": {
"start": {
"line": 346,
@@ -69905,8 +69905,8 @@
"postfix": false,
"binop": null
},
- "start": 10144,
- "end": 10145,
+ "start": 10129,
+ "end": 10130,
"loc": {
"start": {
"line": 346,
@@ -69931,8 +69931,8 @@
"binop": null,
"updateContext": null
},
- "start": 10146,
- "end": 10148,
+ "start": 10131,
+ "end": 10133,
"loc": {
"start": {
"line": 346,
@@ -69956,8 +69956,8 @@
"postfix": false,
"binop": null
},
- "start": 10149,
- "end": 10150,
+ "start": 10134,
+ "end": 10135,
"loc": {
"start": {
"line": 346,
@@ -69982,8 +69982,8 @@
"binop": null
},
"value": "document",
- "start": 10153,
- "end": 10161,
+ "start": 10138,
+ "end": 10146,
"loc": {
"start": {
"line": 347,
@@ -70008,8 +70008,8 @@
"binop": null,
"updateContext": null
},
- "start": 10161,
- "end": 10162,
+ "start": 10146,
+ "end": 10147,
"loc": {
"start": {
"line": 347,
@@ -70034,8 +70034,8 @@
"binop": null
},
"value": "getElementById",
- "start": 10162,
- "end": 10176,
+ "start": 10147,
+ "end": 10161,
"loc": {
"start": {
"line": 347,
@@ -70059,8 +70059,8 @@
"postfix": false,
"binop": null
},
- "start": 10176,
- "end": 10177,
+ "start": 10161,
+ "end": 10162,
"loc": {
"start": {
"line": 347,
@@ -70086,8 +70086,8 @@
"updateContext": null
},
"value": "timer",
- "start": 10177,
- "end": 10184,
+ "start": 10162,
+ "end": 10169,
"loc": {
"start": {
"line": 347,
@@ -70111,8 +70111,8 @@
"postfix": false,
"binop": null
},
- "start": 10184,
- "end": 10185,
+ "start": 10169,
+ "end": 10170,
"loc": {
"start": {
"line": 347,
@@ -70137,8 +70137,8 @@
"binop": null,
"updateContext": null
},
- "start": 10185,
- "end": 10186,
+ "start": 10170,
+ "end": 10171,
"loc": {
"start": {
"line": 347,
@@ -70163,8 +70163,8 @@
"binop": null
},
"value": "innerHTML",
- "start": 10186,
- "end": 10195,
+ "start": 10171,
+ "end": 10180,
"loc": {
"start": {
"line": 347,
@@ -70190,8 +70190,8 @@
"updateContext": null
},
"value": "=",
- "start": 10196,
- "end": 10197,
+ "start": 10181,
+ "end": 10182,
"loc": {
"start": {
"line": 347,
@@ -70217,8 +70217,8 @@
"updateContext": null
},
"value": "",
- "start": 10198,
- "end": 10203,
+ "start": 10183,
+ "end": 10188,
"loc": {
"start": {
"line": 347,
@@ -70244,8 +70244,8 @@
"updateContext": null
},
"value": "+",
- "start": 10204,
- "end": 10205,
+ "start": 10189,
+ "end": 10190,
"loc": {
"start": {
"line": 347,
@@ -70270,8 +70270,8 @@
"binop": null
},
"value": "data",
- "start": 10206,
- "end": 10210,
+ "start": 10191,
+ "end": 10195,
"loc": {
"start": {
"line": 347,
@@ -70296,8 +70296,8 @@
"binop": null,
"updateContext": null
},
- "start": 10210,
- "end": 10211,
+ "start": 10195,
+ "end": 10196,
"loc": {
"start": {
"line": 347,
@@ -70322,8 +70322,8 @@
"binop": null
},
"value": "time",
- "start": 10211,
- "end": 10215,
+ "start": 10196,
+ "end": 10200,
"loc": {
"start": {
"line": 347,
@@ -70349,8 +70349,8 @@
"updateContext": null
},
"value": "+",
- "start": 10216,
- "end": 10217,
+ "start": 10201,
+ "end": 10202,
"loc": {
"start": {
"line": 347,
@@ -70376,8 +70376,8 @@
"updateContext": null
},
"value": "
",
- "start": 10218,
- "end": 10224,
+ "start": 10203,
+ "end": 10209,
"loc": {
"start": {
"line": 347,
@@ -70401,8 +70401,8 @@
"postfix": false,
"binop": null
},
- "start": 10226,
- "end": 10227,
+ "start": 10211,
+ "end": 10212,
"loc": {
"start": {
"line": 348,
@@ -70426,8 +70426,8 @@
"postfix": false,
"binop": null
},
- "start": 10227,
- "end": 10228,
+ "start": 10212,
+ "end": 10213,
"loc": {
"start": {
"line": 348,
@@ -70442,8 +70442,8 @@
{
"type": "CommentLine",
"value": " Update scores",
- "start": 10231,
- "end": 10247,
+ "start": 10216,
+ "end": 10232,
"loc": {
"start": {
"line": 350,
@@ -70468,8 +70468,8 @@
"binop": null
},
"value": "socket",
- "start": 10249,
- "end": 10255,
+ "start": 10234,
+ "end": 10240,
"loc": {
"start": {
"line": 351,
@@ -70494,8 +70494,8 @@
"binop": null,
"updateContext": null
},
- "start": 10255,
- "end": 10256,
+ "start": 10240,
+ "end": 10241,
"loc": {
"start": {
"line": 351,
@@ -70520,8 +70520,8 @@
"binop": null
},
"value": "on",
- "start": 10256,
- "end": 10258,
+ "start": 10241,
+ "end": 10243,
"loc": {
"start": {
"line": 351,
@@ -70545,8 +70545,8 @@
"postfix": false,
"binop": null
},
- "start": 10258,
- "end": 10259,
+ "start": 10243,
+ "end": 10244,
"loc": {
"start": {
"line": 351,
@@ -70572,8 +70572,8 @@
"updateContext": null
},
"value": "serverSendScoreUpdate",
- "start": 10259,
- "end": 10282,
+ "start": 10244,
+ "end": 10267,
"loc": {
"start": {
"line": 351,
@@ -70598,8 +70598,8 @@
"binop": null,
"updateContext": null
},
- "start": 10282,
- "end": 10283,
+ "start": 10267,
+ "end": 10268,
"loc": {
"start": {
"line": 351,
@@ -70623,8 +70623,8 @@
"postfix": false,
"binop": null
},
- "start": 10284,
- "end": 10285,
+ "start": 10269,
+ "end": 10270,
"loc": {
"start": {
"line": 351,
@@ -70649,8 +70649,8 @@
"binop": null
},
"value": "data",
- "start": 10285,
- "end": 10289,
+ "start": 10270,
+ "end": 10274,
"loc": {
"start": {
"line": 351,
@@ -70674,8 +70674,8 @@
"postfix": false,
"binop": null
},
- "start": 10289,
- "end": 10290,
+ "start": 10274,
+ "end": 10275,
"loc": {
"start": {
"line": 351,
@@ -70700,8 +70700,8 @@
"binop": null,
"updateContext": null
},
- "start": 10291,
- "end": 10293,
+ "start": 10276,
+ "end": 10278,
"loc": {
"start": {
"line": 351,
@@ -70725,8 +70725,8 @@
"postfix": false,
"binop": null
},
- "start": 10294,
- "end": 10295,
+ "start": 10279,
+ "end": 10280,
"loc": {
"start": {
"line": 351,
@@ -70751,8 +70751,8 @@
"binop": null
},
"value": "updateScores",
- "start": 10298,
- "end": 10310,
+ "start": 10283,
+ "end": 10295,
"loc": {
"start": {
"line": 352,
@@ -70776,8 +70776,8 @@
"postfix": false,
"binop": null
},
- "start": 10310,
- "end": 10311,
+ "start": 10295,
+ "end": 10296,
"loc": {
"start": {
"line": 352,
@@ -70802,8 +70802,8 @@
"binop": null
},
"value": "data",
- "start": 10311,
- "end": 10315,
+ "start": 10296,
+ "end": 10300,
"loc": {
"start": {
"line": 352,
@@ -70828,8 +70828,8 @@
"binop": null,
"updateContext": null
},
- "start": 10315,
- "end": 10316,
+ "start": 10300,
+ "end": 10301,
"loc": {
"start": {
"line": 352,
@@ -70854,8 +70854,8 @@
"binop": null
},
"value": "teamSlot",
- "start": 10316,
- "end": 10324,
+ "start": 10301,
+ "end": 10309,
"loc": {
"start": {
"line": 352,
@@ -70880,8 +70880,8 @@
"binop": null,
"updateContext": null
},
- "start": 10324,
- "end": 10325,
+ "start": 10309,
+ "end": 10310,
"loc": {
"start": {
"line": 352,
@@ -70906,8 +70906,8 @@
"binop": null
},
"value": "data",
- "start": 10326,
- "end": 10330,
+ "start": 10311,
+ "end": 10315,
"loc": {
"start": {
"line": 352,
@@ -70932,8 +70932,8 @@
"binop": null,
"updateContext": null
},
- "start": 10330,
- "end": 10331,
+ "start": 10315,
+ "end": 10316,
"loc": {
"start": {
"line": 352,
@@ -70958,8 +70958,8 @@
"binop": null
},
"value": "increment",
- "start": 10331,
- "end": 10340,
+ "start": 10316,
+ "end": 10325,
"loc": {
"start": {
"line": 352,
@@ -70983,8 +70983,8 @@
"postfix": false,
"binop": null
},
- "start": 10340,
- "end": 10341,
+ "start": 10325,
+ "end": 10326,
"loc": {
"start": {
"line": 352,
@@ -71008,8 +71008,8 @@
"postfix": false,
"binop": null
},
- "start": 10343,
- "end": 10344,
+ "start": 10328,
+ "end": 10329,
"loc": {
"start": {
"line": 353,
@@ -71033,8 +71033,8 @@
"postfix": false,
"binop": null
},
- "start": 10344,
- "end": 10345,
+ "start": 10329,
+ "end": 10330,
"loc": {
"start": {
"line": 353,
@@ -71049,8 +71049,8 @@
{
"type": "CommentLine",
"value": " A player has won",
- "start": 10348,
- "end": 10367,
+ "start": 10333,
+ "end": 10352,
"loc": {
"start": {
"line": 355,
@@ -71075,8 +71075,8 @@
"binop": null
},
"value": "socket",
- "start": 10369,
- "end": 10375,
+ "start": 10354,
+ "end": 10360,
"loc": {
"start": {
"line": 356,
@@ -71101,8 +71101,8 @@
"binop": null,
"updateContext": null
},
- "start": 10375,
- "end": 10376,
+ "start": 10360,
+ "end": 10361,
"loc": {
"start": {
"line": 356,
@@ -71127,8 +71127,8 @@
"binop": null
},
"value": "on",
- "start": 10376,
- "end": 10378,
+ "start": 10361,
+ "end": 10363,
"loc": {
"start": {
"line": 356,
@@ -71152,8 +71152,8 @@
"postfix": false,
"binop": null
},
- "start": 10378,
- "end": 10379,
+ "start": 10363,
+ "end": 10364,
"loc": {
"start": {
"line": 356,
@@ -71179,8 +71179,8 @@
"updateContext": null
},
"value": "serverSendWinner",
- "start": 10379,
- "end": 10397,
+ "start": 10364,
+ "end": 10382,
"loc": {
"start": {
"line": 356,
@@ -71205,8 +71205,8 @@
"binop": null,
"updateContext": null
},
- "start": 10397,
- "end": 10398,
+ "start": 10382,
+ "end": 10383,
"loc": {
"start": {
"line": 356,
@@ -71230,8 +71230,8 @@
"postfix": false,
"binop": null
},
- "start": 10399,
- "end": 10400,
+ "start": 10384,
+ "end": 10385,
"loc": {
"start": {
"line": 356,
@@ -71256,8 +71256,8 @@
"binop": null
},
"value": "data",
- "start": 10400,
- "end": 10404,
+ "start": 10385,
+ "end": 10389,
"loc": {
"start": {
"line": 356,
@@ -71281,8 +71281,8 @@
"postfix": false,
"binop": null
},
- "start": 10404,
- "end": 10405,
+ "start": 10389,
+ "end": 10390,
"loc": {
"start": {
"line": 356,
@@ -71307,8 +71307,8 @@
"binop": null,
"updateContext": null
},
- "start": 10406,
- "end": 10408,
+ "start": 10391,
+ "end": 10393,
"loc": {
"start": {
"line": 356,
@@ -71332,8 +71332,8 @@
"postfix": false,
"binop": null
},
- "start": 10409,
- "end": 10410,
+ "start": 10394,
+ "end": 10395,
"loc": {
"start": {
"line": 356,
@@ -71358,8 +71358,8 @@
"binop": null
},
"value": "setIngame",
- "start": 10413,
- "end": 10422,
+ "start": 10398,
+ "end": 10407,
"loc": {
"start": {
"line": 357,
@@ -71383,8 +71383,8 @@
"postfix": false,
"binop": null
},
- "start": 10422,
- "end": 10423,
+ "start": 10407,
+ "end": 10408,
"loc": {
"start": {
"line": 357,
@@ -71411,8 +71411,8 @@
"updateContext": null
},
"value": "false",
- "start": 10423,
- "end": 10428,
+ "start": 10408,
+ "end": 10413,
"loc": {
"start": {
"line": 357,
@@ -71436,8 +71436,8 @@
"postfix": false,
"binop": null
},
- "start": 10428,
- "end": 10429,
+ "start": 10413,
+ "end": 10414,
"loc": {
"start": {
"line": 357,
@@ -71452,8 +71452,8 @@
{
"type": "CommentLine",
"value": " Disable keyboard controls and rendering",
- "start": 10430,
- "end": 10472,
+ "start": 10415,
+ "end": 10457,
"loc": {
"start": {
"line": 357,
@@ -71478,8 +71478,8 @@
"binop": null
},
"value": "displayWinner",
- "start": 10475,
- "end": 10488,
+ "start": 10460,
+ "end": 10473,
"loc": {
"start": {
"line": 358,
@@ -71503,8 +71503,8 @@
"postfix": false,
"binop": null
},
- "start": 10488,
- "end": 10489,
+ "start": 10473,
+ "end": 10474,
"loc": {
"start": {
"line": 358,
@@ -71529,8 +71529,8 @@
"binop": null
},
"value": "data",
- "start": 10489,
- "end": 10493,
+ "start": 10474,
+ "end": 10478,
"loc": {
"start": {
"line": 358,
@@ -71554,8 +71554,8 @@
"postfix": false,
"binop": null
},
- "start": 10493,
- "end": 10494,
+ "start": 10478,
+ "end": 10479,
"loc": {
"start": {
"line": 358,
@@ -71579,8 +71579,8 @@
"postfix": false,
"binop": null
},
- "start": 10496,
- "end": 10497,
+ "start": 10481,
+ "end": 10482,
"loc": {
"start": {
"line": 359,
@@ -71604,8 +71604,8 @@
"postfix": false,
"binop": null
},
- "start": 10497,
- "end": 10498,
+ "start": 10482,
+ "end": 10483,
"loc": {
"start": {
"line": 359,
@@ -71620,8 +71620,8 @@
{
"type": "CommentLine",
"value": " Sync team colors",
- "start": 10501,
- "end": 10520,
+ "start": 10486,
+ "end": 10505,
"loc": {
"start": {
"line": 361,
@@ -71646,8 +71646,8 @@
"binop": null
},
"value": "socket",
- "start": 10522,
- "end": 10528,
+ "start": 10507,
+ "end": 10513,
"loc": {
"start": {
"line": 362,
@@ -71672,8 +71672,8 @@
"binop": null,
"updateContext": null
},
- "start": 10528,
- "end": 10529,
+ "start": 10513,
+ "end": 10514,
"loc": {
"start": {
"line": 362,
@@ -71698,8 +71698,8 @@
"binop": null
},
"value": "on",
- "start": 10529,
- "end": 10531,
+ "start": 10514,
+ "end": 10516,
"loc": {
"start": {
"line": 362,
@@ -71723,8 +71723,8 @@
"postfix": false,
"binop": null
},
- "start": 10531,
- "end": 10532,
+ "start": 10516,
+ "end": 10517,
"loc": {
"start": {
"line": 362,
@@ -71750,8 +71750,8 @@
"updateContext": null
},
"value": "serverSendTeamColors",
- "start": 10532,
- "end": 10554,
+ "start": 10517,
+ "end": 10539,
"loc": {
"start": {
"line": 362,
@@ -71776,8 +71776,8 @@
"binop": null,
"updateContext": null
},
- "start": 10554,
- "end": 10555,
+ "start": 10539,
+ "end": 10540,
"loc": {
"start": {
"line": 362,
@@ -71801,8 +71801,8 @@
"postfix": false,
"binop": null
},
- "start": 10556,
- "end": 10557,
+ "start": 10541,
+ "end": 10542,
"loc": {
"start": {
"line": 362,
@@ -71827,8 +71827,8 @@
"binop": null
},
"value": "data",
- "start": 10557,
- "end": 10561,
+ "start": 10542,
+ "end": 10546,
"loc": {
"start": {
"line": 362,
@@ -71852,8 +71852,8 @@
"postfix": false,
"binop": null
},
- "start": 10561,
- "end": 10562,
+ "start": 10546,
+ "end": 10547,
"loc": {
"start": {
"line": 362,
@@ -71878,8 +71878,8 @@
"binop": null,
"updateContext": null
},
- "start": 10563,
- "end": 10565,
+ "start": 10548,
+ "end": 10550,
"loc": {
"start": {
"line": 362,
@@ -71903,8 +71903,8 @@
"postfix": false,
"binop": null
},
- "start": 10566,
- "end": 10567,
+ "start": 10551,
+ "end": 10552,
"loc": {
"start": {
"line": 362,
@@ -71929,8 +71929,8 @@
"binop": null
},
"value": "teamColors",
- "start": 10570,
- "end": 10580,
+ "start": 10555,
+ "end": 10565,
"loc": {
"start": {
"line": 363,
@@ -71956,8 +71956,8 @@
"updateContext": null
},
"value": "=",
- "start": 10581,
- "end": 10582,
+ "start": 10566,
+ "end": 10567,
"loc": {
"start": {
"line": 363,
@@ -71982,8 +71982,8 @@
"binop": null
},
"value": "data",
- "start": 10583,
- "end": 10587,
+ "start": 10568,
+ "end": 10572,
"loc": {
"start": {
"line": 363,
@@ -72008,8 +72008,8 @@
"binop": null
},
"value": "console",
- "start": 10590,
- "end": 10597,
+ "start": 10575,
+ "end": 10582,
"loc": {
"start": {
"line": 364,
@@ -72034,8 +72034,8 @@
"binop": null,
"updateContext": null
},
- "start": 10597,
- "end": 10598,
+ "start": 10582,
+ "end": 10583,
"loc": {
"start": {
"line": 364,
@@ -72060,8 +72060,8 @@
"binop": null
},
"value": "log",
- "start": 10598,
- "end": 10601,
+ "start": 10583,
+ "end": 10586,
"loc": {
"start": {
"line": 364,
@@ -72085,8 +72085,8 @@
"postfix": false,
"binop": null
},
- "start": 10601,
- "end": 10602,
+ "start": 10586,
+ "end": 10587,
"loc": {
"start": {
"line": 364,
@@ -72111,8 +72111,8 @@
"binop": null
},
"value": "teamColors",
- "start": 10602,
- "end": 10612,
+ "start": 10587,
+ "end": 10597,
"loc": {
"start": {
"line": 364,
@@ -72136,8 +72136,8 @@
"postfix": false,
"binop": null
},
- "start": 10612,
- "end": 10613,
+ "start": 10597,
+ "end": 10598,
"loc": {
"start": {
"line": 364,
@@ -72161,8 +72161,8 @@
"postfix": false,
"binop": null
},
- "start": 10615,
- "end": 10616,
+ "start": 10600,
+ "end": 10601,
"loc": {
"start": {
"line": 365,
@@ -72186,8 +72186,8 @@
"postfix": false,
"binop": null
},
- "start": 10616,
- "end": 10617,
+ "start": 10601,
+ "end": 10602,
"loc": {
"start": {
"line": 365,
@@ -72202,8 +72202,8 @@
{
"type": "CommentLine",
"value": " Change texture when a tile has been captured",
- "start": 10620,
- "end": 10667,
+ "start": 10605,
+ "end": 10652,
"loc": {
"start": {
"line": 367,
@@ -72228,8 +72228,8 @@
"binop": null
},
"value": "socket",
- "start": 10669,
- "end": 10675,
+ "start": 10654,
+ "end": 10660,
"loc": {
"start": {
"line": 368,
@@ -72254,8 +72254,8 @@
"binop": null,
"updateContext": null
},
- "start": 10675,
- "end": 10676,
+ "start": 10660,
+ "end": 10661,
"loc": {
"start": {
"line": 368,
@@ -72280,8 +72280,8 @@
"binop": null
},
"value": "on",
- "start": 10676,
- "end": 10678,
+ "start": 10661,
+ "end": 10663,
"loc": {
"start": {
"line": 368,
@@ -72305,8 +72305,8 @@
"postfix": false,
"binop": null
},
- "start": 10678,
- "end": 10679,
+ "start": 10663,
+ "end": 10664,
"loc": {
"start": {
"line": 368,
@@ -72332,8 +72332,8 @@
"updateContext": null
},
"value": "serverSendTileCapture",
- "start": 10679,
- "end": 10702,
+ "start": 10664,
+ "end": 10687,
"loc": {
"start": {
"line": 368,
@@ -72358,8 +72358,8 @@
"binop": null,
"updateContext": null
},
- "start": 10702,
- "end": 10703,
+ "start": 10687,
+ "end": 10688,
"loc": {
"start": {
"line": 368,
@@ -72383,8 +72383,8 @@
"postfix": false,
"binop": null
},
- "start": 10704,
- "end": 10705,
+ "start": 10689,
+ "end": 10690,
"loc": {
"start": {
"line": 368,
@@ -72409,8 +72409,8 @@
"binop": null
},
"value": "data",
- "start": 10705,
- "end": 10709,
+ "start": 10690,
+ "end": 10694,
"loc": {
"start": {
"line": 368,
@@ -72434,8 +72434,8 @@
"postfix": false,
"binop": null
},
- "start": 10709,
- "end": 10710,
+ "start": 10694,
+ "end": 10695,
"loc": {
"start": {
"line": 368,
@@ -72460,8 +72460,8 @@
"binop": null,
"updateContext": null
},
- "start": 10711,
- "end": 10713,
+ "start": 10696,
+ "end": 10698,
"loc": {
"start": {
"line": 368,
@@ -72485,8 +72485,8 @@
"postfix": false,
"binop": null
},
- "start": 10714,
- "end": 10715,
+ "start": 10699,
+ "end": 10700,
"loc": {
"start": {
"line": 368,
@@ -72511,8 +72511,8 @@
"binop": null
},
"value": "objects",
- "start": 10718,
- "end": 10725,
+ "start": 10703,
+ "end": 10710,
"loc": {
"start": {
"line": 369,
@@ -72537,8 +72537,8 @@
"binop": null,
"updateContext": null
},
- "start": 10725,
- "end": 10726,
+ "start": 10710,
+ "end": 10711,
"loc": {
"start": {
"line": 369,
@@ -72563,8 +72563,8 @@
"binop": null
},
"value": "tiles",
- "start": 10726,
- "end": 10731,
+ "start": 10711,
+ "end": 10716,
"loc": {
"start": {
"line": 369,
@@ -72589,8 +72589,8 @@
"binop": null,
"updateContext": null
},
- "start": 10731,
- "end": 10732,
+ "start": 10716,
+ "end": 10717,
"loc": {
"start": {
"line": 369,
@@ -72616,8 +72616,8 @@
"updateContext": null
},
"value": "tile_",
- "start": 10732,
- "end": 10739,
+ "start": 10717,
+ "end": 10724,
"loc": {
"start": {
"line": 369,
@@ -72643,8 +72643,8 @@
"updateContext": null
},
"value": "+",
- "start": 10740,
- "end": 10741,
+ "start": 10725,
+ "end": 10726,
"loc": {
"start": {
"line": 369,
@@ -72669,8 +72669,8 @@
"binop": null
},
"value": "data",
- "start": 10742,
- "end": 10746,
+ "start": 10727,
+ "end": 10731,
"loc": {
"start": {
"line": 369,
@@ -72695,8 +72695,8 @@
"binop": null,
"updateContext": null
},
- "start": 10746,
- "end": 10747,
+ "start": 10731,
+ "end": 10732,
"loc": {
"start": {
"line": 369,
@@ -72721,8 +72721,8 @@
"binop": null
},
"value": "tileX",
- "start": 10747,
- "end": 10752,
+ "start": 10732,
+ "end": 10737,
"loc": {
"start": {
"line": 369,
@@ -72748,8 +72748,8 @@
"updateContext": null
},
"value": "+",
- "start": 10753,
- "end": 10754,
+ "start": 10738,
+ "end": 10739,
"loc": {
"start": {
"line": 369,
@@ -72775,8 +72775,8 @@
"updateContext": null
},
"value": "_",
- "start": 10755,
- "end": 10758,
+ "start": 10740,
+ "end": 10743,
"loc": {
"start": {
"line": 369,
@@ -72802,8 +72802,8 @@
"updateContext": null
},
"value": "+",
- "start": 10759,
- "end": 10760,
+ "start": 10744,
+ "end": 10745,
"loc": {
"start": {
"line": 369,
@@ -72828,8 +72828,8 @@
"binop": null
},
"value": "data",
- "start": 10761,
- "end": 10765,
+ "start": 10746,
+ "end": 10750,
"loc": {
"start": {
"line": 369,
@@ -72854,8 +72854,8 @@
"binop": null,
"updateContext": null
},
- "start": 10765,
- "end": 10766,
+ "start": 10750,
+ "end": 10751,
"loc": {
"start": {
"line": 369,
@@ -72880,8 +72880,8 @@
"binop": null
},
"value": "tileY",
- "start": 10766,
- "end": 10771,
+ "start": 10751,
+ "end": 10756,
"loc": {
"start": {
"line": 369,
@@ -72906,8 +72906,8 @@
"binop": null,
"updateContext": null
},
- "start": 10771,
- "end": 10772,
+ "start": 10756,
+ "end": 10757,
"loc": {
"start": {
"line": 369,
@@ -72932,8 +72932,8 @@
"binop": null,
"updateContext": null
},
- "start": 10772,
- "end": 10773,
+ "start": 10757,
+ "end": 10758,
"loc": {
"start": {
"line": 369,
@@ -72958,8 +72958,8 @@
"binop": null
},
"value": "texture",
- "start": 10773,
- "end": 10780,
+ "start": 10758,
+ "end": 10765,
"loc": {
"start": {
"line": 369,
@@ -72985,8 +72985,8 @@
"updateContext": null
},
"value": "=",
- "start": 10781,
- "end": 10782,
+ "start": 10766,
+ "end": 10767,
"loc": {
"start": {
"line": 369,
@@ -73010,8 +73010,8 @@
"postfix": false,
"binop": null
},
- "start": 10783,
- "end": 10784,
+ "start": 10768,
+ "end": 10769,
"loc": {
"start": {
"line": 369,
@@ -73036,8 +73036,8 @@
"binop": null
},
"value": "spritesheet",
- "start": 10784,
- "end": 10795,
+ "start": 10769,
+ "end": 10780,
"loc": {
"start": {
"line": 369,
@@ -73062,8 +73062,8 @@
"binop": null,
"updateContext": null
},
- "start": 10795,
- "end": 10796,
+ "start": 10780,
+ "end": 10781,
"loc": {
"start": {
"line": 369,
@@ -73088,8 +73088,8 @@
"binop": null
},
"value": "textures",
- "start": 10796,
- "end": 10804,
+ "start": 10781,
+ "end": 10789,
"loc": {
"start": {
"line": 369,
@@ -73114,8 +73114,8 @@
"binop": null,
"updateContext": null
},
- "start": 10804,
- "end": 10805,
+ "start": 10789,
+ "end": 10790,
"loc": {
"start": {
"line": 369,
@@ -73140,8 +73140,8 @@
"binop": null
},
"value": "data",
- "start": 10805,
- "end": 10809,
+ "start": 10790,
+ "end": 10794,
"loc": {
"start": {
"line": 369,
@@ -73166,8 +73166,8 @@
"binop": null,
"updateContext": null
},
- "start": 10809,
- "end": 10810,
+ "start": 10794,
+ "end": 10795,
"loc": {
"start": {
"line": 369,
@@ -73192,8 +73192,8 @@
"binop": null
},
"value": "teamNumber",
- "start": 10810,
- "end": 10820,
+ "start": 10795,
+ "end": 10805,
"loc": {
"start": {
"line": 369,
@@ -73219,8 +73219,8 @@
"updateContext": null
},
"value": "+",
- "start": 10821,
- "end": 10822,
+ "start": 10806,
+ "end": 10807,
"loc": {
"start": {
"line": 369,
@@ -73245,8 +73245,8 @@
"binop": null
},
"value": "objects",
- "start": 10823,
- "end": 10830,
+ "start": 10808,
+ "end": 10815,
"loc": {
"start": {
"line": 369,
@@ -73271,8 +73271,8 @@
"binop": null,
"updateContext": null
},
- "start": 10830,
- "end": 10831,
+ "start": 10815,
+ "end": 10816,
"loc": {
"start": {
"line": 369,
@@ -73297,8 +73297,8 @@
"binop": null
},
"value": "tiles",
- "start": 10831,
- "end": 10836,
+ "start": 10816,
+ "end": 10821,
"loc": {
"start": {
"line": 369,
@@ -73323,8 +73323,8 @@
"binop": null,
"updateContext": null
},
- "start": 10836,
- "end": 10837,
+ "start": 10821,
+ "end": 10822,
"loc": {
"start": {
"line": 369,
@@ -73350,8 +73350,8 @@
"updateContext": null
},
"value": "tile_",
- "start": 10837,
- "end": 10844,
+ "start": 10822,
+ "end": 10829,
"loc": {
"start": {
"line": 369,
@@ -73377,8 +73377,8 @@
"updateContext": null
},
"value": "+",
- "start": 10845,
- "end": 10846,
+ "start": 10830,
+ "end": 10831,
"loc": {
"start": {
"line": 369,
@@ -73403,8 +73403,8 @@
"binop": null
},
"value": "data",
- "start": 10847,
- "end": 10851,
+ "start": 10832,
+ "end": 10836,
"loc": {
"start": {
"line": 369,
@@ -73429,8 +73429,8 @@
"binop": null,
"updateContext": null
},
- "start": 10851,
- "end": 10852,
+ "start": 10836,
+ "end": 10837,
"loc": {
"start": {
"line": 369,
@@ -73455,8 +73455,8 @@
"binop": null
},
"value": "tileX",
- "start": 10852,
- "end": 10857,
+ "start": 10837,
+ "end": 10842,
"loc": {
"start": {
"line": 369,
@@ -73482,8 +73482,8 @@
"updateContext": null
},
"value": "+",
- "start": 10858,
- "end": 10859,
+ "start": 10843,
+ "end": 10844,
"loc": {
"start": {
"line": 369,
@@ -73509,8 +73509,8 @@
"updateContext": null
},
"value": "_",
- "start": 10860,
- "end": 10863,
+ "start": 10845,
+ "end": 10848,
"loc": {
"start": {
"line": 369,
@@ -73536,8 +73536,8 @@
"updateContext": null
},
"value": "+",
- "start": 10864,
- "end": 10865,
+ "start": 10849,
+ "end": 10850,
"loc": {
"start": {
"line": 369,
@@ -73562,8 +73562,8 @@
"binop": null
},
"value": "data",
- "start": 10866,
- "end": 10870,
+ "start": 10851,
+ "end": 10855,
"loc": {
"start": {
"line": 369,
@@ -73588,8 +73588,8 @@
"binop": null,
"updateContext": null
},
- "start": 10870,
- "end": 10871,
+ "start": 10855,
+ "end": 10856,
"loc": {
"start": {
"line": 369,
@@ -73614,8 +73614,8 @@
"binop": null
},
"value": "tileY",
- "start": 10871,
- "end": 10876,
+ "start": 10856,
+ "end": 10861,
"loc": {
"start": {
"line": 369,
@@ -73640,8 +73640,8 @@
"binop": null,
"updateContext": null
},
- "start": 10876,
- "end": 10877,
+ "start": 10861,
+ "end": 10862,
"loc": {
"start": {
"line": 369,
@@ -73666,8 +73666,8 @@
"binop": null,
"updateContext": null
},
- "start": 10877,
- "end": 10878,
+ "start": 10862,
+ "end": 10863,
"loc": {
"start": {
"line": 369,
@@ -73692,8 +73692,8 @@
"binop": null
},
"value": "tile",
- "start": 10878,
- "end": 10882,
+ "start": 10863,
+ "end": 10867,
"loc": {
"start": {
"line": 369,
@@ -73718,8 +73718,8 @@
"binop": null,
"updateContext": null
},
- "start": 10882,
- "end": 10883,
+ "start": 10867,
+ "end": 10868,
"loc": {
"start": {
"line": 369,
@@ -73744,8 +73744,8 @@
"binop": null
},
"value": "texture",
- "start": 10883,
- "end": 10890,
+ "start": 10868,
+ "end": 10875,
"loc": {
"start": {
"line": 369,
@@ -73770,8 +73770,8 @@
"binop": null,
"updateContext": null
},
- "start": 10890,
- "end": 10891,
+ "start": 10875,
+ "end": 10876,
"loc": {
"start": {
"line": 369,
@@ -73795,8 +73795,8 @@
"postfix": false,
"binop": null
},
- "start": 10891,
- "end": 10892,
+ "start": 10876,
+ "end": 10877,
"loc": {
"start": {
"line": 369,
@@ -73811,8 +73811,8 @@
{
"type": "CommentLine",
"value": " console.log(objects.tiles['tile_' + data.tileY + '_' + data.tileX].texture)",
- "start": 10895,
- "end": 10973,
+ "start": 10880,
+ "end": 10958,
"loc": {
"start": {
"line": 370,
@@ -73836,8 +73836,8 @@
"postfix": false,
"binop": null
},
- "start": 10975,
- "end": 10976,
+ "start": 10960,
+ "end": 10961,
"loc": {
"start": {
"line": 371,
@@ -73861,8 +73861,8 @@
"postfix": false,
"binop": null
},
- "start": 10976,
- "end": 10977,
+ "start": 10961,
+ "end": 10962,
"loc": {
"start": {
"line": 371,
@@ -73877,8 +73877,8 @@
{
"type": "CommentLine",
"value": " Tile health changed",
- "start": 10980,
- "end": 11002,
+ "start": 10965,
+ "end": 10987,
"loc": {
"start": {
"line": 373,
@@ -73903,8 +73903,8 @@
"binop": null
},
"value": "socket",
- "start": 11004,
- "end": 11010,
+ "start": 10989,
+ "end": 10995,
"loc": {
"start": {
"line": 374,
@@ -73929,8 +73929,8 @@
"binop": null,
"updateContext": null
},
- "start": 11010,
- "end": 11011,
+ "start": 10995,
+ "end": 10996,
"loc": {
"start": {
"line": 374,
@@ -73955,8 +73955,8 @@
"binop": null
},
"value": "on",
- "start": 11011,
- "end": 11013,
+ "start": 10996,
+ "end": 10998,
"loc": {
"start": {
"line": 374,
@@ -73980,8 +73980,8 @@
"postfix": false,
"binop": null
},
- "start": 11013,
- "end": 11014,
+ "start": 10998,
+ "end": 10999,
"loc": {
"start": {
"line": 374,
@@ -74007,8 +74007,8 @@
"updateContext": null
},
"value": "serverSendTileHealth",
- "start": 11014,
- "end": 11036,
+ "start": 10999,
+ "end": 11021,
"loc": {
"start": {
"line": 374,
@@ -74033,8 +74033,8 @@
"binop": null,
"updateContext": null
},
- "start": 11036,
- "end": 11037,
+ "start": 11021,
+ "end": 11022,
"loc": {
"start": {
"line": 374,
@@ -74058,8 +74058,8 @@
"postfix": false,
"binop": null
},
- "start": 11038,
- "end": 11039,
+ "start": 11023,
+ "end": 11024,
"loc": {
"start": {
"line": 374,
@@ -74084,8 +74084,8 @@
"binop": null
},
"value": "data",
- "start": 11039,
- "end": 11043,
+ "start": 11024,
+ "end": 11028,
"loc": {
"start": {
"line": 374,
@@ -74109,8 +74109,8 @@
"postfix": false,
"binop": null
},
- "start": 11043,
- "end": 11044,
+ "start": 11028,
+ "end": 11029,
"loc": {
"start": {
"line": 374,
@@ -74135,8 +74135,8 @@
"binop": null,
"updateContext": null
},
- "start": 11045,
- "end": 11047,
+ "start": 11030,
+ "end": 11032,
"loc": {
"start": {
"line": 374,
@@ -74160,8 +74160,8 @@
"postfix": false,
"binop": null
},
- "start": 11048,
- "end": 11049,
+ "start": 11033,
+ "end": 11034,
"loc": {
"start": {
"line": 374,
@@ -74186,8 +74186,8 @@
"binop": null
},
"value": "objects",
- "start": 11052,
- "end": 11059,
+ "start": 11037,
+ "end": 11044,
"loc": {
"start": {
"line": 375,
@@ -74212,8 +74212,8 @@
"binop": null,
"updateContext": null
},
- "start": 11059,
- "end": 11060,
+ "start": 11044,
+ "end": 11045,
"loc": {
"start": {
"line": 375,
@@ -74238,8 +74238,8 @@
"binop": null
},
"value": "tiles",
- "start": 11060,
- "end": 11065,
+ "start": 11045,
+ "end": 11050,
"loc": {
"start": {
"line": 375,
@@ -74264,8 +74264,8 @@
"binop": null,
"updateContext": null
},
- "start": 11065,
- "end": 11066,
+ "start": 11050,
+ "end": 11051,
"loc": {
"start": {
"line": 375,
@@ -74291,8 +74291,8 @@
"updateContext": null
},
"value": "tile_",
- "start": 11066,
- "end": 11073,
+ "start": 11051,
+ "end": 11058,
"loc": {
"start": {
"line": 375,
@@ -74318,8 +74318,8 @@
"updateContext": null
},
"value": "+",
- "start": 11074,
- "end": 11075,
+ "start": 11059,
+ "end": 11060,
"loc": {
"start": {
"line": 375,
@@ -74344,8 +74344,8 @@
"binop": null
},
"value": "data",
- "start": 11076,
- "end": 11080,
+ "start": 11061,
+ "end": 11065,
"loc": {
"start": {
"line": 375,
@@ -74370,8 +74370,8 @@
"binop": null,
"updateContext": null
},
- "start": 11080,
- "end": 11081,
+ "start": 11065,
+ "end": 11066,
"loc": {
"start": {
"line": 375,
@@ -74396,8 +74396,8 @@
"binop": null
},
"value": "tileX",
- "start": 11081,
- "end": 11086,
+ "start": 11066,
+ "end": 11071,
"loc": {
"start": {
"line": 375,
@@ -74423,8 +74423,8 @@
"updateContext": null
},
"value": "+",
- "start": 11087,
- "end": 11088,
+ "start": 11072,
+ "end": 11073,
"loc": {
"start": {
"line": 375,
@@ -74450,8 +74450,8 @@
"updateContext": null
},
"value": "_",
- "start": 11089,
- "end": 11092,
+ "start": 11074,
+ "end": 11077,
"loc": {
"start": {
"line": 375,
@@ -74477,8 +74477,8 @@
"updateContext": null
},
"value": "+",
- "start": 11093,
- "end": 11094,
+ "start": 11078,
+ "end": 11079,
"loc": {
"start": {
"line": 375,
@@ -74503,8 +74503,8 @@
"binop": null
},
"value": "data",
- "start": 11095,
- "end": 11099,
+ "start": 11080,
+ "end": 11084,
"loc": {
"start": {
"line": 375,
@@ -74529,8 +74529,8 @@
"binop": null,
"updateContext": null
},
- "start": 11099,
- "end": 11100,
+ "start": 11084,
+ "end": 11085,
"loc": {
"start": {
"line": 375,
@@ -74555,8 +74555,8 @@
"binop": null
},
"value": "tileY",
- "start": 11100,
- "end": 11105,
+ "start": 11085,
+ "end": 11090,
"loc": {
"start": {
"line": 375,
@@ -74581,8 +74581,8 @@
"binop": null,
"updateContext": null
},
- "start": 11105,
- "end": 11106,
+ "start": 11090,
+ "end": 11091,
"loc": {
"start": {
"line": 375,
@@ -74607,8 +74607,8 @@
"binop": null,
"updateContext": null
},
- "start": 11106,
- "end": 11107,
+ "start": 11091,
+ "end": 11092,
"loc": {
"start": {
"line": 375,
@@ -74633,8 +74633,8 @@
"binop": null
},
"value": "updateHealth",
- "start": 11107,
- "end": 11119,
+ "start": 11092,
+ "end": 11104,
"loc": {
"start": {
"line": 375,
@@ -74658,8 +74658,8 @@
"postfix": false,
"binop": null
},
- "start": 11119,
- "end": 11120,
+ "start": 11104,
+ "end": 11105,
"loc": {
"start": {
"line": 375,
@@ -74684,8 +74684,8 @@
"binop": null
},
"value": "data",
- "start": 11120,
- "end": 11124,
+ "start": 11105,
+ "end": 11109,
"loc": {
"start": {
"line": 375,
@@ -74710,8 +74710,8 @@
"binop": null,
"updateContext": null
},
- "start": 11124,
- "end": 11125,
+ "start": 11109,
+ "end": 11110,
"loc": {
"start": {
"line": 375,
@@ -74736,8 +74736,8 @@
"binop": null
},
"value": "newHealth",
- "start": 11125,
- "end": 11134,
+ "start": 11110,
+ "end": 11119,
"loc": {
"start": {
"line": 375,
@@ -74761,8 +74761,8 @@
"postfix": false,
"binop": null
},
- "start": 11134,
- "end": 11135,
+ "start": 11119,
+ "end": 11120,
"loc": {
"start": {
"line": 375,
@@ -74786,8 +74786,8 @@
"postfix": false,
"binop": null
},
- "start": 11137,
- "end": 11138,
+ "start": 11122,
+ "end": 11123,
"loc": {
"start": {
"line": 376,
@@ -74811,8 +74811,8 @@
"postfix": false,
"binop": null
},
- "start": 11138,
- "end": 11139,
+ "start": 11123,
+ "end": 11124,
"loc": {
"start": {
"line": 376,
@@ -74836,8 +74836,8 @@
"postfix": false,
"binop": null
},
- "start": 11140,
- "end": 11141,
+ "start": 11125,
+ "end": 11126,
"loc": {
"start": {
"line": 377,
@@ -74852,8 +74852,8 @@
{
"type": "CommentBlock",
"value": "\n ********************\n * Helper Functions *\n ********************\n",
- "start": 11143,
- "end": 11214,
+ "start": 11128,
+ "end": 11199,
"loc": {
"start": {
"line": 379,
@@ -74868,8 +74868,8 @@
{
"type": "CommentLine",
"value": " Helper function for serverSendObjectRemoval",
- "start": 11216,
- "end": 11262,
+ "start": 11201,
+ "end": 11247,
"loc": {
"start": {
"line": 385,
@@ -74895,8 +74895,8 @@
"binop": null
},
"value": "function",
- "start": 11263,
- "end": 11271,
+ "start": 11248,
+ "end": 11256,
"loc": {
"start": {
"line": 386,
@@ -74921,8 +74921,8 @@
"binop": null
},
"value": "removeObject",
- "start": 11272,
- "end": 11284,
+ "start": 11257,
+ "end": 11269,
"loc": {
"start": {
"line": 386,
@@ -74946,8 +74946,8 @@
"postfix": false,
"binop": null
},
- "start": 11285,
- "end": 11286,
+ "start": 11270,
+ "end": 11271,
"loc": {
"start": {
"line": 386,
@@ -74972,8 +74972,8 @@
"binop": null
},
"value": "data",
- "start": 11286,
- "end": 11290,
+ "start": 11271,
+ "end": 11275,
"loc": {
"start": {
"line": 386,
@@ -74997,8 +74997,8 @@
"postfix": false,
"binop": null
},
- "start": 11290,
- "end": 11291,
+ "start": 11275,
+ "end": 11276,
"loc": {
"start": {
"line": 386,
@@ -75022,8 +75022,8 @@
"postfix": false,
"binop": null
},
- "start": 11292,
- "end": 11293,
+ "start": 11277,
+ "end": 11278,
"loc": {
"start": {
"line": 386,
@@ -75050,8 +75050,8 @@
"updateContext": null
},
"value": "if",
- "start": 11295,
- "end": 11297,
+ "start": 11280,
+ "end": 11282,
"loc": {
"start": {
"line": 387,
@@ -75075,8 +75075,8 @@
"postfix": false,
"binop": null
},
- "start": 11298,
- "end": 11299,
+ "start": 11283,
+ "end": 11284,
"loc": {
"start": {
"line": 387,
@@ -75101,8 +75101,8 @@
"binop": null
},
"value": "objects",
- "start": 11299,
- "end": 11306,
+ "start": 11284,
+ "end": 11291,
"loc": {
"start": {
"line": 387,
@@ -75127,8 +75127,8 @@
"binop": null,
"updateContext": null
},
- "start": 11306,
- "end": 11307,
+ "start": 11291,
+ "end": 11292,
"loc": {
"start": {
"line": 387,
@@ -75153,8 +75153,8 @@
"binop": null
},
"value": "data",
- "start": 11307,
- "end": 11311,
+ "start": 11292,
+ "end": 11296,
"loc": {
"start": {
"line": 387,
@@ -75179,8 +75179,8 @@
"binop": null,
"updateContext": null
},
- "start": 11311,
- "end": 11312,
+ "start": 11296,
+ "end": 11297,
"loc": {
"start": {
"line": 387,
@@ -75205,8 +75205,8 @@
"binop": null
},
"value": "type",
- "start": 11312,
- "end": 11316,
+ "start": 11297,
+ "end": 11301,
"loc": {
"start": {
"line": 387,
@@ -75231,8 +75231,8 @@
"binop": null,
"updateContext": null
},
- "start": 11316,
- "end": 11317,
+ "start": 11301,
+ "end": 11302,
"loc": {
"start": {
"line": 387,
@@ -75257,8 +75257,8 @@
"binop": null,
"updateContext": null
},
- "start": 11317,
- "end": 11318,
+ "start": 11302,
+ "end": 11303,
"loc": {
"start": {
"line": 387,
@@ -75283,8 +75283,8 @@
"binop": null
},
"value": "data",
- "start": 11318,
- "end": 11322,
+ "start": 11303,
+ "end": 11307,
"loc": {
"start": {
"line": 387,
@@ -75309,8 +75309,8 @@
"binop": null,
"updateContext": null
},
- "start": 11322,
- "end": 11323,
+ "start": 11307,
+ "end": 11308,
"loc": {
"start": {
"line": 387,
@@ -75335,8 +75335,8 @@
"binop": null
},
"value": "id",
- "start": 11323,
- "end": 11325,
+ "start": 11308,
+ "end": 11310,
"loc": {
"start": {
"line": 387,
@@ -75361,8 +75361,8 @@
"binop": null,
"updateContext": null
},
- "start": 11325,
- "end": 11326,
+ "start": 11310,
+ "end": 11311,
"loc": {
"start": {
"line": 387,
@@ -75388,8 +75388,8 @@
"updateContext": null
},
"value": "!==",
- "start": 11327,
- "end": 11330,
+ "start": 11312,
+ "end": 11315,
"loc": {
"start": {
"line": 387,
@@ -75414,8 +75414,8 @@
"binop": null
},
"value": "undefined",
- "start": 11331,
- "end": 11340,
+ "start": 11316,
+ "end": 11325,
"loc": {
"start": {
"line": 387,
@@ -75441,8 +75441,8 @@
"updateContext": null
},
"value": "&&",
- "start": 11341,
- "end": 11343,
+ "start": 11326,
+ "end": 11328,
"loc": {
"start": {
"line": 387,
@@ -75467,8 +75467,8 @@
"binop": null
},
"value": "objects",
- "start": 11344,
- "end": 11351,
+ "start": 11329,
+ "end": 11336,
"loc": {
"start": {
"line": 387,
@@ -75493,8 +75493,8 @@
"binop": null,
"updateContext": null
},
- "start": 11351,
- "end": 11352,
+ "start": 11336,
+ "end": 11337,
"loc": {
"start": {
"line": 387,
@@ -75519,8 +75519,8 @@
"binop": null
},
"value": "data",
- "start": 11352,
- "end": 11356,
+ "start": 11337,
+ "end": 11341,
"loc": {
"start": {
"line": 387,
@@ -75545,8 +75545,8 @@
"binop": null,
"updateContext": null
},
- "start": 11356,
- "end": 11357,
+ "start": 11341,
+ "end": 11342,
"loc": {
"start": {
"line": 387,
@@ -75571,8 +75571,8 @@
"binop": null
},
"value": "type",
- "start": 11357,
- "end": 11361,
+ "start": 11342,
+ "end": 11346,
"loc": {
"start": {
"line": 387,
@@ -75597,8 +75597,8 @@
"binop": null,
"updateContext": null
},
- "start": 11361,
- "end": 11362,
+ "start": 11346,
+ "end": 11347,
"loc": {
"start": {
"line": 387,
@@ -75623,8 +75623,8 @@
"binop": null,
"updateContext": null
},
- "start": 11362,
- "end": 11363,
+ "start": 11347,
+ "end": 11348,
"loc": {
"start": {
"line": 387,
@@ -75649,8 +75649,8 @@
"binop": null
},
"value": "data",
- "start": 11363,
- "end": 11367,
+ "start": 11348,
+ "end": 11352,
"loc": {
"start": {
"line": 387,
@@ -75675,8 +75675,8 @@
"binop": null,
"updateContext": null
},
- "start": 11367,
- "end": 11368,
+ "start": 11352,
+ "end": 11353,
"loc": {
"start": {
"line": 387,
@@ -75701,8 +75701,8 @@
"binop": null
},
"value": "id",
- "start": 11368,
- "end": 11370,
+ "start": 11353,
+ "end": 11355,
"loc": {
"start": {
"line": 387,
@@ -75727,8 +75727,8 @@
"binop": null,
"updateContext": null
},
- "start": 11370,
- "end": 11371,
+ "start": 11355,
+ "end": 11356,
"loc": {
"start": {
"line": 387,
@@ -75754,8 +75754,8 @@
"updateContext": null
},
"value": "!==",
- "start": 11372,
- "end": 11375,
+ "start": 11357,
+ "end": 11360,
"loc": {
"start": {
"line": 387,
@@ -75782,8 +75782,8 @@
"updateContext": null
},
"value": "null",
- "start": 11376,
- "end": 11380,
+ "start": 11361,
+ "end": 11365,
"loc": {
"start": {
"line": 387,
@@ -75807,8 +75807,8 @@
"postfix": false,
"binop": null
},
- "start": 11380,
- "end": 11381,
+ "start": 11365,
+ "end": 11366,
"loc": {
"start": {
"line": 387,
@@ -75832,8 +75832,8 @@
"postfix": false,
"binop": null
},
- "start": 11382,
- "end": 11383,
+ "start": 11367,
+ "end": 11368,
"loc": {
"start": {
"line": 387,
@@ -75858,8 +75858,8 @@
"binop": null
},
"value": "objects",
- "start": 11386,
- "end": 11393,
+ "start": 11371,
+ "end": 11378,
"loc": {
"start": {
"line": 388,
@@ -75884,8 +75884,8 @@
"binop": null,
"updateContext": null
},
- "start": 11393,
- "end": 11394,
+ "start": 11378,
+ "end": 11379,
"loc": {
"start": {
"line": 388,
@@ -75910,8 +75910,8 @@
"binop": null
},
"value": "data",
- "start": 11394,
- "end": 11398,
+ "start": 11379,
+ "end": 11383,
"loc": {
"start": {
"line": 388,
@@ -75936,8 +75936,8 @@
"binop": null,
"updateContext": null
},
- "start": 11398,
- "end": 11399,
+ "start": 11383,
+ "end": 11384,
"loc": {
"start": {
"line": 388,
@@ -75962,8 +75962,8 @@
"binop": null
},
"value": "type",
- "start": 11399,
- "end": 11403,
+ "start": 11384,
+ "end": 11388,
"loc": {
"start": {
"line": 388,
@@ -75988,8 +75988,8 @@
"binop": null,
"updateContext": null
},
- "start": 11403,
- "end": 11404,
+ "start": 11388,
+ "end": 11389,
"loc": {
"start": {
"line": 388,
@@ -76014,8 +76014,8 @@
"binop": null,
"updateContext": null
},
- "start": 11404,
- "end": 11405,
+ "start": 11389,
+ "end": 11390,
"loc": {
"start": {
"line": 388,
@@ -76040,8 +76040,8 @@
"binop": null
},
"value": "data",
- "start": 11405,
- "end": 11409,
+ "start": 11390,
+ "end": 11394,
"loc": {
"start": {
"line": 388,
@@ -76066,8 +76066,8 @@
"binop": null,
"updateContext": null
},
- "start": 11409,
- "end": 11410,
+ "start": 11394,
+ "end": 11395,
"loc": {
"start": {
"line": 388,
@@ -76092,8 +76092,8 @@
"binop": null
},
"value": "id",
- "start": 11410,
- "end": 11412,
+ "start": 11395,
+ "end": 11397,
"loc": {
"start": {
"line": 388,
@@ -76118,8 +76118,8 @@
"binop": null,
"updateContext": null
},
- "start": 11412,
- "end": 11413,
+ "start": 11397,
+ "end": 11398,
"loc": {
"start": {
"line": 388,
@@ -76144,8 +76144,8 @@
"binop": null,
"updateContext": null
},
- "start": 11413,
- "end": 11414,
+ "start": 11398,
+ "end": 11399,
"loc": {
"start": {
"line": 388,
@@ -76170,8 +76170,8 @@
"binop": null
},
"value": "hide",
- "start": 11414,
- "end": 11418,
+ "start": 11399,
+ "end": 11403,
"loc": {
"start": {
"line": 388,
@@ -76195,8 +76195,8 @@
"postfix": false,
"binop": null
},
- "start": 11418,
- "end": 11419,
+ "start": 11403,
+ "end": 11404,
"loc": {
"start": {
"line": 388,
@@ -76220,8 +76220,8 @@
"postfix": false,
"binop": null
},
- "start": 11419,
- "end": 11420,
+ "start": 11404,
+ "end": 11405,
"loc": {
"start": {
"line": 388,
@@ -76246,8 +76246,8 @@
"binop": null
},
"value": "objects",
- "start": 11423,
- "end": 11430,
+ "start": 11408,
+ "end": 11415,
"loc": {
"start": {
"line": 389,
@@ -76272,8 +76272,8 @@
"binop": null,
"updateContext": null
},
- "start": 11430,
- "end": 11431,
+ "start": 11415,
+ "end": 11416,
"loc": {
"start": {
"line": 389,
@@ -76298,8 +76298,8 @@
"binop": null
},
"value": "data",
- "start": 11431,
- "end": 11435,
+ "start": 11416,
+ "end": 11420,
"loc": {
"start": {
"line": 389,
@@ -76324,8 +76324,8 @@
"binop": null,
"updateContext": null
},
- "start": 11435,
- "end": 11436,
+ "start": 11420,
+ "end": 11421,
"loc": {
"start": {
"line": 389,
@@ -76350,8 +76350,8 @@
"binop": null
},
"value": "type",
- "start": 11436,
- "end": 11440,
+ "start": 11421,
+ "end": 11425,
"loc": {
"start": {
"line": 389,
@@ -76376,8 +76376,8 @@
"binop": null,
"updateContext": null
},
- "start": 11440,
- "end": 11441,
+ "start": 11425,
+ "end": 11426,
"loc": {
"start": {
"line": 389,
@@ -76402,8 +76402,8 @@
"binop": null,
"updateContext": null
},
- "start": 11441,
- "end": 11442,
+ "start": 11426,
+ "end": 11427,
"loc": {
"start": {
"line": 389,
@@ -76428,8 +76428,8 @@
"binop": null
},
"value": "data",
- "start": 11442,
- "end": 11446,
+ "start": 11427,
+ "end": 11431,
"loc": {
"start": {
"line": 389,
@@ -76454,8 +76454,8 @@
"binop": null,
"updateContext": null
},
- "start": 11446,
- "end": 11447,
+ "start": 11431,
+ "end": 11432,
"loc": {
"start": {
"line": 389,
@@ -76480,8 +76480,8 @@
"binop": null
},
"value": "id",
- "start": 11447,
- "end": 11449,
+ "start": 11432,
+ "end": 11434,
"loc": {
"start": {
"line": 389,
@@ -76506,8 +76506,8 @@
"binop": null,
"updateContext": null
},
- "start": 11449,
- "end": 11450,
+ "start": 11434,
+ "end": 11435,
"loc": {
"start": {
"line": 389,
@@ -76532,8 +76532,8 @@
"binop": null,
"updateContext": null
},
- "start": 11450,
- "end": 11451,
+ "start": 11435,
+ "end": 11436,
"loc": {
"start": {
"line": 389,
@@ -76558,8 +76558,8 @@
"binop": null
},
"value": "destroy",
- "start": 11451,
- "end": 11458,
+ "start": 11436,
+ "end": 11443,
"loc": {
"start": {
"line": 389,
@@ -76583,8 +76583,8 @@
"postfix": false,
"binop": null
},
- "start": 11458,
- "end": 11459,
+ "start": 11443,
+ "end": 11444,
"loc": {
"start": {
"line": 389,
@@ -76608,8 +76608,8 @@
"postfix": false,
"binop": null
},
- "start": 11459,
- "end": 11460,
+ "start": 11444,
+ "end": 11445,
"loc": {
"start": {
"line": 389,
@@ -76624,8 +76624,8 @@
{
"type": "CommentLine",
"value": " delete objects[data.type][data.id];",
- "start": 11463,
- "end": 11501,
+ "start": 11448,
+ "end": 11486,
"loc": {
"start": {
"line": 390,
@@ -76652,8 +76652,8 @@
"updateContext": null
},
"value": "return",
- "start": 11504,
- "end": 11510,
+ "start": 11489,
+ "end": 11495,
"loc": {
"start": {
"line": 391,
@@ -76680,8 +76680,8 @@
"updateContext": null
},
"value": "true",
- "start": 11511,
- "end": 11515,
+ "start": 11496,
+ "end": 11500,
"loc": {
"start": {
"line": 391,
@@ -76705,8 +76705,8 @@
"postfix": false,
"binop": null
},
- "start": 11517,
- "end": 11518,
+ "start": 11502,
+ "end": 11503,
"loc": {
"start": {
"line": 392,
@@ -76733,8 +76733,8 @@
"updateContext": null
},
"value": "else",
- "start": 11520,
- "end": 11524,
+ "start": 11505,
+ "end": 11509,
"loc": {
"start": {
"line": 393,
@@ -76758,8 +76758,8 @@
"postfix": false,
"binop": null
},
- "start": 11525,
- "end": 11526,
+ "start": 11510,
+ "end": 11511,
"loc": {
"start": {
"line": 393,
@@ -76786,8 +76786,8 @@
"updateContext": null
},
"value": "return",
- "start": 11529,
- "end": 11535,
+ "start": 11514,
+ "end": 11520,
"loc": {
"start": {
"line": 394,
@@ -76814,8 +76814,8 @@
"updateContext": null
},
"value": "false",
- "start": 11536,
- "end": 11541,
+ "start": 11521,
+ "end": 11526,
"loc": {
"start": {
"line": 394,
@@ -76839,8 +76839,8 @@
"postfix": false,
"binop": null
},
- "start": 11543,
- "end": 11544,
+ "start": 11528,
+ "end": 11529,
"loc": {
"start": {
"line": 395,
@@ -76864,8 +76864,8 @@
"postfix": false,
"binop": null
},
- "start": 11545,
- "end": 11546,
+ "start": 11530,
+ "end": 11531,
"loc": {
"start": {
"line": 396,
@@ -76890,8 +76890,8 @@
"binop": null,
"updateContext": null
},
- "start": 11547,
- "end": 11547,
+ "start": 11532,
+ "end": 11532,
"loc": {
"start": {
"line": 397,
diff --git a/docs/ast/source/server/server.js.json b/docs/ast/source/server/server.js.json
index 2b149e0..260269f 100644
--- a/docs/ast/source/server/server.js.json
+++ b/docs/ast/source/server/server.js.json
@@ -1,7 +1,7 @@
{
"type": "File",
"start": 0,
- "end": 10599,
+ "end": 10608,
"loc": {
"start": {
"line": 1,
@@ -15,7 +15,7 @@
"program": {
"type": "Program",
"start": 0,
- "end": 10599,
+ "end": 10608,
"loc": {
"start": {
"line": 1,
@@ -1768,9 +1768,9 @@
"trailingComments": [
{
"type": "CommentBlock",
- "value": " Contains all game data, including which rooms and players are active.\n *\n * Structure of Rooms object:\n *\n// rooms = {\n// roomName: {\n// joinable: true,\n// type: '4v4',\n// teams: [\n// name: 'teamname',\n// players: ['id1', 'id2'...]\n// ],\n// players: { id, name, room, team, health, posX, posY, vx, vy, dead, experience, damagedBy, stronghold },\n// atoms: { typeID, id, posX, posY, vx, vy, team },\n// compounds: {\tid, posX, posY, vx, vy, blueprint, sendingTeam, sender },\n//\t\t tiles: { id, type, globalX, globalY, captured, owner, health }\n// time: {\n// minutes: 0,\n// seconds: 0,\n// formattedTime: '0:00'\n// }\n// }\n// }\n",
+ "value": " Contains all game data, including which rooms and players are active.\n *\n * Structure of Rooms object:\n *\n// rooms = {\n// roomName: {\n// joinable: true,\n// type: '4v4',\n// teams: [\n// name: 'teamname',\n// players: ['id1', 'id2'...]\n// ],\n// players: { id, name, room, team, health, posX, posY, vx, vy, dead, experience, damagedBy, stronghold, defense },\n// atoms: { typeID, id, posX, posY, vx, vy, team },\n// compounds: {\tid, posX, posY, vx, vy, blueprint, sendingTeam, sender },\n//\t\t tiles: { id, type, globalX, globalY, captured, owner, health }\n// time: {\n// minutes: 0,\n// seconds: 0,\n// formattedTime: '0:00'\n// }\n// }\n// }\n",
"start": 690,
- "end": 1457,
+ "end": 1466,
"loc": {
"start": {
"line": 20,
@@ -1786,8 +1786,8 @@
},
{
"type": "VariableDeclaration",
- "start": 1458,
- "end": 1472,
+ "start": 1467,
+ "end": 1481,
"loc": {
"start": {
"line": 44,
@@ -1801,8 +1801,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 1462,
- "end": 1472,
+ "start": 1471,
+ "end": 1481,
"loc": {
"start": {
"line": 44,
@@ -1815,8 +1815,8 @@
},
"id": {
"type": "Identifier",
- "start": 1462,
- "end": 1467,
+ "start": 1471,
+ "end": 1476,
"loc": {
"start": {
"line": 44,
@@ -1833,8 +1833,8 @@
},
"init": {
"type": "ObjectExpression",
- "start": 1470,
- "end": 1472,
+ "start": 1479,
+ "end": 1481,
"loc": {
"start": {
"line": 44,
@@ -1857,9 +1857,9 @@
"leadingComments": [
{
"type": "CommentBlock",
- "value": " Contains all game data, including which rooms and players are active.\n *\n * Structure of Rooms object:\n *\n// rooms = {\n// roomName: {\n// joinable: true,\n// type: '4v4',\n// teams: [\n// name: 'teamname',\n// players: ['id1', 'id2'...]\n// ],\n// players: { id, name, room, team, health, posX, posY, vx, vy, dead, experience, damagedBy, stronghold },\n// atoms: { typeID, id, posX, posY, vx, vy, team },\n// compounds: {\tid, posX, posY, vx, vy, blueprint, sendingTeam, sender },\n//\t\t tiles: { id, type, globalX, globalY, captured, owner, health }\n// time: {\n// minutes: 0,\n// seconds: 0,\n// formattedTime: '0:00'\n// }\n// }\n// }\n",
+ "value": " Contains all game data, including which rooms and players are active.\n *\n * Structure of Rooms object:\n *\n// rooms = {\n// roomName: {\n// joinable: true,\n// type: '4v4',\n// teams: [\n// name: 'teamname',\n// players: ['id1', 'id2'...]\n// ],\n// players: { id, name, room, team, health, posX, posY, vx, vy, dead, experience, damagedBy, stronghold, defense },\n// atoms: { typeID, id, posX, posY, vx, vy, team },\n// compounds: {\tid, posX, posY, vx, vy, blueprint, sendingTeam, sender },\n//\t\t tiles: { id, type, globalX, globalY, captured, owner, health }\n// time: {\n// minutes: 0,\n// seconds: 0,\n// formattedTime: '0:00'\n// }\n// }\n// }\n",
"start": 690,
- "end": 1457,
+ "end": 1466,
"loc": {
"start": {
"line": 20,
@@ -1876,8 +1876,8 @@
{
"type": "CommentBlock",
"value": "*\n * Teams object containing all the currently playing teams.\n * Structure:\n * teamName: {\n * room: 'roomName',\n * players: ['playerSocketId', 'player2SocketId', ...],\n * joinable: false/true\n * }\n *\n * -> Create a Team when the first player joins any lobby. Populate room when this occurs.\n * -> Change joinable to false when a Team is either full or the game has begun.\n * -> Delete the room from the database when the last player leaves.\n * -> There cannot be two teams with the same name. Throw an error if this occurs.\n ",
- "start": 1474,
- "end": 2012,
+ "start": 1483,
+ "end": 2021,
"loc": {
"start": {
"line": 46,
@@ -1893,8 +1893,8 @@
},
{
"type": "VariableDeclaration",
- "start": 2013,
- "end": 2027,
+ "start": 2022,
+ "end": 2036,
"loc": {
"start": {
"line": 60,
@@ -1908,8 +1908,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 2017,
- "end": 2027,
+ "start": 2026,
+ "end": 2036,
"loc": {
"start": {
"line": 60,
@@ -1922,8 +1922,8 @@
},
"id": {
"type": "Identifier",
- "start": 2017,
- "end": 2022,
+ "start": 2026,
+ "end": 2031,
"loc": {
"start": {
"line": 60,
@@ -1940,8 +1940,8 @@
},
"init": {
"type": "ObjectExpression",
- "start": 2025,
- "end": 2027,
+ "start": 2034,
+ "end": 2036,
"loc": {
"start": {
"line": 60,
@@ -1965,8 +1965,8 @@
{
"type": "CommentBlock",
"value": "*\n * Teams object containing all the currently playing teams.\n * Structure:\n * teamName: {\n * room: 'roomName',\n * players: ['playerSocketId', 'player2SocketId', ...],\n * joinable: false/true\n * }\n *\n * -> Create a Team when the first player joins any lobby. Populate room when this occurs.\n * -> Change joinable to false when a Team is either full or the game has begun.\n * -> Delete the room from the database when the last player leaves.\n * -> There cannot be two teams with the same name. Throw an error if this occurs.\n ",
- "start": 1474,
- "end": 2012,
+ "start": 1483,
+ "end": 2021,
"loc": {
"start": {
"line": 46,
@@ -1983,8 +1983,8 @@
{
"type": "CommentLine",
"value": " Initializize Server. Includes atom spawning and timer mechanics",
- "start": 2029,
- "end": 2095,
+ "start": 2038,
+ "end": 2104,
"loc": {
"start": {
"line": 62,
@@ -2000,8 +2000,8 @@
},
{
"type": "ExpressionStatement",
- "start": 2096,
- "end": 2108,
+ "start": 2105,
+ "end": 2117,
"loc": {
"start": {
"line": 63,
@@ -2014,8 +2014,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 2096,
- "end": 2108,
+ "start": 2105,
+ "end": 2117,
"loc": {
"start": {
"line": 63,
@@ -2028,8 +2028,8 @@
},
"callee": {
"type": "Identifier",
- "start": 2096,
- "end": 2106,
+ "start": 2105,
+ "end": 2115,
"loc": {
"start": {
"line": 63,
@@ -2052,8 +2052,8 @@
{
"type": "CommentLine",
"value": " Initializize Server. Includes atom spawning and timer mechanics",
- "start": 2029,
- "end": 2095,
+ "start": 2038,
+ "end": 2104,
"loc": {
"start": {
"line": 62,
@@ -2070,8 +2070,8 @@
{
"type": "CommentLine",
"value": " Initialize all socket listeners when a request is established",
- "start": 2110,
- "end": 2174,
+ "start": 2119,
+ "end": 2183,
"loc": {
"start": {
"line": 65,
@@ -2087,8 +2087,8 @@
},
{
"type": "ExpressionStatement",
- "start": 2175,
- "end": 7604,
+ "start": 2184,
+ "end": 7613,
"loc": {
"start": {
"line": 66,
@@ -2101,8 +2101,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 2175,
- "end": 7604,
+ "start": 2184,
+ "end": 7613,
"loc": {
"start": {
"line": 66,
@@ -2115,8 +2115,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 2175,
- "end": 2180,
+ "start": 2184,
+ "end": 2189,
"loc": {
"start": {
"line": 66,
@@ -2129,8 +2129,8 @@
},
"object": {
"type": "Identifier",
- "start": 2175,
- "end": 2177,
+ "start": 2184,
+ "end": 2186,
"loc": {
"start": {
"line": 66,
@@ -2147,8 +2147,8 @@
},
"property": {
"type": "Identifier",
- "start": 2178,
- "end": 2180,
+ "start": 2187,
+ "end": 2189,
"loc": {
"start": {
"line": 66,
@@ -2168,8 +2168,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 2181,
- "end": 2193,
+ "start": 2190,
+ "end": 2202,
"loc": {
"start": {
"line": 66,
@@ -2188,8 +2188,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 2195,
- "end": 7603,
+ "start": 2204,
+ "end": 7612,
"loc": {
"start": {
"line": 66,
@@ -2207,8 +2207,8 @@
"params": [
{
"type": "Identifier",
- "start": 2195,
- "end": 2201,
+ "start": 2204,
+ "end": 2210,
"loc": {
"start": {
"line": 66,
@@ -2225,8 +2225,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 2205,
- "end": 7603,
+ "start": 2214,
+ "end": 7612,
"loc": {
"start": {
"line": 66,
@@ -2240,8 +2240,8 @@
"body": [
{
"type": "VariableDeclaration",
- "start": 2239,
- "end": 2277,
+ "start": 2248,
+ "end": 2286,
"loc": {
"start": {
"line": 68,
@@ -2255,8 +2255,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 2243,
- "end": 2277,
+ "start": 2252,
+ "end": 2286,
"loc": {
"start": {
"line": 68,
@@ -2269,8 +2269,8 @@
},
"id": {
"type": "Identifier",
- "start": 2243,
- "end": 2247,
+ "start": 2252,
+ "end": 2256,
"loc": {
"start": {
"line": 68,
@@ -2287,8 +2287,8 @@
},
"init": {
"type": "MemberExpression",
- "start": 2250,
- "end": 2277,
+ "start": 2259,
+ "end": 2286,
"loc": {
"start": {
"line": 68,
@@ -2301,8 +2301,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 2250,
- "end": 2272,
+ "start": 2259,
+ "end": 2281,
"loc": {
"start": {
"line": 68,
@@ -2315,8 +2315,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 2250,
- "end": 2266,
+ "start": 2259,
+ "end": 2275,
"loc": {
"start": {
"line": 68,
@@ -2329,8 +2329,8 @@
},
"object": {
"type": "Identifier",
- "start": 2250,
- "end": 2256,
+ "start": 2259,
+ "end": 2265,
"loc": {
"start": {
"line": 68,
@@ -2346,8 +2346,8 @@
},
"property": {
"type": "Identifier",
- "start": 2257,
- "end": 2266,
+ "start": 2266,
+ "end": 2275,
"loc": {
"start": {
"line": 68,
@@ -2365,8 +2365,8 @@
},
"property": {
"type": "Identifier",
- "start": 2267,
- "end": 2272,
+ "start": 2276,
+ "end": 2281,
"loc": {
"start": {
"line": 68,
@@ -2384,8 +2384,8 @@
},
"property": {
"type": "Identifier",
- "start": 2273,
- "end": 2277,
+ "start": 2282,
+ "end": 2286,
"loc": {
"start": {
"line": 68,
@@ -2409,8 +2409,8 @@
{
"type": "CommentLine",
"value": " Local variable declaration",
- "start": 2208,
- "end": 2237,
+ "start": 2217,
+ "end": 2246,
"loc": {
"start": {
"line": 67,
@@ -2426,8 +2426,8 @@
},
{
"type": "VariableDeclaration",
- "start": 2279,
- "end": 2317,
+ "start": 2288,
+ "end": 2326,
"loc": {
"start": {
"line": 69,
@@ -2441,8 +2441,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 2283,
- "end": 2317,
+ "start": 2292,
+ "end": 2326,
"loc": {
"start": {
"line": 69,
@@ -2455,8 +2455,8 @@
},
"id": {
"type": "Identifier",
- "start": 2283,
- "end": 2287,
+ "start": 2292,
+ "end": 2296,
"loc": {
"start": {
"line": 69,
@@ -2472,8 +2472,8 @@
},
"init": {
"type": "MemberExpression",
- "start": 2290,
- "end": 2317,
+ "start": 2299,
+ "end": 2326,
"loc": {
"start": {
"line": 69,
@@ -2486,8 +2486,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 2290,
- "end": 2312,
+ "start": 2299,
+ "end": 2321,
"loc": {
"start": {
"line": 69,
@@ -2500,8 +2500,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 2290,
- "end": 2306,
+ "start": 2299,
+ "end": 2315,
"loc": {
"start": {
"line": 69,
@@ -2514,8 +2514,8 @@
},
"object": {
"type": "Identifier",
- "start": 2290,
- "end": 2296,
+ "start": 2299,
+ "end": 2305,
"loc": {
"start": {
"line": 69,
@@ -2531,8 +2531,8 @@
},
"property": {
"type": "Identifier",
- "start": 2297,
- "end": 2306,
+ "start": 2306,
+ "end": 2315,
"loc": {
"start": {
"line": 69,
@@ -2550,8 +2550,8 @@
},
"property": {
"type": "Identifier",
- "start": 2307,
- "end": 2312,
+ "start": 2316,
+ "end": 2321,
"loc": {
"start": {
"line": 69,
@@ -2569,8 +2569,8 @@
},
"property": {
"type": "Identifier",
- "start": 2313,
- "end": 2317,
+ "start": 2322,
+ "end": 2326,
"loc": {
"start": {
"line": 69,
@@ -2597,8 +2597,8 @@
{
"type": "CommentLine",
"value": " Run matchmaker",
- "start": 2320,
- "end": 2337,
+ "start": 2329,
+ "end": 2346,
"loc": {
"start": {
"line": 71,
@@ -2614,8 +2614,8 @@
},
{
"type": "VariableDeclaration",
- "start": 2339,
- "end": 2389,
+ "start": 2348,
+ "end": 2398,
"loc": {
"start": {
"line": 72,
@@ -2629,8 +2629,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 2343,
- "end": 2389,
+ "start": 2352,
+ "end": 2398,
"loc": {
"start": {
"line": 72,
@@ -2643,8 +2643,8 @@
},
"id": {
"type": "Identifier",
- "start": 2343,
- "end": 2352,
+ "start": 2352,
+ "end": 2361,
"loc": {
"start": {
"line": 72,
@@ -2661,8 +2661,8 @@
},
"init": {
"type": "CallExpression",
- "start": 2355,
- "end": 2389,
+ "start": 2364,
+ "end": 2398,
"loc": {
"start": {
"line": 72,
@@ -2675,8 +2675,8 @@
},
"callee": {
"type": "Identifier",
- "start": 2355,
- "end": 2369,
+ "start": 2364,
+ "end": 2378,
"loc": {
"start": {
"line": 72,
@@ -2693,8 +2693,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 2370,
- "end": 2376,
+ "start": 2379,
+ "end": 2385,
"loc": {
"start": {
"line": 72,
@@ -2710,8 +2710,8 @@
},
{
"type": "Identifier",
- "start": 2378,
- "end": 2382,
+ "start": 2387,
+ "end": 2391,
"loc": {
"start": {
"line": 72,
@@ -2727,8 +2727,8 @@
},
{
"type": "Identifier",
- "start": 2384,
- "end": 2388,
+ "start": 2393,
+ "end": 2397,
"loc": {
"start": {
"line": 72,
@@ -2752,8 +2752,8 @@
{
"type": "CommentLine",
"value": " Run matchmaker",
- "start": 2320,
- "end": 2337,
+ "start": 2329,
+ "end": 2346,
"loc": {
"start": {
"line": 71,
@@ -2769,8 +2769,8 @@
},
{
"type": "ExpressionStatement",
- "start": 2391,
- "end": 2412,
+ "start": 2400,
+ "end": 2421,
"loc": {
"start": {
"line": 73,
@@ -2783,8 +2783,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 2391,
- "end": 2412,
+ "start": 2400,
+ "end": 2421,
"loc": {
"start": {
"line": 73,
@@ -2798,8 +2798,8 @@
"operator": "=",
"left": {
"type": "Identifier",
- "start": 2391,
- "end": 2395,
+ "start": 2400,
+ "end": 2404,
"loc": {
"start": {
"line": 73,
@@ -2815,8 +2815,8 @@
},
"right": {
"type": "MemberExpression",
- "start": 2398,
- "end": 2412,
+ "start": 2407,
+ "end": 2421,
"loc": {
"start": {
"line": 73,
@@ -2829,8 +2829,8 @@
},
"object": {
"type": "Identifier",
- "start": 2398,
- "end": 2407,
+ "start": 2407,
+ "end": 2416,
"loc": {
"start": {
"line": 73,
@@ -2846,8 +2846,8 @@
},
"property": {
"type": "Identifier",
- "start": 2408,
- "end": 2412,
+ "start": 2417,
+ "end": 2421,
"loc": {
"start": {
"line": 73,
@@ -2867,8 +2867,8 @@
},
{
"type": "ExpressionStatement",
- "start": 2414,
- "end": 2435,
+ "start": 2423,
+ "end": 2444,
"loc": {
"start": {
"line": 74,
@@ -2881,8 +2881,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 2414,
- "end": 2435,
+ "start": 2423,
+ "end": 2444,
"loc": {
"start": {
"line": 74,
@@ -2896,8 +2896,8 @@
"operator": "=",
"left": {
"type": "Identifier",
- "start": 2414,
- "end": 2418,
+ "start": 2423,
+ "end": 2427,
"loc": {
"start": {
"line": 74,
@@ -2913,8 +2913,8 @@
},
"right": {
"type": "MemberExpression",
- "start": 2421,
- "end": 2435,
+ "start": 2430,
+ "end": 2444,
"loc": {
"start": {
"line": 74,
@@ -2927,8 +2927,8 @@
},
"object": {
"type": "Identifier",
- "start": 2421,
- "end": 2430,
+ "start": 2430,
+ "end": 2439,
"loc": {
"start": {
"line": 74,
@@ -2944,8 +2944,8 @@
},
"property": {
"type": "Identifier",
- "start": 2431,
- "end": 2435,
+ "start": 2440,
+ "end": 2444,
"loc": {
"start": {
"line": 74,
@@ -2970,8 +2970,8 @@
{
"type": "CommentLine",
"value": " Init player",
- "start": 2438,
- "end": 2452,
+ "start": 2447,
+ "end": 2461,
"loc": {
"start": {
"line": 76,
@@ -2987,8 +2987,8 @@
},
{
"type": "ExpressionStatement",
- "start": 2454,
- "end": 2484,
+ "start": 2463,
+ "end": 2493,
"loc": {
"start": {
"line": 77,
@@ -3001,8 +3001,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 2454,
- "end": 2484,
+ "start": 2463,
+ "end": 2493,
"loc": {
"start": {
"line": 77,
@@ -3015,8 +3015,8 @@
},
"callee": {
"type": "Identifier",
- "start": 2454,
- "end": 2464,
+ "start": 2463,
+ "end": 2473,
"loc": {
"start": {
"line": 77,
@@ -3034,8 +3034,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 2465,
- "end": 2471,
+ "start": 2474,
+ "end": 2480,
"loc": {
"start": {
"line": 77,
@@ -3051,8 +3051,8 @@
},
{
"type": "Identifier",
- "start": 2473,
- "end": 2477,
+ "start": 2482,
+ "end": 2486,
"loc": {
"start": {
"line": 77,
@@ -3068,8 +3068,8 @@
},
{
"type": "Identifier",
- "start": 2479,
- "end": 2483,
+ "start": 2488,
+ "end": 2492,
"loc": {
"start": {
"line": 77,
@@ -3090,8 +3090,8 @@
{
"type": "CommentLine",
"value": " Init player",
- "start": 2438,
- "end": 2452,
+ "start": 2447,
+ "end": 2461,
"loc": {
"start": {
"line": 76,
@@ -3107,8 +3107,8 @@
},
{
"type": "VariableDeclaration",
- "start": 2486,
- "end": 2533,
+ "start": 2495,
+ "end": 2542,
"loc": {
"start": {
"line": 78,
@@ -3122,8 +3122,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 2490,
- "end": 2533,
+ "start": 2499,
+ "end": 2542,
"loc": {
"start": {
"line": 78,
@@ -3136,8 +3136,8 @@
},
"id": {
"type": "Identifier",
- "start": 2490,
- "end": 2500,
+ "start": 2499,
+ "end": 2509,
"loc": {
"start": {
"line": 78,
@@ -3153,8 +3153,8 @@
},
"init": {
"type": "MemberExpression",
- "start": 2503,
- "end": 2533,
+ "start": 2512,
+ "end": 2542,
"loc": {
"start": {
"line": 78,
@@ -3167,8 +3167,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 2503,
- "end": 2522,
+ "start": 2512,
+ "end": 2531,
"loc": {
"start": {
"line": 78,
@@ -3181,8 +3181,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 2503,
- "end": 2514,
+ "start": 2512,
+ "end": 2523,
"loc": {
"start": {
"line": 78,
@@ -3195,8 +3195,8 @@
},
"object": {
"type": "Identifier",
- "start": 2503,
- "end": 2508,
+ "start": 2512,
+ "end": 2517,
"loc": {
"start": {
"line": 78,
@@ -3212,8 +3212,8 @@
},
"property": {
"type": "Identifier",
- "start": 2509,
- "end": 2513,
+ "start": 2518,
+ "end": 2522,
"loc": {
"start": {
"line": 78,
@@ -3231,8 +3231,8 @@
},
"property": {
"type": "Identifier",
- "start": 2515,
- "end": 2522,
+ "start": 2524,
+ "end": 2531,
"loc": {
"start": {
"line": 78,
@@ -3250,8 +3250,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 2523,
- "end": 2532,
+ "start": 2532,
+ "end": 2541,
"loc": {
"start": {
"line": 78,
@@ -3264,8 +3264,8 @@
},
"object": {
"type": "Identifier",
- "start": 2523,
- "end": 2529,
+ "start": 2532,
+ "end": 2538,
"loc": {
"start": {
"line": 78,
@@ -3281,8 +3281,8 @@
},
"property": {
"type": "Identifier",
- "start": 2530,
- "end": 2532,
+ "start": 2539,
+ "end": 2541,
"loc": {
"start": {
"line": 78,
@@ -3306,8 +3306,8 @@
},
{
"type": "ExpressionStatement",
- "start": 2535,
- "end": 2557,
+ "start": 2544,
+ "end": 2566,
"loc": {
"start": {
"line": 79,
@@ -3320,8 +3320,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 2535,
- "end": 2557,
+ "start": 2544,
+ "end": 2566,
"loc": {
"start": {
"line": 79,
@@ -3335,8 +3335,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 2535,
- "end": 2550,
+ "start": 2544,
+ "end": 2559,
"loc": {
"start": {
"line": 79,
@@ -3349,8 +3349,8 @@
},
"object": {
"type": "Identifier",
- "start": 2535,
- "end": 2545,
+ "start": 2544,
+ "end": 2554,
"loc": {
"start": {
"line": 79,
@@ -3366,8 +3366,8 @@
},
"property": {
"type": "Identifier",
- "start": 2546,
- "end": 2550,
+ "start": 2555,
+ "end": 2559,
"loc": {
"start": {
"line": 79,
@@ -3385,8 +3385,8 @@
},
"right": {
"type": "Identifier",
- "start": 2553,
- "end": 2557,
+ "start": 2562,
+ "end": 2566,
"loc": {
"start": {
"line": 79,
@@ -3404,8 +3404,8 @@
},
{
"type": "ExpressionStatement",
- "start": 2559,
- "end": 2583,
+ "start": 2568,
+ "end": 2592,
"loc": {
"start": {
"line": 80,
@@ -3418,8 +3418,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 2559,
- "end": 2583,
+ "start": 2568,
+ "end": 2592,
"loc": {
"start": {
"line": 80,
@@ -3433,8 +3433,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 2559,
- "end": 2578,
+ "start": 2568,
+ "end": 2587,
"loc": {
"start": {
"line": 80,
@@ -3447,8 +3447,8 @@
},
"object": {
"type": "Identifier",
- "start": 2559,
- "end": 2569,
+ "start": 2568,
+ "end": 2578,
"loc": {
"start": {
"line": 80,
@@ -3464,8 +3464,8 @@
},
"property": {
"type": "Identifier",
- "start": 2570,
- "end": 2578,
+ "start": 2579,
+ "end": 2587,
"loc": {
"start": {
"line": 80,
@@ -3483,8 +3483,8 @@
},
"right": {
"type": "ObjectExpression",
- "start": 2581,
- "end": 2583,
+ "start": 2590,
+ "end": 2592,
"loc": {
"start": {
"line": 80,
@@ -3501,8 +3501,8 @@
},
{
"type": "ExpressionStatement",
- "start": 2585,
- "end": 2609,
+ "start": 2594,
+ "end": 2618,
"loc": {
"start": {
"line": 81,
@@ -3515,8 +3515,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 2585,
- "end": 2609,
+ "start": 2594,
+ "end": 2618,
"loc": {
"start": {
"line": 81,
@@ -3530,8 +3530,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 2585,
- "end": 2605,
+ "start": 2594,
+ "end": 2614,
"loc": {
"start": {
"line": 81,
@@ -3544,8 +3544,8 @@
},
"object": {
"type": "Identifier",
- "start": 2585,
- "end": 2595,
+ "start": 2594,
+ "end": 2604,
"loc": {
"start": {
"line": 81,
@@ -3561,8 +3561,8 @@
},
"property": {
"type": "Identifier",
- "start": 2596,
- "end": 2605,
+ "start": 2605,
+ "end": 2614,
"loc": {
"start": {
"line": 81,
@@ -3580,8 +3580,8 @@
},
"right": {
"type": "NumericLiteral",
- "start": 2608,
- "end": 2609,
+ "start": 2617,
+ "end": 2618,
"loc": {
"start": {
"line": 81,
@@ -3602,8 +3602,8 @@
},
{
"type": "ForOfStatement",
- "start": 2611,
- "end": 2681,
+ "start": 2620,
+ "end": 2690,
"loc": {
"start": {
"line": 82,
@@ -3616,8 +3616,8 @@
},
"left": {
"type": "VariableDeclaration",
- "start": 2616,
- "end": 2624,
+ "start": 2625,
+ "end": 2633,
"loc": {
"start": {
"line": 82,
@@ -3631,8 +3631,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 2620,
- "end": 2624,
+ "start": 2629,
+ "end": 2633,
"loc": {
"start": {
"line": 82,
@@ -3645,8 +3645,8 @@
},
"id": {
"type": "Identifier",
- "start": 2620,
- "end": 2624,
+ "start": 2629,
+ "end": 2633,
"loc": {
"start": {
"line": 82,
@@ -3667,8 +3667,8 @@
},
"right": {
"type": "MemberExpression",
- "start": 2628,
- "end": 2643,
+ "start": 2637,
+ "end": 2652,
"loc": {
"start": {
"line": 82,
@@ -3681,8 +3681,8 @@
},
"object": {
"type": "Identifier",
- "start": 2628,
- "end": 2634,
+ "start": 2637,
+ "end": 2643,
"loc": {
"start": {
"line": 82,
@@ -3698,8 +3698,8 @@
},
"property": {
"type": "Identifier",
- "start": 2635,
- "end": 2643,
+ "start": 2644,
+ "end": 2652,
"loc": {
"start": {
"line": 82,
@@ -3717,8 +3717,8 @@
},
"body": {
"type": "BlockStatement",
- "start": 2645,
- "end": 2681,
+ "start": 2654,
+ "end": 2690,
"loc": {
"start": {
"line": 82,
@@ -3732,8 +3732,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 2649,
- "end": 2678,
+ "start": 2658,
+ "end": 2687,
"loc": {
"start": {
"line": 83,
@@ -3746,8 +3746,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 2649,
- "end": 2678,
+ "start": 2658,
+ "end": 2687,
"loc": {
"start": {
"line": 83,
@@ -3761,8 +3761,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 2649,
- "end": 2674,
+ "start": 2658,
+ "end": 2683,
"loc": {
"start": {
"line": 83,
@@ -3775,8 +3775,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 2649,
- "end": 2668,
+ "start": 2658,
+ "end": 2677,
"loc": {
"start": {
"line": 83,
@@ -3789,8 +3789,8 @@
},
"object": {
"type": "Identifier",
- "start": 2649,
- "end": 2659,
+ "start": 2658,
+ "end": 2668,
"loc": {
"start": {
"line": 83,
@@ -3806,8 +3806,8 @@
},
"property": {
"type": "Identifier",
- "start": 2660,
- "end": 2668,
+ "start": 2669,
+ "end": 2677,
"loc": {
"start": {
"line": 83,
@@ -3825,8 +3825,8 @@
},
"property": {
"type": "Identifier",
- "start": 2669,
- "end": 2673,
+ "start": 2678,
+ "end": 2682,
"loc": {
"start": {
"line": 83,
@@ -3844,8 +3844,8 @@
},
"right": {
"type": "NumericLiteral",
- "start": 2677,
- "end": 2678,
+ "start": 2686,
+ "end": 2687,
"loc": {
"start": {
"line": 83,
@@ -3872,8 +3872,8 @@
{
"type": "CommentLine",
"value": " Announce colors",
- "start": 2684,
- "end": 2702,
+ "start": 2693,
+ "end": 2711,
"loc": {
"start": {
"line": 86,
@@ -3889,8 +3889,8 @@
},
{
"type": "ExpressionStatement",
- "start": 2704,
- "end": 2760,
+ "start": 2713,
+ "end": 2769,
"loc": {
"start": {
"line": 87,
@@ -3903,8 +3903,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 2704,
- "end": 2760,
+ "start": 2713,
+ "end": 2769,
"loc": {
"start": {
"line": 87,
@@ -3917,8 +3917,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 2704,
- "end": 2715,
+ "start": 2713,
+ "end": 2724,
"loc": {
"start": {
"line": 87,
@@ -3931,8 +3931,8 @@
},
"object": {
"type": "Identifier",
- "start": 2704,
- "end": 2710,
+ "start": 2713,
+ "end": 2719,
"loc": {
"start": {
"line": 87,
@@ -3949,8 +3949,8 @@
},
"property": {
"type": "Identifier",
- "start": 2711,
- "end": 2715,
+ "start": 2720,
+ "end": 2724,
"loc": {
"start": {
"line": 87,
@@ -3970,8 +3970,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 2716,
- "end": 2738,
+ "start": 2725,
+ "end": 2747,
"loc": {
"start": {
"line": 87,
@@ -3990,8 +3990,8 @@
},
{
"type": "CallExpression",
- "start": 2740,
- "end": 2759,
+ "start": 2749,
+ "end": 2768,
"loc": {
"start": {
"line": 87,
@@ -4004,8 +4004,8 @@
},
"callee": {
"type": "Identifier",
- "start": 2740,
- "end": 2753,
+ "start": 2749,
+ "end": 2762,
"loc": {
"start": {
"line": 87,
@@ -4022,8 +4022,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 2754,
- "end": 2758,
+ "start": 2763,
+ "end": 2767,
"loc": {
"start": {
"line": 87,
@@ -4046,8 +4046,8 @@
{
"type": "CommentLine",
"value": " Announce colors",
- "start": 2684,
- "end": 2702,
+ "start": 2693,
+ "end": 2711,
"loc": {
"start": {
"line": 86,
@@ -4063,8 +4063,8 @@
},
{
"type": "ExpressionStatement",
- "start": 2762,
- "end": 2827,
+ "start": 2771,
+ "end": 2836,
"loc": {
"start": {
"line": 88,
@@ -4077,8 +4077,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 2762,
- "end": 2827,
+ "start": 2771,
+ "end": 2836,
"loc": {
"start": {
"line": 88,
@@ -4091,8 +4091,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 2762,
- "end": 2782,
+ "start": 2771,
+ "end": 2791,
"loc": {
"start": {
"line": 88,
@@ -4105,8 +4105,8 @@
},
"object": {
"type": "CallExpression",
- "start": 2762,
- "end": 2777,
+ "start": 2771,
+ "end": 2786,
"loc": {
"start": {
"line": 88,
@@ -4119,8 +4119,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 2762,
- "end": 2771,
+ "start": 2771,
+ "end": 2780,
"loc": {
"start": {
"line": 88,
@@ -4133,8 +4133,8 @@
},
"object": {
"type": "Identifier",
- "start": 2762,
- "end": 2768,
+ "start": 2771,
+ "end": 2777,
"loc": {
"start": {
"line": 88,
@@ -4150,8 +4150,8 @@
},
"property": {
"type": "Identifier",
- "start": 2769,
- "end": 2771,
+ "start": 2778,
+ "end": 2780,
"loc": {
"start": {
"line": 88,
@@ -4170,8 +4170,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 2772,
- "end": 2776,
+ "start": 2781,
+ "end": 2785,
"loc": {
"start": {
"line": 88,
@@ -4189,8 +4189,8 @@
},
"property": {
"type": "Identifier",
- "start": 2778,
- "end": 2782,
+ "start": 2787,
+ "end": 2791,
"loc": {
"start": {
"line": 88,
@@ -4209,8 +4209,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 2783,
- "end": 2805,
+ "start": 2792,
+ "end": 2814,
"loc": {
"start": {
"line": 88,
@@ -4229,8 +4229,8 @@
},
{
"type": "CallExpression",
- "start": 2807,
- "end": 2826,
+ "start": 2816,
+ "end": 2835,
"loc": {
"start": {
"line": 88,
@@ -4243,8 +4243,8 @@
},
"callee": {
"type": "Identifier",
- "start": 2807,
- "end": 2820,
+ "start": 2816,
+ "end": 2829,
"loc": {
"start": {
"line": 88,
@@ -4261,8 +4261,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 2821,
- "end": 2825,
+ "start": 2830,
+ "end": 2834,
"loc": {
"start": {
"line": 88,
@@ -4285,8 +4285,8 @@
{
"type": "CommentLine",
"value": " Setup player array sync- once a frame",
- "start": 2830,
- "end": 2870,
+ "start": 2839,
+ "end": 2879,
"loc": {
"start": {
"line": 90,
@@ -4302,8 +4302,8 @@
},
{
"type": "ExpressionStatement",
- "start": 2872,
- "end": 2944,
+ "start": 2881,
+ "end": 2953,
"loc": {
"start": {
"line": 91,
@@ -4316,8 +4316,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 2872,
- "end": 2944,
+ "start": 2881,
+ "end": 2953,
"loc": {
"start": {
"line": 91,
@@ -4330,8 +4330,8 @@
},
"callee": {
"type": "Identifier",
- "start": 2872,
- "end": 2883,
+ "start": 2881,
+ "end": 2892,
"loc": {
"start": {
"line": 91,
@@ -4349,8 +4349,8 @@
"arguments": [
{
"type": "ArrowFunctionExpression",
- "start": 2884,
- "end": 2932,
+ "start": 2893,
+ "end": 2941,
"loc": {
"start": {
"line": 91,
@@ -4368,8 +4368,8 @@
"params": [],
"body": {
"type": "BlockStatement",
- "start": 2890,
- "end": 2932,
+ "start": 2899,
+ "end": 2941,
"loc": {
"start": {
"line": 91,
@@ -4383,8 +4383,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 2894,
- "end": 2929,
+ "start": 2903,
+ "end": 2938,
"loc": {
"start": {
"line": 92,
@@ -4397,8 +4397,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 2894,
- "end": 2929,
+ "start": 2903,
+ "end": 2938,
"loc": {
"start": {
"line": 92,
@@ -4411,8 +4411,8 @@
},
"callee": {
"type": "Identifier",
- "start": 2894,
- "end": 2903,
+ "start": 2903,
+ "end": 2912,
"loc": {
"start": {
"line": 92,
@@ -4429,8 +4429,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 2904,
- "end": 2910,
+ "start": 2913,
+ "end": 2919,
"loc": {
"start": {
"line": 92,
@@ -4446,8 +4446,8 @@
},
{
"type": "Identifier",
- "start": 2912,
- "end": 2916,
+ "start": 2921,
+ "end": 2925,
"loc": {
"start": {
"line": 92,
@@ -4463,8 +4463,8 @@
},
{
"type": "Identifier",
- "start": 2918,
- "end": 2928,
+ "start": 2927,
+ "end": 2937,
"loc": {
"start": {
"line": 92,
@@ -4487,8 +4487,8 @@
},
{
"type": "BinaryExpression",
- "start": 2934,
- "end": 2943,
+ "start": 2943,
+ "end": 2952,
"loc": {
"start": {
"line": 93,
@@ -4501,8 +4501,8 @@
},
"left": {
"type": "NumericLiteral",
- "start": 2934,
- "end": 2938,
+ "start": 2943,
+ "end": 2947,
"loc": {
"start": {
"line": 93,
@@ -4522,8 +4522,8 @@
"operator": "/",
"right": {
"type": "NumericLiteral",
- "start": 2941,
- "end": 2943,
+ "start": 2950,
+ "end": 2952,
"loc": {
"start": {
"line": 93,
@@ -4549,8 +4549,8 @@
{
"type": "CommentLine",
"value": " Setup player array sync- once a frame",
- "start": 2830,
- "end": 2870,
+ "start": 2839,
+ "end": 2879,
"loc": {
"start": {
"line": 90,
@@ -4567,8 +4567,8 @@
{
"type": "CommentLine",
"value": " Receives a chat from a player, then broadcasts it to other players",
- "start": 2947,
- "end": 3016,
+ "start": 2956,
+ "end": 3025,
"loc": {
"start": {
"line": 95,
@@ -4584,8 +4584,8 @@
},
{
"type": "ExpressionStatement",
- "start": 3018,
- "end": 3502,
+ "start": 3027,
+ "end": 3511,
"loc": {
"start": {
"line": 96,
@@ -4598,8 +4598,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 3018,
- "end": 3502,
+ "start": 3027,
+ "end": 3511,
"loc": {
"start": {
"line": 96,
@@ -4612,8 +4612,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 3018,
- "end": 3036,
+ "start": 3027,
+ "end": 3045,
"loc": {
"start": {
"line": 96,
@@ -4626,8 +4626,8 @@
},
"object": {
"type": "CallExpression",
- "start": 3018,
- "end": 3033,
+ "start": 3027,
+ "end": 3042,
"loc": {
"start": {
"line": 96,
@@ -4640,8 +4640,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 3018,
- "end": 3027,
+ "start": 3027,
+ "end": 3036,
"loc": {
"start": {
"line": 96,
@@ -4654,8 +4654,8 @@
},
"object": {
"type": "Identifier",
- "start": 3018,
- "end": 3024,
+ "start": 3027,
+ "end": 3033,
"loc": {
"start": {
"line": 96,
@@ -4672,8 +4672,8 @@
},
"property": {
"type": "Identifier",
- "start": 3025,
- "end": 3027,
+ "start": 3034,
+ "end": 3036,
"loc": {
"start": {
"line": 96,
@@ -4693,8 +4693,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 3028,
- "end": 3032,
+ "start": 3037,
+ "end": 3041,
"loc": {
"start": {
"line": 96,
@@ -4713,8 +4713,8 @@
},
"property": {
"type": "Identifier",
- "start": 3034,
- "end": 3036,
+ "start": 3043,
+ "end": 3045,
"loc": {
"start": {
"line": 96,
@@ -4734,8 +4734,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 3037,
- "end": 3049,
+ "start": 3046,
+ "end": 3058,
"loc": {
"start": {
"line": 96,
@@ -4754,8 +4754,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 3051,
- "end": 3501,
+ "start": 3060,
+ "end": 3510,
"loc": {
"start": {
"line": 96,
@@ -4773,8 +4773,8 @@
"params": [
{
"type": "Identifier",
- "start": 3051,
- "end": 3055,
+ "start": 3060,
+ "end": 3064,
"loc": {
"start": {
"line": 96,
@@ -4791,8 +4791,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 3059,
- "end": 3501,
+ "start": 3068,
+ "end": 3510,
"loc": {
"start": {
"line": 96,
@@ -4806,8 +4806,8 @@
"body": [
{
"type": "VariableDeclaration",
- "start": 3107,
- "end": 3163,
+ "start": 3116,
+ "end": 3172,
"loc": {
"start": {
"line": 98,
@@ -4821,8 +4821,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 3113,
- "end": 3163,
+ "start": 3122,
+ "end": 3172,
"loc": {
"start": {
"line": 98,
@@ -4835,8 +4835,8 @@
},
"id": {
"type": "Identifier",
- "start": 3113,
- "end": 3120,
+ "start": 3122,
+ "end": 3129,
"loc": {
"start": {
"line": 98,
@@ -4853,8 +4853,8 @@
},
"init": {
"type": "CallExpression",
- "start": 3123,
- "end": 3163,
+ "start": 3132,
+ "end": 3172,
"loc": {
"start": {
"line": 98,
@@ -4867,8 +4867,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 3123,
- "end": 3142,
+ "start": 3132,
+ "end": 3151,
"loc": {
"start": {
"line": 98,
@@ -4881,8 +4881,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 3123,
- "end": 3134,
+ "start": 3132,
+ "end": 3143,
"loc": {
"start": {
"line": 98,
@@ -4895,8 +4895,8 @@
},
"object": {
"type": "Identifier",
- "start": 3123,
- "end": 3127,
+ "start": 3132,
+ "end": 3136,
"loc": {
"start": {
"line": 98,
@@ -4912,8 +4912,8 @@
},
"property": {
"type": "Identifier",
- "start": 3128,
- "end": 3134,
+ "start": 3137,
+ "end": 3143,
"loc": {
"start": {
"line": 98,
@@ -4931,8 +4931,8 @@
},
"property": {
"type": "Identifier",
- "start": 3135,
- "end": 3142,
+ "start": 3144,
+ "end": 3151,
"loc": {
"start": {
"line": 98,
@@ -4951,8 +4951,8 @@
"arguments": [
{
"type": "RegExpLiteral",
- "start": 3143,
- "end": 3158,
+ "start": 3152,
+ "end": 3167,
"loc": {
"start": {
"line": 98,
@@ -4971,8 +4971,8 @@
},
{
"type": "StringLiteral",
- "start": 3160,
- "end": 3162,
+ "start": 3169,
+ "end": 3171,
"loc": {
"start": {
"line": 98,
@@ -4999,8 +4999,8 @@
{
"type": "CommentLine",
"value": " console.log('sender: ' + data.sender);",
- "start": 3063,
- "end": 3104,
+ "start": 3072,
+ "end": 3113,
"loc": {
"start": {
"line": 97,
@@ -5016,8 +5016,8 @@
},
{
"type": "VariableDeclaration",
- "start": 3166,
- "end": 3224,
+ "start": 3175,
+ "end": 3233,
"loc": {
"start": {
"line": 99,
@@ -5031,8 +5031,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 3172,
- "end": 3224,
+ "start": 3181,
+ "end": 3233,
"loc": {
"start": {
"line": 99,
@@ -5045,8 +5045,8 @@
},
"id": {
"type": "Identifier",
- "start": 3172,
- "end": 3180,
+ "start": 3181,
+ "end": 3189,
"loc": {
"start": {
"line": 99,
@@ -5062,8 +5062,8 @@
},
"init": {
"type": "CallExpression",
- "start": 3183,
- "end": 3224,
+ "start": 3192,
+ "end": 3233,
"loc": {
"start": {
"line": 99,
@@ -5076,8 +5076,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 3183,
- "end": 3203,
+ "start": 3192,
+ "end": 3212,
"loc": {
"start": {
"line": 99,
@@ -5090,8 +5090,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 3183,
- "end": 3195,
+ "start": 3192,
+ "end": 3204,
"loc": {
"start": {
"line": 99,
@@ -5104,8 +5104,8 @@
},
"object": {
"type": "Identifier",
- "start": 3183,
- "end": 3187,
+ "start": 3192,
+ "end": 3196,
"loc": {
"start": {
"line": 99,
@@ -5121,8 +5121,8 @@
},
"property": {
"type": "Identifier",
- "start": 3188,
- "end": 3195,
+ "start": 3197,
+ "end": 3204,
"loc": {
"start": {
"line": 99,
@@ -5140,8 +5140,8 @@
},
"property": {
"type": "Identifier",
- "start": 3196,
- "end": 3203,
+ "start": 3205,
+ "end": 3212,
"loc": {
"start": {
"line": 99,
@@ -5160,8 +5160,8 @@
"arguments": [
{
"type": "RegExpLiteral",
- "start": 3204,
- "end": 3219,
+ "start": 3213,
+ "end": 3228,
"loc": {
"start": {
"line": 99,
@@ -5180,8 +5180,8 @@
},
{
"type": "StringLiteral",
- "start": 3221,
- "end": 3223,
+ "start": 3230,
+ "end": 3232,
"loc": {
"start": {
"line": 99,
@@ -5206,8 +5206,8 @@
},
{
"type": "ExpressionStatement",
- "start": 3228,
- "end": 3352,
+ "start": 3237,
+ "end": 3361,
"loc": {
"start": {
"line": 101,
@@ -5220,8 +5220,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 3228,
- "end": 3352,
+ "start": 3237,
+ "end": 3361,
"loc": {
"start": {
"line": 101,
@@ -5234,8 +5234,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 3228,
- "end": 3239,
+ "start": 3237,
+ "end": 3248,
"loc": {
"start": {
"line": 101,
@@ -5248,8 +5248,8 @@
},
"object": {
"type": "Identifier",
- "start": 3228,
- "end": 3235,
+ "start": 3237,
+ "end": 3244,
"loc": {
"start": {
"line": 101,
@@ -5265,8 +5265,8 @@
},
"property": {
"type": "Identifier",
- "start": 3236,
- "end": 3239,
+ "start": 3245,
+ "end": 3248,
"loc": {
"start": {
"line": 101,
@@ -5285,8 +5285,8 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 3240,
- "end": 3351,
+ "start": 3249,
+ "end": 3360,
"loc": {
"start": {
"line": 101,
@@ -5299,8 +5299,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 3240,
- "end": 3259,
+ "start": 3249,
+ "end": 3268,
"loc": {
"start": {
"line": 101,
@@ -5313,8 +5313,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 3240,
- "end": 3254,
+ "start": 3249,
+ "end": 3263,
"loc": {
"start": {
"line": 101,
@@ -5327,8 +5327,8 @@
},
"object": {
"type": "StringLiteral",
- "start": 3240,
- "end": 3249,
+ "start": 3249,
+ "end": 3258,
"loc": {
"start": {
"line": 101,
@@ -5347,8 +5347,8 @@
},
"property": {
"type": "Identifier",
- "start": 3250,
- "end": 3254,
+ "start": 3259,
+ "end": 3263,
"loc": {
"start": {
"line": 101,
@@ -5366,8 +5366,8 @@
},
"property": {
"type": "Identifier",
- "start": 3255,
- "end": 3259,
+ "start": 3264,
+ "end": 3268,
"loc": {
"start": {
"line": 101,
@@ -5386,8 +5386,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 3262,
- "end": 3351,
+ "start": 3271,
+ "end": 3360,
"loc": {
"start": {
"line": 101,
@@ -5400,8 +5400,8 @@
},
"object": {
"type": "TemplateLiteral",
- "start": 3262,
- "end": 3343,
+ "start": 3271,
+ "end": 3352,
"loc": {
"start": {
"line": 101,
@@ -5415,8 +5415,8 @@
"expressions": [
{
"type": "CallExpression",
- "start": 3265,
- "end": 3288,
+ "start": 3274,
+ "end": 3297,
"loc": {
"start": {
"line": 101,
@@ -5429,8 +5429,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 3265,
- "end": 3286,
+ "start": 3274,
+ "end": 3295,
"loc": {
"start": {
"line": 101,
@@ -5443,8 +5443,8 @@
},
"object": {
"type": "NewExpression",
- "start": 3266,
- "end": 3276,
+ "start": 3275,
+ "end": 3285,
"loc": {
"start": {
"line": 101,
@@ -5457,8 +5457,8 @@
},
"callee": {
"type": "Identifier",
- "start": 3270,
- "end": 3274,
+ "start": 3279,
+ "end": 3283,
"loc": {
"start": {
"line": 101,
@@ -5475,13 +5475,13 @@
"arguments": [],
"extra": {
"parenthesized": true,
- "parenStart": 3265
+ "parenStart": 3274
}
},
"property": {
"type": "Identifier",
- "start": 3278,
- "end": 3286,
+ "start": 3287,
+ "end": 3295,
"loc": {
"start": {
"line": 101,
@@ -5501,8 +5501,8 @@
},
{
"type": "CallExpression",
- "start": 3292,
- "end": 3317,
+ "start": 3301,
+ "end": 3326,
"loc": {
"start": {
"line": 101,
@@ -5515,8 +5515,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 3292,
- "end": 3315,
+ "start": 3301,
+ "end": 3324,
"loc": {
"start": {
"line": 101,
@@ -5529,8 +5529,8 @@
},
"object": {
"type": "NewExpression",
- "start": 3293,
- "end": 3303,
+ "start": 3302,
+ "end": 3312,
"loc": {
"start": {
"line": 101,
@@ -5543,8 +5543,8 @@
},
"callee": {
"type": "Identifier",
- "start": 3297,
- "end": 3301,
+ "start": 3306,
+ "end": 3310,
"loc": {
"start": {
"line": 101,
@@ -5561,13 +5561,13 @@
"arguments": [],
"extra": {
"parenthesized": true,
- "parenStart": 3292
+ "parenStart": 3301
}
},
"property": {
"type": "Identifier",
- "start": 3305,
- "end": 3315,
+ "start": 3314,
+ "end": 3324,
"loc": {
"start": {
"line": 101,
@@ -5587,8 +5587,8 @@
},
{
"type": "Identifier",
- "start": 3321,
- "end": 3328,
+ "start": 3330,
+ "end": 3337,
"loc": {
"start": {
"line": 101,
@@ -5604,8 +5604,8 @@
},
{
"type": "Identifier",
- "start": 3333,
- "end": 3341,
+ "start": 3342,
+ "end": 3350,
"loc": {
"start": {
"line": 101,
@@ -5623,8 +5623,8 @@
"quasis": [
{
"type": "TemplateElement",
- "start": 3263,
- "end": 3263,
+ "start": 3272,
+ "end": 3272,
"loc": {
"start": {
"line": 101,
@@ -5643,8 +5643,8 @@
},
{
"type": "TemplateElement",
- "start": 3289,
- "end": 3290,
+ "start": 3298,
+ "end": 3299,
"loc": {
"start": {
"line": 101,
@@ -5663,8 +5663,8 @@
},
{
"type": "TemplateElement",
- "start": 3318,
- "end": 3319,
+ "start": 3327,
+ "end": 3328,
"loc": {
"start": {
"line": 101,
@@ -5683,8 +5683,8 @@
},
{
"type": "TemplateElement",
- "start": 3329,
- "end": 3331,
+ "start": 3338,
+ "end": 3340,
"loc": {
"start": {
"line": 101,
@@ -5703,8 +5703,8 @@
},
{
"type": "TemplateElement",
- "start": 3342,
- "end": 3342,
+ "start": 3351,
+ "end": 3351,
"loc": {
"start": {
"line": 101,
@@ -5725,8 +5725,8 @@
},
"property": {
"type": "Identifier",
- "start": 3344,
- "end": 3351,
+ "start": 3353,
+ "end": 3360,
"loc": {
"start": {
"line": 101,
@@ -5748,8 +5748,8 @@
},
{
"type": "ExpressionStatement",
- "start": 3356,
- "end": 3498,
+ "start": 3365,
+ "end": 3507,
"loc": {
"start": {
"line": 103,
@@ -5762,8 +5762,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 3356,
- "end": 3498,
+ "start": 3365,
+ "end": 3507,
"loc": {
"start": {
"line": 103,
@@ -5776,8 +5776,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 3356,
- "end": 3386,
+ "start": 3365,
+ "end": 3395,
"loc": {
"start": {
"line": 103,
@@ -5790,8 +5790,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 3356,
- "end": 3381,
+ "start": 3365,
+ "end": 3390,
"loc": {
"start": {
"line": 103,
@@ -5804,8 +5804,8 @@
},
"object": {
"type": "CallExpression",
- "start": 3356,
- "end": 3371,
+ "start": 3365,
+ "end": 3380,
"loc": {
"start": {
"line": 103,
@@ -5818,8 +5818,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 3356,
- "end": 3365,
+ "start": 3365,
+ "end": 3374,
"loc": {
"start": {
"line": 103,
@@ -5832,8 +5832,8 @@
},
"object": {
"type": "Identifier",
- "start": 3356,
- "end": 3362,
+ "start": 3365,
+ "end": 3371,
"loc": {
"start": {
"line": 103,
@@ -5849,8 +5849,8 @@
},
"property": {
"type": "Identifier",
- "start": 3363,
- "end": 3365,
+ "start": 3372,
+ "end": 3374,
"loc": {
"start": {
"line": 103,
@@ -5869,8 +5869,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 3366,
- "end": 3370,
+ "start": 3375,
+ "end": 3379,
"loc": {
"start": {
"line": 103,
@@ -5888,8 +5888,8 @@
},
"property": {
"type": "Identifier",
- "start": 3372,
- "end": 3381,
+ "start": 3381,
+ "end": 3390,
"loc": {
"start": {
"line": 103,
@@ -5907,8 +5907,8 @@
},
"property": {
"type": "Identifier",
- "start": 3382,
- "end": 3386,
+ "start": 3391,
+ "end": 3395,
"loc": {
"start": {
"line": 103,
@@ -5927,8 +5927,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 3387,
- "end": 3409,
+ "start": 3396,
+ "end": 3418,
"loc": {
"start": {
"line": 103,
@@ -5947,8 +5947,8 @@
},
{
"type": "ObjectExpression",
- "start": 3411,
- "end": 3497,
+ "start": 3420,
+ "end": 3506,
"loc": {
"start": {
"line": 103,
@@ -5962,8 +5962,8 @@
"properties": [
{
"type": "ObjectProperty",
- "start": 3413,
- "end": 3428,
+ "start": 3422,
+ "end": 3437,
"loc": {
"start": {
"line": 103,
@@ -5979,8 +5979,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3413,
- "end": 3419,
+ "start": 3422,
+ "end": 3428,
"loc": {
"start": {
"line": 103,
@@ -5996,8 +5996,8 @@
},
"value": {
"type": "Identifier",
- "start": 3421,
- "end": 3428,
+ "start": 3430,
+ "end": 3437,
"loc": {
"start": {
"line": 103,
@@ -6014,8 +6014,8 @@
},
{
"type": "ObjectProperty",
- "start": 3430,
- "end": 3464,
+ "start": 3439,
+ "end": 3473,
"loc": {
"start": {
"line": 103,
@@ -6031,8 +6031,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3430,
- "end": 3437,
+ "start": 3439,
+ "end": 3446,
"loc": {
"start": {
"line": 103,
@@ -6048,8 +6048,8 @@
},
"value": {
"type": "CallExpression",
- "start": 3439,
- "end": 3464,
+ "start": 3448,
+ "end": 3473,
"loc": {
"start": {
"line": 103,
@@ -6062,8 +6062,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 3439,
- "end": 3457,
+ "start": 3448,
+ "end": 3466,
"loc": {
"start": {
"line": 103,
@@ -6076,8 +6076,8 @@
},
"object": {
"type": "Identifier",
- "start": 3439,
- "end": 3447,
+ "start": 3448,
+ "end": 3456,
"loc": {
"start": {
"line": 103,
@@ -6093,8 +6093,8 @@
},
"property": {
"type": "Identifier",
- "start": 3448,
- "end": 3457,
+ "start": 3457,
+ "end": 3466,
"loc": {
"start": {
"line": 103,
@@ -6113,8 +6113,8 @@
"arguments": [
{
"type": "NumericLiteral",
- "start": 3458,
- "end": 3459,
+ "start": 3467,
+ "end": 3468,
"loc": {
"start": {
"line": 103,
@@ -6133,8 +6133,8 @@
},
{
"type": "NumericLiteral",
- "start": 3461,
- "end": 3463,
+ "start": 3470,
+ "end": 3472,
"loc": {
"start": {
"line": 103,
@@ -6156,8 +6156,8 @@
},
{
"type": "ObjectProperty",
- "start": 3466,
- "end": 3495,
+ "start": 3475,
+ "end": 3504,
"loc": {
"start": {
"line": 103,
@@ -6173,8 +6173,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3466,
- "end": 3477,
+ "start": 3475,
+ "end": 3486,
"loc": {
"start": {
"line": 103,
@@ -6190,8 +6190,8 @@
},
"value": {
"type": "MemberExpression",
- "start": 3479,
- "end": 3495,
+ "start": 3488,
+ "end": 3504,
"loc": {
"start": {
"line": 103,
@@ -6204,8 +6204,8 @@
},
"object": {
"type": "Identifier",
- "start": 3479,
- "end": 3483,
+ "start": 3488,
+ "end": 3492,
"loc": {
"start": {
"line": 103,
@@ -6221,8 +6221,8 @@
},
"property": {
"type": "Identifier",
- "start": 3484,
- "end": 3495,
+ "start": 3493,
+ "end": 3504,
"loc": {
"start": {
"line": 103,
@@ -6256,8 +6256,8 @@
{
"type": "CommentLine",
"value": " Receives a chat from a player, then broadcasts it to other players",
- "start": 2947,
- "end": 3016,
+ "start": 2956,
+ "end": 3025,
"loc": {
"start": {
"line": 95,
@@ -6274,8 +6274,8 @@
{
"type": "CommentLine",
"value": " Other player joins the socket.to(room)",
- "start": 3505,
- "end": 3546,
+ "start": 3514,
+ "end": 3555,
"loc": {
"start": {
"line": 106,
@@ -6291,8 +6291,8 @@
},
{
"type": "ExpressionStatement",
- "start": 3548,
- "end": 3909,
+ "start": 3557,
+ "end": 3918,
"loc": {
"start": {
"line": 107,
@@ -6305,8 +6305,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 3548,
- "end": 3909,
+ "start": 3557,
+ "end": 3918,
"loc": {
"start": {
"line": 107,
@@ -6319,8 +6319,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 3548,
- "end": 3566,
+ "start": 3557,
+ "end": 3575,
"loc": {
"start": {
"line": 107,
@@ -6333,8 +6333,8 @@
},
"object": {
"type": "CallExpression",
- "start": 3548,
- "end": 3563,
+ "start": 3557,
+ "end": 3572,
"loc": {
"start": {
"line": 107,
@@ -6347,8 +6347,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 3548,
- "end": 3557,
+ "start": 3557,
+ "end": 3566,
"loc": {
"start": {
"line": 107,
@@ -6361,8 +6361,8 @@
},
"object": {
"type": "Identifier",
- "start": 3548,
- "end": 3554,
+ "start": 3557,
+ "end": 3563,
"loc": {
"start": {
"line": 107,
@@ -6379,8 +6379,8 @@
},
"property": {
"type": "Identifier",
- "start": 3555,
- "end": 3557,
+ "start": 3564,
+ "end": 3566,
"loc": {
"start": {
"line": 107,
@@ -6400,8 +6400,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 3558,
- "end": 3562,
+ "start": 3567,
+ "end": 3571,
"loc": {
"start": {
"line": 107,
@@ -6420,8 +6420,8 @@
},
"property": {
"type": "Identifier",
- "start": 3564,
- "end": 3566,
+ "start": 3573,
+ "end": 3575,
"loc": {
"start": {
"line": 107,
@@ -6441,8 +6441,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 3567,
- "end": 3579,
+ "start": 3576,
+ "end": 3588,
"loc": {
"start": {
"line": 107,
@@ -6461,8 +6461,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 3581,
- "end": 3908,
+ "start": 3590,
+ "end": 3917,
"loc": {
"start": {
"line": 107,
@@ -6480,8 +6480,8 @@
"params": [
{
"type": "Identifier",
- "start": 3581,
- "end": 3585,
+ "start": 3590,
+ "end": 3594,
"loc": {
"start": {
"line": 107,
@@ -6498,8 +6498,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 3589,
- "end": 3908,
+ "start": 3598,
+ "end": 3917,
"loc": {
"start": {
"line": 107,
@@ -6513,8 +6513,8 @@
"body": [
{
"type": "VariableDeclaration",
- "start": 3637,
- "end": 3693,
+ "start": 3646,
+ "end": 3702,
"loc": {
"start": {
"line": 109,
@@ -6528,8 +6528,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 3643,
- "end": 3693,
+ "start": 3652,
+ "end": 3702,
"loc": {
"start": {
"line": 109,
@@ -6542,8 +6542,8 @@
},
"id": {
"type": "Identifier",
- "start": 3643,
- "end": 3650,
+ "start": 3652,
+ "end": 3659,
"loc": {
"start": {
"line": 109,
@@ -6560,8 +6560,8 @@
},
"init": {
"type": "CallExpression",
- "start": 3653,
- "end": 3693,
+ "start": 3662,
+ "end": 3702,
"loc": {
"start": {
"line": 109,
@@ -6574,8 +6574,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 3653,
- "end": 3672,
+ "start": 3662,
+ "end": 3681,
"loc": {
"start": {
"line": 109,
@@ -6588,8 +6588,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 3653,
- "end": 3664,
+ "start": 3662,
+ "end": 3673,
"loc": {
"start": {
"line": 109,
@@ -6602,8 +6602,8 @@
},
"object": {
"type": "Identifier",
- "start": 3653,
- "end": 3657,
+ "start": 3662,
+ "end": 3666,
"loc": {
"start": {
"line": 109,
@@ -6619,8 +6619,8 @@
},
"property": {
"type": "Identifier",
- "start": 3658,
- "end": 3664,
+ "start": 3667,
+ "end": 3673,
"loc": {
"start": {
"line": 109,
@@ -6638,8 +6638,8 @@
},
"property": {
"type": "Identifier",
- "start": 3665,
- "end": 3672,
+ "start": 3674,
+ "end": 3681,
"loc": {
"start": {
"line": 109,
@@ -6658,8 +6658,8 @@
"arguments": [
{
"type": "RegExpLiteral",
- "start": 3673,
- "end": 3688,
+ "start": 3682,
+ "end": 3697,
"loc": {
"start": {
"line": 109,
@@ -6678,8 +6678,8 @@
},
{
"type": "StringLiteral",
- "start": 3690,
- "end": 3692,
+ "start": 3699,
+ "end": 3701,
"loc": {
"start": {
"line": 109,
@@ -6706,8 +6706,8 @@
{
"type": "CommentLine",
"value": " console.log('sender: ' + data.sender);",
- "start": 3593,
- "end": 3634,
+ "start": 3602,
+ "end": 3643,
"loc": {
"start": {
"line": 108,
@@ -6723,8 +6723,8 @@
},
{
"type": "ExpressionStatement",
- "start": 3696,
- "end": 3790,
+ "start": 3705,
+ "end": 3799,
"loc": {
"start": {
"line": 110,
@@ -6737,8 +6737,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 3696,
- "end": 3790,
+ "start": 3705,
+ "end": 3799,
"loc": {
"start": {
"line": 110,
@@ -6751,8 +6751,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 3696,
- "end": 3726,
+ "start": 3705,
+ "end": 3735,
"loc": {
"start": {
"line": 110,
@@ -6765,8 +6765,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 3696,
- "end": 3721,
+ "start": 3705,
+ "end": 3730,
"loc": {
"start": {
"line": 110,
@@ -6779,8 +6779,8 @@
},
"object": {
"type": "CallExpression",
- "start": 3696,
- "end": 3711,
+ "start": 3705,
+ "end": 3720,
"loc": {
"start": {
"line": 110,
@@ -6793,8 +6793,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 3696,
- "end": 3705,
+ "start": 3705,
+ "end": 3714,
"loc": {
"start": {
"line": 110,
@@ -6807,8 +6807,8 @@
},
"object": {
"type": "Identifier",
- "start": 3696,
- "end": 3702,
+ "start": 3705,
+ "end": 3711,
"loc": {
"start": {
"line": 110,
@@ -6824,8 +6824,8 @@
},
"property": {
"type": "Identifier",
- "start": 3703,
- "end": 3705,
+ "start": 3712,
+ "end": 3714,
"loc": {
"start": {
"line": 110,
@@ -6844,8 +6844,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 3706,
- "end": 3710,
+ "start": 3715,
+ "end": 3719,
"loc": {
"start": {
"line": 110,
@@ -6863,8 +6863,8 @@
},
"property": {
"type": "Identifier",
- "start": 3712,
- "end": 3721,
+ "start": 3721,
+ "end": 3730,
"loc": {
"start": {
"line": 110,
@@ -6882,8 +6882,8 @@
},
"property": {
"type": "Identifier",
- "start": 3722,
- "end": 3726,
+ "start": 3731,
+ "end": 3735,
"loc": {
"start": {
"line": 110,
@@ -6902,8 +6902,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 3727,
- "end": 3751,
+ "start": 3736,
+ "end": 3760,
"loc": {
"start": {
"line": 110,
@@ -6922,8 +6922,8 @@
},
{
"type": "ObjectExpression",
- "start": 3753,
- "end": 3789,
+ "start": 3762,
+ "end": 3798,
"loc": {
"start": {
"line": 110,
@@ -6937,8 +6937,8 @@
"properties": [
{
"type": "ObjectProperty",
- "start": 3755,
- "end": 3770,
+ "start": 3764,
+ "end": 3779,
"loc": {
"start": {
"line": 110,
@@ -6954,8 +6954,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3755,
- "end": 3761,
+ "start": 3764,
+ "end": 3770,
"loc": {
"start": {
"line": 110,
@@ -6971,8 +6971,8 @@
},
"value": {
"type": "Identifier",
- "start": 3763,
- "end": 3770,
+ "start": 3772,
+ "end": 3779,
"loc": {
"start": {
"line": 110,
@@ -6989,8 +6989,8 @@
},
{
"type": "ObjectProperty",
- "start": 3772,
- "end": 3787,
+ "start": 3781,
+ "end": 3796,
"loc": {
"start": {
"line": 110,
@@ -7006,8 +7006,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3772,
- "end": 3776,
+ "start": 3781,
+ "end": 3785,
"loc": {
"start": {
"line": 110,
@@ -7023,8 +7023,8 @@
},
"value": {
"type": "MemberExpression",
- "start": 3778,
- "end": 3787,
+ "start": 3787,
+ "end": 3796,
"loc": {
"start": {
"line": 110,
@@ -7037,8 +7037,8 @@
},
"object": {
"type": "Identifier",
- "start": 3778,
- "end": 3782,
+ "start": 3787,
+ "end": 3791,
"loc": {
"start": {
"line": 110,
@@ -7054,8 +7054,8 @@
},
"property": {
"type": "Identifier",
- "start": 3783,
- "end": 3787,
+ "start": 3792,
+ "end": 3796,
"loc": {
"start": {
"line": 110,
@@ -7079,8 +7079,8 @@
},
{
"type": "IfStatement",
- "start": 3793,
- "end": 3905,
+ "start": 3802,
+ "end": 3914,
"loc": {
"start": {
"line": 111,
@@ -7093,8 +7093,8 @@
},
"test": {
"type": "Identifier",
- "start": 3797,
- "end": 3802,
+ "start": 3806,
+ "end": 3811,
"loc": {
"start": {
"line": 111,
@@ -7110,8 +7110,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 3804,
- "end": 3905,
+ "start": 3813,
+ "end": 3914,
"loc": {
"start": {
"line": 111,
@@ -7125,8 +7125,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 3809,
- "end": 3901,
+ "start": 3818,
+ "end": 3910,
"loc": {
"start": {
"line": 112,
@@ -7139,8 +7139,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 3809,
- "end": 3901,
+ "start": 3818,
+ "end": 3910,
"loc": {
"start": {
"line": 112,
@@ -7153,8 +7153,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 3809,
- "end": 3839,
+ "start": 3818,
+ "end": 3848,
"loc": {
"start": {
"line": 112,
@@ -7167,8 +7167,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 3809,
- "end": 3834,
+ "start": 3818,
+ "end": 3843,
"loc": {
"start": {
"line": 112,
@@ -7181,8 +7181,8 @@
},
"object": {
"type": "CallExpression",
- "start": 3809,
- "end": 3824,
+ "start": 3818,
+ "end": 3833,
"loc": {
"start": {
"line": 112,
@@ -7195,8 +7195,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 3809,
- "end": 3818,
+ "start": 3818,
+ "end": 3827,
"loc": {
"start": {
"line": 112,
@@ -7209,8 +7209,8 @@
},
"object": {
"type": "Identifier",
- "start": 3809,
- "end": 3815,
+ "start": 3818,
+ "end": 3824,
"loc": {
"start": {
"line": 112,
@@ -7226,8 +7226,8 @@
},
"property": {
"type": "Identifier",
- "start": 3816,
- "end": 3818,
+ "start": 3825,
+ "end": 3827,
"loc": {
"start": {
"line": 112,
@@ -7246,8 +7246,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 3819,
- "end": 3823,
+ "start": 3828,
+ "end": 3832,
"loc": {
"start": {
"line": 112,
@@ -7265,8 +7265,8 @@
},
"property": {
"type": "Identifier",
- "start": 3825,
- "end": 3834,
+ "start": 3834,
+ "end": 3843,
"loc": {
"start": {
"line": 112,
@@ -7284,8 +7284,8 @@
},
"property": {
"type": "Identifier",
- "start": 3835,
- "end": 3839,
+ "start": 3844,
+ "end": 3848,
"loc": {
"start": {
"line": 112,
@@ -7304,8 +7304,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 3840,
- "end": 3851,
+ "start": 3849,
+ "end": 3860,
"loc": {
"start": {
"line": 112,
@@ -7324,8 +7324,8 @@
},
{
"type": "StringLiteral",
- "start": 3853,
- "end": 3900,
+ "start": 3862,
+ "end": 3909,
"loc": {
"start": {
"line": 112,
@@ -7362,8 +7362,8 @@
{
"type": "CommentLine",
"value": " Other player joins the socket.to(room)",
- "start": 3505,
- "end": 3546,
+ "start": 3514,
+ "end": 3555,
"loc": {
"start": {
"line": 106,
@@ -7380,8 +7380,8 @@
{
"type": "CommentLine",
"value": " Broadcasts player join message",
- "start": 3912,
- "end": 3945,
+ "start": 3921,
+ "end": 3954,
"loc": {
"start": {
"line": 116,
@@ -7397,8 +7397,8 @@
},
{
"type": "ExpressionStatement",
- "start": 3948,
- "end": 4030,
+ "start": 3957,
+ "end": 4039,
"loc": {
"start": {
"line": 118,
@@ -7411,8 +7411,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 3948,
- "end": 4030,
+ "start": 3957,
+ "end": 4039,
"loc": {
"start": {
"line": 118,
@@ -7425,8 +7425,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 3948,
- "end": 3978,
+ "start": 3957,
+ "end": 3987,
"loc": {
"start": {
"line": 118,
@@ -7439,8 +7439,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 3948,
- "end": 3973,
+ "start": 3957,
+ "end": 3982,
"loc": {
"start": {
"line": 118,
@@ -7453,8 +7453,8 @@
},
"object": {
"type": "CallExpression",
- "start": 3948,
- "end": 3963,
+ "start": 3957,
+ "end": 3972,
"loc": {
"start": {
"line": 118,
@@ -7467,8 +7467,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 3948,
- "end": 3957,
+ "start": 3957,
+ "end": 3966,
"loc": {
"start": {
"line": 118,
@@ -7481,8 +7481,8 @@
},
"object": {
"type": "Identifier",
- "start": 3948,
- "end": 3954,
+ "start": 3957,
+ "end": 3963,
"loc": {
"start": {
"line": 118,
@@ -7499,8 +7499,8 @@
},
"property": {
"type": "Identifier",
- "start": 3955,
- "end": 3957,
+ "start": 3964,
+ "end": 3966,
"loc": {
"start": {
"line": 118,
@@ -7520,8 +7520,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 3958,
- "end": 3962,
+ "start": 3967,
+ "end": 3971,
"loc": {
"start": {
"line": 118,
@@ -7540,8 +7540,8 @@
},
"property": {
"type": "Identifier",
- "start": 3964,
- "end": 3973,
+ "start": 3973,
+ "end": 3982,
"loc": {
"start": {
"line": 118,
@@ -7560,8 +7560,8 @@
},
"property": {
"type": "Identifier",
- "start": 3974,
- "end": 3978,
+ "start": 3983,
+ "end": 3987,
"loc": {
"start": {
"line": 118,
@@ -7581,8 +7581,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 3979,
- "end": 4003,
+ "start": 3988,
+ "end": 4012,
"loc": {
"start": {
"line": 118,
@@ -7601,8 +7601,8 @@
},
{
"type": "ObjectExpression",
- "start": 4005,
- "end": 4029,
+ "start": 4014,
+ "end": 4038,
"loc": {
"start": {
"line": 118,
@@ -7616,8 +7616,8 @@
"properties": [
{
"type": "ObjectProperty",
- "start": 4009,
- "end": 4026,
+ "start": 4018,
+ "end": 4035,
"loc": {
"start": {
"line": 119,
@@ -7633,8 +7633,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4009,
- "end": 4015,
+ "start": 4018,
+ "end": 4024,
"loc": {
"start": {
"line": 119,
@@ -7650,8 +7650,8 @@
},
"value": {
"type": "MemberExpression",
- "start": 4017,
- "end": 4026,
+ "start": 4026,
+ "end": 4035,
"loc": {
"start": {
"line": 119,
@@ -7664,8 +7664,8 @@
},
"object": {
"type": "Identifier",
- "start": 4017,
- "end": 4023,
+ "start": 4026,
+ "end": 4032,
"loc": {
"start": {
"line": 119,
@@ -7681,8 +7681,8 @@
},
"property": {
"type": "Identifier",
- "start": 4024,
- "end": 4026,
+ "start": 4033,
+ "end": 4035,
"loc": {
"start": {
"line": 119,
@@ -7708,8 +7708,8 @@
{
"type": "CommentLine",
"value": " Broadcasts player join message",
- "start": 3912,
- "end": 3945,
+ "start": 3921,
+ "end": 3954,
"loc": {
"start": {
"line": 116,
@@ -7725,8 +7725,8 @@
},
{
"type": "IfStatement",
- "start": 4032,
- "end": 4142,
+ "start": 4041,
+ "end": 4151,
"loc": {
"start": {
"line": 121,
@@ -7739,8 +7739,8 @@
},
"test": {
"type": "Identifier",
- "start": 4036,
- "end": 4041,
+ "start": 4045,
+ "end": 4050,
"loc": {
"start": {
"line": 121,
@@ -7756,8 +7756,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 4043,
- "end": 4142,
+ "start": 4052,
+ "end": 4151,
"loc": {
"start": {
"line": 121,
@@ -7771,8 +7771,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 4047,
- "end": 4139,
+ "start": 4056,
+ "end": 4148,
"loc": {
"start": {
"line": 122,
@@ -7785,8 +7785,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 4047,
- "end": 4139,
+ "start": 4056,
+ "end": 4148,
"loc": {
"start": {
"line": 122,
@@ -7799,8 +7799,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 4047,
- "end": 4077,
+ "start": 4056,
+ "end": 4086,
"loc": {
"start": {
"line": 122,
@@ -7813,8 +7813,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4047,
- "end": 4072,
+ "start": 4056,
+ "end": 4081,
"loc": {
"start": {
"line": 122,
@@ -7827,8 +7827,8 @@
},
"object": {
"type": "CallExpression",
- "start": 4047,
- "end": 4062,
+ "start": 4056,
+ "end": 4071,
"loc": {
"start": {
"line": 122,
@@ -7841,8 +7841,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 4047,
- "end": 4056,
+ "start": 4056,
+ "end": 4065,
"loc": {
"start": {
"line": 122,
@@ -7855,8 +7855,8 @@
},
"object": {
"type": "Identifier",
- "start": 4047,
- "end": 4053,
+ "start": 4056,
+ "end": 4062,
"loc": {
"start": {
"line": 122,
@@ -7872,8 +7872,8 @@
},
"property": {
"type": "Identifier",
- "start": 4054,
- "end": 4056,
+ "start": 4063,
+ "end": 4065,
"loc": {
"start": {
"line": 122,
@@ -7892,8 +7892,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 4057,
- "end": 4061,
+ "start": 4066,
+ "end": 4070,
"loc": {
"start": {
"line": 122,
@@ -7911,8 +7911,8 @@
},
"property": {
"type": "Identifier",
- "start": 4063,
- "end": 4072,
+ "start": 4072,
+ "end": 4081,
"loc": {
"start": {
"line": 122,
@@ -7930,8 +7930,8 @@
},
"property": {
"type": "Identifier",
- "start": 4073,
- "end": 4077,
+ "start": 4082,
+ "end": 4086,
"loc": {
"start": {
"line": 122,
@@ -7950,8 +7950,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 4078,
- "end": 4089,
+ "start": 4087,
+ "end": 4098,
"loc": {
"start": {
"line": 122,
@@ -7970,8 +7970,8 @@
},
{
"type": "StringLiteral",
- "start": 4091,
- "end": 4138,
+ "start": 4100,
+ "end": 4147,
"loc": {
"start": {
"line": 122,
@@ -8000,8 +8000,8 @@
{
"type": "CommentLine",
"value": " Hides the lobby screen if the game has already started",
- "start": 4145,
- "end": 4202,
+ "start": 4154,
+ "end": 4211,
"loc": {
"start": {
"line": 125,
@@ -8017,8 +8017,8 @@
},
{
"type": "IfStatement",
- "start": 4204,
- "end": 4300,
+ "start": 4213,
+ "end": 4309,
"loc": {
"start": {
"line": 126,
@@ -8031,8 +8031,8 @@
},
"test": {
"type": "MemberExpression",
- "start": 4208,
- "end": 4227,
+ "start": 4217,
+ "end": 4236,
"loc": {
"start": {
"line": 126,
@@ -8045,8 +8045,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4208,
- "end": 4219,
+ "start": 4217,
+ "end": 4228,
"loc": {
"start": {
"line": 126,
@@ -8059,8 +8059,8 @@
},
"object": {
"type": "Identifier",
- "start": 4208,
- "end": 4213,
+ "start": 4217,
+ "end": 4222,
"loc": {
"start": {
"line": 126,
@@ -8077,8 +8077,8 @@
},
"property": {
"type": "Identifier",
- "start": 4214,
- "end": 4218,
+ "start": 4223,
+ "end": 4227,
"loc": {
"start": {
"line": 126,
@@ -8097,8 +8097,8 @@
},
"property": {
"type": "Identifier",
- "start": 4220,
- "end": 4227,
+ "start": 4229,
+ "end": 4236,
"loc": {
"start": {
"line": 126,
@@ -8117,8 +8117,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 4229,
- "end": 4300,
+ "start": 4238,
+ "end": 4309,
"loc": {
"start": {
"line": 126,
@@ -8132,8 +8132,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 4233,
- "end": 4297,
+ "start": 4242,
+ "end": 4306,
"loc": {
"start": {
"line": 127,
@@ -8146,8 +8146,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 4233,
- "end": 4297,
+ "start": 4242,
+ "end": 4306,
"loc": {
"start": {
"line": 127,
@@ -8160,8 +8160,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 4233,
- "end": 4244,
+ "start": 4242,
+ "end": 4253,
"loc": {
"start": {
"line": 127,
@@ -8174,8 +8174,8 @@
},
"object": {
"type": "Identifier",
- "start": 4233,
- "end": 4239,
+ "start": 4242,
+ "end": 4248,
"loc": {
"start": {
"line": 127,
@@ -8191,8 +8191,8 @@
},
"property": {
"type": "Identifier",
- "start": 4240,
- "end": 4244,
+ "start": 4249,
+ "end": 4253,
"loc": {
"start": {
"line": 127,
@@ -8211,8 +8211,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 4245,
- "end": 4266,
+ "start": 4254,
+ "end": 4275,
"loc": {
"start": {
"line": 127,
@@ -8231,8 +8231,8 @@
},
{
"type": "ObjectExpression",
- "start": 4268,
- "end": 4296,
+ "start": 4277,
+ "end": 4305,
"loc": {
"start": {
"line": 127,
@@ -8246,8 +8246,8 @@
"properties": [
{
"type": "ObjectProperty",
- "start": 4270,
- "end": 4294,
+ "start": 4279,
+ "end": 4303,
"loc": {
"start": {
"line": 127,
@@ -8263,8 +8263,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4270,
- "end": 4275,
+ "start": 4279,
+ "end": 4284,
"loc": {
"start": {
"line": 127,
@@ -8280,8 +8280,8 @@
},
"value": {
"type": "MemberExpression",
- "start": 4277,
- "end": 4294,
+ "start": 4286,
+ "end": 4303,
"loc": {
"start": {
"line": 127,
@@ -8294,8 +8294,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4277,
- "end": 4288,
+ "start": 4286,
+ "end": 4297,
"loc": {
"start": {
"line": 127,
@@ -8308,8 +8308,8 @@
},
"object": {
"type": "Identifier",
- "start": 4277,
- "end": 4282,
+ "start": 4286,
+ "end": 4291,
"loc": {
"start": {
"line": 127,
@@ -8325,8 +8325,8 @@
},
"property": {
"type": "Identifier",
- "start": 4283,
- "end": 4287,
+ "start": 4292,
+ "end": 4296,
"loc": {
"start": {
"line": 127,
@@ -8344,8 +8344,8 @@
},
"property": {
"type": "Identifier",
- "start": 4289,
- "end": 4294,
+ "start": 4298,
+ "end": 4303,
"loc": {
"start": {
"line": 127,
@@ -8376,8 +8376,8 @@
{
"type": "CommentLine",
"value": " Hides the lobby screen if the game has already started",
- "start": 4145,
- "end": 4202,
+ "start": 4154,
+ "end": 4211,
"loc": {
"start": {
"line": 125,
@@ -8394,8 +8394,8 @@
{
"type": "CommentBlock",
"value": "*\n * On player movement:\n * data is in format\n * - id: index of player that moved\n * - type: atoms, players, or compounds\n * - posX: new x position\n * - posY: new y position\n * - vx: x-velocity\n * - vy: y-velocity\n ",
- "start": 4303,
- "end": 4546,
+ "start": 4312,
+ "end": 4555,
"loc": {
"start": {
"line": 130,
@@ -8411,8 +8411,8 @@
},
{
"type": "ExpressionStatement",
- "start": 4548,
- "end": 4990,
+ "start": 4557,
+ "end": 4999,
"loc": {
"start": {
"line": 140,
@@ -8425,8 +8425,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 4548,
- "end": 4990,
+ "start": 4557,
+ "end": 4999,
"loc": {
"start": {
"line": 140,
@@ -8439,8 +8439,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 4548,
- "end": 4566,
+ "start": 4557,
+ "end": 4575,
"loc": {
"start": {
"line": 140,
@@ -8453,8 +8453,8 @@
},
"object": {
"type": "CallExpression",
- "start": 4548,
- "end": 4563,
+ "start": 4557,
+ "end": 4572,
"loc": {
"start": {
"line": 140,
@@ -8467,8 +8467,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 4548,
- "end": 4557,
+ "start": 4557,
+ "end": 4566,
"loc": {
"start": {
"line": 140,
@@ -8481,8 +8481,8 @@
},
"object": {
"type": "Identifier",
- "start": 4548,
- "end": 4554,
+ "start": 4557,
+ "end": 4563,
"loc": {
"start": {
"line": 140,
@@ -8499,8 +8499,8 @@
},
"property": {
"type": "Identifier",
- "start": 4555,
- "end": 4557,
+ "start": 4564,
+ "end": 4566,
"loc": {
"start": {
"line": 140,
@@ -8520,8 +8520,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 4558,
- "end": 4562,
+ "start": 4567,
+ "end": 4571,
"loc": {
"start": {
"line": 140,
@@ -8540,8 +8540,8 @@
},
"property": {
"type": "Identifier",
- "start": 4564,
- "end": 4566,
+ "start": 4573,
+ "end": 4575,
"loc": {
"start": {
"line": 140,
@@ -8561,8 +8561,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 4567,
- "end": 4573,
+ "start": 4576,
+ "end": 4582,
"loc": {
"start": {
"line": 140,
@@ -8581,8 +8581,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 4575,
- "end": 4989,
+ "start": 4584,
+ "end": 4998,
"loc": {
"start": {
"line": 140,
@@ -8600,8 +8600,8 @@
"params": [
{
"type": "Identifier",
- "start": 4575,
- "end": 4579,
+ "start": 4584,
+ "end": 4588,
"loc": {
"start": {
"line": 140,
@@ -8618,8 +8618,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 4583,
- "end": 4989,
+ "start": 4592,
+ "end": 4998,
"loc": {
"start": {
"line": 140,
@@ -8633,8 +8633,8 @@
"body": [
{
"type": "IfStatement",
- "start": 4689,
- "end": 4986,
+ "start": 4698,
+ "end": 4995,
"loc": {
"start": {
"line": 142,
@@ -8647,8 +8647,8 @@
},
"test": {
"type": "LogicalExpression",
- "start": 4693,
- "end": 4779,
+ "start": 4702,
+ "end": 4788,
"loc": {
"start": {
"line": 142,
@@ -8661,8 +8661,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 4693,
- "end": 4738,
+ "start": 4702,
+ "end": 4747,
"loc": {
"start": {
"line": 142,
@@ -8675,8 +8675,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 4693,
- "end": 4724,
+ "start": 4702,
+ "end": 4733,
"loc": {
"start": {
"line": 142,
@@ -8689,8 +8689,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4693,
- "end": 4715,
+ "start": 4702,
+ "end": 4724,
"loc": {
"start": {
"line": 142,
@@ -8703,8 +8703,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4693,
- "end": 4704,
+ "start": 4702,
+ "end": 4713,
"loc": {
"start": {
"line": 142,
@@ -8717,8 +8717,8 @@
},
"object": {
"type": "Identifier",
- "start": 4693,
- "end": 4698,
+ "start": 4702,
+ "end": 4707,
"loc": {
"start": {
"line": 142,
@@ -8735,8 +8735,8 @@
},
"property": {
"type": "Identifier",
- "start": 4699,
- "end": 4703,
+ "start": 4708,
+ "end": 4712,
"loc": {
"start": {
"line": 142,
@@ -8755,8 +8755,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 4705,
- "end": 4714,
+ "start": 4714,
+ "end": 4723,
"loc": {
"start": {
"line": 142,
@@ -8769,8 +8769,8 @@
},
"object": {
"type": "Identifier",
- "start": 4705,
- "end": 4709,
+ "start": 4714,
+ "end": 4718,
"loc": {
"start": {
"line": 142,
@@ -8786,8 +8786,8 @@
},
"property": {
"type": "Identifier",
- "start": 4710,
- "end": 4714,
+ "start": 4719,
+ "end": 4723,
"loc": {
"start": {
"line": 142,
@@ -8808,8 +8808,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 4716,
- "end": 4723,
+ "start": 4725,
+ "end": 4732,
"loc": {
"start": {
"line": 142,
@@ -8822,8 +8822,8 @@
},
"object": {
"type": "Identifier",
- "start": 4716,
- "end": 4720,
+ "start": 4725,
+ "end": 4729,
"loc": {
"start": {
"line": 142,
@@ -8839,8 +8839,8 @@
},
"property": {
"type": "Identifier",
- "start": 4721,
- "end": 4723,
+ "start": 4730,
+ "end": 4732,
"loc": {
"start": {
"line": 142,
@@ -8862,8 +8862,8 @@
"operator": "!==",
"right": {
"type": "Identifier",
- "start": 4729,
- "end": 4738,
+ "start": 4738,
+ "end": 4747,
"loc": {
"start": {
"line": 142,
@@ -8882,8 +8882,8 @@
"operator": "&&",
"right": {
"type": "UnaryExpression",
- "start": 4742,
- "end": 4779,
+ "start": 4751,
+ "end": 4788,
"loc": {
"start": {
"line": 142,
@@ -8898,8 +8898,8 @@
"prefix": true,
"argument": {
"type": "MemberExpression",
- "start": 4743,
- "end": 4779,
+ "start": 4752,
+ "end": 4788,
"loc": {
"start": {
"line": 142,
@@ -8912,8 +8912,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4743,
- "end": 4774,
+ "start": 4752,
+ "end": 4783,
"loc": {
"start": {
"line": 142,
@@ -8926,8 +8926,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4743,
- "end": 4765,
+ "start": 4752,
+ "end": 4774,
"loc": {
"start": {
"line": 142,
@@ -8940,8 +8940,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4743,
- "end": 4754,
+ "start": 4752,
+ "end": 4763,
"loc": {
"start": {
"line": 142,
@@ -8954,8 +8954,8 @@
},
"object": {
"type": "Identifier",
- "start": 4743,
- "end": 4748,
+ "start": 4752,
+ "end": 4757,
"loc": {
"start": {
"line": 142,
@@ -8971,8 +8971,8 @@
},
"property": {
"type": "Identifier",
- "start": 4749,
- "end": 4753,
+ "start": 4758,
+ "end": 4762,
"loc": {
"start": {
"line": 142,
@@ -8990,8 +8990,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 4755,
- "end": 4764,
+ "start": 4764,
+ "end": 4773,
"loc": {
"start": {
"line": 142,
@@ -9004,8 +9004,8 @@
},
"object": {
"type": "Identifier",
- "start": 4755,
- "end": 4759,
+ "start": 4764,
+ "end": 4768,
"loc": {
"start": {
"line": 142,
@@ -9021,8 +9021,8 @@
},
"property": {
"type": "Identifier",
- "start": 4760,
- "end": 4764,
+ "start": 4769,
+ "end": 4773,
"loc": {
"start": {
"line": 142,
@@ -9042,8 +9042,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 4766,
- "end": 4773,
+ "start": 4775,
+ "end": 4782,
"loc": {
"start": {
"line": 142,
@@ -9056,8 +9056,8 @@
},
"object": {
"type": "Identifier",
- "start": 4766,
- "end": 4770,
+ "start": 4775,
+ "end": 4779,
"loc": {
"start": {
"line": 142,
@@ -9073,8 +9073,8 @@
},
"property": {
"type": "Identifier",
- "start": 4771,
- "end": 4773,
+ "start": 4780,
+ "end": 4782,
"loc": {
"start": {
"line": 142,
@@ -9094,8 +9094,8 @@
},
"property": {
"type": "Identifier",
- "start": 4775,
- "end": 4779,
+ "start": 4784,
+ "end": 4788,
"loc": {
"start": {
"line": 142,
@@ -9119,8 +9119,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 4781,
- "end": 4986,
+ "start": 4790,
+ "end": 4995,
"loc": {
"start": {
"line": 142,
@@ -9134,8 +9134,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 4786,
- "end": 4834,
+ "start": 4795,
+ "end": 4843,
"loc": {
"start": {
"line": 143,
@@ -9148,8 +9148,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 4786,
- "end": 4834,
+ "start": 4795,
+ "end": 4843,
"loc": {
"start": {
"line": 143,
@@ -9163,8 +9163,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 4786,
- "end": 4822,
+ "start": 4795,
+ "end": 4831,
"loc": {
"start": {
"line": 143,
@@ -9177,8 +9177,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4786,
- "end": 4817,
+ "start": 4795,
+ "end": 4826,
"loc": {
"start": {
"line": 143,
@@ -9191,8 +9191,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4786,
- "end": 4808,
+ "start": 4795,
+ "end": 4817,
"loc": {
"start": {
"line": 143,
@@ -9205,8 +9205,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4786,
- "end": 4797,
+ "start": 4795,
+ "end": 4806,
"loc": {
"start": {
"line": 143,
@@ -9219,8 +9219,8 @@
},
"object": {
"type": "Identifier",
- "start": 4786,
- "end": 4791,
+ "start": 4795,
+ "end": 4800,
"loc": {
"start": {
"line": 143,
@@ -9236,8 +9236,8 @@
},
"property": {
"type": "Identifier",
- "start": 4792,
- "end": 4796,
+ "start": 4801,
+ "end": 4805,
"loc": {
"start": {
"line": 143,
@@ -9255,8 +9255,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 4798,
- "end": 4807,
+ "start": 4807,
+ "end": 4816,
"loc": {
"start": {
"line": 143,
@@ -9269,8 +9269,8 @@
},
"object": {
"type": "Identifier",
- "start": 4798,
- "end": 4802,
+ "start": 4807,
+ "end": 4811,
"loc": {
"start": {
"line": 143,
@@ -9286,8 +9286,8 @@
},
"property": {
"type": "Identifier",
- "start": 4803,
- "end": 4807,
+ "start": 4812,
+ "end": 4816,
"loc": {
"start": {
"line": 143,
@@ -9307,8 +9307,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 4809,
- "end": 4816,
+ "start": 4818,
+ "end": 4825,
"loc": {
"start": {
"line": 143,
@@ -9321,8 +9321,8 @@
},
"object": {
"type": "Identifier",
- "start": 4809,
- "end": 4813,
+ "start": 4818,
+ "end": 4822,
"loc": {
"start": {
"line": 143,
@@ -9338,8 +9338,8 @@
},
"property": {
"type": "Identifier",
- "start": 4814,
- "end": 4816,
+ "start": 4823,
+ "end": 4825,
"loc": {
"start": {
"line": 143,
@@ -9359,8 +9359,8 @@
},
"property": {
"type": "Identifier",
- "start": 4818,
- "end": 4822,
+ "start": 4827,
+ "end": 4831,
"loc": {
"start": {
"line": 143,
@@ -9378,8 +9378,8 @@
},
"right": {
"type": "MemberExpression",
- "start": 4825,
- "end": 4834,
+ "start": 4834,
+ "end": 4843,
"loc": {
"start": {
"line": 143,
@@ -9392,8 +9392,8 @@
},
"object": {
"type": "Identifier",
- "start": 4825,
- "end": 4829,
+ "start": 4834,
+ "end": 4838,
"loc": {
"start": {
"line": 143,
@@ -9409,8 +9409,8 @@
},
"property": {
"type": "Identifier",
- "start": 4830,
- "end": 4834,
+ "start": 4839,
+ "end": 4843,
"loc": {
"start": {
"line": 143,
@@ -9430,8 +9430,8 @@
},
{
"type": "ExpressionStatement",
- "start": 4838,
- "end": 4886,
+ "start": 4847,
+ "end": 4895,
"loc": {
"start": {
"line": 144,
@@ -9444,8 +9444,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 4838,
- "end": 4886,
+ "start": 4847,
+ "end": 4895,
"loc": {
"start": {
"line": 144,
@@ -9459,8 +9459,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 4838,
- "end": 4874,
+ "start": 4847,
+ "end": 4883,
"loc": {
"start": {
"line": 144,
@@ -9473,8 +9473,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4838,
- "end": 4869,
+ "start": 4847,
+ "end": 4878,
"loc": {
"start": {
"line": 144,
@@ -9487,8 +9487,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4838,
- "end": 4860,
+ "start": 4847,
+ "end": 4869,
"loc": {
"start": {
"line": 144,
@@ -9501,8 +9501,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4838,
- "end": 4849,
+ "start": 4847,
+ "end": 4858,
"loc": {
"start": {
"line": 144,
@@ -9515,8 +9515,8 @@
},
"object": {
"type": "Identifier",
- "start": 4838,
- "end": 4843,
+ "start": 4847,
+ "end": 4852,
"loc": {
"start": {
"line": 144,
@@ -9532,8 +9532,8 @@
},
"property": {
"type": "Identifier",
- "start": 4844,
- "end": 4848,
+ "start": 4853,
+ "end": 4857,
"loc": {
"start": {
"line": 144,
@@ -9551,8 +9551,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 4850,
- "end": 4859,
+ "start": 4859,
+ "end": 4868,
"loc": {
"start": {
"line": 144,
@@ -9565,8 +9565,8 @@
},
"object": {
"type": "Identifier",
- "start": 4850,
- "end": 4854,
+ "start": 4859,
+ "end": 4863,
"loc": {
"start": {
"line": 144,
@@ -9582,8 +9582,8 @@
},
"property": {
"type": "Identifier",
- "start": 4855,
- "end": 4859,
+ "start": 4864,
+ "end": 4868,
"loc": {
"start": {
"line": 144,
@@ -9603,8 +9603,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 4861,
- "end": 4868,
+ "start": 4870,
+ "end": 4877,
"loc": {
"start": {
"line": 144,
@@ -9617,8 +9617,8 @@
},
"object": {
"type": "Identifier",
- "start": 4861,
- "end": 4865,
+ "start": 4870,
+ "end": 4874,
"loc": {
"start": {
"line": 144,
@@ -9634,8 +9634,8 @@
},
"property": {
"type": "Identifier",
- "start": 4866,
- "end": 4868,
+ "start": 4875,
+ "end": 4877,
"loc": {
"start": {
"line": 144,
@@ -9655,8 +9655,8 @@
},
"property": {
"type": "Identifier",
- "start": 4870,
- "end": 4874,
+ "start": 4879,
+ "end": 4883,
"loc": {
"start": {
"line": 144,
@@ -9674,8 +9674,8 @@
},
"right": {
"type": "MemberExpression",
- "start": 4877,
- "end": 4886,
+ "start": 4886,
+ "end": 4895,
"loc": {
"start": {
"line": 144,
@@ -9688,8 +9688,8 @@
},
"object": {
"type": "Identifier",
- "start": 4877,
- "end": 4881,
+ "start": 4886,
+ "end": 4890,
"loc": {
"start": {
"line": 144,
@@ -9705,8 +9705,8 @@
},
"property": {
"type": "Identifier",
- "start": 4882,
- "end": 4886,
+ "start": 4891,
+ "end": 4895,
"loc": {
"start": {
"line": 144,
@@ -9726,8 +9726,8 @@
},
{
"type": "ExpressionStatement",
- "start": 4890,
- "end": 4934,
+ "start": 4899,
+ "end": 4943,
"loc": {
"start": {
"line": 145,
@@ -9740,8 +9740,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 4890,
- "end": 4934,
+ "start": 4899,
+ "end": 4943,
"loc": {
"start": {
"line": 145,
@@ -9755,8 +9755,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 4890,
- "end": 4924,
+ "start": 4899,
+ "end": 4933,
"loc": {
"start": {
"line": 145,
@@ -9769,8 +9769,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4890,
- "end": 4921,
+ "start": 4899,
+ "end": 4930,
"loc": {
"start": {
"line": 145,
@@ -9783,8 +9783,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4890,
- "end": 4912,
+ "start": 4899,
+ "end": 4921,
"loc": {
"start": {
"line": 145,
@@ -9797,8 +9797,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4890,
- "end": 4901,
+ "start": 4899,
+ "end": 4910,
"loc": {
"start": {
"line": 145,
@@ -9811,8 +9811,8 @@
},
"object": {
"type": "Identifier",
- "start": 4890,
- "end": 4895,
+ "start": 4899,
+ "end": 4904,
"loc": {
"start": {
"line": 145,
@@ -9828,8 +9828,8 @@
},
"property": {
"type": "Identifier",
- "start": 4896,
- "end": 4900,
+ "start": 4905,
+ "end": 4909,
"loc": {
"start": {
"line": 145,
@@ -9847,8 +9847,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 4902,
- "end": 4911,
+ "start": 4911,
+ "end": 4920,
"loc": {
"start": {
"line": 145,
@@ -9861,8 +9861,8 @@
},
"object": {
"type": "Identifier",
- "start": 4902,
- "end": 4906,
+ "start": 4911,
+ "end": 4915,
"loc": {
"start": {
"line": 145,
@@ -9878,8 +9878,8 @@
},
"property": {
"type": "Identifier",
- "start": 4907,
- "end": 4911,
+ "start": 4916,
+ "end": 4920,
"loc": {
"start": {
"line": 145,
@@ -9899,8 +9899,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 4913,
- "end": 4920,
+ "start": 4922,
+ "end": 4929,
"loc": {
"start": {
"line": 145,
@@ -9913,8 +9913,8 @@
},
"object": {
"type": "Identifier",
- "start": 4913,
- "end": 4917,
+ "start": 4922,
+ "end": 4926,
"loc": {
"start": {
"line": 145,
@@ -9930,8 +9930,8 @@
},
"property": {
"type": "Identifier",
- "start": 4918,
- "end": 4920,
+ "start": 4927,
+ "end": 4929,
"loc": {
"start": {
"line": 145,
@@ -9951,8 +9951,8 @@
},
"property": {
"type": "Identifier",
- "start": 4922,
- "end": 4924,
+ "start": 4931,
+ "end": 4933,
"loc": {
"start": {
"line": 145,
@@ -9970,8 +9970,8 @@
},
"right": {
"type": "MemberExpression",
- "start": 4927,
- "end": 4934,
+ "start": 4936,
+ "end": 4943,
"loc": {
"start": {
"line": 145,
@@ -9984,8 +9984,8 @@
},
"object": {
"type": "Identifier",
- "start": 4927,
- "end": 4931,
+ "start": 4936,
+ "end": 4940,
"loc": {
"start": {
"line": 145,
@@ -10001,8 +10001,8 @@
},
"property": {
"type": "Identifier",
- "start": 4932,
- "end": 4934,
+ "start": 4941,
+ "end": 4943,
"loc": {
"start": {
"line": 145,
@@ -10022,8 +10022,8 @@
},
{
"type": "ExpressionStatement",
- "start": 4938,
- "end": 4982,
+ "start": 4947,
+ "end": 4991,
"loc": {
"start": {
"line": 146,
@@ -10036,8 +10036,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 4938,
- "end": 4982,
+ "start": 4947,
+ "end": 4991,
"loc": {
"start": {
"line": 146,
@@ -10051,8 +10051,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 4938,
- "end": 4972,
+ "start": 4947,
+ "end": 4981,
"loc": {
"start": {
"line": 146,
@@ -10065,8 +10065,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4938,
- "end": 4969,
+ "start": 4947,
+ "end": 4978,
"loc": {
"start": {
"line": 146,
@@ -10079,8 +10079,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4938,
- "end": 4960,
+ "start": 4947,
+ "end": 4969,
"loc": {
"start": {
"line": 146,
@@ -10093,8 +10093,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 4938,
- "end": 4949,
+ "start": 4947,
+ "end": 4958,
"loc": {
"start": {
"line": 146,
@@ -10107,8 +10107,8 @@
},
"object": {
"type": "Identifier",
- "start": 4938,
- "end": 4943,
+ "start": 4947,
+ "end": 4952,
"loc": {
"start": {
"line": 146,
@@ -10124,8 +10124,8 @@
},
"property": {
"type": "Identifier",
- "start": 4944,
- "end": 4948,
+ "start": 4953,
+ "end": 4957,
"loc": {
"start": {
"line": 146,
@@ -10143,8 +10143,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 4950,
- "end": 4959,
+ "start": 4959,
+ "end": 4968,
"loc": {
"start": {
"line": 146,
@@ -10157,8 +10157,8 @@
},
"object": {
"type": "Identifier",
- "start": 4950,
- "end": 4954,
+ "start": 4959,
+ "end": 4963,
"loc": {
"start": {
"line": 146,
@@ -10174,8 +10174,8 @@
},
"property": {
"type": "Identifier",
- "start": 4955,
- "end": 4959,
+ "start": 4964,
+ "end": 4968,
"loc": {
"start": {
"line": 146,
@@ -10195,8 +10195,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 4961,
- "end": 4968,
+ "start": 4970,
+ "end": 4977,
"loc": {
"start": {
"line": 146,
@@ -10209,8 +10209,8 @@
},
"object": {
"type": "Identifier",
- "start": 4961,
- "end": 4965,
+ "start": 4970,
+ "end": 4974,
"loc": {
"start": {
"line": 146,
@@ -10226,8 +10226,8 @@
},
"property": {
"type": "Identifier",
- "start": 4966,
- "end": 4968,
+ "start": 4975,
+ "end": 4977,
"loc": {
"start": {
"line": 146,
@@ -10247,8 +10247,8 @@
},
"property": {
"type": "Identifier",
- "start": 4970,
- "end": 4972,
+ "start": 4979,
+ "end": 4981,
"loc": {
"start": {
"line": 146,
@@ -10266,8 +10266,8 @@
},
"right": {
"type": "MemberExpression",
- "start": 4975,
- "end": 4982,
+ "start": 4984,
+ "end": 4991,
"loc": {
"start": {
"line": 146,
@@ -10280,8 +10280,8 @@
},
"object": {
"type": "Identifier",
- "start": 4975,
- "end": 4979,
+ "start": 4984,
+ "end": 4988,
"loc": {
"start": {
"line": 146,
@@ -10297,8 +10297,8 @@
},
"property": {
"type": "Identifier",
- "start": 4980,
- "end": 4982,
+ "start": 4989,
+ "end": 4991,
"loc": {
"start": {
"line": 146,
@@ -10324,8 +10324,8 @@
{
"type": "CommentLine",
"value": " Player exists in database already because it was created serverside - no need for extra checking",
- "start": 4587,
- "end": 4686,
+ "start": 4596,
+ "end": 4695,
"loc": {
"start": {
"line": 141,
@@ -10350,8 +10350,8 @@
{
"type": "CommentBlock",
"value": "*\n * On player movement:\n * data is in format\n * - id: index of player that moved\n * - type: atoms, players, or compounds\n * - posX: new x position\n * - posY: new y position\n * - vx: x-velocity\n * - vy: y-velocity\n ",
- "start": 4303,
- "end": 4546,
+ "start": 4312,
+ "end": 4555,
"loc": {
"start": {
"line": 130,
@@ -10367,8 +10367,8 @@
},
{
"type": "ExpressionStatement",
- "start": 4993,
- "end": 5064,
+ "start": 5002,
+ "end": 5073,
"loc": {
"start": {
"line": 150,
@@ -10381,8 +10381,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 4993,
- "end": 5064,
+ "start": 5002,
+ "end": 5073,
"loc": {
"start": {
"line": 150,
@@ -10395,8 +10395,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 4993,
- "end": 5011,
+ "start": 5002,
+ "end": 5020,
"loc": {
"start": {
"line": 150,
@@ -10409,8 +10409,8 @@
},
"object": {
"type": "CallExpression",
- "start": 4993,
- "end": 5008,
+ "start": 5002,
+ "end": 5017,
"loc": {
"start": {
"line": 150,
@@ -10423,8 +10423,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 4993,
- "end": 5002,
+ "start": 5002,
+ "end": 5011,
"loc": {
"start": {
"line": 150,
@@ -10437,8 +10437,8 @@
},
"object": {
"type": "Identifier",
- "start": 4993,
- "end": 4999,
+ "start": 5002,
+ "end": 5008,
"loc": {
"start": {
"line": 150,
@@ -10454,8 +10454,8 @@
},
"property": {
"type": "Identifier",
- "start": 5000,
- "end": 5002,
+ "start": 5009,
+ "end": 5011,
"loc": {
"start": {
"line": 150,
@@ -10474,8 +10474,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 5003,
- "end": 5007,
+ "start": 5012,
+ "end": 5016,
"loc": {
"start": {
"line": 150,
@@ -10493,8 +10493,8 @@
},
"property": {
"type": "Identifier",
- "start": 5009,
- "end": 5011,
+ "start": 5018,
+ "end": 5020,
"loc": {
"start": {
"line": 150,
@@ -10513,8 +10513,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 5012,
- "end": 5020,
+ "start": 5021,
+ "end": 5029,
"loc": {
"start": {
"line": 150,
@@ -10533,8 +10533,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 5022,
- "end": 5063,
+ "start": 5031,
+ "end": 5072,
"loc": {
"start": {
"line": 150,
@@ -10552,8 +10552,8 @@
"params": [
{
"type": "Identifier",
- "start": 5022,
- "end": 5026,
+ "start": 5031,
+ "end": 5035,
"loc": {
"start": {
"line": 150,
@@ -10570,8 +10570,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 5030,
- "end": 5063,
+ "start": 5039,
+ "end": 5072,
"loc": {
"start": {
"line": 150,
@@ -10585,8 +10585,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 5034,
- "end": 5060,
+ "start": 5043,
+ "end": 5069,
"loc": {
"start": {
"line": 151,
@@ -10599,8 +10599,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 5034,
- "end": 5060,
+ "start": 5043,
+ "end": 5069,
"loc": {
"start": {
"line": 151,
@@ -10613,8 +10613,8 @@
},
"callee": {
"type": "Identifier",
- "start": 5034,
- "end": 5040,
+ "start": 5043,
+ "end": 5049,
"loc": {
"start": {
"line": 151,
@@ -10631,8 +10631,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 5041,
- "end": 5045,
+ "start": 5050,
+ "end": 5054,
"loc": {
"start": {
"line": 151,
@@ -10648,8 +10648,8 @@
},
{
"type": "Identifier",
- "start": 5047,
- "end": 5051,
+ "start": 5056,
+ "end": 5060,
"loc": {
"start": {
"line": 151,
@@ -10665,8 +10665,8 @@
},
{
"type": "Identifier",
- "start": 5053,
- "end": 5059,
+ "start": 5062,
+ "end": 5068,
"loc": {
"start": {
"line": 151,
@@ -10692,8 +10692,8 @@
},
{
"type": "ExpressionStatement",
- "start": 5067,
- "end": 5155,
+ "start": 5076,
+ "end": 5164,
"loc": {
"start": {
"line": 154,
@@ -10706,8 +10706,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 5067,
- "end": 5155,
+ "start": 5076,
+ "end": 5164,
"loc": {
"start": {
"line": 154,
@@ -10720,8 +10720,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 5067,
- "end": 5076,
+ "start": 5076,
+ "end": 5085,
"loc": {
"start": {
"line": 154,
@@ -10734,8 +10734,8 @@
},
"object": {
"type": "Identifier",
- "start": 5067,
- "end": 5073,
+ "start": 5076,
+ "end": 5082,
"loc": {
"start": {
"line": 154,
@@ -10751,8 +10751,8 @@
},
"property": {
"type": "Identifier",
- "start": 5074,
- "end": 5076,
+ "start": 5083,
+ "end": 5085,
"loc": {
"start": {
"line": 154,
@@ -10771,8 +10771,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 5077,
- "end": 5096,
+ "start": 5086,
+ "end": 5105,
"loc": {
"start": {
"line": 154,
@@ -10791,8 +10791,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 5098,
- "end": 5154,
+ "start": 5107,
+ "end": 5163,
"loc": {
"start": {
"line": 154,
@@ -10810,8 +10810,8 @@
"params": [
{
"type": "Identifier",
- "start": 5098,
- "end": 5102,
+ "start": 5107,
+ "end": 5111,
"loc": {
"start": {
"line": 154,
@@ -10828,8 +10828,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 5106,
- "end": 5154,
+ "start": 5115,
+ "end": 5163,
"loc": {
"start": {
"line": 154,
@@ -10843,8 +10843,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 5110,
- "end": 5151,
+ "start": 5119,
+ "end": 5160,
"loc": {
"start": {
"line": 155,
@@ -10857,8 +10857,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 5110,
- "end": 5151,
+ "start": 5119,
+ "end": 5160,
"loc": {
"start": {
"line": 155,
@@ -10872,8 +10872,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 5110,
- "end": 5143,
+ "start": 5119,
+ "end": 5152,
"loc": {
"start": {
"line": 155,
@@ -10886,8 +10886,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5110,
- "end": 5138,
+ "start": 5119,
+ "end": 5147,
"loc": {
"start": {
"line": 155,
@@ -10900,8 +10900,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5110,
- "end": 5129,
+ "start": 5119,
+ "end": 5138,
"loc": {
"start": {
"line": 155,
@@ -10914,8 +10914,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5110,
- "end": 5121,
+ "start": 5119,
+ "end": 5130,
"loc": {
"start": {
"line": 155,
@@ -10928,8 +10928,8 @@
},
"object": {
"type": "Identifier",
- "start": 5110,
- "end": 5115,
+ "start": 5119,
+ "end": 5124,
"loc": {
"start": {
"line": 155,
@@ -10945,8 +10945,8 @@
},
"property": {
"type": "Identifier",
- "start": 5116,
- "end": 5120,
+ "start": 5125,
+ "end": 5129,
"loc": {
"start": {
"line": 155,
@@ -10964,8 +10964,8 @@
},
"property": {
"type": "Identifier",
- "start": 5122,
- "end": 5129,
+ "start": 5131,
+ "end": 5138,
"loc": {
"start": {
"line": 155,
@@ -10983,8 +10983,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 5130,
- "end": 5137,
+ "start": 5139,
+ "end": 5146,
"loc": {
"start": {
"line": 155,
@@ -10997,8 +10997,8 @@
},
"object": {
"type": "Identifier",
- "start": 5130,
- "end": 5134,
+ "start": 5139,
+ "end": 5143,
"loc": {
"start": {
"line": 155,
@@ -11014,8 +11014,8 @@
},
"property": {
"type": "Identifier",
- "start": 5135,
- "end": 5137,
+ "start": 5144,
+ "end": 5146,
"loc": {
"start": {
"line": 155,
@@ -11035,8 +11035,8 @@
},
"property": {
"type": "Identifier",
- "start": 5139,
- "end": 5143,
+ "start": 5148,
+ "end": 5152,
"loc": {
"start": {
"line": 155,
@@ -11054,8 +11054,8 @@
},
"right": {
"type": "BooleanLiteral",
- "start": 5146,
- "end": 5151,
+ "start": 5155,
+ "end": 5160,
"loc": {
"start": {
"line": 155,
@@ -11081,8 +11081,8 @@
{
"type": "CommentLine",
"value": " A player spawned a Compound",
- "start": 5158,
- "end": 5188,
+ "start": 5167,
+ "end": 5197,
"loc": {
"start": {
"line": 158,
@@ -11098,8 +11098,8 @@
},
{
"type": "ExpressionStatement",
- "start": 5190,
- "end": 5394,
+ "start": 5199,
+ "end": 5403,
"loc": {
"start": {
"line": 159,
@@ -11112,8 +11112,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 5190,
- "end": 5394,
+ "start": 5199,
+ "end": 5403,
"loc": {
"start": {
"line": 159,
@@ -11126,8 +11126,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 5190,
- "end": 5208,
+ "start": 5199,
+ "end": 5217,
"loc": {
"start": {
"line": 159,
@@ -11140,8 +11140,8 @@
},
"object": {
"type": "CallExpression",
- "start": 5190,
- "end": 5205,
+ "start": 5199,
+ "end": 5214,
"loc": {
"start": {
"line": 159,
@@ -11154,8 +11154,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 5190,
- "end": 5199,
+ "start": 5199,
+ "end": 5208,
"loc": {
"start": {
"line": 159,
@@ -11168,8 +11168,8 @@
},
"object": {
"type": "Identifier",
- "start": 5190,
- "end": 5196,
+ "start": 5199,
+ "end": 5205,
"loc": {
"start": {
"line": 159,
@@ -11186,8 +11186,8 @@
},
"property": {
"type": "Identifier",
- "start": 5197,
- "end": 5199,
+ "start": 5206,
+ "end": 5208,
"loc": {
"start": {
"line": 159,
@@ -11207,8 +11207,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 5200,
- "end": 5204,
+ "start": 5209,
+ "end": 5213,
"loc": {
"start": {
"line": 159,
@@ -11227,8 +11227,8 @@
},
"property": {
"type": "Identifier",
- "start": 5206,
- "end": 5208,
+ "start": 5215,
+ "end": 5217,
"loc": {
"start": {
"line": 159,
@@ -11248,8 +11248,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 5209,
- "end": 5232,
+ "start": 5218,
+ "end": 5241,
"loc": {
"start": {
"line": 159,
@@ -11268,8 +11268,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 5234,
- "end": 5393,
+ "start": 5243,
+ "end": 5402,
"loc": {
"start": {
"line": 159,
@@ -11287,8 +11287,8 @@
"params": [
{
"type": "Identifier",
- "start": 5234,
- "end": 5238,
+ "start": 5243,
+ "end": 5247,
"loc": {
"start": {
"line": 159,
@@ -11305,8 +11305,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 5242,
- "end": 5393,
+ "start": 5251,
+ "end": 5402,
"loc": {
"start": {
"line": 159,
@@ -11320,8 +11320,8 @@
"body": [
{
"type": "VariableDeclaration",
- "start": 5246,
- "end": 5310,
+ "start": 5255,
+ "end": 5319,
"loc": {
"start": {
"line": 160,
@@ -11335,8 +11335,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 5250,
- "end": 5310,
+ "start": 5259,
+ "end": 5319,
"loc": {
"start": {
"line": 160,
@@ -11349,8 +11349,8 @@
},
"id": {
"type": "Identifier",
- "start": 5250,
- "end": 5261,
+ "start": 5259,
+ "end": 5270,
"loc": {
"start": {
"line": 160,
@@ -11366,8 +11366,8 @@
},
"init": {
"type": "CallExpression",
- "start": 5264,
- "end": 5310,
+ "start": 5273,
+ "end": 5319,
"loc": {
"start": {
"line": 160,
@@ -11380,8 +11380,8 @@
},
"callee": {
"type": "Identifier",
- "start": 5264,
- "end": 5278,
+ "start": 5273,
+ "end": 5287,
"loc": {
"start": {
"line": 160,
@@ -11398,8 +11398,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 5279,
- "end": 5283,
+ "start": 5288,
+ "end": 5292,
"loc": {
"start": {
"line": 160,
@@ -11415,8 +11415,8 @@
},
{
"type": "Identifier",
- "start": 5285,
- "end": 5289,
+ "start": 5294,
+ "end": 5298,
"loc": {
"start": {
"line": 160,
@@ -11432,8 +11432,8 @@
},
{
"type": "Identifier",
- "start": 5291,
- "end": 5301,
+ "start": 5300,
+ "end": 5310,
"loc": {
"start": {
"line": 160,
@@ -11449,8 +11449,8 @@
},
{
"type": "Identifier",
- "start": 5303,
- "end": 5309,
+ "start": 5312,
+ "end": 5318,
"loc": {
"start": {
"line": 160,
@@ -11472,8 +11472,8 @@
},
{
"type": "IfStatement",
- "start": 5313,
- "end": 5390,
+ "start": 5322,
+ "end": 5399,
"loc": {
"start": {
"line": 161,
@@ -11486,8 +11486,8 @@
},
"test": {
"type": "Identifier",
- "start": 5317,
- "end": 5328,
+ "start": 5326,
+ "end": 5337,
"loc": {
"start": {
"line": 161,
@@ -11503,8 +11503,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 5330,
- "end": 5390,
+ "start": 5339,
+ "end": 5399,
"loc": {
"start": {
"line": 161,
@@ -11518,8 +11518,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 5335,
- "end": 5386,
+ "start": 5344,
+ "end": 5395,
"loc": {
"start": {
"line": 162,
@@ -11532,8 +11532,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 5335,
- "end": 5386,
+ "start": 5344,
+ "end": 5395,
"loc": {
"start": {
"line": 162,
@@ -11547,8 +11547,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 5335,
- "end": 5372,
+ "start": 5344,
+ "end": 5381,
"loc": {
"start": {
"line": 162,
@@ -11561,8 +11561,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5335,
- "end": 5356,
+ "start": 5344,
+ "end": 5365,
"loc": {
"start": {
"line": 162,
@@ -11575,8 +11575,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5335,
- "end": 5346,
+ "start": 5344,
+ "end": 5355,
"loc": {
"start": {
"line": 162,
@@ -11589,8 +11589,8 @@
},
"object": {
"type": "Identifier",
- "start": 5335,
- "end": 5340,
+ "start": 5344,
+ "end": 5349,
"loc": {
"start": {
"line": 162,
@@ -11606,8 +11606,8 @@
},
"property": {
"type": "Identifier",
- "start": 5341,
- "end": 5345,
+ "start": 5350,
+ "end": 5354,
"loc": {
"start": {
"line": 162,
@@ -11625,8 +11625,8 @@
},
"property": {
"type": "Identifier",
- "start": 5347,
- "end": 5356,
+ "start": 5356,
+ "end": 5365,
"loc": {
"start": {
"line": 162,
@@ -11644,8 +11644,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 5357,
- "end": 5371,
+ "start": 5366,
+ "end": 5380,
"loc": {
"start": {
"line": 162,
@@ -11658,8 +11658,8 @@
},
"object": {
"type": "Identifier",
- "start": 5357,
- "end": 5368,
+ "start": 5366,
+ "end": 5377,
"loc": {
"start": {
"line": 162,
@@ -11675,8 +11675,8 @@
},
"property": {
"type": "Identifier",
- "start": 5369,
- "end": 5371,
+ "start": 5378,
+ "end": 5380,
"loc": {
"start": {
"line": 162,
@@ -11696,8 +11696,8 @@
},
"right": {
"type": "Identifier",
- "start": 5375,
- "end": 5386,
+ "start": 5384,
+ "end": 5395,
"loc": {
"start": {
"line": 162,
@@ -11729,8 +11729,8 @@
{
"type": "CommentLine",
"value": " A player spawned a Compound",
- "start": 5158,
- "end": 5188,
+ "start": 5167,
+ "end": 5197,
"loc": {
"start": {
"line": 158,
@@ -11746,8 +11746,8 @@
},
{
"type": "ExpressionStatement",
- "start": 5397,
- "end": 6262,
+ "start": 5406,
+ "end": 6271,
"loc": {
"start": {
"line": 166,
@@ -11760,8 +11760,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 5397,
- "end": 6262,
+ "start": 5406,
+ "end": 6271,
"loc": {
"start": {
"line": 166,
@@ -11774,8 +11774,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 5397,
- "end": 5406,
+ "start": 5406,
+ "end": 5415,
"loc": {
"start": {
"line": 166,
@@ -11788,8 +11788,8 @@
},
"object": {
"type": "Identifier",
- "start": 5397,
- "end": 5403,
+ "start": 5406,
+ "end": 5412,
"loc": {
"start": {
"line": 166,
@@ -11805,8 +11805,8 @@
},
"property": {
"type": "Identifier",
- "start": 5404,
- "end": 5406,
+ "start": 5413,
+ "end": 5415,
"loc": {
"start": {
"line": 166,
@@ -11825,8 +11825,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 5407,
- "end": 5418,
+ "start": 5416,
+ "end": 5427,
"loc": {
"start": {
"line": 166,
@@ -11845,8 +11845,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 5420,
- "end": 6261,
+ "start": 5429,
+ "end": 6270,
"loc": {
"start": {
"line": 166,
@@ -11864,8 +11864,8 @@
"params": [
{
"type": "Identifier",
- "start": 5420,
- "end": 5424,
+ "start": 5429,
+ "end": 5433,
"loc": {
"start": {
"line": 166,
@@ -11882,8 +11882,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 5428,
- "end": 6261,
+ "start": 5437,
+ "end": 6270,
"loc": {
"start": {
"line": 166,
@@ -11897,8 +11897,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 5432,
- "end": 5479,
+ "start": 5441,
+ "end": 5488,
"loc": {
"start": {
"line": 167,
@@ -11911,8 +11911,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 5432,
- "end": 5479,
+ "start": 5441,
+ "end": 5488,
"loc": {
"start": {
"line": 167,
@@ -11925,8 +11925,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 5432,
- "end": 5443,
+ "start": 5441,
+ "end": 5452,
"loc": {
"start": {
"line": 167,
@@ -11939,8 +11939,8 @@
},
"object": {
"type": "Identifier",
- "start": 5432,
- "end": 5439,
+ "start": 5441,
+ "end": 5448,
"loc": {
"start": {
"line": 167,
@@ -11956,8 +11956,8 @@
},
"property": {
"type": "Identifier",
- "start": 5440,
- "end": 5443,
+ "start": 5449,
+ "end": 5452,
"loc": {
"start": {
"line": 167,
@@ -11976,8 +11976,8 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 5444,
- "end": 5478,
+ "start": 5453,
+ "end": 5487,
"loc": {
"start": {
"line": 167,
@@ -11990,8 +11990,8 @@
},
"left": {
"type": "StringLiteral",
- "start": 5444,
- "end": 5471,
+ "start": 5453,
+ "end": 5480,
"loc": {
"start": {
"line": 167,
@@ -12011,8 +12011,8 @@
"operator": "+",
"right": {
"type": "Identifier",
- "start": 5474,
- "end": 5478,
+ "start": 5483,
+ "end": 5487,
"loc": {
"start": {
"line": 167,
@@ -12034,8 +12034,8 @@
{
"type": "CommentLine",
"value": " Make the room and teams unjoinable",
- "start": 5482,
- "end": 5519,
+ "start": 5491,
+ "end": 5528,
"loc": {
"start": {
"line": 168,
@@ -12051,8 +12051,8 @@
},
{
"type": "ForOfStatement",
- "start": 5522,
- "end": 5596,
+ "start": 5531,
+ "end": 5605,
"loc": {
"start": {
"line": 169,
@@ -12065,8 +12065,8 @@
},
"left": {
"type": "VariableDeclaration",
- "start": 5527,
- "end": 5533,
+ "start": 5536,
+ "end": 5542,
"loc": {
"start": {
"line": 169,
@@ -12080,8 +12080,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 5531,
- "end": 5533,
+ "start": 5540,
+ "end": 5542,
"loc": {
"start": {
"line": 169,
@@ -12094,8 +12094,8 @@
},
"id": {
"type": "Identifier",
- "start": 5531,
- "end": 5533,
+ "start": 5540,
+ "end": 5542,
"loc": {
"start": {
"line": 169,
@@ -12119,8 +12119,8 @@
},
"right": {
"type": "MemberExpression",
- "start": 5537,
- "end": 5554,
+ "start": 5546,
+ "end": 5563,
"loc": {
"start": {
"line": 169,
@@ -12133,8 +12133,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5537,
- "end": 5548,
+ "start": 5546,
+ "end": 5557,
"loc": {
"start": {
"line": 169,
@@ -12147,8 +12147,8 @@
},
"object": {
"type": "Identifier",
- "start": 5537,
- "end": 5542,
+ "start": 5546,
+ "end": 5551,
"loc": {
"start": {
"line": 169,
@@ -12164,8 +12164,8 @@
},
"property": {
"type": "Identifier",
- "start": 5543,
- "end": 5547,
+ "start": 5552,
+ "end": 5556,
"loc": {
"start": {
"line": 169,
@@ -12183,8 +12183,8 @@
},
"property": {
"type": "Identifier",
- "start": 5549,
- "end": 5554,
+ "start": 5558,
+ "end": 5563,
"loc": {
"start": {
"line": 169,
@@ -12202,8 +12202,8 @@
},
"body": {
"type": "BlockStatement",
- "start": 5556,
- "end": 5596,
+ "start": 5565,
+ "end": 5605,
"loc": {
"start": {
"line": 169,
@@ -12217,8 +12217,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 5561,
- "end": 5592,
+ "start": 5570,
+ "end": 5601,
"loc": {
"start": {
"line": 170,
@@ -12231,8 +12231,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 5561,
- "end": 5592,
+ "start": 5570,
+ "end": 5601,
"loc": {
"start": {
"line": 170,
@@ -12246,8 +12246,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 5561,
- "end": 5584,
+ "start": 5570,
+ "end": 5593,
"loc": {
"start": {
"line": 170,
@@ -12260,8 +12260,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5561,
- "end": 5575,
+ "start": 5570,
+ "end": 5584,
"loc": {
"start": {
"line": 170,
@@ -12274,8 +12274,8 @@
},
"object": {
"type": "Identifier",
- "start": 5561,
- "end": 5566,
+ "start": 5570,
+ "end": 5575,
"loc": {
"start": {
"line": 170,
@@ -12291,8 +12291,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 5567,
- "end": 5574,
+ "start": 5576,
+ "end": 5583,
"loc": {
"start": {
"line": 170,
@@ -12305,8 +12305,8 @@
},
"object": {
"type": "Identifier",
- "start": 5567,
- "end": 5569,
+ "start": 5576,
+ "end": 5578,
"loc": {
"start": {
"line": 170,
@@ -12322,8 +12322,8 @@
},
"property": {
"type": "Identifier",
- "start": 5570,
- "end": 5574,
+ "start": 5579,
+ "end": 5583,
"loc": {
"start": {
"line": 170,
@@ -12343,8 +12343,8 @@
},
"property": {
"type": "Identifier",
- "start": 5576,
- "end": 5584,
+ "start": 5585,
+ "end": 5593,
"loc": {
"start": {
"line": 170,
@@ -12362,8 +12362,8 @@
},
"right": {
"type": "BooleanLiteral",
- "start": 5587,
- "end": 5592,
+ "start": 5596,
+ "end": 5601,
"loc": {
"start": {
"line": 170,
@@ -12385,8 +12385,8 @@
{
"type": "CommentLine",
"value": " Make the room and teams unjoinable",
- "start": 5482,
- "end": 5519,
+ "start": 5491,
+ "end": 5528,
"loc": {
"start": {
"line": 168,
@@ -12402,8 +12402,8 @@
},
{
"type": "ExpressionStatement",
- "start": 5599,
- "end": 5627,
+ "start": 5608,
+ "end": 5636,
"loc": {
"start": {
"line": 172,
@@ -12416,8 +12416,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 5599,
- "end": 5627,
+ "start": 5608,
+ "end": 5636,
"loc": {
"start": {
"line": 172,
@@ -12431,8 +12431,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 5599,
- "end": 5619,
+ "start": 5608,
+ "end": 5628,
"loc": {
"start": {
"line": 172,
@@ -12445,8 +12445,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5599,
- "end": 5610,
+ "start": 5608,
+ "end": 5619,
"loc": {
"start": {
"line": 172,
@@ -12459,8 +12459,8 @@
},
"object": {
"type": "Identifier",
- "start": 5599,
- "end": 5604,
+ "start": 5608,
+ "end": 5613,
"loc": {
"start": {
"line": 172,
@@ -12476,8 +12476,8 @@
},
"property": {
"type": "Identifier",
- "start": 5605,
- "end": 5609,
+ "start": 5614,
+ "end": 5618,
"loc": {
"start": {
"line": 172,
@@ -12495,8 +12495,8 @@
},
"property": {
"type": "Identifier",
- "start": 5611,
- "end": 5619,
+ "start": 5620,
+ "end": 5628,
"loc": {
"start": {
"line": 172,
@@ -12514,8 +12514,8 @@
},
"right": {
"type": "BooleanLiteral",
- "start": 5622,
- "end": 5627,
+ "start": 5631,
+ "end": 5636,
"loc": {
"start": {
"line": 172,
@@ -12536,8 +12536,8 @@
{
"type": "CommentLine",
"value": " Assign nucleus teams",
- "start": 5631,
- "end": 5654,
+ "start": 5640,
+ "end": 5663,
"loc": {
"start": {
"line": 174,
@@ -12553,8 +12553,8 @@
},
{
"type": "ForInStatement",
- "start": 5657,
- "end": 6037,
+ "start": 5666,
+ "end": 6046,
"loc": {
"start": {
"line": 175,
@@ -12567,8 +12567,8 @@
},
"left": {
"type": "VariableDeclaration",
- "start": 5662,
- "end": 5670,
+ "start": 5671,
+ "end": 5679,
"loc": {
"start": {
"line": 175,
@@ -12582,8 +12582,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 5666,
- "end": 5670,
+ "start": 5675,
+ "end": 5679,
"loc": {
"start": {
"line": 175,
@@ -12596,8 +12596,8 @@
},
"id": {
"type": "Identifier",
- "start": 5666,
- "end": 5670,
+ "start": 5675,
+ "end": 5679,
"loc": {
"start": {
"line": 175,
@@ -12621,8 +12621,8 @@
},
"right": {
"type": "MemberExpression",
- "start": 5674,
- "end": 5691,
+ "start": 5683,
+ "end": 5700,
"loc": {
"start": {
"line": 175,
@@ -12635,8 +12635,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5674,
- "end": 5685,
+ "start": 5683,
+ "end": 5694,
"loc": {
"start": {
"line": 175,
@@ -12649,8 +12649,8 @@
},
"object": {
"type": "Identifier",
- "start": 5674,
- "end": 5679,
+ "start": 5683,
+ "end": 5688,
"loc": {
"start": {
"line": 175,
@@ -12666,8 +12666,8 @@
},
"property": {
"type": "Identifier",
- "start": 5680,
- "end": 5684,
+ "start": 5689,
+ "end": 5693,
"loc": {
"start": {
"line": 175,
@@ -12685,8 +12685,8 @@
},
"property": {
"type": "Identifier",
- "start": 5686,
- "end": 5691,
+ "start": 5695,
+ "end": 5700,
"loc": {
"start": {
"line": 175,
@@ -12704,8 +12704,8 @@
},
"body": {
"type": "BlockStatement",
- "start": 5693,
- "end": 6037,
+ "start": 5702,
+ "end": 6046,
"loc": {
"start": {
"line": 175,
@@ -12719,8 +12719,8 @@
"body": [
{
"type": "IfStatement",
- "start": 5698,
- "end": 6033,
+ "start": 5707,
+ "end": 6042,
"loc": {
"start": {
"line": 176,
@@ -12733,8 +12733,8 @@
},
"test": {
"type": "BinaryExpression",
- "start": 5702,
- "end": 5744,
+ "start": 5711,
+ "end": 5753,
"loc": {
"start": {
"line": 176,
@@ -12747,8 +12747,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 5702,
- "end": 5730,
+ "start": 5711,
+ "end": 5739,
"loc": {
"start": {
"line": 176,
@@ -12761,8 +12761,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5702,
- "end": 5725,
+ "start": 5711,
+ "end": 5734,
"loc": {
"start": {
"line": 176,
@@ -12775,8 +12775,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5702,
- "end": 5719,
+ "start": 5711,
+ "end": 5728,
"loc": {
"start": {
"line": 176,
@@ -12789,8 +12789,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5702,
- "end": 5713,
+ "start": 5711,
+ "end": 5722,
"loc": {
"start": {
"line": 176,
@@ -12803,8 +12803,8 @@
},
"object": {
"type": "Identifier",
- "start": 5702,
- "end": 5707,
+ "start": 5711,
+ "end": 5716,
"loc": {
"start": {
"line": 176,
@@ -12820,8 +12820,8 @@
},
"property": {
"type": "Identifier",
- "start": 5708,
- "end": 5712,
+ "start": 5717,
+ "end": 5721,
"loc": {
"start": {
"line": 176,
@@ -12839,8 +12839,8 @@
},
"property": {
"type": "Identifier",
- "start": 5714,
- "end": 5719,
+ "start": 5723,
+ "end": 5728,
"loc": {
"start": {
"line": 176,
@@ -12858,8 +12858,8 @@
},
"property": {
"type": "Identifier",
- "start": 5720,
- "end": 5724,
+ "start": 5729,
+ "end": 5733,
"loc": {
"start": {
"line": 176,
@@ -12877,8 +12877,8 @@
},
"property": {
"type": "Identifier",
- "start": 5726,
- "end": 5730,
+ "start": 5735,
+ "end": 5739,
"loc": {
"start": {
"line": 176,
@@ -12897,8 +12897,8 @@
"operator": "===",
"right": {
"type": "StringLiteral",
- "start": 5735,
- "end": 5744,
+ "start": 5744,
+ "end": 5753,
"loc": {
"start": {
"line": 176,
@@ -12918,8 +12918,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 5746,
- "end": 6033,
+ "start": 5755,
+ "end": 6042,
"loc": {
"start": {
"line": 176,
@@ -12933,8 +12933,8 @@
"body": [
{
"type": "TryStatement",
- "start": 5790,
- "end": 6028,
+ "start": 5799,
+ "end": 6037,
"loc": {
"start": {
"line": 178,
@@ -12947,8 +12947,8 @@
},
"block": {
"type": "BlockStatement",
- "start": 5794,
- "end": 5912,
+ "start": 5803,
+ "end": 5921,
"loc": {
"start": {
"line": 178,
@@ -12962,8 +12962,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 5801,
- "end": 5906,
+ "start": 5810,
+ "end": 5915,
"loc": {
"start": {
"line": 179,
@@ -12976,8 +12976,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 5801,
- "end": 5906,
+ "start": 5810,
+ "end": 5915,
"loc": {
"start": {
"line": 179,
@@ -12991,8 +12991,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 5801,
- "end": 5830,
+ "start": 5810,
+ "end": 5839,
"loc": {
"start": {
"line": 179,
@@ -13005,8 +13005,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5801,
- "end": 5824,
+ "start": 5810,
+ "end": 5833,
"loc": {
"start": {
"line": 179,
@@ -13019,8 +13019,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5801,
- "end": 5818,
+ "start": 5810,
+ "end": 5827,
"loc": {
"start": {
"line": 179,
@@ -13033,8 +13033,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5801,
- "end": 5812,
+ "start": 5810,
+ "end": 5821,
"loc": {
"start": {
"line": 179,
@@ -13047,8 +13047,8 @@
},
"object": {
"type": "Identifier",
- "start": 5801,
- "end": 5806,
+ "start": 5810,
+ "end": 5815,
"loc": {
"start": {
"line": 179,
@@ -13065,8 +13065,8 @@
},
"property": {
"type": "Identifier",
- "start": 5807,
- "end": 5811,
+ "start": 5816,
+ "end": 5820,
"loc": {
"start": {
"line": 179,
@@ -13085,8 +13085,8 @@
},
"property": {
"type": "Identifier",
- "start": 5813,
- "end": 5818,
+ "start": 5822,
+ "end": 5827,
"loc": {
"start": {
"line": 179,
@@ -13105,8 +13105,8 @@
},
"property": {
"type": "Identifier",
- "start": 5819,
- "end": 5823,
+ "start": 5828,
+ "end": 5832,
"loc": {
"start": {
"line": 179,
@@ -13125,8 +13125,8 @@
},
"property": {
"type": "Identifier",
- "start": 5825,
- "end": 5830,
+ "start": 5834,
+ "end": 5839,
"loc": {
"start": {
"line": 179,
@@ -13145,8 +13145,8 @@
},
"right": {
"type": "MemberExpression",
- "start": 5833,
- "end": 5906,
+ "start": 5842,
+ "end": 5915,
"loc": {
"start": {
"line": 179,
@@ -13159,8 +13159,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5833,
- "end": 5901,
+ "start": 5842,
+ "end": 5910,
"loc": {
"start": {
"line": 179,
@@ -13173,8 +13173,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5833,
- "end": 5850,
+ "start": 5842,
+ "end": 5859,
"loc": {
"start": {
"line": 179,
@@ -13187,8 +13187,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5833,
- "end": 5844,
+ "start": 5842,
+ "end": 5853,
"loc": {
"start": {
"line": 179,
@@ -13201,8 +13201,8 @@
},
"object": {
"type": "Identifier",
- "start": 5833,
- "end": 5838,
+ "start": 5842,
+ "end": 5847,
"loc": {
"start": {
"line": 179,
@@ -13218,8 +13218,8 @@
},
"property": {
"type": "Identifier",
- "start": 5839,
- "end": 5843,
+ "start": 5848,
+ "end": 5852,
"loc": {
"start": {
"line": 179,
@@ -13237,8 +13237,8 @@
},
"property": {
"type": "Identifier",
- "start": 5845,
- "end": 5850,
+ "start": 5854,
+ "end": 5859,
"loc": {
"start": {
"line": 179,
@@ -13256,8 +13256,8 @@
},
"property": {
"type": "CallExpression",
- "start": 5851,
- "end": 5900,
+ "start": 5860,
+ "end": 5909,
"loc": {
"start": {
"line": 179,
@@ -13270,8 +13270,8 @@
},
"callee": {
"type": "Identifier",
- "start": 5851,
- "end": 5859,
+ "start": 5860,
+ "end": 5868,
"loc": {
"start": {
"line": 179,
@@ -13288,8 +13288,8 @@
"arguments": [
{
"type": "CallExpression",
- "start": 5860,
- "end": 5899,
+ "start": 5869,
+ "end": 5908,
"loc": {
"start": {
"line": 179,
@@ -13302,8 +13302,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 5860,
- "end": 5896,
+ "start": 5869,
+ "end": 5905,
"loc": {
"start": {
"line": 179,
@@ -13316,8 +13316,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5860,
- "end": 5886,
+ "start": 5869,
+ "end": 5895,
"loc": {
"start": {
"line": 179,
@@ -13330,8 +13330,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5860,
- "end": 5883,
+ "start": 5869,
+ "end": 5892,
"loc": {
"start": {
"line": 179,
@@ -13344,8 +13344,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5860,
- "end": 5877,
+ "start": 5869,
+ "end": 5886,
"loc": {
"start": {
"line": 179,
@@ -13358,8 +13358,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 5860,
- "end": 5871,
+ "start": 5869,
+ "end": 5880,
"loc": {
"start": {
"line": 179,
@@ -13372,8 +13372,8 @@
},
"object": {
"type": "Identifier",
- "start": 5860,
- "end": 5865,
+ "start": 5869,
+ "end": 5874,
"loc": {
"start": {
"line": 179,
@@ -13389,8 +13389,8 @@
},
"property": {
"type": "Identifier",
- "start": 5866,
- "end": 5870,
+ "start": 5875,
+ "end": 5879,
"loc": {
"start": {
"line": 179,
@@ -13408,8 +13408,8 @@
},
"property": {
"type": "Identifier",
- "start": 5872,
- "end": 5877,
+ "start": 5881,
+ "end": 5886,
"loc": {
"start": {
"line": 179,
@@ -13427,8 +13427,8 @@
},
"property": {
"type": "Identifier",
- "start": 5878,
- "end": 5882,
+ "start": 5887,
+ "end": 5891,
"loc": {
"start": {
"line": 179,
@@ -13446,8 +13446,8 @@
},
"property": {
"type": "Identifier",
- "start": 5884,
- "end": 5886,
+ "start": 5893,
+ "end": 5895,
"loc": {
"start": {
"line": 179,
@@ -13465,8 +13465,8 @@
},
"property": {
"type": "Identifier",
- "start": 5887,
- "end": 5896,
+ "start": 5896,
+ "end": 5905,
"loc": {
"start": {
"line": 179,
@@ -13485,8 +13485,8 @@
"arguments": [
{
"type": "NumericLiteral",
- "start": 5897,
- "end": 5898,
+ "start": 5906,
+ "end": 5907,
"loc": {
"start": {
"line": 179,
@@ -13511,8 +13511,8 @@
},
"property": {
"type": "Identifier",
- "start": 5902,
- "end": 5906,
+ "start": 5911,
+ "end": 5915,
"loc": {
"start": {
"line": 179,
@@ -13538,8 +13538,8 @@
},
"handler": {
"type": "CatchClause",
- "start": 5917,
- "end": 6028,
+ "start": 5926,
+ "end": 6037,
"loc": {
"start": {
"line": 181,
@@ -13552,8 +13552,8 @@
},
"param": {
"type": "Identifier",
- "start": 5924,
- "end": 5925,
+ "start": 5933,
+ "end": 5934,
"loc": {
"start": {
"line": 181,
@@ -13569,8 +13569,8 @@
},
"body": {
"type": "BlockStatement",
- "start": 5927,
- "end": 6028,
+ "start": 5936,
+ "end": 6037,
"loc": {
"start": {
"line": 181,
@@ -13588,8 +13588,8 @@
{
"type": "CommentLine",
"value": " console.warn('No team exists for nucleus ' + rooms[room].tiles[tile].id.substring(1))",
- "start": 5934,
- "end": 6022,
+ "start": 5943,
+ "end": 6031,
"loc": {
"start": {
"line": 182,
@@ -13610,8 +13610,8 @@
{
"type": "CommentLine",
"value": " console.log(rooms[room].teams)",
- "start": 5752,
- "end": 5785,
+ "start": 5761,
+ "end": 5794,
"loc": {
"start": {
"line": 177,
@@ -13637,8 +13637,8 @@
{
"type": "CommentLine",
"value": " Assign nucleus teams",
- "start": 5631,
- "end": 5654,
+ "start": 5640,
+ "end": 5663,
"loc": {
"start": {
"line": 174,
@@ -13654,8 +13654,8 @@
},
{
"type": "ExpressionStatement",
- "start": 6041,
- "end": 6143,
+ "start": 6050,
+ "end": 6152,
"loc": {
"start": {
"line": 187,
@@ -13668,8 +13668,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 6041,
- "end": 6143,
+ "start": 6050,
+ "end": 6152,
"loc": {
"start": {
"line": 187,
@@ -13682,8 +13682,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 6041,
- "end": 6071,
+ "start": 6050,
+ "end": 6080,
"loc": {
"start": {
"line": 187,
@@ -13696,8 +13696,8 @@
},
"object": {
"type": "CallExpression",
- "start": 6041,
- "end": 6066,
+ "start": 6050,
+ "end": 6075,
"loc": {
"start": {
"line": 187,
@@ -13710,8 +13710,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 6041,
- "end": 6060,
+ "start": 6050,
+ "end": 6069,
"loc": {
"start": {
"line": 187,
@@ -13724,8 +13724,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6041,
- "end": 6057,
+ "start": 6050,
+ "end": 6066,
"loc": {
"start": {
"line": 187,
@@ -13738,8 +13738,8 @@
},
"object": {
"type": "Identifier",
- "start": 6041,
- "end": 6047,
+ "start": 6050,
+ "end": 6056,
"loc": {
"start": {
"line": 187,
@@ -13755,8 +13755,8 @@
},
"property": {
"type": "Identifier",
- "start": 6048,
- "end": 6057,
+ "start": 6057,
+ "end": 6066,
"loc": {
"start": {
"line": 187,
@@ -13774,8 +13774,8 @@
},
"property": {
"type": "Identifier",
- "start": 6058,
- "end": 6060,
+ "start": 6067,
+ "end": 6069,
"loc": {
"start": {
"line": 187,
@@ -13794,8 +13794,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 6061,
- "end": 6065,
+ "start": 6070,
+ "end": 6074,
"loc": {
"start": {
"line": 187,
@@ -13813,8 +13813,8 @@
},
"property": {
"type": "Identifier",
- "start": 6067,
- "end": 6071,
+ "start": 6076,
+ "end": 6080,
"loc": {
"start": {
"line": 187,
@@ -13833,8 +13833,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 6072,
- "end": 6093,
+ "start": 6081,
+ "end": 6102,
"loc": {
"start": {
"line": 187,
@@ -13853,8 +13853,8 @@
},
{
"type": "ObjectExpression",
- "start": 6095,
- "end": 6142,
+ "start": 6104,
+ "end": 6151,
"loc": {
"start": {
"line": 187,
@@ -13868,8 +13868,8 @@
"properties": [
{
"type": "ObjectProperty",
- "start": 6097,
- "end": 6114,
+ "start": 6106,
+ "end": 6123,
"loc": {
"start": {
"line": 187,
@@ -13885,8 +13885,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 6097,
- "end": 6102,
+ "start": 6106,
+ "end": 6111,
"loc": {
"start": {
"line": 187,
@@ -13902,8 +13902,8 @@
},
"value": {
"type": "MemberExpression",
- "start": 6104,
- "end": 6114,
+ "start": 6113,
+ "end": 6123,
"loc": {
"start": {
"line": 187,
@@ -13916,8 +13916,8 @@
},
"object": {
"type": "Identifier",
- "start": 6104,
- "end": 6108,
+ "start": 6113,
+ "end": 6117,
"loc": {
"start": {
"line": 187,
@@ -13933,8 +13933,8 @@
},
"property": {
"type": "Identifier",
- "start": 6109,
- "end": 6114,
+ "start": 6118,
+ "end": 6123,
"loc": {
"start": {
"line": 187,
@@ -13953,8 +13953,8 @@
},
{
"type": "ObjectProperty",
- "start": 6116,
- "end": 6140,
+ "start": 6125,
+ "end": 6149,
"loc": {
"start": {
"line": 187,
@@ -13970,8 +13970,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 6116,
- "end": 6121,
+ "start": 6125,
+ "end": 6130,
"loc": {
"start": {
"line": 187,
@@ -13987,8 +13987,8 @@
},
"value": {
"type": "MemberExpression",
- "start": 6123,
- "end": 6140,
+ "start": 6132,
+ "end": 6149,
"loc": {
"start": {
"line": 187,
@@ -14001,8 +14001,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6123,
- "end": 6134,
+ "start": 6132,
+ "end": 6143,
"loc": {
"start": {
"line": 187,
@@ -14015,8 +14015,8 @@
},
"object": {
"type": "Identifier",
- "start": 6123,
- "end": 6128,
+ "start": 6132,
+ "end": 6137,
"loc": {
"start": {
"line": 187,
@@ -14032,8 +14032,8 @@
},
"property": {
"type": "Identifier",
- "start": 6129,
- "end": 6133,
+ "start": 6138,
+ "end": 6142,
"loc": {
"start": {
"line": 187,
@@ -14051,8 +14051,8 @@
},
"property": {
"type": "Identifier",
- "start": 6135,
- "end": 6140,
+ "start": 6144,
+ "end": 6149,
"loc": {
"start": {
"line": 187,
@@ -14076,8 +14076,8 @@
},
{
"type": "ExpressionStatement",
- "start": 6146,
- "end": 6229,
+ "start": 6155,
+ "end": 6238,
"loc": {
"start": {
"line": 188,
@@ -14090,8 +14090,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 6146,
- "end": 6229,
+ "start": 6155,
+ "end": 6238,
"loc": {
"start": {
"line": 188,
@@ -14104,8 +14104,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 6146,
- "end": 6157,
+ "start": 6155,
+ "end": 6166,
"loc": {
"start": {
"line": 188,
@@ -14118,8 +14118,8 @@
},
"object": {
"type": "Identifier",
- "start": 6146,
- "end": 6152,
+ "start": 6155,
+ "end": 6161,
"loc": {
"start": {
"line": 188,
@@ -14135,8 +14135,8 @@
},
"property": {
"type": "Identifier",
- "start": 6153,
- "end": 6157,
+ "start": 6162,
+ "end": 6166,
"loc": {
"start": {
"line": 188,
@@ -14155,8 +14155,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 6158,
- "end": 6179,
+ "start": 6167,
+ "end": 6188,
"loc": {
"start": {
"line": 188,
@@ -14175,8 +14175,8 @@
},
{
"type": "ObjectExpression",
- "start": 6181,
- "end": 6228,
+ "start": 6190,
+ "end": 6237,
"loc": {
"start": {
"line": 188,
@@ -14190,8 +14190,8 @@
"properties": [
{
"type": "ObjectProperty",
- "start": 6183,
- "end": 6200,
+ "start": 6192,
+ "end": 6209,
"loc": {
"start": {
"line": 188,
@@ -14207,8 +14207,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 6183,
- "end": 6188,
+ "start": 6192,
+ "end": 6197,
"loc": {
"start": {
"line": 188,
@@ -14224,8 +14224,8 @@
},
"value": {
"type": "MemberExpression",
- "start": 6190,
- "end": 6200,
+ "start": 6199,
+ "end": 6209,
"loc": {
"start": {
"line": 188,
@@ -14238,8 +14238,8 @@
},
"object": {
"type": "Identifier",
- "start": 6190,
- "end": 6194,
+ "start": 6199,
+ "end": 6203,
"loc": {
"start": {
"line": 188,
@@ -14255,8 +14255,8 @@
},
"property": {
"type": "Identifier",
- "start": 6195,
- "end": 6200,
+ "start": 6204,
+ "end": 6209,
"loc": {
"start": {
"line": 188,
@@ -14275,8 +14275,8 @@
},
{
"type": "ObjectProperty",
- "start": 6202,
- "end": 6226,
+ "start": 6211,
+ "end": 6235,
"loc": {
"start": {
"line": 188,
@@ -14292,8 +14292,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 6202,
- "end": 6207,
+ "start": 6211,
+ "end": 6216,
"loc": {
"start": {
"line": 188,
@@ -14309,8 +14309,8 @@
},
"value": {
"type": "MemberExpression",
- "start": 6209,
- "end": 6226,
+ "start": 6218,
+ "end": 6235,
"loc": {
"start": {
"line": 188,
@@ -14323,8 +14323,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6209,
- "end": 6220,
+ "start": 6218,
+ "end": 6229,
"loc": {
"start": {
"line": 188,
@@ -14337,8 +14337,8 @@
},
"object": {
"type": "Identifier",
- "start": 6209,
- "end": 6214,
+ "start": 6218,
+ "end": 6223,
"loc": {
"start": {
"line": 188,
@@ -14354,8 +14354,8 @@
},
"property": {
"type": "Identifier",
- "start": 6215,
- "end": 6219,
+ "start": 6224,
+ "end": 6228,
"loc": {
"start": {
"line": 188,
@@ -14373,8 +14373,8 @@
},
"property": {
"type": "Identifier",
- "start": 6221,
- "end": 6226,
+ "start": 6230,
+ "end": 6235,
"loc": {
"start": {
"line": 188,
@@ -14398,8 +14398,8 @@
},
{
"type": "ExpressionStatement",
- "start": 6232,
- "end": 6258,
+ "start": 6241,
+ "end": 6267,
"loc": {
"start": {
"line": 189,
@@ -14412,8 +14412,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 6232,
- "end": 6258,
+ "start": 6241,
+ "end": 6267,
"loc": {
"start": {
"line": 189,
@@ -14427,8 +14427,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 6232,
- "end": 6251,
+ "start": 6241,
+ "end": 6260,
"loc": {
"start": {
"line": 189,
@@ -14441,8 +14441,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6232,
- "end": 6243,
+ "start": 6241,
+ "end": 6252,
"loc": {
"start": {
"line": 189,
@@ -14455,8 +14455,8 @@
},
"object": {
"type": "Identifier",
- "start": 6232,
- "end": 6237,
+ "start": 6241,
+ "end": 6246,
"loc": {
"start": {
"line": 189,
@@ -14472,8 +14472,8 @@
},
"property": {
"type": "Identifier",
- "start": 6238,
- "end": 6242,
+ "start": 6247,
+ "end": 6251,
"loc": {
"start": {
"line": 189,
@@ -14491,8 +14491,8 @@
},
"property": {
"type": "Identifier",
- "start": 6244,
- "end": 6251,
+ "start": 6253,
+ "end": 6260,
"loc": {
"start": {
"line": 189,
@@ -14510,8 +14510,8 @@
},
"right": {
"type": "BooleanLiteral",
- "start": 6254,
- "end": 6258,
+ "start": 6263,
+ "end": 6267,
"loc": {
"start": {
"line": 189,
@@ -14537,8 +14537,8 @@
{
"type": "CommentLine",
"value": " Testing purposes- give yourself 5000 of each atom",
- "start": 6265,
- "end": 6317,
+ "start": 6274,
+ "end": 6326,
"loc": {
"start": {
"line": 192,
@@ -14554,8 +14554,8 @@
},
{
"type": "ExpressionStatement",
- "start": 6319,
- "end": 6570,
+ "start": 6328,
+ "end": 6579,
"loc": {
"start": {
"line": 193,
@@ -14568,8 +14568,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 6319,
- "end": 6570,
+ "start": 6328,
+ "end": 6579,
"loc": {
"start": {
"line": 193,
@@ -14582,8 +14582,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 6319,
- "end": 6328,
+ "start": 6328,
+ "end": 6337,
"loc": {
"start": {
"line": 193,
@@ -14596,8 +14596,8 @@
},
"object": {
"type": "Identifier",
- "start": 6319,
- "end": 6325,
+ "start": 6328,
+ "end": 6334,
"loc": {
"start": {
"line": 193,
@@ -14614,8 +14614,8 @@
},
"property": {
"type": "Identifier",
- "start": 6326,
- "end": 6328,
+ "start": 6335,
+ "end": 6337,
"loc": {
"start": {
"line": 193,
@@ -14635,8 +14635,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 6329,
- "end": 6342,
+ "start": 6338,
+ "end": 6351,
"loc": {
"start": {
"line": 193,
@@ -14655,8 +14655,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 6344,
- "end": 6569,
+ "start": 6353,
+ "end": 6578,
"loc": {
"start": {
"line": 193,
@@ -14674,8 +14674,8 @@
"params": [
{
"type": "Identifier",
- "start": 6345,
- "end": 6349,
+ "start": 6354,
+ "end": 6358,
"loc": {
"start": {
"line": 193,
@@ -14692,8 +14692,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 6354,
- "end": 6569,
+ "start": 6363,
+ "end": 6578,
"loc": {
"start": {
"line": 193,
@@ -14707,8 +14707,8 @@
"body": [
{
"type": "IfStatement",
- "start": 6358,
- "end": 6566,
+ "start": 6367,
+ "end": 6575,
"loc": {
"start": {
"line": 194,
@@ -14721,8 +14721,8 @@
},
"test": {
"type": "MemberExpression",
- "start": 6362,
- "end": 6374,
+ "start": 6371,
+ "end": 6383,
"loc": {
"start": {
"line": 194,
@@ -14735,8 +14735,8 @@
},
"object": {
"type": "Identifier",
- "start": 6362,
- "end": 6368,
+ "start": 6371,
+ "end": 6377,
"loc": {
"start": {
"line": 194,
@@ -14752,8 +14752,8 @@
},
"property": {
"type": "Identifier",
- "start": 6369,
- "end": 6374,
+ "start": 6378,
+ "end": 6383,
"loc": {
"start": {
"line": 194,
@@ -14771,8 +14771,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 6376,
- "end": 6566,
+ "start": 6385,
+ "end": 6575,
"loc": {
"start": {
"line": 194,
@@ -14786,8 +14786,8 @@
"body": [
{
"type": "ForInStatement",
- "start": 6442,
- "end": 6562,
+ "start": 6451,
+ "end": 6571,
"loc": {
"start": {
"line": 196,
@@ -14800,8 +14800,8 @@
},
"left": {
"type": "VariableDeclaration",
- "start": 6447,
- "end": 6452,
+ "start": 6456,
+ "end": 6461,
"loc": {
"start": {
"line": 196,
@@ -14815,8 +14815,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 6451,
- "end": 6452,
+ "start": 6460,
+ "end": 6461,
"loc": {
"start": {
"line": 196,
@@ -14829,8 +14829,8 @@
},
"id": {
"type": "Identifier",
- "start": 6451,
- "end": 6452,
+ "start": 6460,
+ "end": 6461,
"loc": {
"start": {
"line": 196,
@@ -14854,8 +14854,8 @@
},
"right": {
"type": "MemberExpression",
- "start": 6456,
- "end": 6497,
+ "start": 6465,
+ "end": 6506,
"loc": {
"start": {
"line": 196,
@@ -14868,8 +14868,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6456,
- "end": 6488,
+ "start": 6465,
+ "end": 6497,
"loc": {
"start": {
"line": 196,
@@ -14882,8 +14882,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6456,
- "end": 6475,
+ "start": 6465,
+ "end": 6484,
"loc": {
"start": {
"line": 196,
@@ -14896,8 +14896,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6456,
- "end": 6467,
+ "start": 6465,
+ "end": 6476,
"loc": {
"start": {
"line": 196,
@@ -14910,8 +14910,8 @@
},
"object": {
"type": "Identifier",
- "start": 6456,
- "end": 6461,
+ "start": 6465,
+ "end": 6470,
"loc": {
"start": {
"line": 196,
@@ -14927,8 +14927,8 @@
},
"property": {
"type": "Identifier",
- "start": 6462,
- "end": 6466,
+ "start": 6471,
+ "end": 6475,
"loc": {
"start": {
"line": 196,
@@ -14946,8 +14946,8 @@
},
"property": {
"type": "Identifier",
- "start": 6468,
- "end": 6475,
+ "start": 6477,
+ "end": 6484,
"loc": {
"start": {
"line": 196,
@@ -14965,8 +14965,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 6476,
- "end": 6487,
+ "start": 6485,
+ "end": 6496,
"loc": {
"start": {
"line": 196,
@@ -14979,8 +14979,8 @@
},
"object": {
"type": "Identifier",
- "start": 6476,
- "end": 6480,
+ "start": 6485,
+ "end": 6489,
"loc": {
"start": {
"line": 196,
@@ -14996,8 +14996,8 @@
},
"property": {
"type": "Identifier",
- "start": 6481,
- "end": 6487,
+ "start": 6490,
+ "end": 6496,
"loc": {
"start": {
"line": 196,
@@ -15017,8 +15017,8 @@
},
"property": {
"type": "Identifier",
- "start": 6489,
- "end": 6497,
+ "start": 6498,
+ "end": 6506,
"loc": {
"start": {
"line": 196,
@@ -15036,8 +15036,8 @@
},
"body": {
"type": "BlockStatement",
- "start": 6499,
- "end": 6562,
+ "start": 6508,
+ "end": 6571,
"loc": {
"start": {
"line": 196,
@@ -15051,8 +15051,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 6505,
- "end": 6557,
+ "start": 6514,
+ "end": 6566,
"loc": {
"start": {
"line": 197,
@@ -15065,8 +15065,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 6505,
- "end": 6557,
+ "start": 6514,
+ "end": 6566,
"loc": {
"start": {
"line": 197,
@@ -15080,8 +15080,8 @@
"operator": "+=",
"left": {
"type": "MemberExpression",
- "start": 6505,
- "end": 6549,
+ "start": 6514,
+ "end": 6558,
"loc": {
"start": {
"line": 197,
@@ -15094,8 +15094,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6505,
- "end": 6546,
+ "start": 6514,
+ "end": 6555,
"loc": {
"start": {
"line": 197,
@@ -15108,8 +15108,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6505,
- "end": 6537,
+ "start": 6514,
+ "end": 6546,
"loc": {
"start": {
"line": 197,
@@ -15122,8 +15122,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6505,
- "end": 6524,
+ "start": 6514,
+ "end": 6533,
"loc": {
"start": {
"line": 197,
@@ -15136,8 +15136,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6505,
- "end": 6516,
+ "start": 6514,
+ "end": 6525,
"loc": {
"start": {
"line": 197,
@@ -15150,8 +15150,8 @@
},
"object": {
"type": "Identifier",
- "start": 6505,
- "end": 6510,
+ "start": 6514,
+ "end": 6519,
"loc": {
"start": {
"line": 197,
@@ -15167,8 +15167,8 @@
},
"property": {
"type": "Identifier",
- "start": 6511,
- "end": 6515,
+ "start": 6520,
+ "end": 6524,
"loc": {
"start": {
"line": 197,
@@ -15186,8 +15186,8 @@
},
"property": {
"type": "Identifier",
- "start": 6517,
- "end": 6524,
+ "start": 6526,
+ "end": 6533,
"loc": {
"start": {
"line": 197,
@@ -15205,8 +15205,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 6525,
- "end": 6536,
+ "start": 6534,
+ "end": 6545,
"loc": {
"start": {
"line": 197,
@@ -15219,8 +15219,8 @@
},
"object": {
"type": "Identifier",
- "start": 6525,
- "end": 6529,
+ "start": 6534,
+ "end": 6538,
"loc": {
"start": {
"line": 197,
@@ -15236,8 +15236,8 @@
},
"property": {
"type": "Identifier",
- "start": 6530,
- "end": 6536,
+ "start": 6539,
+ "end": 6545,
"loc": {
"start": {
"line": 197,
@@ -15257,8 +15257,8 @@
},
"property": {
"type": "Identifier",
- "start": 6538,
- "end": 6546,
+ "start": 6547,
+ "end": 6555,
"loc": {
"start": {
"line": 197,
@@ -15276,8 +15276,8 @@
},
"property": {
"type": "Identifier",
- "start": 6547,
- "end": 6548,
+ "start": 6556,
+ "end": 6557,
"loc": {
"start": {
"line": 197,
@@ -15295,8 +15295,8 @@
},
"right": {
"type": "NumericLiteral",
- "start": 6553,
- "end": 6557,
+ "start": 6562,
+ "end": 6566,
"loc": {
"start": {
"line": 197,
@@ -15322,8 +15322,8 @@
{
"type": "CommentLine",
"value": " console.log(rooms[room].players[data.player].atomList)",
- "start": 6381,
- "end": 6438,
+ "start": 6390,
+ "end": 6447,
"loc": {
"start": {
"line": 195,
@@ -15353,8 +15353,8 @@
{
"type": "CommentLine",
"value": " Testing purposes- give yourself 5000 of each atom",
- "start": 6265,
- "end": 6317,
+ "start": 6274,
+ "end": 6326,
"loc": {
"start": {
"line": 192,
@@ -15370,8 +15370,8 @@
},
{
"type": "ExpressionStatement",
- "start": 6573,
- "end": 7601,
+ "start": 6582,
+ "end": 7610,
"loc": {
"start": {
"line": 202,
@@ -15384,8 +15384,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 6573,
- "end": 7601,
+ "start": 6582,
+ "end": 7610,
"loc": {
"start": {
"line": 202,
@@ -15398,8 +15398,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 6573,
- "end": 6582,
+ "start": 6582,
+ "end": 6591,
"loc": {
"start": {
"line": 202,
@@ -15412,8 +15412,8 @@
},
"object": {
"type": "Identifier",
- "start": 6573,
- "end": 6579,
+ "start": 6582,
+ "end": 6588,
"loc": {
"start": {
"line": 202,
@@ -15429,8 +15429,8 @@
},
"property": {
"type": "Identifier",
- "start": 6580,
- "end": 6582,
+ "start": 6589,
+ "end": 6591,
"loc": {
"start": {
"line": 202,
@@ -15449,8 +15449,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 6583,
- "end": 6595,
+ "start": 6592,
+ "end": 6604,
"loc": {
"start": {
"line": 202,
@@ -15469,8 +15469,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 6597,
- "end": 7600,
+ "start": 6606,
+ "end": 7609,
"loc": {
"start": {
"line": 202,
@@ -15488,8 +15488,8 @@
"params": [
{
"type": "Identifier",
- "start": 6597,
- "end": 6601,
+ "start": 6606,
+ "end": 6610,
"loc": {
"start": {
"line": 202,
@@ -15506,8 +15506,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 6605,
- "end": 7600,
+ "start": 6614,
+ "end": 7609,
"loc": {
"start": {
"line": 202,
@@ -15521,8 +15521,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 6609,
- "end": 6759,
+ "start": 6618,
+ "end": 6768,
"loc": {
"start": {
"line": 203,
@@ -15535,8 +15535,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 6609,
- "end": 6759,
+ "start": 6618,
+ "end": 6768,
"loc": {
"start": {
"line": 203,
@@ -15549,8 +15549,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 6609,
- "end": 6620,
+ "start": 6618,
+ "end": 6629,
"loc": {
"start": {
"line": 203,
@@ -15563,8 +15563,8 @@
},
"object": {
"type": "Identifier",
- "start": 6609,
- "end": 6616,
+ "start": 6618,
+ "end": 6625,
"loc": {
"start": {
"line": 203,
@@ -15580,8 +15580,8 @@
},
"property": {
"type": "Identifier",
- "start": 6617,
- "end": 6620,
+ "start": 6626,
+ "end": 6629,
"loc": {
"start": {
"line": 203,
@@ -15600,8 +15600,8 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 6621,
- "end": 6758,
+ "start": 6630,
+ "end": 6767,
"loc": {
"start": {
"line": 203,
@@ -15614,8 +15614,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 6621,
- "end": 6751,
+ "start": 6630,
+ "end": 6760,
"loc": {
"start": {
"line": 203,
@@ -15628,8 +15628,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 6621,
- "end": 6744,
+ "start": 6630,
+ "end": 6753,
"loc": {
"start": {
"line": 203,
@@ -15642,8 +15642,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 6621,
- "end": 6698,
+ "start": 6630,
+ "end": 6707,
"loc": {
"start": {
"line": 203,
@@ -15656,8 +15656,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 6621,
- "end": 6672,
+ "start": 6630,
+ "end": 6681,
"loc": {
"start": {
"line": 203,
@@ -15670,8 +15670,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 6621,
- "end": 6641,
+ "start": 6630,
+ "end": 6650,
"loc": {
"start": {
"line": 203,
@@ -15684,8 +15684,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6621,
- "end": 6636,
+ "start": 6630,
+ "end": 6645,
"loc": {
"start": {
"line": 203,
@@ -15698,8 +15698,8 @@
},
"object": {
"type": "StringLiteral",
- "start": 6621,
- "end": 6631,
+ "start": 6630,
+ "end": 6640,
"loc": {
"start": {
"line": 203,
@@ -15718,8 +15718,8 @@
},
"property": {
"type": "Identifier",
- "start": 6632,
- "end": 6636,
+ "start": 6641,
+ "end": 6645,
"loc": {
"start": {
"line": 203,
@@ -15737,8 +15737,8 @@
},
"property": {
"type": "Identifier",
- "start": 6637,
- "end": 6641,
+ "start": 6646,
+ "end": 6650,
"loc": {
"start": {
"line": 203,
@@ -15757,8 +15757,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 6644,
- "end": 6672,
+ "start": 6653,
+ "end": 6681,
"loc": {
"start": {
"line": 203,
@@ -15771,8 +15771,8 @@
},
"object": {
"type": "StringLiteral",
- "start": 6644,
- "end": 6668,
+ "start": 6653,
+ "end": 6677,
"loc": {
"start": {
"line": 203,
@@ -15791,8 +15791,8 @@
},
"property": {
"type": "Identifier",
- "start": 6669,
- "end": 6672,
+ "start": 6678,
+ "end": 6681,
"loc": {
"start": {
"line": 203,
@@ -15812,8 +15812,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 6675,
- "end": 6698,
+ "start": 6684,
+ "end": 6707,
"loc": {
"start": {
"line": 203,
@@ -15826,8 +15826,8 @@
},
"object": {
"type": "BinaryExpression",
- "start": 6676,
- "end": 6690,
+ "start": 6685,
+ "end": 6699,
"loc": {
"start": {
"line": 203,
@@ -15840,8 +15840,8 @@
},
"left": {
"type": "StringLiteral",
- "start": 6676,
- "end": 6678,
+ "start": 6685,
+ "end": 6687,
"loc": {
"start": {
"line": 203,
@@ -15861,8 +15861,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 6681,
- "end": 6690,
+ "start": 6690,
+ "end": 6699,
"loc": {
"start": {
"line": 203,
@@ -15875,8 +15875,8 @@
},
"object": {
"type": "Identifier",
- "start": 6681,
- "end": 6687,
+ "start": 6690,
+ "end": 6696,
"loc": {
"start": {
"line": 203,
@@ -15892,8 +15892,8 @@
},
"property": {
"type": "Identifier",
- "start": 6688,
- "end": 6690,
+ "start": 6697,
+ "end": 6699,
"loc": {
"start": {
"line": 203,
@@ -15911,13 +15911,13 @@
},
"extra": {
"parenthesized": true,
- "parenStart": 6675
+ "parenStart": 6684
}
},
"property": {
"type": "Identifier",
- "start": 6692,
- "end": 6698,
+ "start": 6701,
+ "end": 6707,
"loc": {
"start": {
"line": 203,
@@ -15937,8 +15937,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 6701,
- "end": 6744,
+ "start": 6710,
+ "end": 6753,
"loc": {
"start": {
"line": 203,
@@ -15951,8 +15951,8 @@
},
"object": {
"type": "BinaryExpression",
- "start": 6702,
- "end": 6737,
+ "start": 6711,
+ "end": 6746,
"loc": {
"start": {
"line": 203,
@@ -15965,8 +15965,8 @@
},
"left": {
"type": "StringLiteral",
- "start": 6702,
- "end": 6704,
+ "start": 6711,
+ "end": 6713,
"loc": {
"start": {
"line": 203,
@@ -15986,8 +15986,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 6707,
- "end": 6737,
+ "start": 6716,
+ "end": 6746,
"loc": {
"start": {
"line": 203,
@@ -16000,8 +16000,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6707,
- "end": 6726,
+ "start": 6716,
+ "end": 6735,
"loc": {
"start": {
"line": 203,
@@ -16014,8 +16014,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6707,
- "end": 6718,
+ "start": 6716,
+ "end": 6727,
"loc": {
"start": {
"line": 203,
@@ -16028,8 +16028,8 @@
},
"object": {
"type": "Identifier",
- "start": 6707,
- "end": 6712,
+ "start": 6716,
+ "end": 6721,
"loc": {
"start": {
"line": 203,
@@ -16045,8 +16045,8 @@
},
"property": {
"type": "Identifier",
- "start": 6713,
- "end": 6717,
+ "start": 6722,
+ "end": 6726,
"loc": {
"start": {
"line": 203,
@@ -16064,8 +16064,8 @@
},
"property": {
"type": "Identifier",
- "start": 6719,
- "end": 6726,
+ "start": 6728,
+ "end": 6735,
"loc": {
"start": {
"line": 203,
@@ -16083,8 +16083,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 6727,
- "end": 6736,
+ "start": 6736,
+ "end": 6745,
"loc": {
"start": {
"line": 203,
@@ -16097,8 +16097,8 @@
},
"object": {
"type": "Identifier",
- "start": 6727,
- "end": 6733,
+ "start": 6736,
+ "end": 6742,
"loc": {
"start": {
"line": 203,
@@ -16114,8 +16114,8 @@
},
"property": {
"type": "Identifier",
- "start": 6734,
- "end": 6736,
+ "start": 6743,
+ "end": 6745,
"loc": {
"start": {
"line": 203,
@@ -16135,13 +16135,13 @@
},
"extra": {
"parenthesized": true,
- "parenStart": 6701
+ "parenStart": 6710
}
},
"property": {
"type": "Identifier",
- "start": 6739,
- "end": 6744,
+ "start": 6748,
+ "end": 6753,
"loc": {
"start": {
"line": 203,
@@ -16161,8 +16161,8 @@
"operator": "+",
"right": {
"type": "StringLiteral",
- "start": 6747,
- "end": 6751,
+ "start": 6756,
+ "end": 6760,
"loc": {
"start": {
"line": 203,
@@ -16183,8 +16183,8 @@
"operator": "+",
"right": {
"type": "Identifier",
- "start": 6754,
- "end": 6758,
+ "start": 6763,
+ "end": 6767,
"loc": {
"start": {
"line": 203,
@@ -16204,8 +16204,8 @@
},
{
"type": "ExpressionStatement",
- "start": 6763,
- "end": 6834,
+ "start": 6772,
+ "end": 6843,
"loc": {
"start": {
"line": 205,
@@ -16218,8 +16218,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 6763,
- "end": 6834,
+ "start": 6772,
+ "end": 6843,
"loc": {
"start": {
"line": 205,
@@ -16232,8 +16232,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 6763,
- "end": 6793,
+ "start": 6772,
+ "end": 6802,
"loc": {
"start": {
"line": 205,
@@ -16246,8 +16246,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6763,
- "end": 6788,
+ "start": 6772,
+ "end": 6797,
"loc": {
"start": {
"line": 205,
@@ -16260,8 +16260,8 @@
},
"object": {
"type": "CallExpression",
- "start": 6763,
- "end": 6778,
+ "start": 6772,
+ "end": 6787,
"loc": {
"start": {
"line": 205,
@@ -16274,8 +16274,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 6763,
- "end": 6772,
+ "start": 6772,
+ "end": 6781,
"loc": {
"start": {
"line": 205,
@@ -16288,8 +16288,8 @@
},
"object": {
"type": "Identifier",
- "start": 6763,
- "end": 6769,
+ "start": 6772,
+ "end": 6778,
"loc": {
"start": {
"line": 205,
@@ -16305,8 +16305,8 @@
},
"property": {
"type": "Identifier",
- "start": 6770,
- "end": 6772,
+ "start": 6779,
+ "end": 6781,
"loc": {
"start": {
"line": 205,
@@ -16325,8 +16325,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 6773,
- "end": 6777,
+ "start": 6782,
+ "end": 6786,
"loc": {
"start": {
"line": 205,
@@ -16344,8 +16344,8 @@
},
"property": {
"type": "Identifier",
- "start": 6779,
- "end": 6788,
+ "start": 6788,
+ "end": 6797,
"loc": {
"start": {
"line": 205,
@@ -16363,8 +16363,8 @@
},
"property": {
"type": "Identifier",
- "start": 6789,
- "end": 6793,
+ "start": 6798,
+ "end": 6802,
"loc": {
"start": {
"line": 205,
@@ -16383,8 +16383,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 6794,
- "end": 6814,
+ "start": 6803,
+ "end": 6823,
"loc": {
"start": {
"line": 205,
@@ -16403,8 +16403,8 @@
},
{
"type": "ObjectExpression",
- "start": 6816,
- "end": 6833,
+ "start": 6825,
+ "end": 6842,
"loc": {
"start": {
"line": 205,
@@ -16418,8 +16418,8 @@
"properties": [
{
"type": "ObjectProperty",
- "start": 6818,
- "end": 6831,
+ "start": 6827,
+ "end": 6840,
"loc": {
"start": {
"line": 205,
@@ -16435,8 +16435,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 6818,
- "end": 6820,
+ "start": 6827,
+ "end": 6829,
"loc": {
"start": {
"line": 205,
@@ -16452,8 +16452,8 @@
},
"value": {
"type": "MemberExpression",
- "start": 6822,
- "end": 6831,
+ "start": 6831,
+ "end": 6840,
"loc": {
"start": {
"line": 205,
@@ -16466,8 +16466,8 @@
},
"object": {
"type": "Identifier",
- "start": 6822,
- "end": 6828,
+ "start": 6831,
+ "end": 6837,
"loc": {
"start": {
"line": 205,
@@ -16483,8 +16483,8 @@
},
"property": {
"type": "Identifier",
- "start": 6829,
- "end": 6831,
+ "start": 6838,
+ "end": 6840,
"loc": {
"start": {
"line": 205,
@@ -16510,8 +16510,8 @@
{
"type": "CommentLine",
"value": " Broadcast to everyone in the room to delete the player",
- "start": 6835,
- "end": 6892,
+ "start": 6844,
+ "end": 6901,
"loc": {
"start": {
"line": 205,
@@ -16527,8 +16527,8 @@
},
{
"type": "ExpressionStatement",
- "start": 6896,
- "end": 6933,
+ "start": 6905,
+ "end": 6942,
"loc": {
"start": {
"line": 207,
@@ -16541,8 +16541,8 @@
},
"expression": {
"type": "UnaryExpression",
- "start": 6896,
- "end": 6933,
+ "start": 6905,
+ "end": 6942,
"loc": {
"start": {
"line": 207,
@@ -16557,8 +16557,8 @@
"prefix": true,
"argument": {
"type": "MemberExpression",
- "start": 6903,
- "end": 6933,
+ "start": 6912,
+ "end": 6942,
"loc": {
"start": {
"line": 207,
@@ -16571,8 +16571,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6903,
- "end": 6922,
+ "start": 6912,
+ "end": 6931,
"loc": {
"start": {
"line": 207,
@@ -16585,8 +16585,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 6903,
- "end": 6914,
+ "start": 6912,
+ "end": 6923,
"loc": {
"start": {
"line": 207,
@@ -16599,8 +16599,8 @@
},
"object": {
"type": "Identifier",
- "start": 6903,
- "end": 6908,
+ "start": 6912,
+ "end": 6917,
"loc": {
"start": {
"line": 207,
@@ -16617,8 +16617,8 @@
},
"property": {
"type": "Identifier",
- "start": 6909,
- "end": 6913,
+ "start": 6918,
+ "end": 6922,
"loc": {
"start": {
"line": 207,
@@ -16637,8 +16637,8 @@
},
"property": {
"type": "Identifier",
- "start": 6915,
- "end": 6922,
+ "start": 6924,
+ "end": 6931,
"loc": {
"start": {
"line": 207,
@@ -16657,8 +16657,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 6923,
- "end": 6932,
+ "start": 6932,
+ "end": 6941,
"loc": {
"start": {
"line": 207,
@@ -16671,8 +16671,8 @@
},
"object": {
"type": "Identifier",
- "start": 6923,
- "end": 6929,
+ "start": 6932,
+ "end": 6938,
"loc": {
"start": {
"line": 207,
@@ -16688,8 +16688,8 @@
},
"property": {
"type": "Identifier",
- "start": 6930,
- "end": 6932,
+ "start": 6939,
+ "end": 6941,
"loc": {
"start": {
"line": 207,
@@ -16719,8 +16719,8 @@
{
"type": "CommentLine",
"value": " Broadcast to everyone in the room to delete the player",
- "start": 6835,
- "end": 6892,
+ "start": 6844,
+ "end": 6901,
"loc": {
"start": {
"line": 205,
@@ -16737,8 +16737,8 @@
{
"type": "CommentLine",
"value": " Remove the server side player",
- "start": 6934,
- "end": 6966,
+ "start": 6943,
+ "end": 6975,
"loc": {
"start": {
"line": 207,
@@ -16753,8 +16753,8 @@
{
"type": "CommentLine",
"value": " Delete room if there is nobody inside",
- "start": 6970,
- "end": 7010,
+ "start": 6979,
+ "end": 7019,
"loc": {
"start": {
"line": 209,
@@ -16770,8 +16770,8 @@
},
{
"type": "IfStatement",
- "start": 7013,
- "end": 7597,
+ "start": 7022,
+ "end": 7606,
"loc": {
"start": {
"line": 210,
@@ -16784,8 +16784,8 @@
},
"test": {
"type": "BinaryExpression",
- "start": 7017,
- "end": 7062,
+ "start": 7026,
+ "end": 7071,
"loc": {
"start": {
"line": 210,
@@ -16798,8 +16798,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 7017,
- "end": 7056,
+ "start": 7026,
+ "end": 7065,
"loc": {
"start": {
"line": 210,
@@ -16812,8 +16812,8 @@
},
"object": {
"type": "CallExpression",
- "start": 7017,
- "end": 7049,
+ "start": 7026,
+ "end": 7058,
"loc": {
"start": {
"line": 210,
@@ -16826,8 +16826,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 7017,
- "end": 7028,
+ "start": 7026,
+ "end": 7037,
"loc": {
"start": {
"line": 210,
@@ -16840,8 +16840,8 @@
},
"object": {
"type": "Identifier",
- "start": 7017,
- "end": 7023,
+ "start": 7026,
+ "end": 7032,
"loc": {
"start": {
"line": 210,
@@ -16858,8 +16858,8 @@
},
"property": {
"type": "Identifier",
- "start": 7024,
- "end": 7028,
+ "start": 7033,
+ "end": 7037,
"loc": {
"start": {
"line": 210,
@@ -16879,8 +16879,8 @@
"arguments": [
{
"type": "MemberExpression",
- "start": 7029,
- "end": 7048,
+ "start": 7038,
+ "end": 7057,
"loc": {
"start": {
"line": 210,
@@ -16893,8 +16893,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 7029,
- "end": 7040,
+ "start": 7038,
+ "end": 7049,
"loc": {
"start": {
"line": 210,
@@ -16907,8 +16907,8 @@
},
"object": {
"type": "Identifier",
- "start": 7029,
- "end": 7034,
+ "start": 7038,
+ "end": 7043,
"loc": {
"start": {
"line": 210,
@@ -16924,8 +16924,8 @@
},
"property": {
"type": "Identifier",
- "start": 7035,
- "end": 7039,
+ "start": 7044,
+ "end": 7048,
"loc": {
"start": {
"line": 210,
@@ -16943,8 +16943,8 @@
},
"property": {
"type": "Identifier",
- "start": 7041,
- "end": 7048,
+ "start": 7050,
+ "end": 7057,
"loc": {
"start": {
"line": 210,
@@ -16965,8 +16965,8 @@
},
"property": {
"type": "Identifier",
- "start": 7050,
- "end": 7056,
+ "start": 7059,
+ "end": 7065,
"loc": {
"start": {
"line": 210,
@@ -16986,8 +16986,8 @@
"operator": "===",
"right": {
"type": "NumericLiteral",
- "start": 7061,
- "end": 7062,
+ "start": 7070,
+ "end": 7071,
"loc": {
"start": {
"line": 210,
@@ -17008,8 +17008,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 7064,
- "end": 7597,
+ "start": 7073,
+ "end": 7606,
"loc": {
"start": {
"line": 210,
@@ -17023,8 +17023,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 7069,
- "end": 7148,
+ "start": 7078,
+ "end": 7157,
"loc": {
"start": {
"line": 211,
@@ -17037,8 +17037,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 7069,
- "end": 7148,
+ "start": 7078,
+ "end": 7157,
"loc": {
"start": {
"line": 211,
@@ -17051,8 +17051,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 7069,
- "end": 7080,
+ "start": 7078,
+ "end": 7089,
"loc": {
"start": {
"line": 211,
@@ -17065,8 +17065,8 @@
},
"object": {
"type": "Identifier",
- "start": 7069,
- "end": 7076,
+ "start": 7078,
+ "end": 7085,
"loc": {
"start": {
"line": 211,
@@ -17082,8 +17082,8 @@
},
"property": {
"type": "Identifier",
- "start": 7077,
- "end": 7080,
+ "start": 7086,
+ "end": 7089,
"loc": {
"start": {
"line": 211,
@@ -17102,8 +17102,8 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 7081,
- "end": 7147,
+ "start": 7090,
+ "end": 7156,
"loc": {
"start": {
"line": 211,
@@ -17116,8 +17116,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 7081,
- "end": 7124,
+ "start": 7090,
+ "end": 7133,
"loc": {
"start": {
"line": 211,
@@ -17130,8 +17130,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 7081,
- "end": 7102,
+ "start": 7090,
+ "end": 7111,
"loc": {
"start": {
"line": 211,
@@ -17144,8 +17144,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 7081,
- "end": 7097,
+ "start": 7090,
+ "end": 7106,
"loc": {
"start": {
"line": 211,
@@ -17158,8 +17158,8 @@
},
"object": {
"type": "StringLiteral",
- "start": 7081,
- "end": 7092,
+ "start": 7090,
+ "end": 7101,
"loc": {
"start": {
"line": 211,
@@ -17178,8 +17178,8 @@
},
"property": {
"type": "Identifier",
- "start": 7093,
- "end": 7097,
+ "start": 7102,
+ "end": 7106,
"loc": {
"start": {
"line": 211,
@@ -17197,8 +17197,8 @@
},
"property": {
"type": "Identifier",
- "start": 7098,
- "end": 7102,
+ "start": 7107,
+ "end": 7111,
"loc": {
"start": {
"line": 211,
@@ -17217,8 +17217,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 7105,
- "end": 7124,
+ "start": 7114,
+ "end": 7133,
"loc": {
"start": {
"line": 211,
@@ -17231,8 +17231,8 @@
},
"object": {
"type": "StringLiteral",
- "start": 7105,
- "end": 7120,
+ "start": 7114,
+ "end": 7129,
"loc": {
"start": {
"line": 211,
@@ -17251,8 +17251,8 @@
},
"property": {
"type": "Identifier",
- "start": 7121,
- "end": 7124,
+ "start": 7130,
+ "end": 7133,
"loc": {
"start": {
"line": 211,
@@ -17272,8 +17272,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 7127,
- "end": 7147,
+ "start": 7136,
+ "end": 7156,
"loc": {
"start": {
"line": 211,
@@ -17286,8 +17286,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 7127,
- "end": 7143,
+ "start": 7136,
+ "end": 7152,
"loc": {
"start": {
"line": 211,
@@ -17300,8 +17300,8 @@
},
"object": {
"type": "BinaryExpression",
- "start": 7128,
- "end": 7137,
+ "start": 7137,
+ "end": 7146,
"loc": {
"start": {
"line": 211,
@@ -17314,8 +17314,8 @@
},
"left": {
"type": "Identifier",
- "start": 7128,
- "end": 7132,
+ "start": 7137,
+ "end": 7141,
"loc": {
"start": {
"line": 211,
@@ -17332,8 +17332,8 @@
"operator": "+",
"right": {
"type": "StringLiteral",
- "start": 7135,
- "end": 7137,
+ "start": 7144,
+ "end": 7146,
"loc": {
"start": {
"line": 211,
@@ -17352,13 +17352,13 @@
},
"extra": {
"parenthesized": true,
- "parenStart": 7127
+ "parenStart": 7136
}
},
"property": {
"type": "Identifier",
- "start": 7139,
- "end": 7143,
+ "start": 7148,
+ "end": 7152,
"loc": {
"start": {
"line": 211,
@@ -17376,8 +17376,8 @@
},
"property": {
"type": "Identifier",
- "start": 7144,
- "end": 7147,
+ "start": 7153,
+ "end": 7156,
"loc": {
"start": {
"line": 211,
@@ -17399,8 +17399,8 @@
},
{
"type": "ExpressionStatement",
- "start": 7152,
- "end": 7194,
+ "start": 7161,
+ "end": 7203,
"loc": {
"start": {
"line": 212,
@@ -17413,8 +17413,8 @@
},
"expression": {
"type": "UnaryExpression",
- "start": 7152,
- "end": 7194,
+ "start": 7161,
+ "end": 7203,
"loc": {
"start": {
"line": 212,
@@ -17429,8 +17429,8 @@
"prefix": true,
"argument": {
"type": "MemberExpression",
- "start": 7159,
- "end": 7194,
+ "start": 7168,
+ "end": 7203,
"loc": {
"start": {
"line": 212,
@@ -17443,8 +17443,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 7159,
- "end": 7183,
+ "start": 7168,
+ "end": 7192,
"loc": {
"start": {
"line": 212,
@@ -17457,8 +17457,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 7159,
- "end": 7177,
+ "start": 7168,
+ "end": 7186,
"loc": {
"start": {
"line": 212,
@@ -17471,8 +17471,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 7159,
- "end": 7169,
+ "start": 7168,
+ "end": 7178,
"loc": {
"start": {
"line": 212,
@@ -17485,8 +17485,8 @@
},
"object": {
"type": "Identifier",
- "start": 7159,
- "end": 7161,
+ "start": 7168,
+ "end": 7170,
"loc": {
"start": {
"line": 212,
@@ -17502,8 +17502,8 @@
},
"property": {
"type": "Identifier",
- "start": 7162,
- "end": 7169,
+ "start": 7171,
+ "end": 7178,
"loc": {
"start": {
"line": 212,
@@ -17521,8 +17521,8 @@
},
"property": {
"type": "Identifier",
- "start": 7170,
- "end": 7177,
+ "start": 7179,
+ "end": 7186,
"loc": {
"start": {
"line": 212,
@@ -17540,8 +17540,8 @@
},
"property": {
"type": "Identifier",
- "start": 7178,
- "end": 7183,
+ "start": 7187,
+ "end": 7192,
"loc": {
"start": {
"line": 212,
@@ -17559,8 +17559,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 7184,
- "end": 7193,
+ "start": 7193,
+ "end": 7202,
"loc": {
"start": {
"line": 212,
@@ -17573,8 +17573,8 @@
},
"object": {
"type": "Identifier",
- "start": 7184,
- "end": 7190,
+ "start": 7193,
+ "end": 7199,
"loc": {
"start": {
"line": 212,
@@ -17590,8 +17590,8 @@
},
"property": {
"type": "Identifier",
- "start": 7191,
- "end": 7193,
+ "start": 7200,
+ "end": 7202,
"loc": {
"start": {
"line": 212,
@@ -17616,8 +17616,8 @@
},
{
"type": "ExpressionStatement",
- "start": 7198,
- "end": 7216,
+ "start": 7207,
+ "end": 7225,
"loc": {
"start": {
"line": 213,
@@ -17630,8 +17630,8 @@
},
"expression": {
"type": "UnaryExpression",
- "start": 7198,
- "end": 7216,
+ "start": 7207,
+ "end": 7225,
"loc": {
"start": {
"line": 213,
@@ -17646,8 +17646,8 @@
"prefix": true,
"argument": {
"type": "MemberExpression",
- "start": 7205,
- "end": 7216,
+ "start": 7214,
+ "end": 7225,
"loc": {
"start": {
"line": 213,
@@ -17660,8 +17660,8 @@
},
"object": {
"type": "Identifier",
- "start": 7205,
- "end": 7210,
+ "start": 7214,
+ "end": 7219,
"loc": {
"start": {
"line": 213,
@@ -17677,8 +17677,8 @@
},
"property": {
"type": "Identifier",
- "start": 7211,
- "end": 7215,
+ "start": 7220,
+ "end": 7224,
"loc": {
"start": {
"line": 213,
@@ -17701,8 +17701,8 @@
},
{
"type": "IfStatement",
- "start": 7221,
- "end": 7593,
+ "start": 7230,
+ "end": 7602,
"loc": {
"start": {
"line": 215,
@@ -17715,8 +17715,8 @@
},
"test": {
"type": "BinaryExpression",
- "start": 7225,
- "end": 7259,
+ "start": 7234,
+ "end": 7268,
"loc": {
"start": {
"line": 215,
@@ -17729,8 +17729,8 @@
},
"left": {
"type": "Identifier",
- "start": 7225,
- "end": 7229,
+ "start": 7234,
+ "end": 7238,
"loc": {
"start": {
"line": 215,
@@ -17747,8 +17747,8 @@
"operator": "!==",
"right": {
"type": "MemberExpression",
- "start": 7234,
- "end": 7259,
+ "start": 7243,
+ "end": 7268,
"loc": {
"start": {
"line": 215,
@@ -17761,8 +17761,8 @@
},
"object": {
"type": "Identifier",
- "start": 7234,
- "end": 7240,
+ "start": 7243,
+ "end": 7249,
"loc": {
"start": {
"line": 215,
@@ -17778,8 +17778,8 @@
},
"property": {
"type": "Identifier",
- "start": 7241,
- "end": 7259,
+ "start": 7250,
+ "end": 7268,
"loc": {
"start": {
"line": 215,
@@ -17798,8 +17798,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 7261,
- "end": 7593,
+ "start": 7270,
+ "end": 7602,
"loc": {
"start": {
"line": 215,
@@ -17813,8 +17813,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 7298,
- "end": 7367,
+ "start": 7307,
+ "end": 7376,
"loc": {
"start": {
"line": 217,
@@ -17827,8 +17827,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 7298,
- "end": 7367,
+ "start": 7307,
+ "end": 7376,
"loc": {
"start": {
"line": 217,
@@ -17841,8 +17841,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 7298,
- "end": 7324,
+ "start": 7307,
+ "end": 7333,
"loc": {
"start": {
"line": 217,
@@ -17855,8 +17855,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 7298,
- "end": 7317,
+ "start": 7307,
+ "end": 7326,
"loc": {
"start": {
"line": 217,
@@ -17869,8 +17869,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 7298,
- "end": 7309,
+ "start": 7307,
+ "end": 7318,
"loc": {
"start": {
"line": 217,
@@ -17883,8 +17883,8 @@
},
"object": {
"type": "Identifier",
- "start": 7298,
- "end": 7303,
+ "start": 7307,
+ "end": 7312,
"loc": {
"start": {
"line": 217,
@@ -17901,8 +17901,8 @@
},
"property": {
"type": "Identifier",
- "start": 7304,
- "end": 7308,
+ "start": 7313,
+ "end": 7317,
"loc": {
"start": {
"line": 217,
@@ -17921,8 +17921,8 @@
},
"property": {
"type": "Identifier",
- "start": 7310,
- "end": 7317,
+ "start": 7319,
+ "end": 7326,
"loc": {
"start": {
"line": 217,
@@ -17941,8 +17941,8 @@
},
"property": {
"type": "Identifier",
- "start": 7318,
- "end": 7324,
+ "start": 7327,
+ "end": 7333,
"loc": {
"start": {
"line": 217,
@@ -17962,8 +17962,8 @@
"arguments": [
{
"type": "CallExpression",
- "start": 7325,
- "end": 7363,
+ "start": 7334,
+ "end": 7372,
"loc": {
"start": {
"line": 217,
@@ -17976,8 +17976,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 7325,
- "end": 7352,
+ "start": 7334,
+ "end": 7361,
"loc": {
"start": {
"line": 217,
@@ -17990,8 +17990,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 7325,
- "end": 7344,
+ "start": 7334,
+ "end": 7353,
"loc": {
"start": {
"line": 217,
@@ -18004,8 +18004,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 7325,
- "end": 7336,
+ "start": 7334,
+ "end": 7345,
"loc": {
"start": {
"line": 217,
@@ -18018,8 +18018,8 @@
},
"object": {
"type": "Identifier",
- "start": 7325,
- "end": 7330,
+ "start": 7334,
+ "end": 7339,
"loc": {
"start": {
"line": 217,
@@ -18035,8 +18035,8 @@
},
"property": {
"type": "Identifier",
- "start": 7331,
- "end": 7335,
+ "start": 7340,
+ "end": 7344,
"loc": {
"start": {
"line": 217,
@@ -18054,8 +18054,8 @@
},
"property": {
"type": "Identifier",
- "start": 7337,
- "end": 7344,
+ "start": 7346,
+ "end": 7353,
"loc": {
"start": {
"line": 217,
@@ -18073,8 +18073,8 @@
},
"property": {
"type": "Identifier",
- "start": 7345,
- "end": 7352,
+ "start": 7354,
+ "end": 7361,
"loc": {
"start": {
"line": 217,
@@ -18093,8 +18093,8 @@
"arguments": [
{
"type": "MemberExpression",
- "start": 7353,
- "end": 7362,
+ "start": 7362,
+ "end": 7371,
"loc": {
"start": {
"line": 217,
@@ -18107,8 +18107,8 @@
},
"object": {
"type": "Identifier",
- "start": 7353,
- "end": 7359,
+ "start": 7362,
+ "end": 7368,
"loc": {
"start": {
"line": 217,
@@ -18124,8 +18124,8 @@
},
"property": {
"type": "Identifier",
- "start": 7360,
- "end": 7362,
+ "start": 7369,
+ "end": 7371,
"loc": {
"start": {
"line": 217,
@@ -18145,8 +18145,8 @@
},
{
"type": "NumericLiteral",
- "start": 7365,
- "end": 7366,
+ "start": 7374,
+ "end": 7375,
"loc": {
"start": {
"line": 217,
@@ -18171,8 +18171,8 @@
{
"type": "CommentLine",
"value": " Remove from teams array",
- "start": 7267,
- "end": 7293,
+ "start": 7276,
+ "end": 7302,
"loc": {
"start": {
"line": 216,
@@ -18189,8 +18189,8 @@
{
"type": "CommentLine",
"value": " rooms[room].teams[team].players.splice(rooms[room].teams[team].players.indexOf(socket.id), 1);",
- "start": 7372,
- "end": 7469,
+ "start": 7381,
+ "end": 7478,
"loc": {
"start": {
"line": 218,
@@ -18205,8 +18205,8 @@
{
"type": "CommentLine",
"value": " Delete team if all players have left",
- "start": 7475,
- "end": 7514,
+ "start": 7484,
+ "end": 7523,
"loc": {
"start": {
"line": 220,
@@ -18222,8 +18222,8 @@
},
{
"type": "IfStatement",
- "start": 7519,
- "end": 7588,
+ "start": 7528,
+ "end": 7597,
"loc": {
"start": {
"line": 221,
@@ -18236,8 +18236,8 @@
},
"test": {
"type": "BinaryExpression",
- "start": 7523,
- "end": 7555,
+ "start": 7532,
+ "end": 7564,
"loc": {
"start": {
"line": 221,
@@ -18250,8 +18250,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 7523,
- "end": 7549,
+ "start": 7532,
+ "end": 7558,
"loc": {
"start": {
"line": 221,
@@ -18264,8 +18264,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 7523,
- "end": 7542,
+ "start": 7532,
+ "end": 7551,
"loc": {
"start": {
"line": 221,
@@ -18278,8 +18278,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 7523,
- "end": 7534,
+ "start": 7532,
+ "end": 7543,
"loc": {
"start": {
"line": 221,
@@ -18292,8 +18292,8 @@
},
"object": {
"type": "Identifier",
- "start": 7523,
- "end": 7528,
+ "start": 7532,
+ "end": 7537,
"loc": {
"start": {
"line": 221,
@@ -18310,8 +18310,8 @@
},
"property": {
"type": "Identifier",
- "start": 7529,
- "end": 7533,
+ "start": 7538,
+ "end": 7542,
"loc": {
"start": {
"line": 221,
@@ -18330,8 +18330,8 @@
},
"property": {
"type": "Identifier",
- "start": 7535,
- "end": 7542,
+ "start": 7544,
+ "end": 7551,
"loc": {
"start": {
"line": 221,
@@ -18350,8 +18350,8 @@
},
"property": {
"type": "Identifier",
- "start": 7543,
- "end": 7549,
+ "start": 7552,
+ "end": 7558,
"loc": {
"start": {
"line": 221,
@@ -18371,8 +18371,8 @@
"operator": "===",
"right": {
"type": "NumericLiteral",
- "start": 7554,
- "end": 7555,
+ "start": 7563,
+ "end": 7564,
"loc": {
"start": {
"line": 221,
@@ -18393,8 +18393,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 7557,
- "end": 7588,
+ "start": 7566,
+ "end": 7597,
"loc": {
"start": {
"line": 221,
@@ -18408,8 +18408,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 7564,
- "end": 7582,
+ "start": 7573,
+ "end": 7591,
"loc": {
"start": {
"line": 222,
@@ -18422,8 +18422,8 @@
},
"expression": {
"type": "UnaryExpression",
- "start": 7564,
- "end": 7582,
+ "start": 7573,
+ "end": 7591,
"loc": {
"start": {
"line": 222,
@@ -18438,8 +18438,8 @@
"prefix": true,
"argument": {
"type": "MemberExpression",
- "start": 7571,
- "end": 7582,
+ "start": 7580,
+ "end": 7591,
"loc": {
"start": {
"line": 222,
@@ -18452,8 +18452,8 @@
},
"object": {
"type": "Identifier",
- "start": 7571,
- "end": 7576,
+ "start": 7580,
+ "end": 7585,
"loc": {
"start": {
"line": 222,
@@ -18469,8 +18469,8 @@
},
"property": {
"type": "Identifier",
- "start": 7577,
- "end": 7581,
+ "start": 7586,
+ "end": 7590,
"loc": {
"start": {
"line": 222,
@@ -18499,8 +18499,8 @@
{
"type": "CommentLine",
"value": " rooms[room].teams[team].players.splice(rooms[room].teams[team].players.indexOf(socket.id), 1);",
- "start": 7372,
- "end": 7469,
+ "start": 7381,
+ "end": 7478,
"loc": {
"start": {
"line": 218,
@@ -18515,8 +18515,8 @@
{
"type": "CommentLine",
"value": " Delete team if all players have left",
- "start": 7475,
- "end": 7514,
+ "start": 7484,
+ "end": 7523,
"loc": {
"start": {
"line": 220,
@@ -18543,8 +18543,8 @@
{
"type": "CommentLine",
"value": " Remove the server side player",
- "start": 6934,
- "end": 6966,
+ "start": 6943,
+ "end": 6975,
"loc": {
"start": {
"line": 207,
@@ -18559,8 +18559,8 @@
{
"type": "CommentLine",
"value": " Delete room if there is nobody inside",
- "start": 6970,
- "end": 7010,
+ "start": 6979,
+ "end": 7019,
"loc": {
"start": {
"line": 209,
@@ -18593,8 +18593,8 @@
{
"type": "CommentLine",
"value": " Initialize all socket listeners when a request is established",
- "start": 2110,
- "end": 2174,
+ "start": 2119,
+ "end": 2183,
"loc": {
"start": {
"line": 65,
@@ -18611,8 +18611,8 @@
{
"type": "CommentLine",
"value": " Notify on console when server has started",
- "start": 7606,
- "end": 7650,
+ "start": 7615,
+ "end": 7659,
"loc": {
"start": {
"line": 229,
@@ -18628,8 +18628,8 @@
},
{
"type": "VariableDeclaration",
- "start": 7651,
- "end": 7701,
+ "start": 7660,
+ "end": 7710,
"loc": {
"start": {
"line": 230,
@@ -18643,8 +18643,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 7657,
- "end": 7701,
+ "start": 7666,
+ "end": 7710,
"loc": {
"start": {
"line": 230,
@@ -18657,8 +18657,8 @@
},
"id": {
"type": "Identifier",
- "start": 7657,
- "end": 7667,
+ "start": 7666,
+ "end": 7676,
"loc": {
"start": {
"line": 230,
@@ -18675,8 +18675,8 @@
},
"init": {
"type": "LogicalExpression",
- "start": 7670,
- "end": 7701,
+ "start": 7679,
+ "end": 7710,
"loc": {
"start": {
"line": 230,
@@ -18689,8 +18689,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 7670,
- "end": 7686,
+ "start": 7679,
+ "end": 7695,
"loc": {
"start": {
"line": 230,
@@ -18703,8 +18703,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 7670,
- "end": 7681,
+ "start": 7679,
+ "end": 7690,
"loc": {
"start": {
"line": 230,
@@ -18717,8 +18717,8 @@
},
"object": {
"type": "Identifier",
- "start": 7670,
- "end": 7677,
+ "start": 7679,
+ "end": 7686,
"loc": {
"start": {
"line": 230,
@@ -18734,8 +18734,8 @@
},
"property": {
"type": "Identifier",
- "start": 7678,
- "end": 7681,
+ "start": 7687,
+ "end": 7690,
"loc": {
"start": {
"line": 230,
@@ -18753,8 +18753,8 @@
},
"property": {
"type": "Identifier",
- "start": 7682,
- "end": 7686,
+ "start": 7691,
+ "end": 7695,
"loc": {
"start": {
"line": 230,
@@ -18773,8 +18773,8 @@
"operator": "||",
"right": {
"type": "MemberExpression",
- "start": 7690,
- "end": 7701,
+ "start": 7699,
+ "end": 7710,
"loc": {
"start": {
"line": 230,
@@ -18787,8 +18787,8 @@
},
"object": {
"type": "Identifier",
- "start": 7690,
- "end": 7696,
+ "start": 7699,
+ "end": 7705,
"loc": {
"start": {
"line": 230,
@@ -18804,8 +18804,8 @@
},
"property": {
"type": "Identifier",
- "start": 7697,
- "end": 7701,
+ "start": 7706,
+ "end": 7710,
"loc": {
"start": {
"line": 230,
@@ -18830,8 +18830,8 @@
{
"type": "CommentLine",
"value": " Notify on console when server has started",
- "start": 7606,
- "end": 7650,
+ "start": 7615,
+ "end": 7659,
"loc": {
"start": {
"line": 229,
@@ -18847,8 +18847,8 @@
},
{
"type": "ExpressionStatement",
- "start": 7702,
- "end": 7824,
+ "start": 7711,
+ "end": 7833,
"loc": {
"start": {
"line": 231,
@@ -18861,8 +18861,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 7702,
- "end": 7824,
+ "start": 7711,
+ "end": 7833,
"loc": {
"start": {
"line": 231,
@@ -18875,8 +18875,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 7702,
- "end": 7713,
+ "start": 7711,
+ "end": 7722,
"loc": {
"start": {
"line": 231,
@@ -18889,8 +18889,8 @@
},
"object": {
"type": "Identifier",
- "start": 7702,
- "end": 7706,
+ "start": 7711,
+ "end": 7715,
"loc": {
"start": {
"line": 231,
@@ -18906,8 +18906,8 @@
},
"property": {
"type": "Identifier",
- "start": 7707,
- "end": 7713,
+ "start": 7716,
+ "end": 7722,
"loc": {
"start": {
"line": 231,
@@ -18926,8 +18926,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 7714,
- "end": 7724,
+ "start": 7723,
+ "end": 7733,
"loc": {
"start": {
"line": 231,
@@ -18943,8 +18943,8 @@
},
{
"type": "ArrowFunctionExpression",
- "start": 7726,
- "end": 7823,
+ "start": 7735,
+ "end": 7832,
"loc": {
"start": {
"line": 231,
@@ -18962,8 +18962,8 @@
"params": [],
"body": {
"type": "BlockStatement",
- "start": 7732,
- "end": 7823,
+ "start": 7741,
+ "end": 7832,
"loc": {
"start": {
"line": 231,
@@ -18977,8 +18977,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 7735,
- "end": 7745,
+ "start": 7744,
+ "end": 7754,
"loc": {
"start": {
"line": 232,
@@ -18991,8 +18991,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 7735,
- "end": 7745,
+ "start": 7744,
+ "end": 7754,
"loc": {
"start": {
"line": 232,
@@ -19006,8 +19006,8 @@
"operator": "=",
"left": {
"type": "Identifier",
- "start": 7735,
- "end": 7740,
+ "start": 7744,
+ "end": 7749,
"loc": {
"start": {
"line": 232,
@@ -19023,8 +19023,8 @@
},
"right": {
"type": "ObjectExpression",
- "start": 7743,
- "end": 7745,
+ "start": 7752,
+ "end": 7754,
"loc": {
"start": {
"line": 232,
@@ -19041,8 +19041,8 @@
},
{
"type": "ExpressionStatement",
- "start": 7747,
- "end": 7821,
+ "start": 7756,
+ "end": 7830,
"loc": {
"start": {
"line": 233,
@@ -19055,8 +19055,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 7747,
- "end": 7821,
+ "start": 7756,
+ "end": 7830,
"loc": {
"start": {
"line": 233,
@@ -19069,8 +19069,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 7747,
- "end": 7758,
+ "start": 7756,
+ "end": 7767,
"loc": {
"start": {
"line": 233,
@@ -19083,8 +19083,8 @@
},
"object": {
"type": "Identifier",
- "start": 7747,
- "end": 7754,
+ "start": 7756,
+ "end": 7763,
"loc": {
"start": {
"line": 233,
@@ -19100,8 +19100,8 @@
},
"property": {
"type": "Identifier",
- "start": 7755,
- "end": 7758,
+ "start": 7764,
+ "end": 7767,
"loc": {
"start": {
"line": 233,
@@ -19120,8 +19120,8 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 7759,
- "end": 7820,
+ "start": 7768,
+ "end": 7829,
"loc": {
"start": {
"line": 233,
@@ -19134,8 +19134,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 7759,
- "end": 7780,
+ "start": 7768,
+ "end": 7789,
"loc": {
"start": {
"line": 233,
@@ -19148,8 +19148,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 7759,
- "end": 7775,
+ "start": 7768,
+ "end": 7784,
"loc": {
"start": {
"line": 233,
@@ -19162,8 +19162,8 @@
},
"object": {
"type": "StringLiteral",
- "start": 7759,
- "end": 7770,
+ "start": 7768,
+ "end": 7779,
"loc": {
"start": {
"line": 233,
@@ -19182,8 +19182,8 @@
},
"property": {
"type": "Identifier",
- "start": 7771,
- "end": 7775,
+ "start": 7780,
+ "end": 7784,
"loc": {
"start": {
"line": 233,
@@ -19201,8 +19201,8 @@
},
"property": {
"type": "Identifier",
- "start": 7776,
- "end": 7780,
+ "start": 7785,
+ "end": 7789,
"loc": {
"start": {
"line": 233,
@@ -19221,8 +19221,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 7783,
- "end": 7820,
+ "start": 7792,
+ "end": 7829,
"loc": {
"start": {
"line": 233,
@@ -19235,8 +19235,8 @@
},
"object": {
"type": "TemplateLiteral",
- "start": 7783,
- "end": 7815,
+ "start": 7792,
+ "end": 7824,
"loc": {
"start": {
"line": 233,
@@ -19250,8 +19250,8 @@
"expressions": [
{
"type": "Identifier",
- "start": 7803,
- "end": 7813,
+ "start": 7812,
+ "end": 7822,
"loc": {
"start": {
"line": 233,
@@ -19269,8 +19269,8 @@
"quasis": [
{
"type": "TemplateElement",
- "start": 7784,
- "end": 7801,
+ "start": 7793,
+ "end": 7810,
"loc": {
"start": {
"line": 233,
@@ -19289,8 +19289,8 @@
},
{
"type": "TemplateElement",
- "start": 7814,
- "end": 7814,
+ "start": 7823,
+ "end": 7823,
"loc": {
"start": {
"line": 233,
@@ -19311,8 +19311,8 @@
},
"property": {
"type": "Identifier",
- "start": 7816,
- "end": 7820,
+ "start": 7825,
+ "end": 7829,
"loc": {
"start": {
"line": 233,
@@ -19343,8 +19343,8 @@
{
"type": "CommentBlock",
"value": "*\n * Sets a new value for a protected server field.\n * Adopted from https://stackoverflow.com/questions/18936915/dynamically-set-property-of-nested-object\n * @param {*} value The value to set\n * @param {*} path Array containing all of the subobject identifiers, with the 0th index being the lowest level.\n * Example: rooms.myRoom.players could be accessed through a path value of ['rooms', 'myRoom', 'players']\n ",
- "start": 7826,
- "end": 8258,
+ "start": 7835,
+ "end": 8267,
"loc": {
"start": {
"line": 236,
@@ -19360,8 +19360,8 @@
},
{
"type": "ExportNamedDeclaration",
- "start": 8259,
- "end": 8779,
+ "start": 8268,
+ "end": 8788,
"loc": {
"start": {
"line": 243,
@@ -19376,8 +19376,8 @@
"source": null,
"declaration": {
"type": "FunctionDeclaration",
- "start": 8266,
- "end": 8779,
+ "start": 8275,
+ "end": 8788,
"loc": {
"start": {
"line": 243,
@@ -19390,8 +19390,8 @@
},
"id": {
"type": "Identifier",
- "start": 8275,
- "end": 8283,
+ "start": 8284,
+ "end": 8292,
"loc": {
"start": {
"line": 243,
@@ -19412,8 +19412,8 @@
"params": [
{
"type": "Identifier",
- "start": 8285,
- "end": 8290,
+ "start": 8294,
+ "end": 8299,
"loc": {
"start": {
"line": 243,
@@ -19429,8 +19429,8 @@
},
{
"type": "Identifier",
- "start": 8292,
- "end": 8296,
+ "start": 8301,
+ "end": 8305,
"loc": {
"start": {
"line": 243,
@@ -19447,8 +19447,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 8298,
- "end": 8779,
+ "start": 8307,
+ "end": 8788,
"loc": {
"start": {
"line": 243,
@@ -19462,8 +19462,8 @@
"body": [
{
"type": "IfStatement",
- "start": 8301,
- "end": 8411,
+ "start": 8310,
+ "end": 8420,
"loc": {
"start": {
"line": 244,
@@ -19476,8 +19476,8 @@
},
"test": {
"type": "LogicalExpression",
- "start": 8305,
- "end": 8344,
+ "start": 8314,
+ "end": 8353,
"loc": {
"start": {
"line": 244,
@@ -19490,8 +19490,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 8305,
- "end": 8323,
+ "start": 8314,
+ "end": 8332,
"loc": {
"start": {
"line": 244,
@@ -19504,8 +19504,8 @@
},
"left": {
"type": "Identifier",
- "start": 8305,
- "end": 8309,
+ "start": 8314,
+ "end": 8318,
"loc": {
"start": {
"line": 244,
@@ -19522,8 +19522,8 @@
"operator": "===",
"right": {
"type": "Identifier",
- "start": 8314,
- "end": 8323,
+ "start": 8323,
+ "end": 8332,
"loc": {
"start": {
"line": 244,
@@ -19541,8 +19541,8 @@
"operator": "||",
"right": {
"type": "BinaryExpression",
- "start": 8327,
- "end": 8344,
+ "start": 8336,
+ "end": 8353,
"loc": {
"start": {
"line": 244,
@@ -19555,8 +19555,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 8327,
- "end": 8338,
+ "start": 8336,
+ "end": 8347,
"loc": {
"start": {
"line": 244,
@@ -19569,8 +19569,8 @@
},
"object": {
"type": "Identifier",
- "start": 8327,
- "end": 8331,
+ "start": 8336,
+ "end": 8340,
"loc": {
"start": {
"line": 244,
@@ -19586,8 +19586,8 @@
},
"property": {
"type": "Identifier",
- "start": 8332,
- "end": 8338,
+ "start": 8341,
+ "end": 8347,
"loc": {
"start": {
"line": 244,
@@ -19606,8 +19606,8 @@
"operator": "===",
"right": {
"type": "NumericLiteral",
- "start": 8343,
- "end": 8344,
+ "start": 8352,
+ "end": 8353,
"loc": {
"start": {
"line": 244,
@@ -19628,8 +19628,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 8346,
- "end": 8411,
+ "start": 8355,
+ "end": 8420,
"loc": {
"start": {
"line": 244,
@@ -19643,8 +19643,8 @@
"body": [
{
"type": "ThrowStatement",
- "start": 8350,
- "end": 8408,
+ "start": 8359,
+ "end": 8417,
"loc": {
"start": {
"line": 245,
@@ -19657,8 +19657,8 @@
},
"argument": {
"type": "NewExpression",
- "start": 8356,
- "end": 8408,
+ "start": 8365,
+ "end": 8417,
"loc": {
"start": {
"line": 245,
@@ -19671,8 +19671,8 @@
},
"callee": {
"type": "Identifier",
- "start": 8360,
- "end": 8365,
+ "start": 8369,
+ "end": 8374,
"loc": {
"start": {
"line": 245,
@@ -19689,8 +19689,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 8366,
- "end": 8407,
+ "start": 8375,
+ "end": 8416,
"loc": {
"start": {
"line": 245,
@@ -19717,8 +19717,8 @@
},
{
"type": "VariableDeclaration",
- "start": 8414,
- "end": 8500,
+ "start": 8423,
+ "end": 8509,
"loc": {
"start": {
"line": 248,
@@ -19732,8 +19732,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 8418,
- "end": 8500,
+ "start": 8427,
+ "end": 8509,
"loc": {
"start": {
"line": 248,
@@ -19746,8 +19746,8 @@
},
"id": {
"type": "Identifier",
- "start": 8418,
- "end": 8424,
+ "start": 8427,
+ "end": 8433,
"loc": {
"start": {
"line": 248,
@@ -19763,8 +19763,8 @@
},
"init": {
"type": "ConditionalExpression",
- "start": 8427,
- "end": 8500,
+ "start": 8436,
+ "end": 8509,
"loc": {
"start": {
"line": 248,
@@ -19777,8 +19777,8 @@
},
"test": {
"type": "BinaryExpression",
- "start": 8428,
- "end": 8447,
+ "start": 8437,
+ "end": 8456,
"loc": {
"start": {
"line": 248,
@@ -19791,8 +19791,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 8428,
- "end": 8435,
+ "start": 8437,
+ "end": 8444,
"loc": {
"start": {
"line": 248,
@@ -19805,8 +19805,8 @@
},
"object": {
"type": "Identifier",
- "start": 8428,
- "end": 8432,
+ "start": 8437,
+ "end": 8441,
"loc": {
"start": {
"line": 248,
@@ -19822,8 +19822,8 @@
},
"property": {
"type": "NumericLiteral",
- "start": 8433,
- "end": 8434,
+ "start": 8442,
+ "end": 8443,
"loc": {
"start": {
"line": 248,
@@ -19845,8 +19845,8 @@
"operator": "===",
"right": {
"type": "StringLiteral",
- "start": 8440,
- "end": 8447,
+ "start": 8449,
+ "end": 8456,
"loc": {
"start": {
"line": 248,
@@ -19865,13 +19865,13 @@
},
"extra": {
"parenthesized": true,
- "parenStart": 8427
+ "parenStart": 8436
}
},
"consequent": {
"type": "Identifier",
- "start": 8451,
- "end": 8456,
+ "start": 8460,
+ "end": 8465,
"loc": {
"start": {
"line": 248,
@@ -19887,8 +19887,8 @@
},
"alternate": {
"type": "ConditionalExpression",
- "start": 8459,
- "end": 8500,
+ "start": 8468,
+ "end": 8509,
"loc": {
"start": {
"line": 248,
@@ -19901,8 +19901,8 @@
},
"test": {
"type": "BinaryExpression",
- "start": 8460,
- "end": 8479,
+ "start": 8469,
+ "end": 8488,
"loc": {
"start": {
"line": 248,
@@ -19915,8 +19915,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 8460,
- "end": 8467,
+ "start": 8469,
+ "end": 8476,
"loc": {
"start": {
"line": 248,
@@ -19929,8 +19929,8 @@
},
"object": {
"type": "Identifier",
- "start": 8460,
- "end": 8464,
+ "start": 8469,
+ "end": 8473,
"loc": {
"start": {
"line": 248,
@@ -19946,8 +19946,8 @@
},
"property": {
"type": "NumericLiteral",
- "start": 8465,
- "end": 8466,
+ "start": 8474,
+ "end": 8475,
"loc": {
"start": {
"line": 248,
@@ -19969,8 +19969,8 @@
"operator": "===",
"right": {
"type": "StringLiteral",
- "start": 8472,
- "end": 8479,
+ "start": 8481,
+ "end": 8488,
"loc": {
"start": {
"line": 248,
@@ -19989,13 +19989,13 @@
},
"extra": {
"parenthesized": true,
- "parenStart": 8459
+ "parenStart": 8468
}
},
"consequent": {
"type": "Identifier",
- "start": 8483,
- "end": 8488,
+ "start": 8492,
+ "end": 8497,
"loc": {
"start": {
"line": 248,
@@ -20011,8 +20011,8 @@
},
"alternate": {
"type": "Identifier",
- "start": 8491,
- "end": 8500,
+ "start": 8500,
+ "end": 8509,
"loc": {
"start": {
"line": 248,
@@ -20034,8 +20034,8 @@
},
{
"type": "IfStatement",
- "start": 8502,
- "end": 8597,
+ "start": 8511,
+ "end": 8606,
"loc": {
"start": {
"line": 249,
@@ -20048,8 +20048,8 @@
},
"test": {
"type": "BinaryExpression",
- "start": 8506,
- "end": 8526,
+ "start": 8515,
+ "end": 8535,
"loc": {
"start": {
"line": 249,
@@ -20062,8 +20062,8 @@
},
"left": {
"type": "Identifier",
- "start": 8506,
- "end": 8512,
+ "start": 8515,
+ "end": 8521,
"loc": {
"start": {
"line": 249,
@@ -20080,8 +20080,8 @@
"operator": "===",
"right": {
"type": "Identifier",
- "start": 8517,
- "end": 8526,
+ "start": 8526,
+ "end": 8535,
"loc": {
"start": {
"line": 249,
@@ -20098,8 +20098,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 8528,
- "end": 8597,
+ "start": 8537,
+ "end": 8606,
"loc": {
"start": {
"line": 249,
@@ -20113,8 +20113,8 @@
"body": [
{
"type": "ThrowStatement",
- "start": 8532,
- "end": 8594,
+ "start": 8541,
+ "end": 8603,
"loc": {
"start": {
"line": 250,
@@ -20127,8 +20127,8 @@
},
"argument": {
"type": "NewExpression",
- "start": 8538,
- "end": 8594,
+ "start": 8547,
+ "end": 8603,
"loc": {
"start": {
"line": 250,
@@ -20141,8 +20141,8 @@
},
"callee": {
"type": "Identifier",
- "start": 8542,
- "end": 8547,
+ "start": 8551,
+ "end": 8556,
"loc": {
"start": {
"line": 250,
@@ -20159,8 +20159,8 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 8548,
- "end": 8593,
+ "start": 8557,
+ "end": 8602,
"loc": {
"start": {
"line": 250,
@@ -20173,8 +20173,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 8548,
- "end": 8572,
+ "start": 8557,
+ "end": 8581,
"loc": {
"start": {
"line": 250,
@@ -20187,8 +20187,8 @@
},
"left": {
"type": "StringLiteral",
- "start": 8548,
- "end": 8562,
+ "start": 8557,
+ "end": 8571,
"loc": {
"start": {
"line": 250,
@@ -20208,8 +20208,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 8565,
- "end": 8572,
+ "start": 8574,
+ "end": 8581,
"loc": {
"start": {
"line": 250,
@@ -20222,8 +20222,8 @@
},
"object": {
"type": "Identifier",
- "start": 8565,
- "end": 8569,
+ "start": 8574,
+ "end": 8578,
"loc": {
"start": {
"line": 250,
@@ -20239,8 +20239,8 @@
},
"property": {
"type": "NumericLiteral",
- "start": 8570,
- "end": 8571,
+ "start": 8579,
+ "end": 8580,
"loc": {
"start": {
"line": 250,
@@ -20263,8 +20263,8 @@
"operator": "+",
"right": {
"type": "StringLiteral",
- "start": 8575,
- "end": 8593,
+ "start": 8584,
+ "end": 8602,
"loc": {
"start": {
"line": 250,
@@ -20292,8 +20292,8 @@
},
{
"type": "VariableDeclaration",
- "start": 8600,
- "end": 8621,
+ "start": 8609,
+ "end": 8630,
"loc": {
"start": {
"line": 253,
@@ -20307,8 +20307,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 8604,
- "end": 8621,
+ "start": 8613,
+ "end": 8630,
"loc": {
"start": {
"line": 253,
@@ -20321,8 +20321,8 @@
},
"id": {
"type": "Identifier",
- "start": 8604,
- "end": 8607,
+ "start": 8613,
+ "end": 8616,
"loc": {
"start": {
"line": 253,
@@ -20338,8 +20338,8 @@
},
"init": {
"type": "MemberExpression",
- "start": 8610,
- "end": 8621,
+ "start": 8619,
+ "end": 8630,
"loc": {
"start": {
"line": 253,
@@ -20352,8 +20352,8 @@
},
"object": {
"type": "Identifier",
- "start": 8610,
- "end": 8614,
+ "start": 8619,
+ "end": 8623,
"loc": {
"start": {
"line": 253,
@@ -20369,8 +20369,8 @@
},
"property": {
"type": "Identifier",
- "start": 8615,
- "end": 8621,
+ "start": 8624,
+ "end": 8630,
"loc": {
"start": {
"line": 253,
@@ -20392,8 +20392,8 @@
},
{
"type": "ForStatement",
- "start": 8623,
- "end": 8745,
+ "start": 8632,
+ "end": 8754,
"loc": {
"start": {
"line": 254,
@@ -20406,8 +20406,8 @@
},
"init": {
"type": "VariableDeclaration",
- "start": 8628,
- "end": 8637,
+ "start": 8637,
+ "end": 8646,
"loc": {
"start": {
"line": 254,
@@ -20421,8 +20421,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 8632,
- "end": 8637,
+ "start": 8641,
+ "end": 8646,
"loc": {
"start": {
"line": 254,
@@ -20435,8 +20435,8 @@
},
"id": {
"type": "Identifier",
- "start": 8632,
- "end": 8633,
+ "start": 8641,
+ "end": 8642,
"loc": {
"start": {
"line": 254,
@@ -20452,8 +20452,8 @@
},
"init": {
"type": "NumericLiteral",
- "start": 8636,
- "end": 8637,
+ "start": 8645,
+ "end": 8646,
"loc": {
"start": {
"line": 254,
@@ -20476,8 +20476,8 @@
},
"test": {
"type": "BinaryExpression",
- "start": 8639,
- "end": 8650,
+ "start": 8648,
+ "end": 8659,
"loc": {
"start": {
"line": 254,
@@ -20490,8 +20490,8 @@
},
"left": {
"type": "Identifier",
- "start": 8639,
- "end": 8640,
+ "start": 8648,
+ "end": 8649,
"loc": {
"start": {
"line": 254,
@@ -20508,8 +20508,8 @@
"operator": "<",
"right": {
"type": "BinaryExpression",
- "start": 8643,
- "end": 8650,
+ "start": 8652,
+ "end": 8659,
"loc": {
"start": {
"line": 254,
@@ -20522,8 +20522,8 @@
},
"left": {
"type": "Identifier",
- "start": 8643,
- "end": 8646,
+ "start": 8652,
+ "end": 8655,
"loc": {
"start": {
"line": 254,
@@ -20540,8 +20540,8 @@
"operator": "-",
"right": {
"type": "NumericLiteral",
- "start": 8649,
- "end": 8650,
+ "start": 8658,
+ "end": 8659,
"loc": {
"start": {
"line": 254,
@@ -20562,8 +20562,8 @@
},
"update": {
"type": "UpdateExpression",
- "start": 8652,
- "end": 8655,
+ "start": 8661,
+ "end": 8664,
"loc": {
"start": {
"line": 254,
@@ -20578,8 +20578,8 @@
"prefix": false,
"argument": {
"type": "Identifier",
- "start": 8652,
- "end": 8653,
+ "start": 8661,
+ "end": 8662,
"loc": {
"start": {
"line": 254,
@@ -20596,8 +20596,8 @@
},
"body": {
"type": "BlockStatement",
- "start": 8657,
- "end": 8745,
+ "start": 8666,
+ "end": 8754,
"loc": {
"start": {
"line": 254,
@@ -20611,8 +20611,8 @@
"body": [
{
"type": "VariableDeclaration",
- "start": 8661,
- "end": 8679,
+ "start": 8670,
+ "end": 8688,
"loc": {
"start": {
"line": 255,
@@ -20626,8 +20626,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 8665,
- "end": 8679,
+ "start": 8674,
+ "end": 8688,
"loc": {
"start": {
"line": 255,
@@ -20640,8 +20640,8 @@
},
"id": {
"type": "Identifier",
- "start": 8665,
- "end": 8669,
+ "start": 8674,
+ "end": 8678,
"loc": {
"start": {
"line": 255,
@@ -20657,8 +20657,8 @@
},
"init": {
"type": "MemberExpression",
- "start": 8672,
- "end": 8679,
+ "start": 8681,
+ "end": 8688,
"loc": {
"start": {
"line": 255,
@@ -20671,8 +20671,8 @@
},
"object": {
"type": "Identifier",
- "start": 8672,
- "end": 8676,
+ "start": 8681,
+ "end": 8685,
"loc": {
"start": {
"line": 255,
@@ -20688,8 +20688,8 @@
},
"property": {
"type": "Identifier",
- "start": 8677,
- "end": 8678,
+ "start": 8686,
+ "end": 8687,
"loc": {
"start": {
"line": 255,
@@ -20711,8 +20711,8 @@
},
{
"type": "IfStatement",
- "start": 8682,
- "end": 8718,
+ "start": 8691,
+ "end": 8727,
"loc": {
"start": {
"line": 256,
@@ -20725,8 +20725,8 @@
},
"test": {
"type": "UnaryExpression",
- "start": 8686,
- "end": 8699,
+ "start": 8695,
+ "end": 8708,
"loc": {
"start": {
"line": 256,
@@ -20741,8 +20741,8 @@
"prefix": true,
"argument": {
"type": "MemberExpression",
- "start": 8687,
- "end": 8699,
+ "start": 8696,
+ "end": 8708,
"loc": {
"start": {
"line": 256,
@@ -20755,8 +20755,8 @@
},
"object": {
"type": "Identifier",
- "start": 8687,
- "end": 8693,
+ "start": 8696,
+ "end": 8702,
"loc": {
"start": {
"line": 256,
@@ -20772,8 +20772,8 @@
},
"property": {
"type": "Identifier",
- "start": 8694,
- "end": 8698,
+ "start": 8703,
+ "end": 8707,
"loc": {
"start": {
"line": 256,
@@ -20795,8 +20795,8 @@
},
"consequent": {
"type": "ExpressionStatement",
- "start": 8701,
- "end": 8718,
+ "start": 8710,
+ "end": 8727,
"loc": {
"start": {
"line": 256,
@@ -20809,8 +20809,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 8701,
- "end": 8718,
+ "start": 8710,
+ "end": 8727,
"loc": {
"start": {
"line": 256,
@@ -20824,8 +20824,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 8701,
- "end": 8713,
+ "start": 8710,
+ "end": 8722,
"loc": {
"start": {
"line": 256,
@@ -20838,8 +20838,8 @@
},
"object": {
"type": "Identifier",
- "start": 8701,
- "end": 8707,
+ "start": 8710,
+ "end": 8716,
"loc": {
"start": {
"line": 256,
@@ -20855,8 +20855,8 @@
},
"property": {
"type": "Identifier",
- "start": 8708,
- "end": 8712,
+ "start": 8717,
+ "end": 8721,
"loc": {
"start": {
"line": 256,
@@ -20874,8 +20874,8 @@
},
"right": {
"type": "ObjectExpression",
- "start": 8716,
- "end": 8718,
+ "start": 8725,
+ "end": 8727,
"loc": {
"start": {
"line": 256,
@@ -20894,8 +20894,8 @@
},
{
"type": "ExpressionStatement",
- "start": 8721,
- "end": 8742,
+ "start": 8730,
+ "end": 8751,
"loc": {
"start": {
"line": 257,
@@ -20908,8 +20908,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 8721,
- "end": 8742,
+ "start": 8730,
+ "end": 8751,
"loc": {
"start": {
"line": 257,
@@ -20923,8 +20923,8 @@
"operator": "=",
"left": {
"type": "Identifier",
- "start": 8721,
- "end": 8727,
+ "start": 8730,
+ "end": 8736,
"loc": {
"start": {
"line": 257,
@@ -20940,8 +20940,8 @@
},
"right": {
"type": "MemberExpression",
- "start": 8730,
- "end": 8742,
+ "start": 8739,
+ "end": 8751,
"loc": {
"start": {
"line": 257,
@@ -20954,8 +20954,8 @@
},
"object": {
"type": "Identifier",
- "start": 8730,
- "end": 8736,
+ "start": 8739,
+ "end": 8745,
"loc": {
"start": {
"line": 257,
@@ -20971,8 +20971,8 @@
},
"property": {
"type": "Identifier",
- "start": 8737,
- "end": 8741,
+ "start": 8746,
+ "end": 8750,
"loc": {
"start": {
"line": 257,
@@ -20996,8 +20996,8 @@
},
{
"type": "ExpressionStatement",
- "start": 8748,
- "end": 8777,
+ "start": 8757,
+ "end": 8786,
"loc": {
"start": {
"line": 260,
@@ -21010,8 +21010,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 8748,
- "end": 8777,
+ "start": 8757,
+ "end": 8786,
"loc": {
"start": {
"line": 260,
@@ -21025,8 +21025,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 8748,
- "end": 8769,
+ "start": 8757,
+ "end": 8778,
"loc": {
"start": {
"line": 260,
@@ -21039,8 +21039,8 @@
},
"object": {
"type": "Identifier",
- "start": 8748,
- "end": 8754,
+ "start": 8757,
+ "end": 8763,
"loc": {
"start": {
"line": 260,
@@ -21056,8 +21056,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 8755,
- "end": 8768,
+ "start": 8764,
+ "end": 8777,
"loc": {
"start": {
"line": 260,
@@ -21070,8 +21070,8 @@
},
"object": {
"type": "Identifier",
- "start": 8755,
- "end": 8759,
+ "start": 8764,
+ "end": 8768,
"loc": {
"start": {
"line": 260,
@@ -21087,8 +21087,8 @@
},
"property": {
"type": "BinaryExpression",
- "start": 8760,
- "end": 8767,
+ "start": 8769,
+ "end": 8776,
"loc": {
"start": {
"line": 260,
@@ -21101,8 +21101,8 @@
},
"left": {
"type": "Identifier",
- "start": 8760,
- "end": 8763,
+ "start": 8769,
+ "end": 8772,
"loc": {
"start": {
"line": 260,
@@ -21119,8 +21119,8 @@
"operator": "-",
"right": {
"type": "NumericLiteral",
- "start": 8766,
- "end": 8767,
+ "start": 8775,
+ "end": 8776,
"loc": {
"start": {
"line": 260,
@@ -21144,8 +21144,8 @@
},
"right": {
"type": "Identifier",
- "start": 8772,
- "end": 8777,
+ "start": 8781,
+ "end": 8786,
"loc": {
"start": {
"line": 260,
@@ -21169,8 +21169,8 @@
{
"type": "CommentBlock",
"value": "*\n * Sets a new value for a protected server field.\n * Adopted from https://stackoverflow.com/questions/18936915/dynamically-set-property-of-nested-object\n * @param {*} value The value to set\n * @param {*} path Array containing all of the subobject identifiers, with the 0th index being the lowest level.\n * Example: rooms.myRoom.players could be accessed through a path value of ['rooms', 'myRoom', 'players']\n ",
- "start": 7826,
- "end": 8258,
+ "start": 7835,
+ "end": 8267,
"loc": {
"start": {
"line": 236,
@@ -21187,8 +21187,8 @@
{
"type": "CommentBlock",
"value": "*\n * Shorthand to add or concatenate an amount to a field.\n * Best used with numbers or strings.\n * @param {*} amount Amount to increment the field by.\n * @param {*} path Path to the field.\n ",
- "start": 8781,
- "end": 8976,
+ "start": 8790,
+ "end": 8985,
"loc": {
"start": {
"line": 263,
@@ -21206,8 +21206,8 @@
{
"type": "CommentBlock",
"value": "*\n * Sets a new value for a protected server field.\n * Adopted from https://stackoverflow.com/questions/18936915/dynamically-set-property-of-nested-object\n * @param {*} value The value to set\n * @param {*} path Array containing all of the subobject identifiers, with the 0th index being the lowest level.\n * Example: rooms.myRoom.players could be accessed through a path value of ['rooms', 'myRoom', 'players']\n ",
- "start": 7826,
- "end": 8258,
+ "start": 7835,
+ "end": 8267,
"loc": {
"start": {
"line": 236,
@@ -21224,8 +21224,8 @@
{
"type": "CommentBlock",
"value": "*\n * Shorthand to add or concatenate an amount to a field.\n * Best used with numbers or strings.\n * @param {*} amount Amount to increment the field by.\n * @param {*} path Path to the field.\n ",
- "start": 8781,
- "end": 8976,
+ "start": 8790,
+ "end": 8985,
"loc": {
"start": {
"line": 263,
@@ -21241,8 +21241,8 @@
},
{
"type": "ExportNamedDeclaration",
- "start": 8977,
- "end": 9067,
+ "start": 8986,
+ "end": 9076,
"loc": {
"start": {
"line": 269,
@@ -21257,8 +21257,8 @@
"source": null,
"declaration": {
"type": "FunctionDeclaration",
- "start": 8984,
- "end": 9067,
+ "start": 8993,
+ "end": 9076,
"loc": {
"start": {
"line": 269,
@@ -21271,8 +21271,8 @@
},
"id": {
"type": "Identifier",
- "start": 8993,
- "end": 9007,
+ "start": 9002,
+ "end": 9016,
"loc": {
"start": {
"line": 269,
@@ -21293,8 +21293,8 @@
"params": [
{
"type": "Identifier",
- "start": 9009,
- "end": 9015,
+ "start": 9018,
+ "end": 9024,
"loc": {
"start": {
"line": 269,
@@ -21310,8 +21310,8 @@
},
{
"type": "Identifier",
- "start": 9017,
- "end": 9021,
+ "start": 9026,
+ "end": 9030,
"loc": {
"start": {
"line": 269,
@@ -21328,8 +21328,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 9023,
- "end": 9067,
+ "start": 9032,
+ "end": 9076,
"loc": {
"start": {
"line": 269,
@@ -21343,8 +21343,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 9026,
- "end": 9065,
+ "start": 9035,
+ "end": 9074,
"loc": {
"start": {
"line": 270,
@@ -21357,8 +21357,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 9026,
- "end": 9065,
+ "start": 9035,
+ "end": 9074,
"loc": {
"start": {
"line": 270,
@@ -21371,8 +21371,8 @@
},
"callee": {
"type": "Identifier",
- "start": 9026,
- "end": 9034,
+ "start": 9035,
+ "end": 9043,
"loc": {
"start": {
"line": 270,
@@ -21389,8 +21389,8 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 9035,
- "end": 9058,
+ "start": 9044,
+ "end": 9067,
"loc": {
"start": {
"line": 270,
@@ -21403,8 +21403,8 @@
},
"left": {
"type": "CallExpression",
- "start": 9035,
- "end": 9049,
+ "start": 9044,
+ "end": 9058,
"loc": {
"start": {
"line": 270,
@@ -21417,8 +21417,8 @@
},
"callee": {
"type": "Identifier",
- "start": 9035,
- "end": 9043,
+ "start": 9044,
+ "end": 9052,
"loc": {
"start": {
"line": 270,
@@ -21435,8 +21435,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 9044,
- "end": 9048,
+ "start": 9053,
+ "end": 9057,
"loc": {
"start": {
"line": 270,
@@ -21455,8 +21455,8 @@
"operator": "+",
"right": {
"type": "Identifier",
- "start": 9052,
- "end": 9058,
+ "start": 9061,
+ "end": 9067,
"loc": {
"start": {
"line": 270,
@@ -21473,8 +21473,8 @@
},
{
"type": "Identifier",
- "start": 9060,
- "end": 9064,
+ "start": 9069,
+ "end": 9073,
"loc": {
"start": {
"line": 270,
@@ -21499,8 +21499,8 @@
{
"type": "CommentBlock",
"value": "*\n * Shorthand to add or concatenate an amount to a field.\n * Best used with numbers or strings.\n * @param {*} amount Amount to increment the field by.\n * @param {*} path Path to the field.\n ",
- "start": 8781,
- "end": 8976,
+ "start": 8790,
+ "end": 8985,
"loc": {
"start": {
"line": 263,
@@ -21517,8 +21517,8 @@
{
"type": "CommentBlock",
"value": "*\n * Returns the value given a path to that value.\n * Adopted from https://stackoverflow.com/questions/6491463/accessing-nested-javascript-objects-with-string-key\n * @param {*} path Array containing all of the subobject identifiers, with the 0th index being the lowest level.\n * Example: rooms.myRoom.players could be accessed through a path value of ['rooms', 'myRoom', 'players']\n * @returns The value for the given field.\n ",
- "start": 9069,
- "end": 9515,
+ "start": 9078,
+ "end": 9524,
"loc": {
"start": {
"line": 273,
@@ -21536,8 +21536,8 @@
{
"type": "CommentBlock",
"value": "*\n * Shorthand to add or concatenate an amount to a field.\n * Best used with numbers or strings.\n * @param {*} amount Amount to increment the field by.\n * @param {*} path Path to the field.\n ",
- "start": 8781,
- "end": 8976,
+ "start": 8790,
+ "end": 8985,
"loc": {
"start": {
"line": 263,
@@ -21554,8 +21554,8 @@
{
"type": "CommentBlock",
"value": "*\n * Returns the value given a path to that value.\n * Adopted from https://stackoverflow.com/questions/6491463/accessing-nested-javascript-objects-with-string-key\n * @param {*} path Array containing all of the subobject identifiers, with the 0th index being the lowest level.\n * Example: rooms.myRoom.players could be accessed through a path value of ['rooms', 'myRoom', 'players']\n * @returns The value for the given field.\n ",
- "start": 9069,
- "end": 9515,
+ "start": 9078,
+ "end": 9524,
"loc": {
"start": {
"line": 273,
@@ -21571,8 +21571,8 @@
},
{
"type": "ExportNamedDeclaration",
- "start": 9516,
- "end": 10067,
+ "start": 9525,
+ "end": 10076,
"loc": {
"start": {
"line": 280,
@@ -21587,8 +21587,8 @@
"source": null,
"declaration": {
"type": "FunctionDeclaration",
- "start": 9523,
- "end": 10067,
+ "start": 9532,
+ "end": 10076,
"loc": {
"start": {
"line": 280,
@@ -21601,8 +21601,8 @@
},
"id": {
"type": "Identifier",
- "start": 9532,
- "end": 9540,
+ "start": 9541,
+ "end": 9549,
"loc": {
"start": {
"line": 280,
@@ -21623,8 +21623,8 @@
"params": [
{
"type": "Identifier",
- "start": 9542,
- "end": 9546,
+ "start": 9551,
+ "end": 9555,
"loc": {
"start": {
"line": 280,
@@ -21641,8 +21641,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 9548,
- "end": 10067,
+ "start": 9557,
+ "end": 10076,
"loc": {
"start": {
"line": 280,
@@ -21656,8 +21656,8 @@
"body": [
{
"type": "IfStatement",
- "start": 9551,
- "end": 9661,
+ "start": 9560,
+ "end": 9670,
"loc": {
"start": {
"line": 281,
@@ -21670,8 +21670,8 @@
},
"test": {
"type": "LogicalExpression",
- "start": 9555,
- "end": 9594,
+ "start": 9564,
+ "end": 9603,
"loc": {
"start": {
"line": 281,
@@ -21684,8 +21684,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 9555,
- "end": 9573,
+ "start": 9564,
+ "end": 9582,
"loc": {
"start": {
"line": 281,
@@ -21698,8 +21698,8 @@
},
"left": {
"type": "Identifier",
- "start": 9555,
- "end": 9559,
+ "start": 9564,
+ "end": 9568,
"loc": {
"start": {
"line": 281,
@@ -21716,8 +21716,8 @@
"operator": "===",
"right": {
"type": "Identifier",
- "start": 9564,
- "end": 9573,
+ "start": 9573,
+ "end": 9582,
"loc": {
"start": {
"line": 281,
@@ -21735,8 +21735,8 @@
"operator": "||",
"right": {
"type": "BinaryExpression",
- "start": 9577,
- "end": 9594,
+ "start": 9586,
+ "end": 9603,
"loc": {
"start": {
"line": 281,
@@ -21749,8 +21749,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 9577,
- "end": 9588,
+ "start": 9586,
+ "end": 9597,
"loc": {
"start": {
"line": 281,
@@ -21763,8 +21763,8 @@
},
"object": {
"type": "Identifier",
- "start": 9577,
- "end": 9581,
+ "start": 9586,
+ "end": 9590,
"loc": {
"start": {
"line": 281,
@@ -21780,8 +21780,8 @@
},
"property": {
"type": "Identifier",
- "start": 9582,
- "end": 9588,
+ "start": 9591,
+ "end": 9597,
"loc": {
"start": {
"line": 281,
@@ -21800,8 +21800,8 @@
"operator": "===",
"right": {
"type": "NumericLiteral",
- "start": 9593,
- "end": 9594,
+ "start": 9602,
+ "end": 9603,
"loc": {
"start": {
"line": 281,
@@ -21822,8 +21822,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 9596,
- "end": 9661,
+ "start": 9605,
+ "end": 9670,
"loc": {
"start": {
"line": 281,
@@ -21837,8 +21837,8 @@
"body": [
{
"type": "ThrowStatement",
- "start": 9600,
- "end": 9658,
+ "start": 9609,
+ "end": 9667,
"loc": {
"start": {
"line": 282,
@@ -21851,8 +21851,8 @@
},
"argument": {
"type": "NewExpression",
- "start": 9606,
- "end": 9658,
+ "start": 9615,
+ "end": 9667,
"loc": {
"start": {
"line": 282,
@@ -21865,8 +21865,8 @@
},
"callee": {
"type": "Identifier",
- "start": 9610,
- "end": 9615,
+ "start": 9619,
+ "end": 9624,
"loc": {
"start": {
"line": 282,
@@ -21883,8 +21883,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 9616,
- "end": 9657,
+ "start": 9625,
+ "end": 9666,
"loc": {
"start": {
"line": 282,
@@ -21911,8 +21911,8 @@
},
{
"type": "IfStatement",
- "start": 9663,
- "end": 9760,
+ "start": 9672,
+ "end": 9769,
"loc": {
"start": {
"line": 284,
@@ -21925,8 +21925,8 @@
},
"test": {
"type": "BinaryExpression",
- "start": 9667,
- "end": 9692,
+ "start": 9676,
+ "end": 9701,
"loc": {
"start": {
"line": 284,
@@ -21939,8 +21939,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 9667,
- "end": 9678,
+ "start": 9676,
+ "end": 9687,
"loc": {
"start": {
"line": 284,
@@ -21953,8 +21953,8 @@
},
"object": {
"type": "Identifier",
- "start": 9667,
- "end": 9671,
+ "start": 9676,
+ "end": 9680,
"loc": {
"start": {
"line": 284,
@@ -21970,8 +21970,8 @@
},
"property": {
"type": "Identifier",
- "start": 9672,
- "end": 9678,
+ "start": 9681,
+ "end": 9687,
"loc": {
"start": {
"line": 284,
@@ -21990,8 +21990,8 @@
"operator": "===",
"right": {
"type": "Identifier",
- "start": 9683,
- "end": 9692,
+ "start": 9692,
+ "end": 9701,
"loc": {
"start": {
"line": 284,
@@ -22008,8 +22008,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 9694,
- "end": 9760,
+ "start": 9703,
+ "end": 9769,
"loc": {
"start": {
"line": 284,
@@ -22023,8 +22023,8 @@
"body": [
{
"type": "ThrowStatement",
- "start": 9698,
- "end": 9757,
+ "start": 9707,
+ "end": 9766,
"loc": {
"start": {
"line": 285,
@@ -22037,8 +22037,8 @@
},
"argument": {
"type": "NewExpression",
- "start": 9704,
- "end": 9757,
+ "start": 9713,
+ "end": 9766,
"loc": {
"start": {
"line": 285,
@@ -22051,8 +22051,8 @@
},
"callee": {
"type": "Identifier",
- "start": 9708,
- "end": 9713,
+ "start": 9717,
+ "end": 9722,
"loc": {
"start": {
"line": 285,
@@ -22069,8 +22069,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 9714,
- "end": 9756,
+ "start": 9723,
+ "end": 9765,
"loc": {
"start": {
"line": 285,
@@ -22097,8 +22097,8 @@
},
{
"type": "VariableDeclaration",
- "start": 9763,
- "end": 9846,
+ "start": 9772,
+ "end": 9855,
"loc": {
"start": {
"line": 288,
@@ -22112,8 +22112,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 9767,
- "end": 9846,
+ "start": 9776,
+ "end": 9855,
"loc": {
"start": {
"line": 288,
@@ -22126,8 +22126,8 @@
},
"id": {
"type": "Identifier",
- "start": 9767,
- "end": 9770,
+ "start": 9776,
+ "end": 9779,
"loc": {
"start": {
"line": 288,
@@ -22143,8 +22143,8 @@
},
"init": {
"type": "ConditionalExpression",
- "start": 9773,
- "end": 9846,
+ "start": 9782,
+ "end": 9855,
"loc": {
"start": {
"line": 288,
@@ -22157,8 +22157,8 @@
},
"test": {
"type": "BinaryExpression",
- "start": 9774,
- "end": 9793,
+ "start": 9783,
+ "end": 9802,
"loc": {
"start": {
"line": 288,
@@ -22171,8 +22171,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 9774,
- "end": 9781,
+ "start": 9783,
+ "end": 9790,
"loc": {
"start": {
"line": 288,
@@ -22185,8 +22185,8 @@
},
"object": {
"type": "Identifier",
- "start": 9774,
- "end": 9778,
+ "start": 9783,
+ "end": 9787,
"loc": {
"start": {
"line": 288,
@@ -22202,8 +22202,8 @@
},
"property": {
"type": "NumericLiteral",
- "start": 9779,
- "end": 9780,
+ "start": 9788,
+ "end": 9789,
"loc": {
"start": {
"line": 288,
@@ -22225,8 +22225,8 @@
"operator": "===",
"right": {
"type": "StringLiteral",
- "start": 9786,
- "end": 9793,
+ "start": 9795,
+ "end": 9802,
"loc": {
"start": {
"line": 288,
@@ -22245,13 +22245,13 @@
},
"extra": {
"parenthesized": true,
- "parenStart": 9773
+ "parenStart": 9782
}
},
"consequent": {
"type": "Identifier",
- "start": 9797,
- "end": 9802,
+ "start": 9806,
+ "end": 9811,
"loc": {
"start": {
"line": 288,
@@ -22267,8 +22267,8 @@
},
"alternate": {
"type": "ConditionalExpression",
- "start": 9805,
- "end": 9846,
+ "start": 9814,
+ "end": 9855,
"loc": {
"start": {
"line": 288,
@@ -22281,8 +22281,8 @@
},
"test": {
"type": "BinaryExpression",
- "start": 9806,
- "end": 9825,
+ "start": 9815,
+ "end": 9834,
"loc": {
"start": {
"line": 288,
@@ -22295,8 +22295,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 9806,
- "end": 9813,
+ "start": 9815,
+ "end": 9822,
"loc": {
"start": {
"line": 288,
@@ -22309,8 +22309,8 @@
},
"object": {
"type": "Identifier",
- "start": 9806,
- "end": 9810,
+ "start": 9815,
+ "end": 9819,
"loc": {
"start": {
"line": 288,
@@ -22326,8 +22326,8 @@
},
"property": {
"type": "NumericLiteral",
- "start": 9811,
- "end": 9812,
+ "start": 9820,
+ "end": 9821,
"loc": {
"start": {
"line": 288,
@@ -22349,8 +22349,8 @@
"operator": "===",
"right": {
"type": "StringLiteral",
- "start": 9818,
- "end": 9825,
+ "start": 9827,
+ "end": 9834,
"loc": {
"start": {
"line": 288,
@@ -22369,13 +22369,13 @@
},
"extra": {
"parenthesized": true,
- "parenStart": 9805
+ "parenStart": 9814
}
},
"consequent": {
"type": "Identifier",
- "start": 9829,
- "end": 9834,
+ "start": 9838,
+ "end": 9843,
"loc": {
"start": {
"line": 288,
@@ -22391,8 +22391,8 @@
},
"alternate": {
"type": "Identifier",
- "start": 9837,
- "end": 9846,
+ "start": 9846,
+ "end": 9855,
"loc": {
"start": {
"line": 288,
@@ -22414,8 +22414,8 @@
},
{
"type": "IfStatement",
- "start": 9848,
- "end": 9959,
+ "start": 9857,
+ "end": 9968,
"loc": {
"start": {
"line": 289,
@@ -22428,8 +22428,8 @@
},
"test": {
"type": "BinaryExpression",
- "start": 9852,
- "end": 9869,
+ "start": 9861,
+ "end": 9878,
"loc": {
"start": {
"line": 289,
@@ -22442,8 +22442,8 @@
},
"left": {
"type": "Identifier",
- "start": 9852,
- "end": 9855,
+ "start": 9861,
+ "end": 9864,
"loc": {
"start": {
"line": 289,
@@ -22460,8 +22460,8 @@
"operator": "===",
"right": {
"type": "Identifier",
- "start": 9860,
- "end": 9869,
+ "start": 9869,
+ "end": 9878,
"loc": {
"start": {
"line": 289,
@@ -22478,8 +22478,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 9871,
- "end": 9959,
+ "start": 9880,
+ "end": 9968,
"loc": {
"start": {
"line": 289,
@@ -22493,8 +22493,8 @@
"body": [
{
"type": "ThrowStatement",
- "start": 9875,
- "end": 9956,
+ "start": 9884,
+ "end": 9965,
"loc": {
"start": {
"line": 290,
@@ -22507,8 +22507,8 @@
},
"argument": {
"type": "NewExpression",
- "start": 9881,
- "end": 9956,
+ "start": 9890,
+ "end": 9965,
"loc": {
"start": {
"line": 290,
@@ -22521,8 +22521,8 @@
},
"callee": {
"type": "Identifier",
- "start": 9885,
- "end": 9890,
+ "start": 9894,
+ "end": 9899,
"loc": {
"start": {
"line": 290,
@@ -22539,8 +22539,8 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 9891,
- "end": 9955,
+ "start": 9900,
+ "end": 9964,
"loc": {
"start": {
"line": 290,
@@ -22553,8 +22553,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 9891,
- "end": 9934,
+ "start": 9900,
+ "end": 9943,
"loc": {
"start": {
"line": 290,
@@ -22567,8 +22567,8 @@
},
"left": {
"type": "StringLiteral",
- "start": 9891,
- "end": 9924,
+ "start": 9900,
+ "end": 9933,
"loc": {
"start": {
"line": 290,
@@ -22588,8 +22588,8 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 9927,
- "end": 9934,
+ "start": 9936,
+ "end": 9943,
"loc": {
"start": {
"line": 290,
@@ -22602,8 +22602,8 @@
},
"object": {
"type": "Identifier",
- "start": 9927,
- "end": 9931,
+ "start": 9936,
+ "end": 9940,
"loc": {
"start": {
"line": 290,
@@ -22619,8 +22619,8 @@
},
"property": {
"type": "NumericLiteral",
- "start": 9932,
- "end": 9933,
+ "start": 9941,
+ "end": 9942,
"loc": {
"start": {
"line": 290,
@@ -22643,8 +22643,8 @@
"operator": "+",
"right": {
"type": "StringLiteral",
- "start": 9937,
- "end": 9955,
+ "start": 9946,
+ "end": 9964,
"loc": {
"start": {
"line": 290,
@@ -22672,8 +22672,8 @@
},
{
"type": "ForStatement",
- "start": 9962,
- "end": 10025,
+ "start": 9971,
+ "end": 10034,
"loc": {
"start": {
"line": 293,
@@ -22686,8 +22686,8 @@
},
"init": {
"type": "VariableDeclaration",
- "start": 9967,
- "end": 9976,
+ "start": 9976,
+ "end": 9985,
"loc": {
"start": {
"line": 293,
@@ -22701,8 +22701,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 9971,
- "end": 9976,
+ "start": 9980,
+ "end": 9985,
"loc": {
"start": {
"line": 293,
@@ -22715,8 +22715,8 @@
},
"id": {
"type": "Identifier",
- "start": 9971,
- "end": 9972,
+ "start": 9980,
+ "end": 9981,
"loc": {
"start": {
"line": 293,
@@ -22732,8 +22732,8 @@
},
"init": {
"type": "NumericLiteral",
- "start": 9975,
- "end": 9976,
+ "start": 9984,
+ "end": 9985,
"loc": {
"start": {
"line": 293,
@@ -22756,8 +22756,8 @@
},
"test": {
"type": "BinaryExpression",
- "start": 9978,
- "end": 9993,
+ "start": 9987,
+ "end": 10002,
"loc": {
"start": {
"line": 293,
@@ -22770,8 +22770,8 @@
},
"left": {
"type": "Identifier",
- "start": 9978,
- "end": 9979,
+ "start": 9987,
+ "end": 9988,
"loc": {
"start": {
"line": 293,
@@ -22788,8 +22788,8 @@
"operator": "<",
"right": {
"type": "MemberExpression",
- "start": 9982,
- "end": 9993,
+ "start": 9991,
+ "end": 10002,
"loc": {
"start": {
"line": 293,
@@ -22802,8 +22802,8 @@
},
"object": {
"type": "Identifier",
- "start": 9982,
- "end": 9986,
+ "start": 9991,
+ "end": 9995,
"loc": {
"start": {
"line": 293,
@@ -22819,8 +22819,8 @@
},
"property": {
"type": "Identifier",
- "start": 9987,
- "end": 9993,
+ "start": 9996,
+ "end": 10002,
"loc": {
"start": {
"line": 293,
@@ -22839,8 +22839,8 @@
},
"update": {
"type": "UpdateExpression",
- "start": 9995,
- "end": 9998,
+ "start": 10004,
+ "end": 10007,
"loc": {
"start": {
"line": 293,
@@ -22855,8 +22855,8 @@
"prefix": false,
"argument": {
"type": "Identifier",
- "start": 9995,
- "end": 9996,
+ "start": 10004,
+ "end": 10005,
"loc": {
"start": {
"line": 293,
@@ -22873,8 +22873,8 @@
},
"body": {
"type": "BlockStatement",
- "start": 10000,
- "end": 10025,
+ "start": 10009,
+ "end": 10034,
"loc": {
"start": {
"line": 293,
@@ -22888,8 +22888,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 10004,
- "end": 10022,
+ "start": 10013,
+ "end": 10031,
"loc": {
"start": {
"line": 294,
@@ -22902,8 +22902,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 10004,
- "end": 10022,
+ "start": 10013,
+ "end": 10031,
"loc": {
"start": {
"line": 294,
@@ -22917,8 +22917,8 @@
"operator": "=",
"left": {
"type": "Identifier",
- "start": 10004,
- "end": 10007,
+ "start": 10013,
+ "end": 10016,
"loc": {
"start": {
"line": 294,
@@ -22934,8 +22934,8 @@
},
"right": {
"type": "MemberExpression",
- "start": 10010,
- "end": 10022,
+ "start": 10019,
+ "end": 10031,
"loc": {
"start": {
"line": 294,
@@ -22948,8 +22948,8 @@
},
"object": {
"type": "Identifier",
- "start": 10010,
- "end": 10013,
+ "start": 10019,
+ "end": 10022,
"loc": {
"start": {
"line": 294,
@@ -22965,8 +22965,8 @@
},
"property": {
"type": "MemberExpression",
- "start": 10014,
- "end": 10021,
+ "start": 10023,
+ "end": 10030,
"loc": {
"start": {
"line": 294,
@@ -22979,8 +22979,8 @@
},
"object": {
"type": "Identifier",
- "start": 10014,
- "end": 10018,
+ "start": 10023,
+ "end": 10027,
"loc": {
"start": {
"line": 294,
@@ -22996,8 +22996,8 @@
},
"property": {
"type": "Identifier",
- "start": 10019,
- "end": 10020,
+ "start": 10028,
+ "end": 10029,
"loc": {
"start": {
"line": 294,
@@ -23025,8 +23025,8 @@
{
"type": "CommentLine",
"value": " console.log(path, obj);",
- "start": 10027,
- "end": 10053,
+ "start": 10036,
+ "end": 10062,
"loc": {
"start": {
"line": 296,
@@ -23042,8 +23042,8 @@
},
{
"type": "ReturnStatement",
- "start": 10055,
- "end": 10065,
+ "start": 10064,
+ "end": 10074,
"loc": {
"start": {
"line": 297,
@@ -23056,8 +23056,8 @@
},
"argument": {
"type": "Identifier",
- "start": 10062,
- "end": 10065,
+ "start": 10071,
+ "end": 10074,
"loc": {
"start": {
"line": 297,
@@ -23076,8 +23076,8 @@
{
"type": "CommentLine",
"value": " console.log(path, obj);",
- "start": 10027,
- "end": 10053,
+ "start": 10036,
+ "end": 10062,
"loc": {
"start": {
"line": 296,
@@ -23099,8 +23099,8 @@
{
"type": "CommentBlock",
"value": "*\n * Returns the value given a path to that value.\n * Adopted from https://stackoverflow.com/questions/6491463/accessing-nested-javascript-objects-with-string-key\n * @param {*} path Array containing all of the subobject identifiers, with the 0th index being the lowest level.\n * Example: rooms.myRoom.players could be accessed through a path value of ['rooms', 'myRoom', 'players']\n * @returns The value for the given field.\n ",
- "start": 9069,
- "end": 9515,
+ "start": 9078,
+ "end": 9524,
"loc": {
"start": {
"line": 273,
@@ -23117,8 +23117,8 @@
{
"type": "CommentBlock",
"value": "*\n * Deletes one of the three types of gameObjects synced to the server\n * @param {string} type Either players, atoms, compounds\n * @param {*} id ID of the object to delete\n * @param {string} room Room name to delete in\n * @param {*} socket socket.io instance\n ",
- "start": 10069,
- "end": 10334,
+ "start": 10078,
+ "end": 10343,
"loc": {
"start": {
"line": 300,
@@ -23136,8 +23136,8 @@
{
"type": "CommentBlock",
"value": "*\n * Returns the value given a path to that value.\n * Adopted from https://stackoverflow.com/questions/6491463/accessing-nested-javascript-objects-with-string-key\n * @param {*} path Array containing all of the subobject identifiers, with the 0th index being the lowest level.\n * Example: rooms.myRoom.players could be accessed through a path value of ['rooms', 'myRoom', 'players']\n * @returns The value for the given field.\n ",
- "start": 9069,
- "end": 9515,
+ "start": 9078,
+ "end": 9524,
"loc": {
"start": {
"line": 273,
@@ -23154,8 +23154,8 @@
{
"type": "CommentBlock",
"value": "*\n * Deletes one of the three types of gameObjects synced to the server\n * @param {string} type Either players, atoms, compounds\n * @param {*} id ID of the object to delete\n * @param {string} room Room name to delete in\n * @param {*} socket socket.io instance\n ",
- "start": 10069,
- "end": 10334,
+ "start": 10078,
+ "end": 10343,
"loc": {
"start": {
"line": 300,
@@ -23171,8 +23171,8 @@
},
{
"type": "ExportNamedDeclaration",
- "start": 10335,
- "end": 10598,
+ "start": 10344,
+ "end": 10607,
"loc": {
"start": {
"line": 307,
@@ -23187,8 +23187,8 @@
"source": null,
"declaration": {
"type": "FunctionDeclaration",
- "start": 10342,
- "end": 10598,
+ "start": 10351,
+ "end": 10607,
"loc": {
"start": {
"line": 307,
@@ -23201,8 +23201,8 @@
},
"id": {
"type": "Identifier",
- "start": 10351,
- "end": 10363,
+ "start": 10360,
+ "end": 10372,
"loc": {
"start": {
"line": 307,
@@ -23223,8 +23223,8 @@
"params": [
{
"type": "Identifier",
- "start": 10365,
- "end": 10369,
+ "start": 10374,
+ "end": 10378,
"loc": {
"start": {
"line": 307,
@@ -23240,8 +23240,8 @@
},
{
"type": "Identifier",
- "start": 10371,
- "end": 10373,
+ "start": 10380,
+ "end": 10382,
"loc": {
"start": {
"line": 307,
@@ -23257,8 +23257,8 @@
},
{
"type": "Identifier",
- "start": 10375,
- "end": 10379,
+ "start": 10384,
+ "end": 10388,
"loc": {
"start": {
"line": 307,
@@ -23274,8 +23274,8 @@
},
{
"type": "Identifier",
- "start": 10381,
- "end": 10387,
+ "start": 10390,
+ "end": 10396,
"loc": {
"start": {
"line": 307,
@@ -23292,8 +23292,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 10389,
- "end": 10598,
+ "start": 10398,
+ "end": 10607,
"loc": {
"start": {
"line": 307,
@@ -23307,8 +23307,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 10392,
- "end": 10420,
+ "start": 10401,
+ "end": 10429,
"loc": {
"start": {
"line": 308,
@@ -23321,8 +23321,8 @@
},
"expression": {
"type": "UnaryExpression",
- "start": 10392,
- "end": 10420,
+ "start": 10401,
+ "end": 10429,
"loc": {
"start": {
"line": 308,
@@ -23337,8 +23337,8 @@
"prefix": true,
"argument": {
"type": "MemberExpression",
- "start": 10399,
- "end": 10420,
+ "start": 10408,
+ "end": 10429,
"loc": {
"start": {
"line": 308,
@@ -23351,8 +23351,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 10399,
- "end": 10416,
+ "start": 10408,
+ "end": 10425,
"loc": {
"start": {
"line": 308,
@@ -23365,8 +23365,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 10399,
- "end": 10410,
+ "start": 10408,
+ "end": 10419,
"loc": {
"start": {
"line": 308,
@@ -23379,8 +23379,8 @@
},
"object": {
"type": "Identifier",
- "start": 10399,
- "end": 10404,
+ "start": 10408,
+ "end": 10413,
"loc": {
"start": {
"line": 308,
@@ -23396,8 +23396,8 @@
},
"property": {
"type": "Identifier",
- "start": 10405,
- "end": 10409,
+ "start": 10414,
+ "end": 10418,
"loc": {
"start": {
"line": 308,
@@ -23415,8 +23415,8 @@
},
"property": {
"type": "Identifier",
- "start": 10411,
- "end": 10415,
+ "start": 10420,
+ "end": 10424,
"loc": {
"start": {
"line": 308,
@@ -23434,8 +23434,8 @@
},
"property": {
"type": "Identifier",
- "start": 10417,
- "end": 10419,
+ "start": 10426,
+ "end": 10428,
"loc": {
"start": {
"line": 308,
@@ -23461,8 +23461,8 @@
{
"type": "CommentLine",
"value": " Send clientside message",
- "start": 10423,
- "end": 10449,
+ "start": 10432,
+ "end": 10458,
"loc": {
"start": {
"line": 310,
@@ -23478,8 +23478,8 @@
},
{
"type": "ExpressionStatement",
- "start": 10451,
- "end": 10532,
+ "start": 10460,
+ "end": 10541,
"loc": {
"start": {
"line": 311,
@@ -23492,8 +23492,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 10451,
- "end": 10532,
+ "start": 10460,
+ "end": 10541,
"loc": {
"start": {
"line": 311,
@@ -23506,8 +23506,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 10451,
- "end": 10481,
+ "start": 10460,
+ "end": 10490,
"loc": {
"start": {
"line": 311,
@@ -23520,8 +23520,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 10451,
- "end": 10476,
+ "start": 10460,
+ "end": 10485,
"loc": {
"start": {
"line": 311,
@@ -23534,8 +23534,8 @@
},
"object": {
"type": "CallExpression",
- "start": 10451,
- "end": 10466,
+ "start": 10460,
+ "end": 10475,
"loc": {
"start": {
"line": 311,
@@ -23548,8 +23548,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 10451,
- "end": 10460,
+ "start": 10460,
+ "end": 10469,
"loc": {
"start": {
"line": 311,
@@ -23562,8 +23562,8 @@
},
"object": {
"type": "Identifier",
- "start": 10451,
- "end": 10457,
+ "start": 10460,
+ "end": 10466,
"loc": {
"start": {
"line": 311,
@@ -23580,8 +23580,8 @@
},
"property": {
"type": "Identifier",
- "start": 10458,
- "end": 10460,
+ "start": 10467,
+ "end": 10469,
"loc": {
"start": {
"line": 311,
@@ -23601,8 +23601,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 10461,
- "end": 10465,
+ "start": 10470,
+ "end": 10474,
"loc": {
"start": {
"line": 311,
@@ -23621,8 +23621,8 @@
},
"property": {
"type": "Identifier",
- "start": 10467,
- "end": 10476,
+ "start": 10476,
+ "end": 10485,
"loc": {
"start": {
"line": 311,
@@ -23641,8 +23641,8 @@
},
"property": {
"type": "Identifier",
- "start": 10477,
- "end": 10481,
+ "start": 10486,
+ "end": 10490,
"loc": {
"start": {
"line": 311,
@@ -23662,8 +23662,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 10482,
- "end": 10507,
+ "start": 10491,
+ "end": 10516,
"loc": {
"start": {
"line": 311,
@@ -23682,8 +23682,8 @@
},
{
"type": "ObjectExpression",
- "start": 10509,
- "end": 10531,
+ "start": 10518,
+ "end": 10540,
"loc": {
"start": {
"line": 311,
@@ -23697,8 +23697,8 @@
"properties": [
{
"type": "ObjectProperty",
- "start": 10511,
- "end": 10517,
+ "start": 10520,
+ "end": 10526,
"loc": {
"start": {
"line": 311,
@@ -23714,8 +23714,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 10511,
- "end": 10513,
+ "start": 10520,
+ "end": 10522,
"loc": {
"start": {
"line": 311,
@@ -23731,8 +23731,8 @@
},
"value": {
"type": "Identifier",
- "start": 10515,
- "end": 10517,
+ "start": 10524,
+ "end": 10526,
"loc": {
"start": {
"line": 311,
@@ -23749,8 +23749,8 @@
},
{
"type": "ObjectProperty",
- "start": 10519,
- "end": 10529,
+ "start": 10528,
+ "end": 10538,
"loc": {
"start": {
"line": 311,
@@ -23766,8 +23766,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 10519,
- "end": 10523,
+ "start": 10528,
+ "end": 10532,
"loc": {
"start": {
"line": 311,
@@ -23783,8 +23783,8 @@
},
"value": {
"type": "Identifier",
- "start": 10525,
- "end": 10529,
+ "start": 10534,
+ "end": 10538,
"loc": {
"start": {
"line": 311,
@@ -23808,8 +23808,8 @@
{
"type": "CommentLine",
"value": " Send clientside message",
- "start": 10423,
- "end": 10449,
+ "start": 10432,
+ "end": 10458,
"loc": {
"start": {
"line": 310,
@@ -23825,8 +23825,8 @@
},
{
"type": "ExpressionStatement",
- "start": 10534,
- "end": 10596,
+ "start": 10543,
+ "end": 10605,
"loc": {
"start": {
"line": 312,
@@ -23839,8 +23839,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 10534,
- "end": 10596,
+ "start": 10543,
+ "end": 10605,
"loc": {
"start": {
"line": 312,
@@ -23853,8 +23853,8 @@
},
"callee": {
"type": "MemberExpression",
- "start": 10534,
- "end": 10545,
+ "start": 10543,
+ "end": 10554,
"loc": {
"start": {
"line": 312,
@@ -23867,8 +23867,8 @@
},
"object": {
"type": "Identifier",
- "start": 10534,
- "end": 10540,
+ "start": 10543,
+ "end": 10549,
"loc": {
"start": {
"line": 312,
@@ -23884,8 +23884,8 @@
},
"property": {
"type": "Identifier",
- "start": 10541,
- "end": 10545,
+ "start": 10550,
+ "end": 10554,
"loc": {
"start": {
"line": 312,
@@ -23904,8 +23904,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 10546,
- "end": 10571,
+ "start": 10555,
+ "end": 10580,
"loc": {
"start": {
"line": 312,
@@ -23924,8 +23924,8 @@
},
{
"type": "ObjectExpression",
- "start": 10573,
- "end": 10595,
+ "start": 10582,
+ "end": 10604,
"loc": {
"start": {
"line": 312,
@@ -23939,8 +23939,8 @@
"properties": [
{
"type": "ObjectProperty",
- "start": 10575,
- "end": 10581,
+ "start": 10584,
+ "end": 10590,
"loc": {
"start": {
"line": 312,
@@ -23956,8 +23956,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 10575,
- "end": 10577,
+ "start": 10584,
+ "end": 10586,
"loc": {
"start": {
"line": 312,
@@ -23973,8 +23973,8 @@
},
"value": {
"type": "Identifier",
- "start": 10579,
- "end": 10581,
+ "start": 10588,
+ "end": 10590,
"loc": {
"start": {
"line": 312,
@@ -23991,8 +23991,8 @@
},
{
"type": "ObjectProperty",
- "start": 10583,
- "end": 10593,
+ "start": 10592,
+ "end": 10602,
"loc": {
"start": {
"line": 312,
@@ -24008,8 +24008,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 10583,
- "end": 10587,
+ "start": 10592,
+ "end": 10596,
"loc": {
"start": {
"line": 312,
@@ -24025,8 +24025,8 @@
},
"value": {
"type": "Identifier",
- "start": 10589,
- "end": 10593,
+ "start": 10598,
+ "end": 10602,
"loc": {
"start": {
"line": 312,
@@ -24053,8 +24053,8 @@
{
"type": "CommentBlock",
"value": "*\n * Deletes one of the three types of gameObjects synced to the server\n * @param {string} type Either players, atoms, compounds\n * @param {*} id ID of the object to delete\n * @param {string} room Room name to delete in\n * @param {*} socket socket.io instance\n ",
- "start": 10069,
- "end": 10334,
+ "start": 10078,
+ "end": 10343,
"loc": {
"start": {
"line": 300,
@@ -24073,8 +24073,8 @@
{
"type": "CommentBlock",
"value": "*\n * Deletes one of the three types of gameObjects synced to the server\n * @param {string} type Either players, atoms, compounds\n * @param {*} id ID of the object to delete\n * @param {string} room Room name to delete in\n * @param {*} socket socket.io instance\n ",
- "start": 10069,
- "end": 10334,
+ "start": 10078,
+ "end": 10343,
"loc": {
"start": {
"line": 300,
@@ -24110,9 +24110,9 @@
},
{
"type": "CommentBlock",
- "value": " Contains all game data, including which rooms and players are active.\n *\n * Structure of Rooms object:\n *\n// rooms = {\n// roomName: {\n// joinable: true,\n// type: '4v4',\n// teams: [\n// name: 'teamname',\n// players: ['id1', 'id2'...]\n// ],\n// players: { id, name, room, team, health, posX, posY, vx, vy, dead, experience, damagedBy, stronghold },\n// atoms: { typeID, id, posX, posY, vx, vy, team },\n// compounds: {\tid, posX, posY, vx, vy, blueprint, sendingTeam, sender },\n//\t\t tiles: { id, type, globalX, globalY, captured, owner, health }\n// time: {\n// minutes: 0,\n// seconds: 0,\n// formattedTime: '0:00'\n// }\n// }\n// }\n",
+ "value": " Contains all game data, including which rooms and players are active.\n *\n * Structure of Rooms object:\n *\n// rooms = {\n// roomName: {\n// joinable: true,\n// type: '4v4',\n// teams: [\n// name: 'teamname',\n// players: ['id1', 'id2'...]\n// ],\n// players: { id, name, room, team, health, posX, posY, vx, vy, dead, experience, damagedBy, stronghold, defense },\n// atoms: { typeID, id, posX, posY, vx, vy, team },\n// compounds: {\tid, posX, posY, vx, vy, blueprint, sendingTeam, sender },\n//\t\t tiles: { id, type, globalX, globalY, captured, owner, health }\n// time: {\n// minutes: 0,\n// seconds: 0,\n// formattedTime: '0:00'\n// }\n// }\n// }\n",
"start": 690,
- "end": 1457,
+ "end": 1466,
"loc": {
"start": {
"line": 20,
@@ -24127,8 +24127,8 @@
{
"type": "CommentBlock",
"value": "*\n * Teams object containing all the currently playing teams.\n * Structure:\n * teamName: {\n * room: 'roomName',\n * players: ['playerSocketId', 'player2SocketId', ...],\n * joinable: false/true\n * }\n *\n * -> Create a Team when the first player joins any lobby. Populate room when this occurs.\n * -> Change joinable to false when a Team is either full or the game has begun.\n * -> Delete the room from the database when the last player leaves.\n * -> There cannot be two teams with the same name. Throw an error if this occurs.\n ",
- "start": 1474,
- "end": 2012,
+ "start": 1483,
+ "end": 2021,
"loc": {
"start": {
"line": 46,
@@ -24143,8 +24143,8 @@
{
"type": "CommentLine",
"value": " Initializize Server. Includes atom spawning and timer mechanics",
- "start": 2029,
- "end": 2095,
+ "start": 2038,
+ "end": 2104,
"loc": {
"start": {
"line": 62,
@@ -24159,8 +24159,8 @@
{
"type": "CommentLine",
"value": " Initialize all socket listeners when a request is established",
- "start": 2110,
- "end": 2174,
+ "start": 2119,
+ "end": 2183,
"loc": {
"start": {
"line": 65,
@@ -24175,8 +24175,8 @@
{
"type": "CommentLine",
"value": " Local variable declaration",
- "start": 2208,
- "end": 2237,
+ "start": 2217,
+ "end": 2246,
"loc": {
"start": {
"line": 67,
@@ -24191,8 +24191,8 @@
{
"type": "CommentLine",
"value": " Run matchmaker",
- "start": 2320,
- "end": 2337,
+ "start": 2329,
+ "end": 2346,
"loc": {
"start": {
"line": 71,
@@ -24207,8 +24207,8 @@
{
"type": "CommentLine",
"value": " Init player",
- "start": 2438,
- "end": 2452,
+ "start": 2447,
+ "end": 2461,
"loc": {
"start": {
"line": 76,
@@ -24223,8 +24223,8 @@
{
"type": "CommentLine",
"value": " Announce colors",
- "start": 2684,
- "end": 2702,
+ "start": 2693,
+ "end": 2711,
"loc": {
"start": {
"line": 86,
@@ -24239,8 +24239,8 @@
{
"type": "CommentLine",
"value": " Setup player array sync- once a frame",
- "start": 2830,
- "end": 2870,
+ "start": 2839,
+ "end": 2879,
"loc": {
"start": {
"line": 90,
@@ -24255,8 +24255,8 @@
{
"type": "CommentLine",
"value": " Receives a chat from a player, then broadcasts it to other players",
- "start": 2947,
- "end": 3016,
+ "start": 2956,
+ "end": 3025,
"loc": {
"start": {
"line": 95,
@@ -24271,8 +24271,8 @@
{
"type": "CommentLine",
"value": " console.log('sender: ' + data.sender);",
- "start": 3063,
- "end": 3104,
+ "start": 3072,
+ "end": 3113,
"loc": {
"start": {
"line": 97,
@@ -24287,8 +24287,8 @@
{
"type": "CommentLine",
"value": " Other player joins the socket.to(room)",
- "start": 3505,
- "end": 3546,
+ "start": 3514,
+ "end": 3555,
"loc": {
"start": {
"line": 106,
@@ -24303,8 +24303,8 @@
{
"type": "CommentLine",
"value": " console.log('sender: ' + data.sender);",
- "start": 3593,
- "end": 3634,
+ "start": 3602,
+ "end": 3643,
"loc": {
"start": {
"line": 108,
@@ -24319,8 +24319,8 @@
{
"type": "CommentLine",
"value": " Broadcasts player join message",
- "start": 3912,
- "end": 3945,
+ "start": 3921,
+ "end": 3954,
"loc": {
"start": {
"line": 116,
@@ -24335,8 +24335,8 @@
{
"type": "CommentLine",
"value": " Hides the lobby screen if the game has already started",
- "start": 4145,
- "end": 4202,
+ "start": 4154,
+ "end": 4211,
"loc": {
"start": {
"line": 125,
@@ -24351,8 +24351,8 @@
{
"type": "CommentBlock",
"value": "*\n * On player movement:\n * data is in format\n * - id: index of player that moved\n * - type: atoms, players, or compounds\n * - posX: new x position\n * - posY: new y position\n * - vx: x-velocity\n * - vy: y-velocity\n ",
- "start": 4303,
- "end": 4546,
+ "start": 4312,
+ "end": 4555,
"loc": {
"start": {
"line": 130,
@@ -24367,8 +24367,8 @@
{
"type": "CommentLine",
"value": " Player exists in database already because it was created serverside - no need for extra checking",
- "start": 4587,
- "end": 4686,
+ "start": 4596,
+ "end": 4695,
"loc": {
"start": {
"line": 141,
@@ -24383,8 +24383,8 @@
{
"type": "CommentLine",
"value": " A player spawned a Compound",
- "start": 5158,
- "end": 5188,
+ "start": 5167,
+ "end": 5197,
"loc": {
"start": {
"line": 158,
@@ -24399,8 +24399,8 @@
{
"type": "CommentLine",
"value": " Make the room and teams unjoinable",
- "start": 5482,
- "end": 5519,
+ "start": 5491,
+ "end": 5528,
"loc": {
"start": {
"line": 168,
@@ -24415,8 +24415,8 @@
{
"type": "CommentLine",
"value": " Assign nucleus teams",
- "start": 5631,
- "end": 5654,
+ "start": 5640,
+ "end": 5663,
"loc": {
"start": {
"line": 174,
@@ -24431,8 +24431,8 @@
{
"type": "CommentLine",
"value": " console.log(rooms[room].teams)",
- "start": 5752,
- "end": 5785,
+ "start": 5761,
+ "end": 5794,
"loc": {
"start": {
"line": 177,
@@ -24447,8 +24447,8 @@
{
"type": "CommentLine",
"value": " console.warn('No team exists for nucleus ' + rooms[room].tiles[tile].id.substring(1))",
- "start": 5934,
- "end": 6022,
+ "start": 5943,
+ "end": 6031,
"loc": {
"start": {
"line": 182,
@@ -24463,8 +24463,8 @@
{
"type": "CommentLine",
"value": " Testing purposes- give yourself 5000 of each atom",
- "start": 6265,
- "end": 6317,
+ "start": 6274,
+ "end": 6326,
"loc": {
"start": {
"line": 192,
@@ -24479,8 +24479,8 @@
{
"type": "CommentLine",
"value": " console.log(rooms[room].players[data.player].atomList)",
- "start": 6381,
- "end": 6438,
+ "start": 6390,
+ "end": 6447,
"loc": {
"start": {
"line": 195,
@@ -24495,8 +24495,8 @@
{
"type": "CommentLine",
"value": " Broadcast to everyone in the room to delete the player",
- "start": 6835,
- "end": 6892,
+ "start": 6844,
+ "end": 6901,
"loc": {
"start": {
"line": 205,
@@ -24511,8 +24511,8 @@
{
"type": "CommentLine",
"value": " Remove the server side player",
- "start": 6934,
- "end": 6966,
+ "start": 6943,
+ "end": 6975,
"loc": {
"start": {
"line": 207,
@@ -24527,8 +24527,8 @@
{
"type": "CommentLine",
"value": " Delete room if there is nobody inside",
- "start": 6970,
- "end": 7010,
+ "start": 6979,
+ "end": 7019,
"loc": {
"start": {
"line": 209,
@@ -24543,8 +24543,8 @@
{
"type": "CommentLine",
"value": " Remove from teams array",
- "start": 7267,
- "end": 7293,
+ "start": 7276,
+ "end": 7302,
"loc": {
"start": {
"line": 216,
@@ -24559,8 +24559,8 @@
{
"type": "CommentLine",
"value": " rooms[room].teams[team].players.splice(rooms[room].teams[team].players.indexOf(socket.id), 1);",
- "start": 7372,
- "end": 7469,
+ "start": 7381,
+ "end": 7478,
"loc": {
"start": {
"line": 218,
@@ -24575,8 +24575,8 @@
{
"type": "CommentLine",
"value": " Delete team if all players have left",
- "start": 7475,
- "end": 7514,
+ "start": 7484,
+ "end": 7523,
"loc": {
"start": {
"line": 220,
@@ -24591,8 +24591,8 @@
{
"type": "CommentLine",
"value": " Notify on console when server has started",
- "start": 7606,
- "end": 7650,
+ "start": 7615,
+ "end": 7659,
"loc": {
"start": {
"line": 229,
@@ -24607,8 +24607,8 @@
{
"type": "CommentBlock",
"value": "*\n * Sets a new value for a protected server field.\n * Adopted from https://stackoverflow.com/questions/18936915/dynamically-set-property-of-nested-object\n * @param {*} value The value to set\n * @param {*} path Array containing all of the subobject identifiers, with the 0th index being the lowest level.\n * Example: rooms.myRoom.players could be accessed through a path value of ['rooms', 'myRoom', 'players']\n ",
- "start": 7826,
- "end": 8258,
+ "start": 7835,
+ "end": 8267,
"loc": {
"start": {
"line": 236,
@@ -24623,8 +24623,8 @@
{
"type": "CommentBlock",
"value": "*\n * Shorthand to add or concatenate an amount to a field.\n * Best used with numbers or strings.\n * @param {*} amount Amount to increment the field by.\n * @param {*} path Path to the field.\n ",
- "start": 8781,
- "end": 8976,
+ "start": 8790,
+ "end": 8985,
"loc": {
"start": {
"line": 263,
@@ -24639,8 +24639,8 @@
{
"type": "CommentBlock",
"value": "*\n * Returns the value given a path to that value.\n * Adopted from https://stackoverflow.com/questions/6491463/accessing-nested-javascript-objects-with-string-key\n * @param {*} path Array containing all of the subobject identifiers, with the 0th index being the lowest level.\n * Example: rooms.myRoom.players could be accessed through a path value of ['rooms', 'myRoom', 'players']\n * @returns The value for the given field.\n ",
- "start": 9069,
- "end": 9515,
+ "start": 9078,
+ "end": 9524,
"loc": {
"start": {
"line": 273,
@@ -24655,8 +24655,8 @@
{
"type": "CommentLine",
"value": " console.log(path, obj);",
- "start": 10027,
- "end": 10053,
+ "start": 10036,
+ "end": 10062,
"loc": {
"start": {
"line": 296,
@@ -24671,8 +24671,8 @@
{
"type": "CommentBlock",
"value": "*\n * Deletes one of the three types of gameObjects synced to the server\n * @param {string} type Either players, atoms, compounds\n * @param {*} id ID of the object to delete\n * @param {string} room Room name to delete in\n * @param {*} socket socket.io instance\n ",
- "start": 10069,
- "end": 10334,
+ "start": 10078,
+ "end": 10343,
"loc": {
"start": {
"line": 300,
@@ -24687,8 +24687,8 @@
{
"type": "CommentLine",
"value": " Send clientside message",
- "start": 10423,
- "end": 10449,
+ "start": 10432,
+ "end": 10458,
"loc": {
"start": {
"line": 310,
@@ -27777,9 +27777,9 @@
},
{
"type": "CommentBlock",
- "value": " Contains all game data, including which rooms and players are active.\n *\n * Structure of Rooms object:\n *\n// rooms = {\n// roomName: {\n// joinable: true,\n// type: '4v4',\n// teams: [\n// name: 'teamname',\n// players: ['id1', 'id2'...]\n// ],\n// players: { id, name, room, team, health, posX, posY, vx, vy, dead, experience, damagedBy, stronghold },\n// atoms: { typeID, id, posX, posY, vx, vy, team },\n// compounds: {\tid, posX, posY, vx, vy, blueprint, sendingTeam, sender },\n//\t\t tiles: { id, type, globalX, globalY, captured, owner, health }\n// time: {\n// minutes: 0,\n// seconds: 0,\n// formattedTime: '0:00'\n// }\n// }\n// }\n",
+ "value": " Contains all game data, including which rooms and players are active.\n *\n * Structure of Rooms object:\n *\n// rooms = {\n// roomName: {\n// joinable: true,\n// type: '4v4',\n// teams: [\n// name: 'teamname',\n// players: ['id1', 'id2'...]\n// ],\n// players: { id, name, room, team, health, posX, posY, vx, vy, dead, experience, damagedBy, stronghold, defense },\n// atoms: { typeID, id, posX, posY, vx, vy, team },\n// compounds: {\tid, posX, posY, vx, vy, blueprint, sendingTeam, sender },\n//\t\t tiles: { id, type, globalX, globalY, captured, owner, health }\n// time: {\n// minutes: 0,\n// seconds: 0,\n// formattedTime: '0:00'\n// }\n// }\n// }\n",
"start": 690,
- "end": 1457,
+ "end": 1466,
"loc": {
"start": {
"line": 20,
@@ -27806,8 +27806,8 @@
"updateContext": null
},
"value": "let",
- "start": 1458,
- "end": 1461,
+ "start": 1467,
+ "end": 1470,
"loc": {
"start": {
"line": 44,
@@ -27832,8 +27832,8 @@
"binop": null
},
"value": "rooms",
- "start": 1462,
- "end": 1467,
+ "start": 1471,
+ "end": 1476,
"loc": {
"start": {
"line": 44,
@@ -27859,8 +27859,8 @@
"updateContext": null
},
"value": "=",
- "start": 1468,
- "end": 1469,
+ "start": 1477,
+ "end": 1478,
"loc": {
"start": {
"line": 44,
@@ -27884,8 +27884,8 @@
"postfix": false,
"binop": null
},
- "start": 1470,
- "end": 1471,
+ "start": 1479,
+ "end": 1480,
"loc": {
"start": {
"line": 44,
@@ -27909,8 +27909,8 @@
"postfix": false,
"binop": null
},
- "start": 1471,
- "end": 1472,
+ "start": 1480,
+ "end": 1481,
"loc": {
"start": {
"line": 44,
@@ -27925,8 +27925,8 @@
{
"type": "CommentBlock",
"value": "*\n * Teams object containing all the currently playing teams.\n * Structure:\n * teamName: {\n * room: 'roomName',\n * players: ['playerSocketId', 'player2SocketId', ...],\n * joinable: false/true\n * }\n *\n * -> Create a Team when the first player joins any lobby. Populate room when this occurs.\n * -> Change joinable to false when a Team is either full or the game has begun.\n * -> Delete the room from the database when the last player leaves.\n * -> There cannot be two teams with the same name. Throw an error if this occurs.\n ",
- "start": 1474,
- "end": 2012,
+ "start": 1483,
+ "end": 2021,
"loc": {
"start": {
"line": 46,
@@ -27953,8 +27953,8 @@
"updateContext": null
},
"value": "let",
- "start": 2013,
- "end": 2016,
+ "start": 2022,
+ "end": 2025,
"loc": {
"start": {
"line": 60,
@@ -27979,8 +27979,8 @@
"binop": null
},
"value": "teams",
- "start": 2017,
- "end": 2022,
+ "start": 2026,
+ "end": 2031,
"loc": {
"start": {
"line": 60,
@@ -28006,8 +28006,8 @@
"updateContext": null
},
"value": "=",
- "start": 2023,
- "end": 2024,
+ "start": 2032,
+ "end": 2033,
"loc": {
"start": {
"line": 60,
@@ -28031,8 +28031,8 @@
"postfix": false,
"binop": null
},
- "start": 2025,
- "end": 2026,
+ "start": 2034,
+ "end": 2035,
"loc": {
"start": {
"line": 60,
@@ -28056,8 +28056,8 @@
"postfix": false,
"binop": null
},
- "start": 2026,
- "end": 2027,
+ "start": 2035,
+ "end": 2036,
"loc": {
"start": {
"line": 60,
@@ -28072,8 +28072,8 @@
{
"type": "CommentLine",
"value": " Initializize Server. Includes atom spawning and timer mechanics",
- "start": 2029,
- "end": 2095,
+ "start": 2038,
+ "end": 2104,
"loc": {
"start": {
"line": 62,
@@ -28098,8 +28098,8 @@
"binop": null
},
"value": "initGlobal",
- "start": 2096,
- "end": 2106,
+ "start": 2105,
+ "end": 2115,
"loc": {
"start": {
"line": 63,
@@ -28123,8 +28123,8 @@
"postfix": false,
"binop": null
},
- "start": 2106,
- "end": 2107,
+ "start": 2115,
+ "end": 2116,
"loc": {
"start": {
"line": 63,
@@ -28148,8 +28148,8 @@
"postfix": false,
"binop": null
},
- "start": 2107,
- "end": 2108,
+ "start": 2116,
+ "end": 2117,
"loc": {
"start": {
"line": 63,
@@ -28164,8 +28164,8 @@
{
"type": "CommentLine",
"value": " Initialize all socket listeners when a request is established",
- "start": 2110,
- "end": 2174,
+ "start": 2119,
+ "end": 2183,
"loc": {
"start": {
"line": 65,
@@ -28190,8 +28190,8 @@
"binop": null
},
"value": "io",
- "start": 2175,
- "end": 2177,
+ "start": 2184,
+ "end": 2186,
"loc": {
"start": {
"line": 66,
@@ -28216,8 +28216,8 @@
"binop": null,
"updateContext": null
},
- "start": 2177,
- "end": 2178,
+ "start": 2186,
+ "end": 2187,
"loc": {
"start": {
"line": 66,
@@ -28242,8 +28242,8 @@
"binop": null
},
"value": "on",
- "start": 2178,
- "end": 2180,
+ "start": 2187,
+ "end": 2189,
"loc": {
"start": {
"line": 66,
@@ -28267,8 +28267,8 @@
"postfix": false,
"binop": null
},
- "start": 2180,
- "end": 2181,
+ "start": 2189,
+ "end": 2190,
"loc": {
"start": {
"line": 66,
@@ -28294,8 +28294,8 @@
"updateContext": null
},
"value": "connection",
- "start": 2181,
- "end": 2193,
+ "start": 2190,
+ "end": 2202,
"loc": {
"start": {
"line": 66,
@@ -28320,8 +28320,8 @@
"binop": null,
"updateContext": null
},
- "start": 2193,
- "end": 2194,
+ "start": 2202,
+ "end": 2203,
"loc": {
"start": {
"line": 66,
@@ -28346,8 +28346,8 @@
"binop": null
},
"value": "socket",
- "start": 2195,
- "end": 2201,
+ "start": 2204,
+ "end": 2210,
"loc": {
"start": {
"line": 66,
@@ -28372,8 +28372,8 @@
"binop": null,
"updateContext": null
},
- "start": 2202,
- "end": 2204,
+ "start": 2211,
+ "end": 2213,
"loc": {
"start": {
"line": 66,
@@ -28397,8 +28397,8 @@
"postfix": false,
"binop": null
},
- "start": 2205,
- "end": 2206,
+ "start": 2214,
+ "end": 2215,
"loc": {
"start": {
"line": 66,
@@ -28413,8 +28413,8 @@
{
"type": "CommentLine",
"value": " Local variable declaration",
- "start": 2208,
- "end": 2237,
+ "start": 2217,
+ "end": 2246,
"loc": {
"start": {
"line": 67,
@@ -28441,8 +28441,8 @@
"updateContext": null
},
"value": "let",
- "start": 2239,
- "end": 2242,
+ "start": 2248,
+ "end": 2251,
"loc": {
"start": {
"line": 68,
@@ -28467,8 +28467,8 @@
"binop": null
},
"value": "room",
- "start": 2243,
- "end": 2247,
+ "start": 2252,
+ "end": 2256,
"loc": {
"start": {
"line": 68,
@@ -28494,8 +28494,8 @@
"updateContext": null
},
"value": "=",
- "start": 2248,
- "end": 2249,
+ "start": 2257,
+ "end": 2258,
"loc": {
"start": {
"line": 68,
@@ -28520,8 +28520,8 @@
"binop": null
},
"value": "socket",
- "start": 2250,
- "end": 2256,
+ "start": 2259,
+ "end": 2265,
"loc": {
"start": {
"line": 68,
@@ -28546,8 +28546,8 @@
"binop": null,
"updateContext": null
},
- "start": 2256,
- "end": 2257,
+ "start": 2265,
+ "end": 2266,
"loc": {
"start": {
"line": 68,
@@ -28572,8 +28572,8 @@
"binop": null
},
"value": "handshake",
- "start": 2257,
- "end": 2266,
+ "start": 2266,
+ "end": 2275,
"loc": {
"start": {
"line": 68,
@@ -28598,8 +28598,8 @@
"binop": null,
"updateContext": null
},
- "start": 2266,
- "end": 2267,
+ "start": 2275,
+ "end": 2276,
"loc": {
"start": {
"line": 68,
@@ -28624,8 +28624,8 @@
"binop": null
},
"value": "query",
- "start": 2267,
- "end": 2272,
+ "start": 2276,
+ "end": 2281,
"loc": {
"start": {
"line": 68,
@@ -28650,8 +28650,8 @@
"binop": null,
"updateContext": null
},
- "start": 2272,
- "end": 2273,
+ "start": 2281,
+ "end": 2282,
"loc": {
"start": {
"line": 68,
@@ -28676,8 +28676,8 @@
"binop": null
},
"value": "room",
- "start": 2273,
- "end": 2277,
+ "start": 2282,
+ "end": 2286,
"loc": {
"start": {
"line": 68,
@@ -28704,8 +28704,8 @@
"updateContext": null
},
"value": "let",
- "start": 2279,
- "end": 2282,
+ "start": 2288,
+ "end": 2291,
"loc": {
"start": {
"line": 69,
@@ -28730,8 +28730,8 @@
"binop": null
},
"value": "team",
- "start": 2283,
- "end": 2287,
+ "start": 2292,
+ "end": 2296,
"loc": {
"start": {
"line": 69,
@@ -28757,8 +28757,8 @@
"updateContext": null
},
"value": "=",
- "start": 2288,
- "end": 2289,
+ "start": 2297,
+ "end": 2298,
"loc": {
"start": {
"line": 69,
@@ -28783,8 +28783,8 @@
"binop": null
},
"value": "socket",
- "start": 2290,
- "end": 2296,
+ "start": 2299,
+ "end": 2305,
"loc": {
"start": {
"line": 69,
@@ -28809,8 +28809,8 @@
"binop": null,
"updateContext": null
},
- "start": 2296,
- "end": 2297,
+ "start": 2305,
+ "end": 2306,
"loc": {
"start": {
"line": 69,
@@ -28835,8 +28835,8 @@
"binop": null
},
"value": "handshake",
- "start": 2297,
- "end": 2306,
+ "start": 2306,
+ "end": 2315,
"loc": {
"start": {
"line": 69,
@@ -28861,8 +28861,8 @@
"binop": null,
"updateContext": null
},
- "start": 2306,
- "end": 2307,
+ "start": 2315,
+ "end": 2316,
"loc": {
"start": {
"line": 69,
@@ -28887,8 +28887,8 @@
"binop": null
},
"value": "query",
- "start": 2307,
- "end": 2312,
+ "start": 2316,
+ "end": 2321,
"loc": {
"start": {
"line": 69,
@@ -28913,8 +28913,8 @@
"binop": null,
"updateContext": null
},
- "start": 2312,
- "end": 2313,
+ "start": 2321,
+ "end": 2322,
"loc": {
"start": {
"line": 69,
@@ -28939,8 +28939,8 @@
"binop": null
},
"value": "team",
- "start": 2313,
- "end": 2317,
+ "start": 2322,
+ "end": 2326,
"loc": {
"start": {
"line": 69,
@@ -28955,8 +28955,8 @@
{
"type": "CommentLine",
"value": " Run matchmaker",
- "start": 2320,
- "end": 2337,
+ "start": 2329,
+ "end": 2346,
"loc": {
"start": {
"line": 71,
@@ -28983,8 +28983,8 @@
"updateContext": null
},
"value": "let",
- "start": 2339,
- "end": 2342,
+ "start": 2348,
+ "end": 2351,
"loc": {
"start": {
"line": 72,
@@ -29009,8 +29009,8 @@
"binop": null
},
"value": "matchData",
- "start": 2343,
- "end": 2352,
+ "start": 2352,
+ "end": 2361,
"loc": {
"start": {
"line": 72,
@@ -29036,8 +29036,8 @@
"updateContext": null
},
"value": "=",
- "start": 2353,
- "end": 2354,
+ "start": 2362,
+ "end": 2363,
"loc": {
"start": {
"line": 72,
@@ -29062,8 +29062,8 @@
"binop": null
},
"value": "roomMatchmaker",
- "start": 2355,
- "end": 2369,
+ "start": 2364,
+ "end": 2378,
"loc": {
"start": {
"line": 72,
@@ -29087,8 +29087,8 @@
"postfix": false,
"binop": null
},
- "start": 2369,
- "end": 2370,
+ "start": 2378,
+ "end": 2379,
"loc": {
"start": {
"line": 72,
@@ -29113,8 +29113,8 @@
"binop": null
},
"value": "socket",
- "start": 2370,
- "end": 2376,
+ "start": 2379,
+ "end": 2385,
"loc": {
"start": {
"line": 72,
@@ -29139,8 +29139,8 @@
"binop": null,
"updateContext": null
},
- "start": 2376,
- "end": 2377,
+ "start": 2385,
+ "end": 2386,
"loc": {
"start": {
"line": 72,
@@ -29165,8 +29165,8 @@
"binop": null
},
"value": "room",
- "start": 2378,
- "end": 2382,
+ "start": 2387,
+ "end": 2391,
"loc": {
"start": {
"line": 72,
@@ -29191,8 +29191,8 @@
"binop": null,
"updateContext": null
},
- "start": 2382,
- "end": 2383,
+ "start": 2391,
+ "end": 2392,
"loc": {
"start": {
"line": 72,
@@ -29217,8 +29217,8 @@
"binop": null
},
"value": "team",
- "start": 2384,
- "end": 2388,
+ "start": 2393,
+ "end": 2397,
"loc": {
"start": {
"line": 72,
@@ -29242,8 +29242,8 @@
"postfix": false,
"binop": null
},
- "start": 2388,
- "end": 2389,
+ "start": 2397,
+ "end": 2398,
"loc": {
"start": {
"line": 72,
@@ -29268,8 +29268,8 @@
"binop": null
},
"value": "room",
- "start": 2391,
- "end": 2395,
+ "start": 2400,
+ "end": 2404,
"loc": {
"start": {
"line": 73,
@@ -29295,8 +29295,8 @@
"updateContext": null
},
"value": "=",
- "start": 2396,
- "end": 2397,
+ "start": 2405,
+ "end": 2406,
"loc": {
"start": {
"line": 73,
@@ -29321,8 +29321,8 @@
"binop": null
},
"value": "matchData",
- "start": 2398,
- "end": 2407,
+ "start": 2407,
+ "end": 2416,
"loc": {
"start": {
"line": 73,
@@ -29347,8 +29347,8 @@
"binop": null,
"updateContext": null
},
- "start": 2407,
- "end": 2408,
+ "start": 2416,
+ "end": 2417,
"loc": {
"start": {
"line": 73,
@@ -29373,8 +29373,8 @@
"binop": null
},
"value": "room",
- "start": 2408,
- "end": 2412,
+ "start": 2417,
+ "end": 2421,
"loc": {
"start": {
"line": 73,
@@ -29399,8 +29399,8 @@
"binop": null
},
"value": "team",
- "start": 2414,
- "end": 2418,
+ "start": 2423,
+ "end": 2427,
"loc": {
"start": {
"line": 74,
@@ -29426,8 +29426,8 @@
"updateContext": null
},
"value": "=",
- "start": 2419,
- "end": 2420,
+ "start": 2428,
+ "end": 2429,
"loc": {
"start": {
"line": 74,
@@ -29452,8 +29452,8 @@
"binop": null
},
"value": "matchData",
- "start": 2421,
- "end": 2430,
+ "start": 2430,
+ "end": 2439,
"loc": {
"start": {
"line": 74,
@@ -29478,8 +29478,8 @@
"binop": null,
"updateContext": null
},
- "start": 2430,
- "end": 2431,
+ "start": 2439,
+ "end": 2440,
"loc": {
"start": {
"line": 74,
@@ -29504,8 +29504,8 @@
"binop": null
},
"value": "team",
- "start": 2431,
- "end": 2435,
+ "start": 2440,
+ "end": 2444,
"loc": {
"start": {
"line": 74,
@@ -29520,8 +29520,8 @@
{
"type": "CommentLine",
"value": " Init player",
- "start": 2438,
- "end": 2452,
+ "start": 2447,
+ "end": 2461,
"loc": {
"start": {
"line": 76,
@@ -29546,8 +29546,8 @@
"binop": null
},
"value": "initPlayer",
- "start": 2454,
- "end": 2464,
+ "start": 2463,
+ "end": 2473,
"loc": {
"start": {
"line": 77,
@@ -29571,8 +29571,8 @@
"postfix": false,
"binop": null
},
- "start": 2464,
- "end": 2465,
+ "start": 2473,
+ "end": 2474,
"loc": {
"start": {
"line": 77,
@@ -29597,8 +29597,8 @@
"binop": null
},
"value": "socket",
- "start": 2465,
- "end": 2471,
+ "start": 2474,
+ "end": 2480,
"loc": {
"start": {
"line": 77,
@@ -29623,8 +29623,8 @@
"binop": null,
"updateContext": null
},
- "start": 2471,
- "end": 2472,
+ "start": 2480,
+ "end": 2481,
"loc": {
"start": {
"line": 77,
@@ -29649,8 +29649,8 @@
"binop": null
},
"value": "room",
- "start": 2473,
- "end": 2477,
+ "start": 2482,
+ "end": 2486,
"loc": {
"start": {
"line": 77,
@@ -29675,8 +29675,8 @@
"binop": null,
"updateContext": null
},
- "start": 2477,
- "end": 2478,
+ "start": 2486,
+ "end": 2487,
"loc": {
"start": {
"line": 77,
@@ -29701,8 +29701,8 @@
"binop": null
},
"value": "team",
- "start": 2479,
- "end": 2483,
+ "start": 2488,
+ "end": 2492,
"loc": {
"start": {
"line": 77,
@@ -29726,8 +29726,8 @@
"postfix": false,
"binop": null
},
- "start": 2483,
- "end": 2484,
+ "start": 2492,
+ "end": 2493,
"loc": {
"start": {
"line": 77,
@@ -29754,8 +29754,8 @@
"updateContext": null
},
"value": "let",
- "start": 2486,
- "end": 2489,
+ "start": 2495,
+ "end": 2498,
"loc": {
"start": {
"line": 78,
@@ -29780,8 +29780,8 @@
"binop": null
},
"value": "thisPlayer",
- "start": 2490,
- "end": 2500,
+ "start": 2499,
+ "end": 2509,
"loc": {
"start": {
"line": 78,
@@ -29807,8 +29807,8 @@
"updateContext": null
},
"value": "=",
- "start": 2501,
- "end": 2502,
+ "start": 2510,
+ "end": 2511,
"loc": {
"start": {
"line": 78,
@@ -29833,8 +29833,8 @@
"binop": null
},
"value": "rooms",
- "start": 2503,
- "end": 2508,
+ "start": 2512,
+ "end": 2517,
"loc": {
"start": {
"line": 78,
@@ -29859,8 +29859,8 @@
"binop": null,
"updateContext": null
},
- "start": 2508,
- "end": 2509,
+ "start": 2517,
+ "end": 2518,
"loc": {
"start": {
"line": 78,
@@ -29885,8 +29885,8 @@
"binop": null
},
"value": "room",
- "start": 2509,
- "end": 2513,
+ "start": 2518,
+ "end": 2522,
"loc": {
"start": {
"line": 78,
@@ -29911,8 +29911,8 @@
"binop": null,
"updateContext": null
},
- "start": 2513,
- "end": 2514,
+ "start": 2522,
+ "end": 2523,
"loc": {
"start": {
"line": 78,
@@ -29937,8 +29937,8 @@
"binop": null,
"updateContext": null
},
- "start": 2514,
- "end": 2515,
+ "start": 2523,
+ "end": 2524,
"loc": {
"start": {
"line": 78,
@@ -29963,8 +29963,8 @@
"binop": null
},
"value": "players",
- "start": 2515,
- "end": 2522,
+ "start": 2524,
+ "end": 2531,
"loc": {
"start": {
"line": 78,
@@ -29989,8 +29989,8 @@
"binop": null,
"updateContext": null
},
- "start": 2522,
- "end": 2523,
+ "start": 2531,
+ "end": 2532,
"loc": {
"start": {
"line": 78,
@@ -30015,8 +30015,8 @@
"binop": null
},
"value": "socket",
- "start": 2523,
- "end": 2529,
+ "start": 2532,
+ "end": 2538,
"loc": {
"start": {
"line": 78,
@@ -30041,8 +30041,8 @@
"binop": null,
"updateContext": null
},
- "start": 2529,
- "end": 2530,
+ "start": 2538,
+ "end": 2539,
"loc": {
"start": {
"line": 78,
@@ -30067,8 +30067,8 @@
"binop": null
},
"value": "id",
- "start": 2530,
- "end": 2532,
+ "start": 2539,
+ "end": 2541,
"loc": {
"start": {
"line": 78,
@@ -30093,8 +30093,8 @@
"binop": null,
"updateContext": null
},
- "start": 2532,
- "end": 2533,
+ "start": 2541,
+ "end": 2542,
"loc": {
"start": {
"line": 78,
@@ -30119,8 +30119,8 @@
"binop": null
},
"value": "thisPlayer",
- "start": 2535,
- "end": 2545,
+ "start": 2544,
+ "end": 2554,
"loc": {
"start": {
"line": 79,
@@ -30145,8 +30145,8 @@
"binop": null,
"updateContext": null
},
- "start": 2545,
- "end": 2546,
+ "start": 2554,
+ "end": 2555,
"loc": {
"start": {
"line": 79,
@@ -30171,8 +30171,8 @@
"binop": null
},
"value": "team",
- "start": 2546,
- "end": 2550,
+ "start": 2555,
+ "end": 2559,
"loc": {
"start": {
"line": 79,
@@ -30198,8 +30198,8 @@
"updateContext": null
},
"value": "=",
- "start": 2551,
- "end": 2552,
+ "start": 2560,
+ "end": 2561,
"loc": {
"start": {
"line": 79,
@@ -30224,8 +30224,8 @@
"binop": null
},
"value": "team",
- "start": 2553,
- "end": 2557,
+ "start": 2562,
+ "end": 2566,
"loc": {
"start": {
"line": 79,
@@ -30250,8 +30250,8 @@
"binop": null
},
"value": "thisPlayer",
- "start": 2559,
- "end": 2569,
+ "start": 2568,
+ "end": 2578,
"loc": {
"start": {
"line": 80,
@@ -30276,8 +30276,8 @@
"binop": null,
"updateContext": null
},
- "start": 2569,
- "end": 2570,
+ "start": 2578,
+ "end": 2579,
"loc": {
"start": {
"line": 80,
@@ -30302,8 +30302,8 @@
"binop": null
},
"value": "atomList",
- "start": 2570,
- "end": 2578,
+ "start": 2579,
+ "end": 2587,
"loc": {
"start": {
"line": 80,
@@ -30329,8 +30329,8 @@
"updateContext": null
},
"value": "=",
- "start": 2579,
- "end": 2580,
+ "start": 2588,
+ "end": 2589,
"loc": {
"start": {
"line": 80,
@@ -30354,8 +30354,8 @@
"postfix": false,
"binop": null
},
- "start": 2581,
- "end": 2582,
+ "start": 2590,
+ "end": 2591,
"loc": {
"start": {
"line": 80,
@@ -30379,8 +30379,8 @@
"postfix": false,
"binop": null
},
- "start": 2582,
- "end": 2583,
+ "start": 2591,
+ "end": 2592,
"loc": {
"start": {
"line": 80,
@@ -30405,8 +30405,8 @@
"binop": null
},
"value": "thisPlayer",
- "start": 2585,
- "end": 2595,
+ "start": 2594,
+ "end": 2604,
"loc": {
"start": {
"line": 81,
@@ -30431,8 +30431,8 @@
"binop": null,
"updateContext": null
},
- "start": 2595,
- "end": 2596,
+ "start": 2604,
+ "end": 2605,
"loc": {
"start": {
"line": 81,
@@ -30457,8 +30457,8 @@
"binop": null
},
"value": "speedMult",
- "start": 2596,
- "end": 2605,
+ "start": 2605,
+ "end": 2614,
"loc": {
"start": {
"line": 81,
@@ -30484,8 +30484,8 @@
"updateContext": null
},
"value": "=",
- "start": 2606,
- "end": 2607,
+ "start": 2615,
+ "end": 2616,
"loc": {
"start": {
"line": 81,
@@ -30511,8 +30511,8 @@
"updateContext": null
},
"value": 1,
- "start": 2608,
- "end": 2609,
+ "start": 2617,
+ "end": 2618,
"loc": {
"start": {
"line": 81,
@@ -30539,8 +30539,8 @@
"updateContext": null
},
"value": "for",
- "start": 2611,
- "end": 2614,
+ "start": 2620,
+ "end": 2623,
"loc": {
"start": {
"line": 82,
@@ -30564,8 +30564,8 @@
"postfix": false,
"binop": null
},
- "start": 2615,
- "end": 2616,
+ "start": 2624,
+ "end": 2625,
"loc": {
"start": {
"line": 82,
@@ -30592,8 +30592,8 @@
"updateContext": null
},
"value": "let",
- "start": 2616,
- "end": 2619,
+ "start": 2625,
+ "end": 2628,
"loc": {
"start": {
"line": 82,
@@ -30618,8 +30618,8 @@
"binop": null
},
"value": "atom",
- "start": 2620,
- "end": 2624,
+ "start": 2629,
+ "end": 2633,
"loc": {
"start": {
"line": 82,
@@ -30644,8 +30644,8 @@
"binop": null
},
"value": "of",
- "start": 2625,
- "end": 2627,
+ "start": 2634,
+ "end": 2636,
"loc": {
"start": {
"line": 82,
@@ -30670,8 +30670,8 @@
"binop": null
},
"value": "GLOBAL",
- "start": 2628,
- "end": 2634,
+ "start": 2637,
+ "end": 2643,
"loc": {
"start": {
"line": 82,
@@ -30696,8 +30696,8 @@
"binop": null,
"updateContext": null
},
- "start": 2634,
- "end": 2635,
+ "start": 2643,
+ "end": 2644,
"loc": {
"start": {
"line": 82,
@@ -30722,8 +30722,8 @@
"binop": null
},
"value": "ATOM_IDS",
- "start": 2635,
- "end": 2643,
+ "start": 2644,
+ "end": 2652,
"loc": {
"start": {
"line": 82,
@@ -30747,8 +30747,8 @@
"postfix": false,
"binop": null
},
- "start": 2643,
- "end": 2644,
+ "start": 2652,
+ "end": 2653,
"loc": {
"start": {
"line": 82,
@@ -30772,8 +30772,8 @@
"postfix": false,
"binop": null
},
- "start": 2645,
- "end": 2646,
+ "start": 2654,
+ "end": 2655,
"loc": {
"start": {
"line": 82,
@@ -30798,8 +30798,8 @@
"binop": null
},
"value": "thisPlayer",
- "start": 2649,
- "end": 2659,
+ "start": 2658,
+ "end": 2668,
"loc": {
"start": {
"line": 83,
@@ -30824,8 +30824,8 @@
"binop": null,
"updateContext": null
},
- "start": 2659,
- "end": 2660,
+ "start": 2668,
+ "end": 2669,
"loc": {
"start": {
"line": 83,
@@ -30850,8 +30850,8 @@
"binop": null
},
"value": "atomList",
- "start": 2660,
- "end": 2668,
+ "start": 2669,
+ "end": 2677,
"loc": {
"start": {
"line": 83,
@@ -30876,8 +30876,8 @@
"binop": null,
"updateContext": null
},
- "start": 2668,
- "end": 2669,
+ "start": 2677,
+ "end": 2678,
"loc": {
"start": {
"line": 83,
@@ -30902,8 +30902,8 @@
"binop": null
},
"value": "atom",
- "start": 2669,
- "end": 2673,
+ "start": 2678,
+ "end": 2682,
"loc": {
"start": {
"line": 83,
@@ -30928,8 +30928,8 @@
"binop": null,
"updateContext": null
},
- "start": 2673,
- "end": 2674,
+ "start": 2682,
+ "end": 2683,
"loc": {
"start": {
"line": 83,
@@ -30955,8 +30955,8 @@
"updateContext": null
},
"value": "=",
- "start": 2675,
- "end": 2676,
+ "start": 2684,
+ "end": 2685,
"loc": {
"start": {
"line": 83,
@@ -30982,8 +30982,8 @@
"updateContext": null
},
"value": 0,
- "start": 2677,
- "end": 2678,
+ "start": 2686,
+ "end": 2687,
"loc": {
"start": {
"line": 83,
@@ -31007,8 +31007,8 @@
"postfix": false,
"binop": null
},
- "start": 2680,
- "end": 2681,
+ "start": 2689,
+ "end": 2690,
"loc": {
"start": {
"line": 84,
@@ -31023,8 +31023,8 @@
{
"type": "CommentLine",
"value": " Announce colors",
- "start": 2684,
- "end": 2702,
+ "start": 2693,
+ "end": 2711,
"loc": {
"start": {
"line": 86,
@@ -31049,8 +31049,8 @@
"binop": null
},
"value": "socket",
- "start": 2704,
- "end": 2710,
+ "start": 2713,
+ "end": 2719,
"loc": {
"start": {
"line": 87,
@@ -31075,8 +31075,8 @@
"binop": null,
"updateContext": null
},
- "start": 2710,
- "end": 2711,
+ "start": 2719,
+ "end": 2720,
"loc": {
"start": {
"line": 87,
@@ -31101,8 +31101,8 @@
"binop": null
},
"value": "emit",
- "start": 2711,
- "end": 2715,
+ "start": 2720,
+ "end": 2724,
"loc": {
"start": {
"line": 87,
@@ -31126,8 +31126,8 @@
"postfix": false,
"binop": null
},
- "start": 2715,
- "end": 2716,
+ "start": 2724,
+ "end": 2725,
"loc": {
"start": {
"line": 87,
@@ -31153,8 +31153,8 @@
"updateContext": null
},
"value": "serverSendTeamColors",
- "start": 2716,
- "end": 2738,
+ "start": 2725,
+ "end": 2747,
"loc": {
"start": {
"line": 87,
@@ -31179,8 +31179,8 @@
"binop": null,
"updateContext": null
},
- "start": 2738,
- "end": 2739,
+ "start": 2747,
+ "end": 2748,
"loc": {
"start": {
"line": 87,
@@ -31205,8 +31205,8 @@
"binop": null
},
"value": "getTeamColors",
- "start": 2740,
- "end": 2753,
+ "start": 2749,
+ "end": 2762,
"loc": {
"start": {
"line": 87,
@@ -31230,8 +31230,8 @@
"postfix": false,
"binop": null
},
- "start": 2753,
- "end": 2754,
+ "start": 2762,
+ "end": 2763,
"loc": {
"start": {
"line": 87,
@@ -31256,8 +31256,8 @@
"binop": null
},
"value": "room",
- "start": 2754,
- "end": 2758,
+ "start": 2763,
+ "end": 2767,
"loc": {
"start": {
"line": 87,
@@ -31281,8 +31281,8 @@
"postfix": false,
"binop": null
},
- "start": 2758,
- "end": 2759,
+ "start": 2767,
+ "end": 2768,
"loc": {
"start": {
"line": 87,
@@ -31306,8 +31306,8 @@
"postfix": false,
"binop": null
},
- "start": 2759,
- "end": 2760,
+ "start": 2768,
+ "end": 2769,
"loc": {
"start": {
"line": 87,
@@ -31332,8 +31332,8 @@
"binop": null
},
"value": "socket",
- "start": 2762,
- "end": 2768,
+ "start": 2771,
+ "end": 2777,
"loc": {
"start": {
"line": 88,
@@ -31358,8 +31358,8 @@
"binop": null,
"updateContext": null
},
- "start": 2768,
- "end": 2769,
+ "start": 2777,
+ "end": 2778,
"loc": {
"start": {
"line": 88,
@@ -31384,8 +31384,8 @@
"binop": null
},
"value": "to",
- "start": 2769,
- "end": 2771,
+ "start": 2778,
+ "end": 2780,
"loc": {
"start": {
"line": 88,
@@ -31409,8 +31409,8 @@
"postfix": false,
"binop": null
},
- "start": 2771,
- "end": 2772,
+ "start": 2780,
+ "end": 2781,
"loc": {
"start": {
"line": 88,
@@ -31435,8 +31435,8 @@
"binop": null
},
"value": "room",
- "start": 2772,
- "end": 2776,
+ "start": 2781,
+ "end": 2785,
"loc": {
"start": {
"line": 88,
@@ -31460,8 +31460,8 @@
"postfix": false,
"binop": null
},
- "start": 2776,
- "end": 2777,
+ "start": 2785,
+ "end": 2786,
"loc": {
"start": {
"line": 88,
@@ -31486,8 +31486,8 @@
"binop": null,
"updateContext": null
},
- "start": 2777,
- "end": 2778,
+ "start": 2786,
+ "end": 2787,
"loc": {
"start": {
"line": 88,
@@ -31512,8 +31512,8 @@
"binop": null
},
"value": "emit",
- "start": 2778,
- "end": 2782,
+ "start": 2787,
+ "end": 2791,
"loc": {
"start": {
"line": 88,
@@ -31537,8 +31537,8 @@
"postfix": false,
"binop": null
},
- "start": 2782,
- "end": 2783,
+ "start": 2791,
+ "end": 2792,
"loc": {
"start": {
"line": 88,
@@ -31564,8 +31564,8 @@
"updateContext": null
},
"value": "serverSendTeamColors",
- "start": 2783,
- "end": 2805,
+ "start": 2792,
+ "end": 2814,
"loc": {
"start": {
"line": 88,
@@ -31590,8 +31590,8 @@
"binop": null,
"updateContext": null
},
- "start": 2805,
- "end": 2806,
+ "start": 2814,
+ "end": 2815,
"loc": {
"start": {
"line": 88,
@@ -31616,8 +31616,8 @@
"binop": null
},
"value": "getTeamColors",
- "start": 2807,
- "end": 2820,
+ "start": 2816,
+ "end": 2829,
"loc": {
"start": {
"line": 88,
@@ -31641,8 +31641,8 @@
"postfix": false,
"binop": null
},
- "start": 2820,
- "end": 2821,
+ "start": 2829,
+ "end": 2830,
"loc": {
"start": {
"line": 88,
@@ -31667,8 +31667,8 @@
"binop": null
},
"value": "room",
- "start": 2821,
- "end": 2825,
+ "start": 2830,
+ "end": 2834,
"loc": {
"start": {
"line": 88,
@@ -31692,8 +31692,8 @@
"postfix": false,
"binop": null
},
- "start": 2825,
- "end": 2826,
+ "start": 2834,
+ "end": 2835,
"loc": {
"start": {
"line": 88,
@@ -31717,8 +31717,8 @@
"postfix": false,
"binop": null
},
- "start": 2826,
- "end": 2827,
+ "start": 2835,
+ "end": 2836,
"loc": {
"start": {
"line": 88,
@@ -31733,8 +31733,8 @@
{
"type": "CommentLine",
"value": " Setup player array sync- once a frame",
- "start": 2830,
- "end": 2870,
+ "start": 2839,
+ "end": 2879,
"loc": {
"start": {
"line": 90,
@@ -31759,8 +31759,8 @@
"binop": null
},
"value": "setInterval",
- "start": 2872,
- "end": 2883,
+ "start": 2881,
+ "end": 2892,
"loc": {
"start": {
"line": 91,
@@ -31784,8 +31784,8 @@
"postfix": false,
"binop": null
},
- "start": 2883,
- "end": 2884,
+ "start": 2892,
+ "end": 2893,
"loc": {
"start": {
"line": 91,
@@ -31809,8 +31809,8 @@
"postfix": false,
"binop": null
},
- "start": 2884,
- "end": 2885,
+ "start": 2893,
+ "end": 2894,
"loc": {
"start": {
"line": 91,
@@ -31834,8 +31834,8 @@
"postfix": false,
"binop": null
},
- "start": 2885,
- "end": 2886,
+ "start": 2894,
+ "end": 2895,
"loc": {
"start": {
"line": 91,
@@ -31860,8 +31860,8 @@
"binop": null,
"updateContext": null
},
- "start": 2887,
- "end": 2889,
+ "start": 2896,
+ "end": 2898,
"loc": {
"start": {
"line": 91,
@@ -31885,8 +31885,8 @@
"postfix": false,
"binop": null
},
- "start": 2890,
- "end": 2891,
+ "start": 2899,
+ "end": 2900,
"loc": {
"start": {
"line": 91,
@@ -31911,8 +31911,8 @@
"binop": null
},
"value": "frameSync",
- "start": 2894,
- "end": 2903,
+ "start": 2903,
+ "end": 2912,
"loc": {
"start": {
"line": 92,
@@ -31936,8 +31936,8 @@
"postfix": false,
"binop": null
},
- "start": 2903,
- "end": 2904,
+ "start": 2912,
+ "end": 2913,
"loc": {
"start": {
"line": 92,
@@ -31962,8 +31962,8 @@
"binop": null
},
"value": "socket",
- "start": 2904,
- "end": 2910,
+ "start": 2913,
+ "end": 2919,
"loc": {
"start": {
"line": 92,
@@ -31988,8 +31988,8 @@
"binop": null,
"updateContext": null
},
- "start": 2910,
- "end": 2911,
+ "start": 2919,
+ "end": 2920,
"loc": {
"start": {
"line": 92,
@@ -32014,8 +32014,8 @@
"binop": null
},
"value": "room",
- "start": 2912,
- "end": 2916,
+ "start": 2921,
+ "end": 2925,
"loc": {
"start": {
"line": 92,
@@ -32040,8 +32040,8 @@
"binop": null,
"updateContext": null
},
- "start": 2916,
- "end": 2917,
+ "start": 2925,
+ "end": 2926,
"loc": {
"start": {
"line": 92,
@@ -32066,8 +32066,8 @@
"binop": null
},
"value": "thisPlayer",
- "start": 2918,
- "end": 2928,
+ "start": 2927,
+ "end": 2937,
"loc": {
"start": {
"line": 92,
@@ -32091,8 +32091,8 @@
"postfix": false,
"binop": null
},
- "start": 2928,
- "end": 2929,
+ "start": 2937,
+ "end": 2938,
"loc": {
"start": {
"line": 92,
@@ -32116,8 +32116,8 @@
"postfix": false,
"binop": null
},
- "start": 2931,
- "end": 2932,
+ "start": 2940,
+ "end": 2941,
"loc": {
"start": {
"line": 93,
@@ -32142,8 +32142,8 @@
"binop": null,
"updateContext": null
},
- "start": 2932,
- "end": 2933,
+ "start": 2941,
+ "end": 2942,
"loc": {
"start": {
"line": 93,
@@ -32169,8 +32169,8 @@
"updateContext": null
},
"value": 1000,
- "start": 2934,
- "end": 2938,
+ "start": 2943,
+ "end": 2947,
"loc": {
"start": {
"line": 93,
@@ -32196,8 +32196,8 @@
"updateContext": null
},
"value": "/",
- "start": 2939,
- "end": 2940,
+ "start": 2948,
+ "end": 2949,
"loc": {
"start": {
"line": 93,
@@ -32223,8 +32223,8 @@
"updateContext": null
},
"value": 60,
- "start": 2941,
- "end": 2943,
+ "start": 2950,
+ "end": 2952,
"loc": {
"start": {
"line": 93,
@@ -32248,8 +32248,8 @@
"postfix": false,
"binop": null
},
- "start": 2943,
- "end": 2944,
+ "start": 2952,
+ "end": 2953,
"loc": {
"start": {
"line": 93,
@@ -32264,8 +32264,8 @@
{
"type": "CommentLine",
"value": " Receives a chat from a player, then broadcasts it to other players",
- "start": 2947,
- "end": 3016,
+ "start": 2956,
+ "end": 3025,
"loc": {
"start": {
"line": 95,
@@ -32290,8 +32290,8 @@
"binop": null
},
"value": "socket",
- "start": 3018,
- "end": 3024,
+ "start": 3027,
+ "end": 3033,
"loc": {
"start": {
"line": 96,
@@ -32316,8 +32316,8 @@
"binop": null,
"updateContext": null
},
- "start": 3024,
- "end": 3025,
+ "start": 3033,
+ "end": 3034,
"loc": {
"start": {
"line": 96,
@@ -32342,8 +32342,8 @@
"binop": null
},
"value": "to",
- "start": 3025,
- "end": 3027,
+ "start": 3034,
+ "end": 3036,
"loc": {
"start": {
"line": 96,
@@ -32367,8 +32367,8 @@
"postfix": false,
"binop": null
},
- "start": 3027,
- "end": 3028,
+ "start": 3036,
+ "end": 3037,
"loc": {
"start": {
"line": 96,
@@ -32393,8 +32393,8 @@
"binop": null
},
"value": "room",
- "start": 3028,
- "end": 3032,
+ "start": 3037,
+ "end": 3041,
"loc": {
"start": {
"line": 96,
@@ -32418,8 +32418,8 @@
"postfix": false,
"binop": null
},
- "start": 3032,
- "end": 3033,
+ "start": 3041,
+ "end": 3042,
"loc": {
"start": {
"line": 96,
@@ -32444,8 +32444,8 @@
"binop": null,
"updateContext": null
},
- "start": 3033,
- "end": 3034,
+ "start": 3042,
+ "end": 3043,
"loc": {
"start": {
"line": 96,
@@ -32470,8 +32470,8 @@
"binop": null
},
"value": "on",
- "start": 3034,
- "end": 3036,
+ "start": 3043,
+ "end": 3045,
"loc": {
"start": {
"line": 96,
@@ -32495,8 +32495,8 @@
"postfix": false,
"binop": null
},
- "start": 3036,
- "end": 3037,
+ "start": 3045,
+ "end": 3046,
"loc": {
"start": {
"line": 96,
@@ -32522,8 +32522,8 @@
"updateContext": null
},
"value": "playerChat",
- "start": 3037,
- "end": 3049,
+ "start": 3046,
+ "end": 3058,
"loc": {
"start": {
"line": 96,
@@ -32548,8 +32548,8 @@
"binop": null,
"updateContext": null
},
- "start": 3049,
- "end": 3050,
+ "start": 3058,
+ "end": 3059,
"loc": {
"start": {
"line": 96,
@@ -32574,8 +32574,8 @@
"binop": null
},
"value": "data",
- "start": 3051,
- "end": 3055,
+ "start": 3060,
+ "end": 3064,
"loc": {
"start": {
"line": 96,
@@ -32600,8 +32600,8 @@
"binop": null,
"updateContext": null
},
- "start": 3056,
- "end": 3058,
+ "start": 3065,
+ "end": 3067,
"loc": {
"start": {
"line": 96,
@@ -32625,8 +32625,8 @@
"postfix": false,
"binop": null
},
- "start": 3059,
- "end": 3060,
+ "start": 3068,
+ "end": 3069,
"loc": {
"start": {
"line": 96,
@@ -32641,8 +32641,8 @@
{
"type": "CommentLine",
"value": " console.log('sender: ' + data.sender);",
- "start": 3063,
- "end": 3104,
+ "start": 3072,
+ "end": 3113,
"loc": {
"start": {
"line": 97,
@@ -32669,8 +32669,8 @@
"updateContext": null
},
"value": "const",
- "start": 3107,
- "end": 3112,
+ "start": 3116,
+ "end": 3121,
"loc": {
"start": {
"line": 98,
@@ -32695,8 +32695,8 @@
"binop": null
},
"value": "_sender",
- "start": 3113,
- "end": 3120,
+ "start": 3122,
+ "end": 3129,
"loc": {
"start": {
"line": 98,
@@ -32722,8 +32722,8 @@
"updateContext": null
},
"value": "=",
- "start": 3121,
- "end": 3122,
+ "start": 3130,
+ "end": 3131,
"loc": {
"start": {
"line": 98,
@@ -32748,8 +32748,8 @@
"binop": null
},
"value": "data",
- "start": 3123,
- "end": 3127,
+ "start": 3132,
+ "end": 3136,
"loc": {
"start": {
"line": 98,
@@ -32774,8 +32774,8 @@
"binop": null,
"updateContext": null
},
- "start": 3127,
- "end": 3128,
+ "start": 3136,
+ "end": 3137,
"loc": {
"start": {
"line": 98,
@@ -32800,8 +32800,8 @@
"binop": null
},
"value": "sender",
- "start": 3128,
- "end": 3134,
+ "start": 3137,
+ "end": 3143,
"loc": {
"start": {
"line": 98,
@@ -32826,8 +32826,8 @@
"binop": null,
"updateContext": null
},
- "start": 3134,
- "end": 3135,
+ "start": 3143,
+ "end": 3144,
"loc": {
"start": {
"line": 98,
@@ -32852,8 +32852,8 @@
"binop": null
},
"value": "replace",
- "start": 3135,
- "end": 3142,
+ "start": 3144,
+ "end": 3151,
"loc": {
"start": {
"line": 98,
@@ -32877,8 +32877,8 @@
"postfix": false,
"binop": null
},
- "start": 3142,
- "end": 3143,
+ "start": 3151,
+ "end": 3152,
"loc": {
"start": {
"line": 98,
@@ -32907,8 +32907,8 @@
"pattern": "(<([^>]+)>)",
"flags": "ig"
},
- "start": 3143,
- "end": 3158,
+ "start": 3152,
+ "end": 3167,
"loc": {
"start": {
"line": 98,
@@ -32933,8 +32933,8 @@
"binop": null,
"updateContext": null
},
- "start": 3158,
- "end": 3159,
+ "start": 3167,
+ "end": 3168,
"loc": {
"start": {
"line": 98,
@@ -32960,8 +32960,8 @@
"updateContext": null
},
"value": "",
- "start": 3160,
- "end": 3162,
+ "start": 3169,
+ "end": 3171,
"loc": {
"start": {
"line": 98,
@@ -32985,8 +32985,8 @@
"postfix": false,
"binop": null
},
- "start": 3162,
- "end": 3163,
+ "start": 3171,
+ "end": 3172,
"loc": {
"start": {
"line": 98,
@@ -33013,8 +33013,8 @@
"updateContext": null
},
"value": "const",
- "start": 3166,
- "end": 3171,
+ "start": 3175,
+ "end": 3180,
"loc": {
"start": {
"line": 99,
@@ -33039,8 +33039,8 @@
"binop": null
},
"value": "_message",
- "start": 3172,
- "end": 3180,
+ "start": 3181,
+ "end": 3189,
"loc": {
"start": {
"line": 99,
@@ -33066,8 +33066,8 @@
"updateContext": null
},
"value": "=",
- "start": 3181,
- "end": 3182,
+ "start": 3190,
+ "end": 3191,
"loc": {
"start": {
"line": 99,
@@ -33092,8 +33092,8 @@
"binop": null
},
"value": "data",
- "start": 3183,
- "end": 3187,
+ "start": 3192,
+ "end": 3196,
"loc": {
"start": {
"line": 99,
@@ -33118,8 +33118,8 @@
"binop": null,
"updateContext": null
},
- "start": 3187,
- "end": 3188,
+ "start": 3196,
+ "end": 3197,
"loc": {
"start": {
"line": 99,
@@ -33144,8 +33144,8 @@
"binop": null
},
"value": "message",
- "start": 3188,
- "end": 3195,
+ "start": 3197,
+ "end": 3204,
"loc": {
"start": {
"line": 99,
@@ -33170,8 +33170,8 @@
"binop": null,
"updateContext": null
},
- "start": 3195,
- "end": 3196,
+ "start": 3204,
+ "end": 3205,
"loc": {
"start": {
"line": 99,
@@ -33196,8 +33196,8 @@
"binop": null
},
"value": "replace",
- "start": 3196,
- "end": 3203,
+ "start": 3205,
+ "end": 3212,
"loc": {
"start": {
"line": 99,
@@ -33221,8 +33221,8 @@
"postfix": false,
"binop": null
},
- "start": 3203,
- "end": 3204,
+ "start": 3212,
+ "end": 3213,
"loc": {
"start": {
"line": 99,
@@ -33251,8 +33251,8 @@
"pattern": "(<([^>]+)>)",
"flags": "ig"
},
- "start": 3204,
- "end": 3219,
+ "start": 3213,
+ "end": 3228,
"loc": {
"start": {
"line": 99,
@@ -33277,8 +33277,8 @@
"binop": null,
"updateContext": null
},
- "start": 3219,
- "end": 3220,
+ "start": 3228,
+ "end": 3229,
"loc": {
"start": {
"line": 99,
@@ -33304,8 +33304,8 @@
"updateContext": null
},
"value": "",
- "start": 3221,
- "end": 3223,
+ "start": 3230,
+ "end": 3232,
"loc": {
"start": {
"line": 99,
@@ -33329,8 +33329,8 @@
"postfix": false,
"binop": null
},
- "start": 3223,
- "end": 3224,
+ "start": 3232,
+ "end": 3233,
"loc": {
"start": {
"line": 99,
@@ -33355,8 +33355,8 @@
"binop": null
},
"value": "console",
- "start": 3228,
- "end": 3235,
+ "start": 3237,
+ "end": 3244,
"loc": {
"start": {
"line": 101,
@@ -33381,8 +33381,8 @@
"binop": null,
"updateContext": null
},
- "start": 3235,
- "end": 3236,
+ "start": 3244,
+ "end": 3245,
"loc": {
"start": {
"line": 101,
@@ -33407,8 +33407,8 @@
"binop": null
},
"value": "log",
- "start": 3236,
- "end": 3239,
+ "start": 3245,
+ "end": 3248,
"loc": {
"start": {
"line": 101,
@@ -33432,8 +33432,8 @@
"postfix": false,
"binop": null
},
- "start": 3239,
- "end": 3240,
+ "start": 3248,
+ "end": 3249,
"loc": {
"start": {
"line": 101,
@@ -33459,8 +33459,8 @@
"updateContext": null
},
"value": "[CHAT] ",
- "start": 3240,
- "end": 3249,
+ "start": 3249,
+ "end": 3258,
"loc": {
"start": {
"line": 101,
@@ -33485,8 +33485,8 @@
"binop": null,
"updateContext": null
},
- "start": 3249,
- "end": 3250,
+ "start": 3258,
+ "end": 3259,
"loc": {
"start": {
"line": 101,
@@ -33511,8 +33511,8 @@
"binop": null
},
"value": "bold",
- "start": 3250,
- "end": 3254,
+ "start": 3259,
+ "end": 3263,
"loc": {
"start": {
"line": 101,
@@ -33537,8 +33537,8 @@
"binop": null,
"updateContext": null
},
- "start": 3254,
- "end": 3255,
+ "start": 3263,
+ "end": 3264,
"loc": {
"start": {
"line": 101,
@@ -33563,8 +33563,8 @@
"binop": null
},
"value": "blue",
- "start": 3255,
- "end": 3259,
+ "start": 3264,
+ "end": 3268,
"loc": {
"start": {
"line": 101,
@@ -33590,8 +33590,8 @@
"updateContext": null
},
"value": "+",
- "start": 3260,
- "end": 3261,
+ "start": 3269,
+ "end": 3270,
"loc": {
"start": {
"line": 101,
@@ -33615,8 +33615,8 @@
"postfix": false,
"binop": null
},
- "start": 3262,
- "end": 3263,
+ "start": 3271,
+ "end": 3272,
"loc": {
"start": {
"line": 101,
@@ -33642,8 +33642,8 @@
"updateContext": null
},
"value": "",
- "start": 3263,
- "end": 3263,
+ "start": 3272,
+ "end": 3272,
"loc": {
"start": {
"line": 101,
@@ -33667,8 +33667,8 @@
"postfix": false,
"binop": null
},
- "start": 3263,
- "end": 3265,
+ "start": 3272,
+ "end": 3274,
"loc": {
"start": {
"line": 101,
@@ -33692,8 +33692,8 @@
"postfix": false,
"binop": null
},
- "start": 3265,
- "end": 3266,
+ "start": 3274,
+ "end": 3275,
"loc": {
"start": {
"line": 101,
@@ -33720,8 +33720,8 @@
"updateContext": null
},
"value": "new",
- "start": 3266,
- "end": 3269,
+ "start": 3275,
+ "end": 3278,
"loc": {
"start": {
"line": 101,
@@ -33746,8 +33746,8 @@
"binop": null
},
"value": "Date",
- "start": 3270,
- "end": 3274,
+ "start": 3279,
+ "end": 3283,
"loc": {
"start": {
"line": 101,
@@ -33771,8 +33771,8 @@
"postfix": false,
"binop": null
},
- "start": 3274,
- "end": 3275,
+ "start": 3283,
+ "end": 3284,
"loc": {
"start": {
"line": 101,
@@ -33796,8 +33796,8 @@
"postfix": false,
"binop": null
},
- "start": 3275,
- "end": 3276,
+ "start": 3284,
+ "end": 3285,
"loc": {
"start": {
"line": 101,
@@ -33821,8 +33821,8 @@
"postfix": false,
"binop": null
},
- "start": 3276,
- "end": 3277,
+ "start": 3285,
+ "end": 3286,
"loc": {
"start": {
"line": 101,
@@ -33847,8 +33847,8 @@
"binop": null,
"updateContext": null
},
- "start": 3277,
- "end": 3278,
+ "start": 3286,
+ "end": 3287,
"loc": {
"start": {
"line": 101,
@@ -33873,8 +33873,8 @@
"binop": null
},
"value": "getHours",
- "start": 3278,
- "end": 3286,
+ "start": 3287,
+ "end": 3295,
"loc": {
"start": {
"line": 101,
@@ -33898,8 +33898,8 @@
"postfix": false,
"binop": null
},
- "start": 3286,
- "end": 3287,
+ "start": 3295,
+ "end": 3296,
"loc": {
"start": {
"line": 101,
@@ -33923,8 +33923,8 @@
"postfix": false,
"binop": null
},
- "start": 3287,
- "end": 3288,
+ "start": 3296,
+ "end": 3297,
"loc": {
"start": {
"line": 101,
@@ -33948,8 +33948,8 @@
"postfix": false,
"binop": null
},
- "start": 3288,
- "end": 3289,
+ "start": 3297,
+ "end": 3298,
"loc": {
"start": {
"line": 101,
@@ -33975,8 +33975,8 @@
"updateContext": null
},
"value": ":",
- "start": 3289,
- "end": 3290,
+ "start": 3298,
+ "end": 3299,
"loc": {
"start": {
"line": 101,
@@ -34000,8 +34000,8 @@
"postfix": false,
"binop": null
},
- "start": 3290,
- "end": 3292,
+ "start": 3299,
+ "end": 3301,
"loc": {
"start": {
"line": 101,
@@ -34025,8 +34025,8 @@
"postfix": false,
"binop": null
},
- "start": 3292,
- "end": 3293,
+ "start": 3301,
+ "end": 3302,
"loc": {
"start": {
"line": 101,
@@ -34053,8 +34053,8 @@
"updateContext": null
},
"value": "new",
- "start": 3293,
- "end": 3296,
+ "start": 3302,
+ "end": 3305,
"loc": {
"start": {
"line": 101,
@@ -34079,8 +34079,8 @@
"binop": null
},
"value": "Date",
- "start": 3297,
- "end": 3301,
+ "start": 3306,
+ "end": 3310,
"loc": {
"start": {
"line": 101,
@@ -34104,8 +34104,8 @@
"postfix": false,
"binop": null
},
- "start": 3301,
- "end": 3302,
+ "start": 3310,
+ "end": 3311,
"loc": {
"start": {
"line": 101,
@@ -34129,8 +34129,8 @@
"postfix": false,
"binop": null
},
- "start": 3302,
- "end": 3303,
+ "start": 3311,
+ "end": 3312,
"loc": {
"start": {
"line": 101,
@@ -34154,8 +34154,8 @@
"postfix": false,
"binop": null
},
- "start": 3303,
- "end": 3304,
+ "start": 3312,
+ "end": 3313,
"loc": {
"start": {
"line": 101,
@@ -34180,8 +34180,8 @@
"binop": null,
"updateContext": null
},
- "start": 3304,
- "end": 3305,
+ "start": 3313,
+ "end": 3314,
"loc": {
"start": {
"line": 101,
@@ -34206,8 +34206,8 @@
"binop": null
},
"value": "getMinutes",
- "start": 3305,
- "end": 3315,
+ "start": 3314,
+ "end": 3324,
"loc": {
"start": {
"line": 101,
@@ -34231,8 +34231,8 @@
"postfix": false,
"binop": null
},
- "start": 3315,
- "end": 3316,
+ "start": 3324,
+ "end": 3325,
"loc": {
"start": {
"line": 101,
@@ -34256,8 +34256,8 @@
"postfix": false,
"binop": null
},
- "start": 3316,
- "end": 3317,
+ "start": 3325,
+ "end": 3326,
"loc": {
"start": {
"line": 101,
@@ -34281,8 +34281,8 @@
"postfix": false,
"binop": null
},
- "start": 3317,
- "end": 3318,
+ "start": 3326,
+ "end": 3327,
"loc": {
"start": {
"line": 101,
@@ -34308,8 +34308,8 @@
"updateContext": null
},
"value": " ",
- "start": 3318,
- "end": 3319,
+ "start": 3327,
+ "end": 3328,
"loc": {
"start": {
"line": 101,
@@ -34333,8 +34333,8 @@
"postfix": false,
"binop": null
},
- "start": 3319,
- "end": 3321,
+ "start": 3328,
+ "end": 3330,
"loc": {
"start": {
"line": 101,
@@ -34359,8 +34359,8 @@
"binop": null
},
"value": "_sender",
- "start": 3321,
- "end": 3328,
+ "start": 3330,
+ "end": 3337,
"loc": {
"start": {
"line": 101,
@@ -34384,8 +34384,8 @@
"postfix": false,
"binop": null
},
- "start": 3328,
- "end": 3329,
+ "start": 3337,
+ "end": 3338,
"loc": {
"start": {
"line": 101,
@@ -34411,8 +34411,8 @@
"updateContext": null
},
"value": ": ",
- "start": 3329,
- "end": 3331,
+ "start": 3338,
+ "end": 3340,
"loc": {
"start": {
"line": 101,
@@ -34436,8 +34436,8 @@
"postfix": false,
"binop": null
},
- "start": 3331,
- "end": 3333,
+ "start": 3340,
+ "end": 3342,
"loc": {
"start": {
"line": 101,
@@ -34462,8 +34462,8 @@
"binop": null
},
"value": "_message",
- "start": 3333,
- "end": 3341,
+ "start": 3342,
+ "end": 3350,
"loc": {
"start": {
"line": 101,
@@ -34487,8 +34487,8 @@
"postfix": false,
"binop": null
},
- "start": 3341,
- "end": 3342,
+ "start": 3350,
+ "end": 3351,
"loc": {
"start": {
"line": 101,
@@ -34514,8 +34514,8 @@
"updateContext": null
},
"value": "",
- "start": 3342,
- "end": 3342,
+ "start": 3351,
+ "end": 3351,
"loc": {
"start": {
"line": 101,
@@ -34539,8 +34539,8 @@
"postfix": false,
"binop": null
},
- "start": 3342,
- "end": 3343,
+ "start": 3351,
+ "end": 3352,
"loc": {
"start": {
"line": 101,
@@ -34565,8 +34565,8 @@
"binop": null,
"updateContext": null
},
- "start": 3343,
- "end": 3344,
+ "start": 3352,
+ "end": 3353,
"loc": {
"start": {
"line": 101,
@@ -34591,8 +34591,8 @@
"binop": null
},
"value": "magenta",
- "start": 3344,
- "end": 3351,
+ "start": 3353,
+ "end": 3360,
"loc": {
"start": {
"line": 101,
@@ -34616,8 +34616,8 @@
"postfix": false,
"binop": null
},
- "start": 3351,
- "end": 3352,
+ "start": 3360,
+ "end": 3361,
"loc": {
"start": {
"line": 101,
@@ -34642,8 +34642,8 @@
"binop": null
},
"value": "socket",
- "start": 3356,
- "end": 3362,
+ "start": 3365,
+ "end": 3371,
"loc": {
"start": {
"line": 103,
@@ -34668,8 +34668,8 @@
"binop": null,
"updateContext": null
},
- "start": 3362,
- "end": 3363,
+ "start": 3371,
+ "end": 3372,
"loc": {
"start": {
"line": 103,
@@ -34694,8 +34694,8 @@
"binop": null
},
"value": "to",
- "start": 3363,
- "end": 3365,
+ "start": 3372,
+ "end": 3374,
"loc": {
"start": {
"line": 103,
@@ -34719,8 +34719,8 @@
"postfix": false,
"binop": null
},
- "start": 3365,
- "end": 3366,
+ "start": 3374,
+ "end": 3375,
"loc": {
"start": {
"line": 103,
@@ -34745,8 +34745,8 @@
"binop": null
},
"value": "room",
- "start": 3366,
- "end": 3370,
+ "start": 3375,
+ "end": 3379,
"loc": {
"start": {
"line": 103,
@@ -34770,8 +34770,8 @@
"postfix": false,
"binop": null
},
- "start": 3370,
- "end": 3371,
+ "start": 3379,
+ "end": 3380,
"loc": {
"start": {
"line": 103,
@@ -34796,8 +34796,8 @@
"binop": null,
"updateContext": null
},
- "start": 3371,
- "end": 3372,
+ "start": 3380,
+ "end": 3381,
"loc": {
"start": {
"line": 103,
@@ -34822,8 +34822,8 @@
"binop": null
},
"value": "broadcast",
- "start": 3372,
- "end": 3381,
+ "start": 3381,
+ "end": 3390,
"loc": {
"start": {
"line": 103,
@@ -34848,8 +34848,8 @@
"binop": null,
"updateContext": null
},
- "start": 3381,
- "end": 3382,
+ "start": 3390,
+ "end": 3391,
"loc": {
"start": {
"line": 103,
@@ -34874,8 +34874,8 @@
"binop": null
},
"value": "emit",
- "start": 3382,
- "end": 3386,
+ "start": 3391,
+ "end": 3395,
"loc": {
"start": {
"line": 103,
@@ -34899,8 +34899,8 @@
"postfix": false,
"binop": null
},
- "start": 3386,
- "end": 3387,
+ "start": 3395,
+ "end": 3396,
"loc": {
"start": {
"line": 103,
@@ -34926,8 +34926,8 @@
"updateContext": null
},
"value": "serverSendPlayerChat",
- "start": 3387,
- "end": 3409,
+ "start": 3396,
+ "end": 3418,
"loc": {
"start": {
"line": 103,
@@ -34952,8 +34952,8 @@
"binop": null,
"updateContext": null
},
- "start": 3409,
- "end": 3410,
+ "start": 3418,
+ "end": 3419,
"loc": {
"start": {
"line": 103,
@@ -34977,8 +34977,8 @@
"postfix": false,
"binop": null
},
- "start": 3411,
- "end": 3412,
+ "start": 3420,
+ "end": 3421,
"loc": {
"start": {
"line": 103,
@@ -35003,8 +35003,8 @@
"binop": null
},
"value": "sender",
- "start": 3413,
- "end": 3419,
+ "start": 3422,
+ "end": 3428,
"loc": {
"start": {
"line": 103,
@@ -35029,8 +35029,8 @@
"binop": null,
"updateContext": null
},
- "start": 3419,
- "end": 3420,
+ "start": 3428,
+ "end": 3429,
"loc": {
"start": {
"line": 103,
@@ -35055,8 +35055,8 @@
"binop": null
},
"value": "_sender",
- "start": 3421,
- "end": 3428,
+ "start": 3430,
+ "end": 3437,
"loc": {
"start": {
"line": 103,
@@ -35081,8 +35081,8 @@
"binop": null,
"updateContext": null
},
- "start": 3428,
- "end": 3429,
+ "start": 3437,
+ "end": 3438,
"loc": {
"start": {
"line": 103,
@@ -35107,8 +35107,8 @@
"binop": null
},
"value": "message",
- "start": 3430,
- "end": 3437,
+ "start": 3439,
+ "end": 3446,
"loc": {
"start": {
"line": 103,
@@ -35133,8 +35133,8 @@
"binop": null,
"updateContext": null
},
- "start": 3437,
- "end": 3438,
+ "start": 3446,
+ "end": 3447,
"loc": {
"start": {
"line": 103,
@@ -35159,8 +35159,8 @@
"binop": null
},
"value": "_message",
- "start": 3439,
- "end": 3447,
+ "start": 3448,
+ "end": 3456,
"loc": {
"start": {
"line": 103,
@@ -35185,8 +35185,8 @@
"binop": null,
"updateContext": null
},
- "start": 3447,
- "end": 3448,
+ "start": 3456,
+ "end": 3457,
"loc": {
"start": {
"line": 103,
@@ -35211,8 +35211,8 @@
"binop": null
},
"value": "substring",
- "start": 3448,
- "end": 3457,
+ "start": 3457,
+ "end": 3466,
"loc": {
"start": {
"line": 103,
@@ -35236,8 +35236,8 @@
"postfix": false,
"binop": null
},
- "start": 3457,
- "end": 3458,
+ "start": 3466,
+ "end": 3467,
"loc": {
"start": {
"line": 103,
@@ -35263,8 +35263,8 @@
"updateContext": null
},
"value": 0,
- "start": 3458,
- "end": 3459,
+ "start": 3467,
+ "end": 3468,
"loc": {
"start": {
"line": 103,
@@ -35289,8 +35289,8 @@
"binop": null,
"updateContext": null
},
- "start": 3459,
- "end": 3460,
+ "start": 3468,
+ "end": 3469,
"loc": {
"start": {
"line": 103,
@@ -35316,8 +35316,8 @@
"updateContext": null
},
"value": 35,
- "start": 3461,
- "end": 3463,
+ "start": 3470,
+ "end": 3472,
"loc": {
"start": {
"line": 103,
@@ -35341,8 +35341,8 @@
"postfix": false,
"binop": null
},
- "start": 3463,
- "end": 3464,
+ "start": 3472,
+ "end": 3473,
"loc": {
"start": {
"line": 103,
@@ -35367,8 +35367,8 @@
"binop": null,
"updateContext": null
},
- "start": 3464,
- "end": 3465,
+ "start": 3473,
+ "end": 3474,
"loc": {
"start": {
"line": 103,
@@ -35393,8 +35393,8 @@
"binop": null
},
"value": "sendingTeam",
- "start": 3466,
- "end": 3477,
+ "start": 3475,
+ "end": 3486,
"loc": {
"start": {
"line": 103,
@@ -35419,8 +35419,8 @@
"binop": null,
"updateContext": null
},
- "start": 3477,
- "end": 3478,
+ "start": 3486,
+ "end": 3487,
"loc": {
"start": {
"line": 103,
@@ -35445,8 +35445,8 @@
"binop": null
},
"value": "data",
- "start": 3479,
- "end": 3483,
+ "start": 3488,
+ "end": 3492,
"loc": {
"start": {
"line": 103,
@@ -35471,8 +35471,8 @@
"binop": null,
"updateContext": null
},
- "start": 3483,
- "end": 3484,
+ "start": 3492,
+ "end": 3493,
"loc": {
"start": {
"line": 103,
@@ -35497,8 +35497,8 @@
"binop": null
},
"value": "sendingTeam",
- "start": 3484,
- "end": 3495,
+ "start": 3493,
+ "end": 3504,
"loc": {
"start": {
"line": 103,
@@ -35522,8 +35522,8 @@
"postfix": false,
"binop": null
},
- "start": 3496,
- "end": 3497,
+ "start": 3505,
+ "end": 3506,
"loc": {
"start": {
"line": 103,
@@ -35547,8 +35547,8 @@
"postfix": false,
"binop": null
},
- "start": 3497,
- "end": 3498,
+ "start": 3506,
+ "end": 3507,
"loc": {
"start": {
"line": 103,
@@ -35572,8 +35572,8 @@
"postfix": false,
"binop": null
},
- "start": 3500,
- "end": 3501,
+ "start": 3509,
+ "end": 3510,
"loc": {
"start": {
"line": 104,
@@ -35597,8 +35597,8 @@
"postfix": false,
"binop": null
},
- "start": 3501,
- "end": 3502,
+ "start": 3510,
+ "end": 3511,
"loc": {
"start": {
"line": 104,
@@ -35613,8 +35613,8 @@
{
"type": "CommentLine",
"value": " Other player joins the socket.to(room)",
- "start": 3505,
- "end": 3546,
+ "start": 3514,
+ "end": 3555,
"loc": {
"start": {
"line": 106,
@@ -35639,8 +35639,8 @@
"binop": null
},
"value": "socket",
- "start": 3548,
- "end": 3554,
+ "start": 3557,
+ "end": 3563,
"loc": {
"start": {
"line": 107,
@@ -35665,8 +35665,8 @@
"binop": null,
"updateContext": null
},
- "start": 3554,
- "end": 3555,
+ "start": 3563,
+ "end": 3564,
"loc": {
"start": {
"line": 107,
@@ -35691,8 +35691,8 @@
"binop": null
},
"value": "to",
- "start": 3555,
- "end": 3557,
+ "start": 3564,
+ "end": 3566,
"loc": {
"start": {
"line": 107,
@@ -35716,8 +35716,8 @@
"postfix": false,
"binop": null
},
- "start": 3557,
- "end": 3558,
+ "start": 3566,
+ "end": 3567,
"loc": {
"start": {
"line": 107,
@@ -35742,8 +35742,8 @@
"binop": null
},
"value": "room",
- "start": 3558,
- "end": 3562,
+ "start": 3567,
+ "end": 3571,
"loc": {
"start": {
"line": 107,
@@ -35767,8 +35767,8 @@
"postfix": false,
"binop": null
},
- "start": 3562,
- "end": 3563,
+ "start": 3571,
+ "end": 3572,
"loc": {
"start": {
"line": 107,
@@ -35793,8 +35793,8 @@
"binop": null,
"updateContext": null
},
- "start": 3563,
- "end": 3564,
+ "start": 3572,
+ "end": 3573,
"loc": {
"start": {
"line": 107,
@@ -35819,8 +35819,8 @@
"binop": null
},
"value": "on",
- "start": 3564,
- "end": 3566,
+ "start": 3573,
+ "end": 3575,
"loc": {
"start": {
"line": 107,
@@ -35844,8 +35844,8 @@
"postfix": false,
"binop": null
},
- "start": 3566,
- "end": 3567,
+ "start": 3575,
+ "end": 3576,
"loc": {
"start": {
"line": 107,
@@ -35871,8 +35871,8 @@
"updateContext": null
},
"value": "playerJoin",
- "start": 3567,
- "end": 3579,
+ "start": 3576,
+ "end": 3588,
"loc": {
"start": {
"line": 107,
@@ -35897,8 +35897,8 @@
"binop": null,
"updateContext": null
},
- "start": 3579,
- "end": 3580,
+ "start": 3588,
+ "end": 3589,
"loc": {
"start": {
"line": 107,
@@ -35923,8 +35923,8 @@
"binop": null
},
"value": "data",
- "start": 3581,
- "end": 3585,
+ "start": 3590,
+ "end": 3594,
"loc": {
"start": {
"line": 107,
@@ -35949,8 +35949,8 @@
"binop": null,
"updateContext": null
},
- "start": 3586,
- "end": 3588,
+ "start": 3595,
+ "end": 3597,
"loc": {
"start": {
"line": 107,
@@ -35974,8 +35974,8 @@
"postfix": false,
"binop": null
},
- "start": 3589,
- "end": 3590,
+ "start": 3598,
+ "end": 3599,
"loc": {
"start": {
"line": 107,
@@ -35990,8 +35990,8 @@
{
"type": "CommentLine",
"value": " console.log('sender: ' + data.sender);",
- "start": 3593,
- "end": 3634,
+ "start": 3602,
+ "end": 3643,
"loc": {
"start": {
"line": 108,
@@ -36018,8 +36018,8 @@
"updateContext": null
},
"value": "const",
- "start": 3637,
- "end": 3642,
+ "start": 3646,
+ "end": 3651,
"loc": {
"start": {
"line": 109,
@@ -36044,8 +36044,8 @@
"binop": null
},
"value": "_sender",
- "start": 3643,
- "end": 3650,
+ "start": 3652,
+ "end": 3659,
"loc": {
"start": {
"line": 109,
@@ -36071,8 +36071,8 @@
"updateContext": null
},
"value": "=",
- "start": 3651,
- "end": 3652,
+ "start": 3660,
+ "end": 3661,
"loc": {
"start": {
"line": 109,
@@ -36097,8 +36097,8 @@
"binop": null
},
"value": "data",
- "start": 3653,
- "end": 3657,
+ "start": 3662,
+ "end": 3666,
"loc": {
"start": {
"line": 109,
@@ -36123,8 +36123,8 @@
"binop": null,
"updateContext": null
},
- "start": 3657,
- "end": 3658,
+ "start": 3666,
+ "end": 3667,
"loc": {
"start": {
"line": 109,
@@ -36149,8 +36149,8 @@
"binop": null
},
"value": "sender",
- "start": 3658,
- "end": 3664,
+ "start": 3667,
+ "end": 3673,
"loc": {
"start": {
"line": 109,
@@ -36175,8 +36175,8 @@
"binop": null,
"updateContext": null
},
- "start": 3664,
- "end": 3665,
+ "start": 3673,
+ "end": 3674,
"loc": {
"start": {
"line": 109,
@@ -36201,8 +36201,8 @@
"binop": null
},
"value": "replace",
- "start": 3665,
- "end": 3672,
+ "start": 3674,
+ "end": 3681,
"loc": {
"start": {
"line": 109,
@@ -36226,8 +36226,8 @@
"postfix": false,
"binop": null
},
- "start": 3672,
- "end": 3673,
+ "start": 3681,
+ "end": 3682,
"loc": {
"start": {
"line": 109,
@@ -36256,8 +36256,8 @@
"pattern": "(<([^>]+)>)",
"flags": "ig"
},
- "start": 3673,
- "end": 3688,
+ "start": 3682,
+ "end": 3697,
"loc": {
"start": {
"line": 109,
@@ -36282,8 +36282,8 @@
"binop": null,
"updateContext": null
},
- "start": 3688,
- "end": 3689,
+ "start": 3697,
+ "end": 3698,
"loc": {
"start": {
"line": 109,
@@ -36309,8 +36309,8 @@
"updateContext": null
},
"value": "",
- "start": 3690,
- "end": 3692,
+ "start": 3699,
+ "end": 3701,
"loc": {
"start": {
"line": 109,
@@ -36334,8 +36334,8 @@
"postfix": false,
"binop": null
},
- "start": 3692,
- "end": 3693,
+ "start": 3701,
+ "end": 3702,
"loc": {
"start": {
"line": 109,
@@ -36360,8 +36360,8 @@
"binop": null
},
"value": "socket",
- "start": 3696,
- "end": 3702,
+ "start": 3705,
+ "end": 3711,
"loc": {
"start": {
"line": 110,
@@ -36386,8 +36386,8 @@
"binop": null,
"updateContext": null
},
- "start": 3702,
- "end": 3703,
+ "start": 3711,
+ "end": 3712,
"loc": {
"start": {
"line": 110,
@@ -36412,8 +36412,8 @@
"binop": null
},
"value": "to",
- "start": 3703,
- "end": 3705,
+ "start": 3712,
+ "end": 3714,
"loc": {
"start": {
"line": 110,
@@ -36437,8 +36437,8 @@
"postfix": false,
"binop": null
},
- "start": 3705,
- "end": 3706,
+ "start": 3714,
+ "end": 3715,
"loc": {
"start": {
"line": 110,
@@ -36463,8 +36463,8 @@
"binop": null
},
"value": "room",
- "start": 3706,
- "end": 3710,
+ "start": 3715,
+ "end": 3719,
"loc": {
"start": {
"line": 110,
@@ -36488,8 +36488,8 @@
"postfix": false,
"binop": null
},
- "start": 3710,
- "end": 3711,
+ "start": 3719,
+ "end": 3720,
"loc": {
"start": {
"line": 110,
@@ -36514,8 +36514,8 @@
"binop": null,
"updateContext": null
},
- "start": 3711,
- "end": 3712,
+ "start": 3720,
+ "end": 3721,
"loc": {
"start": {
"line": 110,
@@ -36540,8 +36540,8 @@
"binop": null
},
"value": "broadcast",
- "start": 3712,
- "end": 3721,
+ "start": 3721,
+ "end": 3730,
"loc": {
"start": {
"line": 110,
@@ -36566,8 +36566,8 @@
"binop": null,
"updateContext": null
},
- "start": 3721,
- "end": 3722,
+ "start": 3730,
+ "end": 3731,
"loc": {
"start": {
"line": 110,
@@ -36592,8 +36592,8 @@
"binop": null
},
"value": "emit",
- "start": 3722,
- "end": 3726,
+ "start": 3731,
+ "end": 3735,
"loc": {
"start": {
"line": 110,
@@ -36617,8 +36617,8 @@
"postfix": false,
"binop": null
},
- "start": 3726,
- "end": 3727,
+ "start": 3735,
+ "end": 3736,
"loc": {
"start": {
"line": 110,
@@ -36644,8 +36644,8 @@
"updateContext": null
},
"value": "serverSendLoginMessage",
- "start": 3727,
- "end": 3751,
+ "start": 3736,
+ "end": 3760,
"loc": {
"start": {
"line": 110,
@@ -36670,8 +36670,8 @@
"binop": null,
"updateContext": null
},
- "start": 3751,
- "end": 3752,
+ "start": 3760,
+ "end": 3761,
"loc": {
"start": {
"line": 110,
@@ -36695,8 +36695,8 @@
"postfix": false,
"binop": null
},
- "start": 3753,
- "end": 3754,
+ "start": 3762,
+ "end": 3763,
"loc": {
"start": {
"line": 110,
@@ -36721,8 +36721,8 @@
"binop": null
},
"value": "sender",
- "start": 3755,
- "end": 3761,
+ "start": 3764,
+ "end": 3770,
"loc": {
"start": {
"line": 110,
@@ -36747,8 +36747,8 @@
"binop": null,
"updateContext": null
},
- "start": 3761,
- "end": 3762,
+ "start": 3770,
+ "end": 3771,
"loc": {
"start": {
"line": 110,
@@ -36773,8 +36773,8 @@
"binop": null
},
"value": "_sender",
- "start": 3763,
- "end": 3770,
+ "start": 3772,
+ "end": 3779,
"loc": {
"start": {
"line": 110,
@@ -36799,8 +36799,8 @@
"binop": null,
"updateContext": null
},
- "start": 3770,
- "end": 3771,
+ "start": 3779,
+ "end": 3780,
"loc": {
"start": {
"line": 110,
@@ -36825,8 +36825,8 @@
"binop": null
},
"value": "team",
- "start": 3772,
- "end": 3776,
+ "start": 3781,
+ "end": 3785,
"loc": {
"start": {
"line": 110,
@@ -36851,8 +36851,8 @@
"binop": null,
"updateContext": null
},
- "start": 3776,
- "end": 3777,
+ "start": 3785,
+ "end": 3786,
"loc": {
"start": {
"line": 110,
@@ -36877,8 +36877,8 @@
"binop": null
},
"value": "data",
- "start": 3778,
- "end": 3782,
+ "start": 3787,
+ "end": 3791,
"loc": {
"start": {
"line": 110,
@@ -36903,8 +36903,8 @@
"binop": null,
"updateContext": null
},
- "start": 3782,
- "end": 3783,
+ "start": 3791,
+ "end": 3792,
"loc": {
"start": {
"line": 110,
@@ -36929,8 +36929,8 @@
"binop": null
},
"value": "team",
- "start": 3783,
- "end": 3787,
+ "start": 3792,
+ "end": 3796,
"loc": {
"start": {
"line": 110,
@@ -36954,8 +36954,8 @@
"postfix": false,
"binop": null
},
- "start": 3788,
- "end": 3789,
+ "start": 3797,
+ "end": 3798,
"loc": {
"start": {
"line": 110,
@@ -36979,8 +36979,8 @@
"postfix": false,
"binop": null
},
- "start": 3789,
- "end": 3790,
+ "start": 3798,
+ "end": 3799,
"loc": {
"start": {
"line": 110,
@@ -37007,8 +37007,8 @@
"updateContext": null
},
"value": "if",
- "start": 3793,
- "end": 3795,
+ "start": 3802,
+ "end": 3804,
"loc": {
"start": {
"line": 111,
@@ -37032,8 +37032,8 @@
"postfix": false,
"binop": null
},
- "start": 3796,
- "end": 3797,
+ "start": 3805,
+ "end": 3806,
"loc": {
"start": {
"line": 111,
@@ -37058,8 +37058,8 @@
"binop": null
},
"value": "DEBUG",
- "start": 3797,
- "end": 3802,
+ "start": 3806,
+ "end": 3811,
"loc": {
"start": {
"line": 111,
@@ -37083,8 +37083,8 @@
"postfix": false,
"binop": null
},
- "start": 3802,
- "end": 3803,
+ "start": 3811,
+ "end": 3812,
"loc": {
"start": {
"line": 111,
@@ -37108,8 +37108,8 @@
"postfix": false,
"binop": null
},
- "start": 3804,
- "end": 3805,
+ "start": 3813,
+ "end": 3814,
"loc": {
"start": {
"line": 111,
@@ -37134,8 +37134,8 @@
"binop": null
},
"value": "socket",
- "start": 3809,
- "end": 3815,
+ "start": 3818,
+ "end": 3824,
"loc": {
"start": {
"line": 112,
@@ -37160,8 +37160,8 @@
"binop": null,
"updateContext": null
},
- "start": 3815,
- "end": 3816,
+ "start": 3824,
+ "end": 3825,
"loc": {
"start": {
"line": 112,
@@ -37186,8 +37186,8 @@
"binop": null
},
"value": "to",
- "start": 3816,
- "end": 3818,
+ "start": 3825,
+ "end": 3827,
"loc": {
"start": {
"line": 112,
@@ -37211,8 +37211,8 @@
"postfix": false,
"binop": null
},
- "start": 3818,
- "end": 3819,
+ "start": 3827,
+ "end": 3828,
"loc": {
"start": {
"line": 112,
@@ -37237,8 +37237,8 @@
"binop": null
},
"value": "room",
- "start": 3819,
- "end": 3823,
+ "start": 3828,
+ "end": 3832,
"loc": {
"start": {
"line": 112,
@@ -37262,8 +37262,8 @@
"postfix": false,
"binop": null
},
- "start": 3823,
- "end": 3824,
+ "start": 3832,
+ "end": 3833,
"loc": {
"start": {
"line": 112,
@@ -37288,8 +37288,8 @@
"binop": null,
"updateContext": null
},
- "start": 3824,
- "end": 3825,
+ "start": 3833,
+ "end": 3834,
"loc": {
"start": {
"line": 112,
@@ -37314,8 +37314,8 @@
"binop": null
},
"value": "broadcast",
- "start": 3825,
- "end": 3834,
+ "start": 3834,
+ "end": 3843,
"loc": {
"start": {
"line": 112,
@@ -37340,8 +37340,8 @@
"binop": null,
"updateContext": null
},
- "start": 3834,
- "end": 3835,
+ "start": 3843,
+ "end": 3844,
"loc": {
"start": {
"line": 112,
@@ -37366,8 +37366,8 @@
"binop": null
},
"value": "emit",
- "start": 3835,
- "end": 3839,
+ "start": 3844,
+ "end": 3848,
"loc": {
"start": {
"line": 112,
@@ -37391,8 +37391,8 @@
"postfix": false,
"binop": null
},
- "start": 3839,
- "end": 3840,
+ "start": 3848,
+ "end": 3849,
"loc": {
"start": {
"line": 112,
@@ -37418,8 +37418,8 @@
"updateContext": null
},
"value": "serverMSG",
- "start": 3840,
- "end": 3851,
+ "start": 3849,
+ "end": 3860,
"loc": {
"start": {
"line": 112,
@@ -37444,8 +37444,8 @@
"binop": null,
"updateContext": null
},
- "start": 3851,
- "end": 3852,
+ "start": 3860,
+ "end": 3861,
"loc": {
"start": {
"line": 112,
@@ -37471,8 +37471,8 @@
"updateContext": null
},
"value": "You are connected to a DEBUG enabled server. ",
- "start": 3853,
- "end": 3900,
+ "start": 3862,
+ "end": 3909,
"loc": {
"start": {
"line": 112,
@@ -37496,8 +37496,8 @@
"postfix": false,
"binop": null
},
- "start": 3900,
- "end": 3901,
+ "start": 3909,
+ "end": 3910,
"loc": {
"start": {
"line": 112,
@@ -37521,8 +37521,8 @@
"postfix": false,
"binop": null
},
- "start": 3904,
- "end": 3905,
+ "start": 3913,
+ "end": 3914,
"loc": {
"start": {
"line": 113,
@@ -37546,8 +37546,8 @@
"postfix": false,
"binop": null
},
- "start": 3907,
- "end": 3908,
+ "start": 3916,
+ "end": 3917,
"loc": {
"start": {
"line": 114,
@@ -37571,8 +37571,8 @@
"postfix": false,
"binop": null
},
- "start": 3908,
- "end": 3909,
+ "start": 3917,
+ "end": 3918,
"loc": {
"start": {
"line": 114,
@@ -37587,8 +37587,8 @@
{
"type": "CommentLine",
"value": " Broadcasts player join message",
- "start": 3912,
- "end": 3945,
+ "start": 3921,
+ "end": 3954,
"loc": {
"start": {
"line": 116,
@@ -37613,8 +37613,8 @@
"binop": null
},
"value": "socket",
- "start": 3948,
- "end": 3954,
+ "start": 3957,
+ "end": 3963,
"loc": {
"start": {
"line": 118,
@@ -37639,8 +37639,8 @@
"binop": null,
"updateContext": null
},
- "start": 3954,
- "end": 3955,
+ "start": 3963,
+ "end": 3964,
"loc": {
"start": {
"line": 118,
@@ -37665,8 +37665,8 @@
"binop": null
},
"value": "to",
- "start": 3955,
- "end": 3957,
+ "start": 3964,
+ "end": 3966,
"loc": {
"start": {
"line": 118,
@@ -37690,8 +37690,8 @@
"postfix": false,
"binop": null
},
- "start": 3957,
- "end": 3958,
+ "start": 3966,
+ "end": 3967,
"loc": {
"start": {
"line": 118,
@@ -37716,8 +37716,8 @@
"binop": null
},
"value": "room",
- "start": 3958,
- "end": 3962,
+ "start": 3967,
+ "end": 3971,
"loc": {
"start": {
"line": 118,
@@ -37741,8 +37741,8 @@
"postfix": false,
"binop": null
},
- "start": 3962,
- "end": 3963,
+ "start": 3971,
+ "end": 3972,
"loc": {
"start": {
"line": 118,
@@ -37767,8 +37767,8 @@
"binop": null,
"updateContext": null
},
- "start": 3963,
- "end": 3964,
+ "start": 3972,
+ "end": 3973,
"loc": {
"start": {
"line": 118,
@@ -37793,8 +37793,8 @@
"binop": null
},
"value": "broadcast",
- "start": 3964,
- "end": 3973,
+ "start": 3973,
+ "end": 3982,
"loc": {
"start": {
"line": 118,
@@ -37819,8 +37819,8 @@
"binop": null,
"updateContext": null
},
- "start": 3973,
- "end": 3974,
+ "start": 3982,
+ "end": 3983,
"loc": {
"start": {
"line": 118,
@@ -37845,8 +37845,8 @@
"binop": null
},
"value": "emit",
- "start": 3974,
- "end": 3978,
+ "start": 3983,
+ "end": 3987,
"loc": {
"start": {
"line": 118,
@@ -37870,8 +37870,8 @@
"postfix": false,
"binop": null
},
- "start": 3978,
- "end": 3979,
+ "start": 3987,
+ "end": 3988,
"loc": {
"start": {
"line": 118,
@@ -37897,8 +37897,8 @@
"updateContext": null
},
"value": "serverSendLoginMessage",
- "start": 3979,
- "end": 4003,
+ "start": 3988,
+ "end": 4012,
"loc": {
"start": {
"line": 118,
@@ -37923,8 +37923,8 @@
"binop": null,
"updateContext": null
},
- "start": 4003,
- "end": 4004,
+ "start": 4012,
+ "end": 4013,
"loc": {
"start": {
"line": 118,
@@ -37948,8 +37948,8 @@
"postfix": false,
"binop": null
},
- "start": 4005,
- "end": 4006,
+ "start": 4014,
+ "end": 4015,
"loc": {
"start": {
"line": 118,
@@ -37974,8 +37974,8 @@
"binop": null
},
"value": "sender",
- "start": 4009,
- "end": 4015,
+ "start": 4018,
+ "end": 4024,
"loc": {
"start": {
"line": 119,
@@ -38000,8 +38000,8 @@
"binop": null,
"updateContext": null
},
- "start": 4015,
- "end": 4016,
+ "start": 4024,
+ "end": 4025,
"loc": {
"start": {
"line": 119,
@@ -38026,8 +38026,8 @@
"binop": null
},
"value": "socket",
- "start": 4017,
- "end": 4023,
+ "start": 4026,
+ "end": 4032,
"loc": {
"start": {
"line": 119,
@@ -38052,8 +38052,8 @@
"binop": null,
"updateContext": null
},
- "start": 4023,
- "end": 4024,
+ "start": 4032,
+ "end": 4033,
"loc": {
"start": {
"line": 119,
@@ -38078,8 +38078,8 @@
"binop": null
},
"value": "id",
- "start": 4024,
- "end": 4026,
+ "start": 4033,
+ "end": 4035,
"loc": {
"start": {
"line": 119,
@@ -38103,8 +38103,8 @@
"postfix": false,
"binop": null
},
- "start": 4028,
- "end": 4029,
+ "start": 4037,
+ "end": 4038,
"loc": {
"start": {
"line": 120,
@@ -38128,8 +38128,8 @@
"postfix": false,
"binop": null
},
- "start": 4029,
- "end": 4030,
+ "start": 4038,
+ "end": 4039,
"loc": {
"start": {
"line": 120,
@@ -38156,8 +38156,8 @@
"updateContext": null
},
"value": "if",
- "start": 4032,
- "end": 4034,
+ "start": 4041,
+ "end": 4043,
"loc": {
"start": {
"line": 121,
@@ -38181,8 +38181,8 @@
"postfix": false,
"binop": null
},
- "start": 4035,
- "end": 4036,
+ "start": 4044,
+ "end": 4045,
"loc": {
"start": {
"line": 121,
@@ -38207,8 +38207,8 @@
"binop": null
},
"value": "DEBUG",
- "start": 4036,
- "end": 4041,
+ "start": 4045,
+ "end": 4050,
"loc": {
"start": {
"line": 121,
@@ -38232,8 +38232,8 @@
"postfix": false,
"binop": null
},
- "start": 4041,
- "end": 4042,
+ "start": 4050,
+ "end": 4051,
"loc": {
"start": {
"line": 121,
@@ -38257,8 +38257,8 @@
"postfix": false,
"binop": null
},
- "start": 4043,
- "end": 4044,
+ "start": 4052,
+ "end": 4053,
"loc": {
"start": {
"line": 121,
@@ -38283,8 +38283,8 @@
"binop": null
},
"value": "socket",
- "start": 4047,
- "end": 4053,
+ "start": 4056,
+ "end": 4062,
"loc": {
"start": {
"line": 122,
@@ -38309,8 +38309,8 @@
"binop": null,
"updateContext": null
},
- "start": 4053,
- "end": 4054,
+ "start": 4062,
+ "end": 4063,
"loc": {
"start": {
"line": 122,
@@ -38335,8 +38335,8 @@
"binop": null
},
"value": "to",
- "start": 4054,
- "end": 4056,
+ "start": 4063,
+ "end": 4065,
"loc": {
"start": {
"line": 122,
@@ -38360,8 +38360,8 @@
"postfix": false,
"binop": null
},
- "start": 4056,
- "end": 4057,
+ "start": 4065,
+ "end": 4066,
"loc": {
"start": {
"line": 122,
@@ -38386,8 +38386,8 @@
"binop": null
},
"value": "room",
- "start": 4057,
- "end": 4061,
+ "start": 4066,
+ "end": 4070,
"loc": {
"start": {
"line": 122,
@@ -38411,8 +38411,8 @@
"postfix": false,
"binop": null
},
- "start": 4061,
- "end": 4062,
+ "start": 4070,
+ "end": 4071,
"loc": {
"start": {
"line": 122,
@@ -38437,8 +38437,8 @@
"binop": null,
"updateContext": null
},
- "start": 4062,
- "end": 4063,
+ "start": 4071,
+ "end": 4072,
"loc": {
"start": {
"line": 122,
@@ -38463,8 +38463,8 @@
"binop": null
},
"value": "broadcast",
- "start": 4063,
- "end": 4072,
+ "start": 4072,
+ "end": 4081,
"loc": {
"start": {
"line": 122,
@@ -38489,8 +38489,8 @@
"binop": null,
"updateContext": null
},
- "start": 4072,
- "end": 4073,
+ "start": 4081,
+ "end": 4082,
"loc": {
"start": {
"line": 122,
@@ -38515,8 +38515,8 @@
"binop": null
},
"value": "emit",
- "start": 4073,
- "end": 4077,
+ "start": 4082,
+ "end": 4086,
"loc": {
"start": {
"line": 122,
@@ -38540,8 +38540,8 @@
"postfix": false,
"binop": null
},
- "start": 4077,
- "end": 4078,
+ "start": 4086,
+ "end": 4087,
"loc": {
"start": {
"line": 122,
@@ -38567,8 +38567,8 @@
"updateContext": null
},
"value": "serverMSG",
- "start": 4078,
- "end": 4089,
+ "start": 4087,
+ "end": 4098,
"loc": {
"start": {
"line": 122,
@@ -38593,8 +38593,8 @@
"binop": null,
"updateContext": null
},
- "start": 4089,
- "end": 4090,
+ "start": 4098,
+ "end": 4099,
"loc": {
"start": {
"line": 122,
@@ -38620,8 +38620,8 @@
"updateContext": null
},
"value": "You are connected to a DEBUG enabled server. ",
- "start": 4091,
- "end": 4138,
+ "start": 4100,
+ "end": 4147,
"loc": {
"start": {
"line": 122,
@@ -38645,8 +38645,8 @@
"postfix": false,
"binop": null
},
- "start": 4138,
- "end": 4139,
+ "start": 4147,
+ "end": 4148,
"loc": {
"start": {
"line": 122,
@@ -38670,8 +38670,8 @@
"postfix": false,
"binop": null
},
- "start": 4141,
- "end": 4142,
+ "start": 4150,
+ "end": 4151,
"loc": {
"start": {
"line": 123,
@@ -38686,8 +38686,8 @@
{
"type": "CommentLine",
"value": " Hides the lobby screen if the game has already started",
- "start": 4145,
- "end": 4202,
+ "start": 4154,
+ "end": 4211,
"loc": {
"start": {
"line": 125,
@@ -38714,8 +38714,8 @@
"updateContext": null
},
"value": "if",
- "start": 4204,
- "end": 4206,
+ "start": 4213,
+ "end": 4215,
"loc": {
"start": {
"line": 126,
@@ -38739,8 +38739,8 @@
"postfix": false,
"binop": null
},
- "start": 4207,
- "end": 4208,
+ "start": 4216,
+ "end": 4217,
"loc": {
"start": {
"line": 126,
@@ -38765,8 +38765,8 @@
"binop": null
},
"value": "rooms",
- "start": 4208,
- "end": 4213,
+ "start": 4217,
+ "end": 4222,
"loc": {
"start": {
"line": 126,
@@ -38791,8 +38791,8 @@
"binop": null,
"updateContext": null
},
- "start": 4213,
- "end": 4214,
+ "start": 4222,
+ "end": 4223,
"loc": {
"start": {
"line": 126,
@@ -38817,8 +38817,8 @@
"binop": null
},
"value": "room",
- "start": 4214,
- "end": 4218,
+ "start": 4223,
+ "end": 4227,
"loc": {
"start": {
"line": 126,
@@ -38843,8 +38843,8 @@
"binop": null,
"updateContext": null
},
- "start": 4218,
- "end": 4219,
+ "start": 4227,
+ "end": 4228,
"loc": {
"start": {
"line": 126,
@@ -38869,8 +38869,8 @@
"binop": null,
"updateContext": null
},
- "start": 4219,
- "end": 4220,
+ "start": 4228,
+ "end": 4229,
"loc": {
"start": {
"line": 126,
@@ -38895,8 +38895,8 @@
"binop": null
},
"value": "started",
- "start": 4220,
- "end": 4227,
+ "start": 4229,
+ "end": 4236,
"loc": {
"start": {
"line": 126,
@@ -38920,8 +38920,8 @@
"postfix": false,
"binop": null
},
- "start": 4227,
- "end": 4228,
+ "start": 4236,
+ "end": 4237,
"loc": {
"start": {
"line": 126,
@@ -38945,8 +38945,8 @@
"postfix": false,
"binop": null
},
- "start": 4229,
- "end": 4230,
+ "start": 4238,
+ "end": 4239,
"loc": {
"start": {
"line": 126,
@@ -38971,8 +38971,8 @@
"binop": null
},
"value": "socket",
- "start": 4233,
- "end": 4239,
+ "start": 4242,
+ "end": 4248,
"loc": {
"start": {
"line": 127,
@@ -38997,8 +38997,8 @@
"binop": null,
"updateContext": null
},
- "start": 4239,
- "end": 4240,
+ "start": 4248,
+ "end": 4249,
"loc": {
"start": {
"line": 127,
@@ -39023,8 +39023,8 @@
"binop": null
},
"value": "emit",
- "start": 4240,
- "end": 4244,
+ "start": 4249,
+ "end": 4253,
"loc": {
"start": {
"line": 127,
@@ -39048,8 +39048,8 @@
"postfix": false,
"binop": null
},
- "start": 4244,
- "end": 4245,
+ "start": 4253,
+ "end": 4254,
"loc": {
"start": {
"line": 127,
@@ -39075,8 +39075,8 @@
"updateContext": null
},
"value": "serverSendStartGame",
- "start": 4245,
- "end": 4266,
+ "start": 4254,
+ "end": 4275,
"loc": {
"start": {
"line": 127,
@@ -39101,8 +39101,8 @@
"binop": null,
"updateContext": null
},
- "start": 4266,
- "end": 4267,
+ "start": 4275,
+ "end": 4276,
"loc": {
"start": {
"line": 127,
@@ -39126,8 +39126,8 @@
"postfix": false,
"binop": null
},
- "start": 4268,
- "end": 4269,
+ "start": 4277,
+ "end": 4278,
"loc": {
"start": {
"line": 127,
@@ -39152,8 +39152,8 @@
"binop": null
},
"value": "teams",
- "start": 4270,
- "end": 4275,
+ "start": 4279,
+ "end": 4284,
"loc": {
"start": {
"line": 127,
@@ -39178,8 +39178,8 @@
"binop": null,
"updateContext": null
},
- "start": 4275,
- "end": 4276,
+ "start": 4284,
+ "end": 4285,
"loc": {
"start": {
"line": 127,
@@ -39204,8 +39204,8 @@
"binop": null
},
"value": "rooms",
- "start": 4277,
- "end": 4282,
+ "start": 4286,
+ "end": 4291,
"loc": {
"start": {
"line": 127,
@@ -39230,8 +39230,8 @@
"binop": null,
"updateContext": null
},
- "start": 4282,
- "end": 4283,
+ "start": 4291,
+ "end": 4292,
"loc": {
"start": {
"line": 127,
@@ -39256,8 +39256,8 @@
"binop": null
},
"value": "room",
- "start": 4283,
- "end": 4287,
+ "start": 4292,
+ "end": 4296,
"loc": {
"start": {
"line": 127,
@@ -39282,8 +39282,8 @@
"binop": null,
"updateContext": null
},
- "start": 4287,
- "end": 4288,
+ "start": 4296,
+ "end": 4297,
"loc": {
"start": {
"line": 127,
@@ -39308,8 +39308,8 @@
"binop": null,
"updateContext": null
},
- "start": 4288,
- "end": 4289,
+ "start": 4297,
+ "end": 4298,
"loc": {
"start": {
"line": 127,
@@ -39334,8 +39334,8 @@
"binop": null
},
"value": "teams",
- "start": 4289,
- "end": 4294,
+ "start": 4298,
+ "end": 4303,
"loc": {
"start": {
"line": 127,
@@ -39359,8 +39359,8 @@
"postfix": false,
"binop": null
},
- "start": 4295,
- "end": 4296,
+ "start": 4304,
+ "end": 4305,
"loc": {
"start": {
"line": 127,
@@ -39384,8 +39384,8 @@
"postfix": false,
"binop": null
},
- "start": 4296,
- "end": 4297,
+ "start": 4305,
+ "end": 4306,
"loc": {
"start": {
"line": 127,
@@ -39409,8 +39409,8 @@
"postfix": false,
"binop": null
},
- "start": 4299,
- "end": 4300,
+ "start": 4308,
+ "end": 4309,
"loc": {
"start": {
"line": 128,
@@ -39425,8 +39425,8 @@
{
"type": "CommentBlock",
"value": "*\n * On player movement:\n * data is in format\n * - id: index of player that moved\n * - type: atoms, players, or compounds\n * - posX: new x position\n * - posY: new y position\n * - vx: x-velocity\n * - vy: y-velocity\n ",
- "start": 4303,
- "end": 4546,
+ "start": 4312,
+ "end": 4555,
"loc": {
"start": {
"line": 130,
@@ -39451,8 +39451,8 @@
"binop": null
},
"value": "socket",
- "start": 4548,
- "end": 4554,
+ "start": 4557,
+ "end": 4563,
"loc": {
"start": {
"line": 140,
@@ -39477,8 +39477,8 @@
"binop": null,
"updateContext": null
},
- "start": 4554,
- "end": 4555,
+ "start": 4563,
+ "end": 4564,
"loc": {
"start": {
"line": 140,
@@ -39503,8 +39503,8 @@
"binop": null
},
"value": "to",
- "start": 4555,
- "end": 4557,
+ "start": 4564,
+ "end": 4566,
"loc": {
"start": {
"line": 140,
@@ -39528,8 +39528,8 @@
"postfix": false,
"binop": null
},
- "start": 4557,
- "end": 4558,
+ "start": 4566,
+ "end": 4567,
"loc": {
"start": {
"line": 140,
@@ -39554,8 +39554,8 @@
"binop": null
},
"value": "room",
- "start": 4558,
- "end": 4562,
+ "start": 4567,
+ "end": 4571,
"loc": {
"start": {
"line": 140,
@@ -39579,8 +39579,8 @@
"postfix": false,
"binop": null
},
- "start": 4562,
- "end": 4563,
+ "start": 4571,
+ "end": 4572,
"loc": {
"start": {
"line": 140,
@@ -39605,8 +39605,8 @@
"binop": null,
"updateContext": null
},
- "start": 4563,
- "end": 4564,
+ "start": 4572,
+ "end": 4573,
"loc": {
"start": {
"line": 140,
@@ -39631,8 +39631,8 @@
"binop": null
},
"value": "on",
- "start": 4564,
- "end": 4566,
+ "start": 4573,
+ "end": 4575,
"loc": {
"start": {
"line": 140,
@@ -39656,8 +39656,8 @@
"postfix": false,
"binop": null
},
- "start": 4566,
- "end": 4567,
+ "start": 4575,
+ "end": 4576,
"loc": {
"start": {
"line": 140,
@@ -39683,8 +39683,8 @@
"updateContext": null
},
"value": "move",
- "start": 4567,
- "end": 4573,
+ "start": 4576,
+ "end": 4582,
"loc": {
"start": {
"line": 140,
@@ -39709,8 +39709,8 @@
"binop": null,
"updateContext": null
},
- "start": 4573,
- "end": 4574,
+ "start": 4582,
+ "end": 4583,
"loc": {
"start": {
"line": 140,
@@ -39735,8 +39735,8 @@
"binop": null
},
"value": "data",
- "start": 4575,
- "end": 4579,
+ "start": 4584,
+ "end": 4588,
"loc": {
"start": {
"line": 140,
@@ -39761,8 +39761,8 @@
"binop": null,
"updateContext": null
},
- "start": 4580,
- "end": 4582,
+ "start": 4589,
+ "end": 4591,
"loc": {
"start": {
"line": 140,
@@ -39786,8 +39786,8 @@
"postfix": false,
"binop": null
},
- "start": 4583,
- "end": 4584,
+ "start": 4592,
+ "end": 4593,
"loc": {
"start": {
"line": 140,
@@ -39802,8 +39802,8 @@
{
"type": "CommentLine",
"value": " Player exists in database already because it was created serverside - no need for extra checking",
- "start": 4587,
- "end": 4686,
+ "start": 4596,
+ "end": 4695,
"loc": {
"start": {
"line": 141,
@@ -39830,8 +39830,8 @@
"updateContext": null
},
"value": "if",
- "start": 4689,
- "end": 4691,
+ "start": 4698,
+ "end": 4700,
"loc": {
"start": {
"line": 142,
@@ -39855,8 +39855,8 @@
"postfix": false,
"binop": null
},
- "start": 4692,
- "end": 4693,
+ "start": 4701,
+ "end": 4702,
"loc": {
"start": {
"line": 142,
@@ -39881,8 +39881,8 @@
"binop": null
},
"value": "rooms",
- "start": 4693,
- "end": 4698,
+ "start": 4702,
+ "end": 4707,
"loc": {
"start": {
"line": 142,
@@ -39907,8 +39907,8 @@
"binop": null,
"updateContext": null
},
- "start": 4698,
- "end": 4699,
+ "start": 4707,
+ "end": 4708,
"loc": {
"start": {
"line": 142,
@@ -39933,8 +39933,8 @@
"binop": null
},
"value": "room",
- "start": 4699,
- "end": 4703,
+ "start": 4708,
+ "end": 4712,
"loc": {
"start": {
"line": 142,
@@ -39959,8 +39959,8 @@
"binop": null,
"updateContext": null
},
- "start": 4703,
- "end": 4704,
+ "start": 4712,
+ "end": 4713,
"loc": {
"start": {
"line": 142,
@@ -39985,8 +39985,8 @@
"binop": null,
"updateContext": null
},
- "start": 4704,
- "end": 4705,
+ "start": 4713,
+ "end": 4714,
"loc": {
"start": {
"line": 142,
@@ -40011,8 +40011,8 @@
"binop": null
},
"value": "data",
- "start": 4705,
- "end": 4709,
+ "start": 4714,
+ "end": 4718,
"loc": {
"start": {
"line": 142,
@@ -40037,8 +40037,8 @@
"binop": null,
"updateContext": null
},
- "start": 4709,
- "end": 4710,
+ "start": 4718,
+ "end": 4719,
"loc": {
"start": {
"line": 142,
@@ -40063,8 +40063,8 @@
"binop": null
},
"value": "type",
- "start": 4710,
- "end": 4714,
+ "start": 4719,
+ "end": 4723,
"loc": {
"start": {
"line": 142,
@@ -40089,8 +40089,8 @@
"binop": null,
"updateContext": null
},
- "start": 4714,
- "end": 4715,
+ "start": 4723,
+ "end": 4724,
"loc": {
"start": {
"line": 142,
@@ -40115,8 +40115,8 @@
"binop": null,
"updateContext": null
},
- "start": 4715,
- "end": 4716,
+ "start": 4724,
+ "end": 4725,
"loc": {
"start": {
"line": 142,
@@ -40141,8 +40141,8 @@
"binop": null
},
"value": "data",
- "start": 4716,
- "end": 4720,
+ "start": 4725,
+ "end": 4729,
"loc": {
"start": {
"line": 142,
@@ -40167,8 +40167,8 @@
"binop": null,
"updateContext": null
},
- "start": 4720,
- "end": 4721,
+ "start": 4729,
+ "end": 4730,
"loc": {
"start": {
"line": 142,
@@ -40193,8 +40193,8 @@
"binop": null
},
"value": "id",
- "start": 4721,
- "end": 4723,
+ "start": 4730,
+ "end": 4732,
"loc": {
"start": {
"line": 142,
@@ -40219,8 +40219,8 @@
"binop": null,
"updateContext": null
},
- "start": 4723,
- "end": 4724,
+ "start": 4732,
+ "end": 4733,
"loc": {
"start": {
"line": 142,
@@ -40246,8 +40246,8 @@
"updateContext": null
},
"value": "!==",
- "start": 4725,
- "end": 4728,
+ "start": 4734,
+ "end": 4737,
"loc": {
"start": {
"line": 142,
@@ -40272,8 +40272,8 @@
"binop": null
},
"value": "undefined",
- "start": 4729,
- "end": 4738,
+ "start": 4738,
+ "end": 4747,
"loc": {
"start": {
"line": 142,
@@ -40299,8 +40299,8 @@
"updateContext": null
},
"value": "&&",
- "start": 4739,
- "end": 4741,
+ "start": 4748,
+ "end": 4750,
"loc": {
"start": {
"line": 142,
@@ -40326,8 +40326,8 @@
"updateContext": null
},
"value": "!",
- "start": 4742,
- "end": 4743,
+ "start": 4751,
+ "end": 4752,
"loc": {
"start": {
"line": 142,
@@ -40352,8 +40352,8 @@
"binop": null
},
"value": "rooms",
- "start": 4743,
- "end": 4748,
+ "start": 4752,
+ "end": 4757,
"loc": {
"start": {
"line": 142,
@@ -40378,8 +40378,8 @@
"binop": null,
"updateContext": null
},
- "start": 4748,
- "end": 4749,
+ "start": 4757,
+ "end": 4758,
"loc": {
"start": {
"line": 142,
@@ -40404,8 +40404,8 @@
"binop": null
},
"value": "room",
- "start": 4749,
- "end": 4753,
+ "start": 4758,
+ "end": 4762,
"loc": {
"start": {
"line": 142,
@@ -40430,8 +40430,8 @@
"binop": null,
"updateContext": null
},
- "start": 4753,
- "end": 4754,
+ "start": 4762,
+ "end": 4763,
"loc": {
"start": {
"line": 142,
@@ -40456,8 +40456,8 @@
"binop": null,
"updateContext": null
},
- "start": 4754,
- "end": 4755,
+ "start": 4763,
+ "end": 4764,
"loc": {
"start": {
"line": 142,
@@ -40482,8 +40482,8 @@
"binop": null
},
"value": "data",
- "start": 4755,
- "end": 4759,
+ "start": 4764,
+ "end": 4768,
"loc": {
"start": {
"line": 142,
@@ -40508,8 +40508,8 @@
"binop": null,
"updateContext": null
},
- "start": 4759,
- "end": 4760,
+ "start": 4768,
+ "end": 4769,
"loc": {
"start": {
"line": 142,
@@ -40534,8 +40534,8 @@
"binop": null
},
"value": "type",
- "start": 4760,
- "end": 4764,
+ "start": 4769,
+ "end": 4773,
"loc": {
"start": {
"line": 142,
@@ -40560,8 +40560,8 @@
"binop": null,
"updateContext": null
},
- "start": 4764,
- "end": 4765,
+ "start": 4773,
+ "end": 4774,
"loc": {
"start": {
"line": 142,
@@ -40586,8 +40586,8 @@
"binop": null,
"updateContext": null
},
- "start": 4765,
- "end": 4766,
+ "start": 4774,
+ "end": 4775,
"loc": {
"start": {
"line": 142,
@@ -40612,8 +40612,8 @@
"binop": null
},
"value": "data",
- "start": 4766,
- "end": 4770,
+ "start": 4775,
+ "end": 4779,
"loc": {
"start": {
"line": 142,
@@ -40638,8 +40638,8 @@
"binop": null,
"updateContext": null
},
- "start": 4770,
- "end": 4771,
+ "start": 4779,
+ "end": 4780,
"loc": {
"start": {
"line": 142,
@@ -40664,8 +40664,8 @@
"binop": null
},
"value": "id",
- "start": 4771,
- "end": 4773,
+ "start": 4780,
+ "end": 4782,
"loc": {
"start": {
"line": 142,
@@ -40690,8 +40690,8 @@
"binop": null,
"updateContext": null
},
- "start": 4773,
- "end": 4774,
+ "start": 4782,
+ "end": 4783,
"loc": {
"start": {
"line": 142,
@@ -40716,8 +40716,8 @@
"binop": null,
"updateContext": null
},
- "start": 4774,
- "end": 4775,
+ "start": 4783,
+ "end": 4784,
"loc": {
"start": {
"line": 142,
@@ -40742,8 +40742,8 @@
"binop": null
},
"value": "dead",
- "start": 4775,
- "end": 4779,
+ "start": 4784,
+ "end": 4788,
"loc": {
"start": {
"line": 142,
@@ -40767,8 +40767,8 @@
"postfix": false,
"binop": null
},
- "start": 4779,
- "end": 4780,
+ "start": 4788,
+ "end": 4789,
"loc": {
"start": {
"line": 142,
@@ -40792,8 +40792,8 @@
"postfix": false,
"binop": null
},
- "start": 4781,
- "end": 4782,
+ "start": 4790,
+ "end": 4791,
"loc": {
"start": {
"line": 142,
@@ -40818,8 +40818,8 @@
"binop": null
},
"value": "rooms",
- "start": 4786,
- "end": 4791,
+ "start": 4795,
+ "end": 4800,
"loc": {
"start": {
"line": 143,
@@ -40844,8 +40844,8 @@
"binop": null,
"updateContext": null
},
- "start": 4791,
- "end": 4792,
+ "start": 4800,
+ "end": 4801,
"loc": {
"start": {
"line": 143,
@@ -40870,8 +40870,8 @@
"binop": null
},
"value": "room",
- "start": 4792,
- "end": 4796,
+ "start": 4801,
+ "end": 4805,
"loc": {
"start": {
"line": 143,
@@ -40896,8 +40896,8 @@
"binop": null,
"updateContext": null
},
- "start": 4796,
- "end": 4797,
+ "start": 4805,
+ "end": 4806,
"loc": {
"start": {
"line": 143,
@@ -40922,8 +40922,8 @@
"binop": null,
"updateContext": null
},
- "start": 4797,
- "end": 4798,
+ "start": 4806,
+ "end": 4807,
"loc": {
"start": {
"line": 143,
@@ -40948,8 +40948,8 @@
"binop": null
},
"value": "data",
- "start": 4798,
- "end": 4802,
+ "start": 4807,
+ "end": 4811,
"loc": {
"start": {
"line": 143,
@@ -40974,8 +40974,8 @@
"binop": null,
"updateContext": null
},
- "start": 4802,
- "end": 4803,
+ "start": 4811,
+ "end": 4812,
"loc": {
"start": {
"line": 143,
@@ -41000,8 +41000,8 @@
"binop": null
},
"value": "type",
- "start": 4803,
- "end": 4807,
+ "start": 4812,
+ "end": 4816,
"loc": {
"start": {
"line": 143,
@@ -41026,8 +41026,8 @@
"binop": null,
"updateContext": null
},
- "start": 4807,
- "end": 4808,
+ "start": 4816,
+ "end": 4817,
"loc": {
"start": {
"line": 143,
@@ -41052,8 +41052,8 @@
"binop": null,
"updateContext": null
},
- "start": 4808,
- "end": 4809,
+ "start": 4817,
+ "end": 4818,
"loc": {
"start": {
"line": 143,
@@ -41078,8 +41078,8 @@
"binop": null
},
"value": "data",
- "start": 4809,
- "end": 4813,
+ "start": 4818,
+ "end": 4822,
"loc": {
"start": {
"line": 143,
@@ -41104,8 +41104,8 @@
"binop": null,
"updateContext": null
},
- "start": 4813,
- "end": 4814,
+ "start": 4822,
+ "end": 4823,
"loc": {
"start": {
"line": 143,
@@ -41130,8 +41130,8 @@
"binop": null
},
"value": "id",
- "start": 4814,
- "end": 4816,
+ "start": 4823,
+ "end": 4825,
"loc": {
"start": {
"line": 143,
@@ -41156,8 +41156,8 @@
"binop": null,
"updateContext": null
},
- "start": 4816,
- "end": 4817,
+ "start": 4825,
+ "end": 4826,
"loc": {
"start": {
"line": 143,
@@ -41182,8 +41182,8 @@
"binop": null,
"updateContext": null
},
- "start": 4817,
- "end": 4818,
+ "start": 4826,
+ "end": 4827,
"loc": {
"start": {
"line": 143,
@@ -41208,8 +41208,8 @@
"binop": null
},
"value": "posX",
- "start": 4818,
- "end": 4822,
+ "start": 4827,
+ "end": 4831,
"loc": {
"start": {
"line": 143,
@@ -41235,8 +41235,8 @@
"updateContext": null
},
"value": "=",
- "start": 4823,
- "end": 4824,
+ "start": 4832,
+ "end": 4833,
"loc": {
"start": {
"line": 143,
@@ -41261,8 +41261,8 @@
"binop": null
},
"value": "data",
- "start": 4825,
- "end": 4829,
+ "start": 4834,
+ "end": 4838,
"loc": {
"start": {
"line": 143,
@@ -41287,8 +41287,8 @@
"binop": null,
"updateContext": null
},
- "start": 4829,
- "end": 4830,
+ "start": 4838,
+ "end": 4839,
"loc": {
"start": {
"line": 143,
@@ -41313,8 +41313,8 @@
"binop": null
},
"value": "posX",
- "start": 4830,
- "end": 4834,
+ "start": 4839,
+ "end": 4843,
"loc": {
"start": {
"line": 143,
@@ -41339,8 +41339,8 @@
"binop": null
},
"value": "rooms",
- "start": 4838,
- "end": 4843,
+ "start": 4847,
+ "end": 4852,
"loc": {
"start": {
"line": 144,
@@ -41365,8 +41365,8 @@
"binop": null,
"updateContext": null
},
- "start": 4843,
- "end": 4844,
+ "start": 4852,
+ "end": 4853,
"loc": {
"start": {
"line": 144,
@@ -41391,8 +41391,8 @@
"binop": null
},
"value": "room",
- "start": 4844,
- "end": 4848,
+ "start": 4853,
+ "end": 4857,
"loc": {
"start": {
"line": 144,
@@ -41417,8 +41417,8 @@
"binop": null,
"updateContext": null
},
- "start": 4848,
- "end": 4849,
+ "start": 4857,
+ "end": 4858,
"loc": {
"start": {
"line": 144,
@@ -41443,8 +41443,8 @@
"binop": null,
"updateContext": null
},
- "start": 4849,
- "end": 4850,
+ "start": 4858,
+ "end": 4859,
"loc": {
"start": {
"line": 144,
@@ -41469,8 +41469,8 @@
"binop": null
},
"value": "data",
- "start": 4850,
- "end": 4854,
+ "start": 4859,
+ "end": 4863,
"loc": {
"start": {
"line": 144,
@@ -41495,8 +41495,8 @@
"binop": null,
"updateContext": null
},
- "start": 4854,
- "end": 4855,
+ "start": 4863,
+ "end": 4864,
"loc": {
"start": {
"line": 144,
@@ -41521,8 +41521,8 @@
"binop": null
},
"value": "type",
- "start": 4855,
- "end": 4859,
+ "start": 4864,
+ "end": 4868,
"loc": {
"start": {
"line": 144,
@@ -41547,8 +41547,8 @@
"binop": null,
"updateContext": null
},
- "start": 4859,
- "end": 4860,
+ "start": 4868,
+ "end": 4869,
"loc": {
"start": {
"line": 144,
@@ -41573,8 +41573,8 @@
"binop": null,
"updateContext": null
},
- "start": 4860,
- "end": 4861,
+ "start": 4869,
+ "end": 4870,
"loc": {
"start": {
"line": 144,
@@ -41599,8 +41599,8 @@
"binop": null
},
"value": "data",
- "start": 4861,
- "end": 4865,
+ "start": 4870,
+ "end": 4874,
"loc": {
"start": {
"line": 144,
@@ -41625,8 +41625,8 @@
"binop": null,
"updateContext": null
},
- "start": 4865,
- "end": 4866,
+ "start": 4874,
+ "end": 4875,
"loc": {
"start": {
"line": 144,
@@ -41651,8 +41651,8 @@
"binop": null
},
"value": "id",
- "start": 4866,
- "end": 4868,
+ "start": 4875,
+ "end": 4877,
"loc": {
"start": {
"line": 144,
@@ -41677,8 +41677,8 @@
"binop": null,
"updateContext": null
},
- "start": 4868,
- "end": 4869,
+ "start": 4877,
+ "end": 4878,
"loc": {
"start": {
"line": 144,
@@ -41703,8 +41703,8 @@
"binop": null,
"updateContext": null
},
- "start": 4869,
- "end": 4870,
+ "start": 4878,
+ "end": 4879,
"loc": {
"start": {
"line": 144,
@@ -41729,8 +41729,8 @@
"binop": null
},
"value": "posY",
- "start": 4870,
- "end": 4874,
+ "start": 4879,
+ "end": 4883,
"loc": {
"start": {
"line": 144,
@@ -41756,8 +41756,8 @@
"updateContext": null
},
"value": "=",
- "start": 4875,
- "end": 4876,
+ "start": 4884,
+ "end": 4885,
"loc": {
"start": {
"line": 144,
@@ -41782,8 +41782,8 @@
"binop": null
},
"value": "data",
- "start": 4877,
- "end": 4881,
+ "start": 4886,
+ "end": 4890,
"loc": {
"start": {
"line": 144,
@@ -41808,8 +41808,8 @@
"binop": null,
"updateContext": null
},
- "start": 4881,
- "end": 4882,
+ "start": 4890,
+ "end": 4891,
"loc": {
"start": {
"line": 144,
@@ -41834,8 +41834,8 @@
"binop": null
},
"value": "posY",
- "start": 4882,
- "end": 4886,
+ "start": 4891,
+ "end": 4895,
"loc": {
"start": {
"line": 144,
@@ -41860,8 +41860,8 @@
"binop": null
},
"value": "rooms",
- "start": 4890,
- "end": 4895,
+ "start": 4899,
+ "end": 4904,
"loc": {
"start": {
"line": 145,
@@ -41886,8 +41886,8 @@
"binop": null,
"updateContext": null
},
- "start": 4895,
- "end": 4896,
+ "start": 4904,
+ "end": 4905,
"loc": {
"start": {
"line": 145,
@@ -41912,8 +41912,8 @@
"binop": null
},
"value": "room",
- "start": 4896,
- "end": 4900,
+ "start": 4905,
+ "end": 4909,
"loc": {
"start": {
"line": 145,
@@ -41938,8 +41938,8 @@
"binop": null,
"updateContext": null
},
- "start": 4900,
- "end": 4901,
+ "start": 4909,
+ "end": 4910,
"loc": {
"start": {
"line": 145,
@@ -41964,8 +41964,8 @@
"binop": null,
"updateContext": null
},
- "start": 4901,
- "end": 4902,
+ "start": 4910,
+ "end": 4911,
"loc": {
"start": {
"line": 145,
@@ -41990,8 +41990,8 @@
"binop": null
},
"value": "data",
- "start": 4902,
- "end": 4906,
+ "start": 4911,
+ "end": 4915,
"loc": {
"start": {
"line": 145,
@@ -42016,8 +42016,8 @@
"binop": null,
"updateContext": null
},
- "start": 4906,
- "end": 4907,
+ "start": 4915,
+ "end": 4916,
"loc": {
"start": {
"line": 145,
@@ -42042,8 +42042,8 @@
"binop": null
},
"value": "type",
- "start": 4907,
- "end": 4911,
+ "start": 4916,
+ "end": 4920,
"loc": {
"start": {
"line": 145,
@@ -42068,8 +42068,8 @@
"binop": null,
"updateContext": null
},
- "start": 4911,
- "end": 4912,
+ "start": 4920,
+ "end": 4921,
"loc": {
"start": {
"line": 145,
@@ -42094,8 +42094,8 @@
"binop": null,
"updateContext": null
},
- "start": 4912,
- "end": 4913,
+ "start": 4921,
+ "end": 4922,
"loc": {
"start": {
"line": 145,
@@ -42120,8 +42120,8 @@
"binop": null
},
"value": "data",
- "start": 4913,
- "end": 4917,
+ "start": 4922,
+ "end": 4926,
"loc": {
"start": {
"line": 145,
@@ -42146,8 +42146,8 @@
"binop": null,
"updateContext": null
},
- "start": 4917,
- "end": 4918,
+ "start": 4926,
+ "end": 4927,
"loc": {
"start": {
"line": 145,
@@ -42172,8 +42172,8 @@
"binop": null
},
"value": "id",
- "start": 4918,
- "end": 4920,
+ "start": 4927,
+ "end": 4929,
"loc": {
"start": {
"line": 145,
@@ -42198,8 +42198,8 @@
"binop": null,
"updateContext": null
},
- "start": 4920,
- "end": 4921,
+ "start": 4929,
+ "end": 4930,
"loc": {
"start": {
"line": 145,
@@ -42224,8 +42224,8 @@
"binop": null,
"updateContext": null
},
- "start": 4921,
- "end": 4922,
+ "start": 4930,
+ "end": 4931,
"loc": {
"start": {
"line": 145,
@@ -42250,8 +42250,8 @@
"binop": null
},
"value": "vx",
- "start": 4922,
- "end": 4924,
+ "start": 4931,
+ "end": 4933,
"loc": {
"start": {
"line": 145,
@@ -42277,8 +42277,8 @@
"updateContext": null
},
"value": "=",
- "start": 4925,
- "end": 4926,
+ "start": 4934,
+ "end": 4935,
"loc": {
"start": {
"line": 145,
@@ -42303,8 +42303,8 @@
"binop": null
},
"value": "data",
- "start": 4927,
- "end": 4931,
+ "start": 4936,
+ "end": 4940,
"loc": {
"start": {
"line": 145,
@@ -42329,8 +42329,8 @@
"binop": null,
"updateContext": null
},
- "start": 4931,
- "end": 4932,
+ "start": 4940,
+ "end": 4941,
"loc": {
"start": {
"line": 145,
@@ -42355,8 +42355,8 @@
"binop": null
},
"value": "vx",
- "start": 4932,
- "end": 4934,
+ "start": 4941,
+ "end": 4943,
"loc": {
"start": {
"line": 145,
@@ -42381,8 +42381,8 @@
"binop": null
},
"value": "rooms",
- "start": 4938,
- "end": 4943,
+ "start": 4947,
+ "end": 4952,
"loc": {
"start": {
"line": 146,
@@ -42407,8 +42407,8 @@
"binop": null,
"updateContext": null
},
- "start": 4943,
- "end": 4944,
+ "start": 4952,
+ "end": 4953,
"loc": {
"start": {
"line": 146,
@@ -42433,8 +42433,8 @@
"binop": null
},
"value": "room",
- "start": 4944,
- "end": 4948,
+ "start": 4953,
+ "end": 4957,
"loc": {
"start": {
"line": 146,
@@ -42459,8 +42459,8 @@
"binop": null,
"updateContext": null
},
- "start": 4948,
- "end": 4949,
+ "start": 4957,
+ "end": 4958,
"loc": {
"start": {
"line": 146,
@@ -42485,8 +42485,8 @@
"binop": null,
"updateContext": null
},
- "start": 4949,
- "end": 4950,
+ "start": 4958,
+ "end": 4959,
"loc": {
"start": {
"line": 146,
@@ -42511,8 +42511,8 @@
"binop": null
},
"value": "data",
- "start": 4950,
- "end": 4954,
+ "start": 4959,
+ "end": 4963,
"loc": {
"start": {
"line": 146,
@@ -42537,8 +42537,8 @@
"binop": null,
"updateContext": null
},
- "start": 4954,
- "end": 4955,
+ "start": 4963,
+ "end": 4964,
"loc": {
"start": {
"line": 146,
@@ -42563,8 +42563,8 @@
"binop": null
},
"value": "type",
- "start": 4955,
- "end": 4959,
+ "start": 4964,
+ "end": 4968,
"loc": {
"start": {
"line": 146,
@@ -42589,8 +42589,8 @@
"binop": null,
"updateContext": null
},
- "start": 4959,
- "end": 4960,
+ "start": 4968,
+ "end": 4969,
"loc": {
"start": {
"line": 146,
@@ -42615,8 +42615,8 @@
"binop": null,
"updateContext": null
},
- "start": 4960,
- "end": 4961,
+ "start": 4969,
+ "end": 4970,
"loc": {
"start": {
"line": 146,
@@ -42641,8 +42641,8 @@
"binop": null
},
"value": "data",
- "start": 4961,
- "end": 4965,
+ "start": 4970,
+ "end": 4974,
"loc": {
"start": {
"line": 146,
@@ -42667,8 +42667,8 @@
"binop": null,
"updateContext": null
},
- "start": 4965,
- "end": 4966,
+ "start": 4974,
+ "end": 4975,
"loc": {
"start": {
"line": 146,
@@ -42693,8 +42693,8 @@
"binop": null
},
"value": "id",
- "start": 4966,
- "end": 4968,
+ "start": 4975,
+ "end": 4977,
"loc": {
"start": {
"line": 146,
@@ -42719,8 +42719,8 @@
"binop": null,
"updateContext": null
},
- "start": 4968,
- "end": 4969,
+ "start": 4977,
+ "end": 4978,
"loc": {
"start": {
"line": 146,
@@ -42745,8 +42745,8 @@
"binop": null,
"updateContext": null
},
- "start": 4969,
- "end": 4970,
+ "start": 4978,
+ "end": 4979,
"loc": {
"start": {
"line": 146,
@@ -42771,8 +42771,8 @@
"binop": null
},
"value": "vy",
- "start": 4970,
- "end": 4972,
+ "start": 4979,
+ "end": 4981,
"loc": {
"start": {
"line": 146,
@@ -42798,8 +42798,8 @@
"updateContext": null
},
"value": "=",
- "start": 4973,
- "end": 4974,
+ "start": 4982,
+ "end": 4983,
"loc": {
"start": {
"line": 146,
@@ -42824,8 +42824,8 @@
"binop": null
},
"value": "data",
- "start": 4975,
- "end": 4979,
+ "start": 4984,
+ "end": 4988,
"loc": {
"start": {
"line": 146,
@@ -42850,8 +42850,8 @@
"binop": null,
"updateContext": null
},
- "start": 4979,
- "end": 4980,
+ "start": 4988,
+ "end": 4989,
"loc": {
"start": {
"line": 146,
@@ -42876,8 +42876,8 @@
"binop": null
},
"value": "vy",
- "start": 4980,
- "end": 4982,
+ "start": 4989,
+ "end": 4991,
"loc": {
"start": {
"line": 146,
@@ -42901,8 +42901,8 @@
"postfix": false,
"binop": null
},
- "start": 4985,
- "end": 4986,
+ "start": 4994,
+ "end": 4995,
"loc": {
"start": {
"line": 147,
@@ -42926,8 +42926,8 @@
"postfix": false,
"binop": null
},
- "start": 4988,
- "end": 4989,
+ "start": 4997,
+ "end": 4998,
"loc": {
"start": {
"line": 148,
@@ -42951,8 +42951,8 @@
"postfix": false,
"binop": null
},
- "start": 4989,
- "end": 4990,
+ "start": 4998,
+ "end": 4999,
"loc": {
"start": {
"line": 148,
@@ -42977,8 +42977,8 @@
"binop": null
},
"value": "socket",
- "start": 4993,
- "end": 4999,
+ "start": 5002,
+ "end": 5008,
"loc": {
"start": {
"line": 150,
@@ -43003,8 +43003,8 @@
"binop": null,
"updateContext": null
},
- "start": 4999,
- "end": 5000,
+ "start": 5008,
+ "end": 5009,
"loc": {
"start": {
"line": 150,
@@ -43029,8 +43029,8 @@
"binop": null
},
"value": "to",
- "start": 5000,
- "end": 5002,
+ "start": 5009,
+ "end": 5011,
"loc": {
"start": {
"line": 150,
@@ -43054,8 +43054,8 @@
"postfix": false,
"binop": null
},
- "start": 5002,
- "end": 5003,
+ "start": 5011,
+ "end": 5012,
"loc": {
"start": {
"line": 150,
@@ -43080,8 +43080,8 @@
"binop": null
},
"value": "room",
- "start": 5003,
- "end": 5007,
+ "start": 5012,
+ "end": 5016,
"loc": {
"start": {
"line": 150,
@@ -43105,8 +43105,8 @@
"postfix": false,
"binop": null
},
- "start": 5007,
- "end": 5008,
+ "start": 5016,
+ "end": 5017,
"loc": {
"start": {
"line": 150,
@@ -43131,8 +43131,8 @@
"binop": null,
"updateContext": null
},
- "start": 5008,
- "end": 5009,
+ "start": 5017,
+ "end": 5018,
"loc": {
"start": {
"line": 150,
@@ -43157,8 +43157,8 @@
"binop": null
},
"value": "on",
- "start": 5009,
- "end": 5011,
+ "start": 5018,
+ "end": 5020,
"loc": {
"start": {
"line": 150,
@@ -43182,8 +43182,8 @@
"postfix": false,
"binop": null
},
- "start": 5011,
- "end": 5012,
+ "start": 5020,
+ "end": 5021,
"loc": {
"start": {
"line": 150,
@@ -43209,8 +43209,8 @@
"updateContext": null
},
"value": "damage",
- "start": 5012,
- "end": 5020,
+ "start": 5021,
+ "end": 5029,
"loc": {
"start": {
"line": 150,
@@ -43235,8 +43235,8 @@
"binop": null,
"updateContext": null
},
- "start": 5020,
- "end": 5021,
+ "start": 5029,
+ "end": 5030,
"loc": {
"start": {
"line": 150,
@@ -43261,8 +43261,8 @@
"binop": null
},
"value": "data",
- "start": 5022,
- "end": 5026,
+ "start": 5031,
+ "end": 5035,
"loc": {
"start": {
"line": 150,
@@ -43287,8 +43287,8 @@
"binop": null,
"updateContext": null
},
- "start": 5027,
- "end": 5029,
+ "start": 5036,
+ "end": 5038,
"loc": {
"start": {
"line": 150,
@@ -43312,8 +43312,8 @@
"postfix": false,
"binop": null
},
- "start": 5030,
- "end": 5031,
+ "start": 5039,
+ "end": 5040,
"loc": {
"start": {
"line": 150,
@@ -43338,8 +43338,8 @@
"binop": null
},
"value": "damage",
- "start": 5034,
- "end": 5040,
+ "start": 5043,
+ "end": 5049,
"loc": {
"start": {
"line": 151,
@@ -43363,8 +43363,8 @@
"postfix": false,
"binop": null
},
- "start": 5040,
- "end": 5041,
+ "start": 5049,
+ "end": 5050,
"loc": {
"start": {
"line": 151,
@@ -43389,8 +43389,8 @@
"binop": null
},
"value": "data",
- "start": 5041,
- "end": 5045,
+ "start": 5050,
+ "end": 5054,
"loc": {
"start": {
"line": 151,
@@ -43415,8 +43415,8 @@
"binop": null,
"updateContext": null
},
- "start": 5045,
- "end": 5046,
+ "start": 5054,
+ "end": 5055,
"loc": {
"start": {
"line": 151,
@@ -43441,8 +43441,8 @@
"binop": null
},
"value": "room",
- "start": 5047,
- "end": 5051,
+ "start": 5056,
+ "end": 5060,
"loc": {
"start": {
"line": 151,
@@ -43467,8 +43467,8 @@
"binop": null,
"updateContext": null
},
- "start": 5051,
- "end": 5052,
+ "start": 5060,
+ "end": 5061,
"loc": {
"start": {
"line": 151,
@@ -43493,8 +43493,8 @@
"binop": null
},
"value": "socket",
- "start": 5053,
- "end": 5059,
+ "start": 5062,
+ "end": 5068,
"loc": {
"start": {
"line": 151,
@@ -43518,8 +43518,8 @@
"postfix": false,
"binop": null
},
- "start": 5059,
- "end": 5060,
+ "start": 5068,
+ "end": 5069,
"loc": {
"start": {
"line": 151,
@@ -43543,8 +43543,8 @@
"postfix": false,
"binop": null
},
- "start": 5062,
- "end": 5063,
+ "start": 5071,
+ "end": 5072,
"loc": {
"start": {
"line": 152,
@@ -43568,8 +43568,8 @@
"postfix": false,
"binop": null
},
- "start": 5063,
- "end": 5064,
+ "start": 5072,
+ "end": 5073,
"loc": {
"start": {
"line": 152,
@@ -43594,8 +43594,8 @@
"binop": null
},
"value": "socket",
- "start": 5067,
- "end": 5073,
+ "start": 5076,
+ "end": 5082,
"loc": {
"start": {
"line": 154,
@@ -43620,8 +43620,8 @@
"binop": null,
"updateContext": null
},
- "start": 5073,
- "end": 5074,
+ "start": 5082,
+ "end": 5083,
"loc": {
"start": {
"line": 154,
@@ -43646,8 +43646,8 @@
"binop": null
},
"value": "on",
- "start": 5074,
- "end": 5076,
+ "start": 5083,
+ "end": 5085,
"loc": {
"start": {
"line": 154,
@@ -43671,8 +43671,8 @@
"postfix": false,
"binop": null
},
- "start": 5076,
- "end": 5077,
+ "start": 5085,
+ "end": 5086,
"loc": {
"start": {
"line": 154,
@@ -43698,8 +43698,8 @@
"updateContext": null
},
"value": "verifyPlayerDeath",
- "start": 5077,
- "end": 5096,
+ "start": 5086,
+ "end": 5105,
"loc": {
"start": {
"line": 154,
@@ -43724,8 +43724,8 @@
"binop": null,
"updateContext": null
},
- "start": 5096,
- "end": 5097,
+ "start": 5105,
+ "end": 5106,
"loc": {
"start": {
"line": 154,
@@ -43750,8 +43750,8 @@
"binop": null
},
"value": "data",
- "start": 5098,
- "end": 5102,
+ "start": 5107,
+ "end": 5111,
"loc": {
"start": {
"line": 154,
@@ -43776,8 +43776,8 @@
"binop": null,
"updateContext": null
},
- "start": 5103,
- "end": 5105,
+ "start": 5112,
+ "end": 5114,
"loc": {
"start": {
"line": 154,
@@ -43801,8 +43801,8 @@
"postfix": false,
"binop": null
},
- "start": 5106,
- "end": 5107,
+ "start": 5115,
+ "end": 5116,
"loc": {
"start": {
"line": 154,
@@ -43827,8 +43827,8 @@
"binop": null
},
"value": "rooms",
- "start": 5110,
- "end": 5115,
+ "start": 5119,
+ "end": 5124,
"loc": {
"start": {
"line": 155,
@@ -43853,8 +43853,8 @@
"binop": null,
"updateContext": null
},
- "start": 5115,
- "end": 5116,
+ "start": 5124,
+ "end": 5125,
"loc": {
"start": {
"line": 155,
@@ -43879,8 +43879,8 @@
"binop": null
},
"value": "room",
- "start": 5116,
- "end": 5120,
+ "start": 5125,
+ "end": 5129,
"loc": {
"start": {
"line": 155,
@@ -43905,8 +43905,8 @@
"binop": null,
"updateContext": null
},
- "start": 5120,
- "end": 5121,
+ "start": 5129,
+ "end": 5130,
"loc": {
"start": {
"line": 155,
@@ -43931,8 +43931,8 @@
"binop": null,
"updateContext": null
},
- "start": 5121,
- "end": 5122,
+ "start": 5130,
+ "end": 5131,
"loc": {
"start": {
"line": 155,
@@ -43957,8 +43957,8 @@
"binop": null
},
"value": "players",
- "start": 5122,
- "end": 5129,
+ "start": 5131,
+ "end": 5138,
"loc": {
"start": {
"line": 155,
@@ -43983,8 +43983,8 @@
"binop": null,
"updateContext": null
},
- "start": 5129,
- "end": 5130,
+ "start": 5138,
+ "end": 5139,
"loc": {
"start": {
"line": 155,
@@ -44009,8 +44009,8 @@
"binop": null
},
"value": "data",
- "start": 5130,
- "end": 5134,
+ "start": 5139,
+ "end": 5143,
"loc": {
"start": {
"line": 155,
@@ -44035,8 +44035,8 @@
"binop": null,
"updateContext": null
},
- "start": 5134,
- "end": 5135,
+ "start": 5143,
+ "end": 5144,
"loc": {
"start": {
"line": 155,
@@ -44061,8 +44061,8 @@
"binop": null
},
"value": "id",
- "start": 5135,
- "end": 5137,
+ "start": 5144,
+ "end": 5146,
"loc": {
"start": {
"line": 155,
@@ -44087,8 +44087,8 @@
"binop": null,
"updateContext": null
},
- "start": 5137,
- "end": 5138,
+ "start": 5146,
+ "end": 5147,
"loc": {
"start": {
"line": 155,
@@ -44113,8 +44113,8 @@
"binop": null,
"updateContext": null
},
- "start": 5138,
- "end": 5139,
+ "start": 5147,
+ "end": 5148,
"loc": {
"start": {
"line": 155,
@@ -44139,8 +44139,8 @@
"binop": null
},
"value": "dead",
- "start": 5139,
- "end": 5143,
+ "start": 5148,
+ "end": 5152,
"loc": {
"start": {
"line": 155,
@@ -44166,8 +44166,8 @@
"updateContext": null
},
"value": "=",
- "start": 5144,
- "end": 5145,
+ "start": 5153,
+ "end": 5154,
"loc": {
"start": {
"line": 155,
@@ -44194,8 +44194,8 @@
"updateContext": null
},
"value": "false",
- "start": 5146,
- "end": 5151,
+ "start": 5155,
+ "end": 5160,
"loc": {
"start": {
"line": 155,
@@ -44219,8 +44219,8 @@
"postfix": false,
"binop": null
},
- "start": 5153,
- "end": 5154,
+ "start": 5162,
+ "end": 5163,
"loc": {
"start": {
"line": 156,
@@ -44244,8 +44244,8 @@
"postfix": false,
"binop": null
},
- "start": 5154,
- "end": 5155,
+ "start": 5163,
+ "end": 5164,
"loc": {
"start": {
"line": 156,
@@ -44260,8 +44260,8 @@
{
"type": "CommentLine",
"value": " A player spawned a Compound",
- "start": 5158,
- "end": 5188,
+ "start": 5167,
+ "end": 5197,
"loc": {
"start": {
"line": 158,
@@ -44286,8 +44286,8 @@
"binop": null
},
"value": "socket",
- "start": 5190,
- "end": 5196,
+ "start": 5199,
+ "end": 5205,
"loc": {
"start": {
"line": 159,
@@ -44312,8 +44312,8 @@
"binop": null,
"updateContext": null
},
- "start": 5196,
- "end": 5197,
+ "start": 5205,
+ "end": 5206,
"loc": {
"start": {
"line": 159,
@@ -44338,8 +44338,8 @@
"binop": null
},
"value": "to",
- "start": 5197,
- "end": 5199,
+ "start": 5206,
+ "end": 5208,
"loc": {
"start": {
"line": 159,
@@ -44363,8 +44363,8 @@
"postfix": false,
"binop": null
},
- "start": 5199,
- "end": 5200,
+ "start": 5208,
+ "end": 5209,
"loc": {
"start": {
"line": 159,
@@ -44389,8 +44389,8 @@
"binop": null
},
"value": "room",
- "start": 5200,
- "end": 5204,
+ "start": 5209,
+ "end": 5213,
"loc": {
"start": {
"line": 159,
@@ -44414,8 +44414,8 @@
"postfix": false,
"binop": null
},
- "start": 5204,
- "end": 5205,
+ "start": 5213,
+ "end": 5214,
"loc": {
"start": {
"line": 159,
@@ -44440,8 +44440,8 @@
"binop": null,
"updateContext": null
},
- "start": 5205,
- "end": 5206,
+ "start": 5214,
+ "end": 5215,
"loc": {
"start": {
"line": 159,
@@ -44466,8 +44466,8 @@
"binop": null
},
"value": "on",
- "start": 5206,
- "end": 5208,
+ "start": 5215,
+ "end": 5217,
"loc": {
"start": {
"line": 159,
@@ -44491,8 +44491,8 @@
"postfix": false,
"binop": null
},
- "start": 5208,
- "end": 5209,
+ "start": 5217,
+ "end": 5218,
"loc": {
"start": {
"line": 159,
@@ -44518,8 +44518,8 @@
"updateContext": null
},
"value": "requestCreateCompound",
- "start": 5209,
- "end": 5232,
+ "start": 5218,
+ "end": 5241,
"loc": {
"start": {
"line": 159,
@@ -44544,8 +44544,8 @@
"binop": null,
"updateContext": null
},
- "start": 5232,
- "end": 5233,
+ "start": 5241,
+ "end": 5242,
"loc": {
"start": {
"line": 159,
@@ -44570,8 +44570,8 @@
"binop": null
},
"value": "data",
- "start": 5234,
- "end": 5238,
+ "start": 5243,
+ "end": 5247,
"loc": {
"start": {
"line": 159,
@@ -44596,8 +44596,8 @@
"binop": null,
"updateContext": null
},
- "start": 5239,
- "end": 5241,
+ "start": 5248,
+ "end": 5250,
"loc": {
"start": {
"line": 159,
@@ -44621,8 +44621,8 @@
"postfix": false,
"binop": null
},
- "start": 5242,
- "end": 5243,
+ "start": 5251,
+ "end": 5252,
"loc": {
"start": {
"line": 159,
@@ -44649,8 +44649,8 @@
"updateContext": null
},
"value": "let",
- "start": 5246,
- "end": 5249,
+ "start": 5255,
+ "end": 5258,
"loc": {
"start": {
"line": 160,
@@ -44675,8 +44675,8 @@
"binop": null
},
"value": "newCompound",
- "start": 5250,
- "end": 5261,
+ "start": 5259,
+ "end": 5270,
"loc": {
"start": {
"line": 160,
@@ -44702,8 +44702,8 @@
"updateContext": null
},
"value": "=",
- "start": 5262,
- "end": 5263,
+ "start": 5271,
+ "end": 5272,
"loc": {
"start": {
"line": 160,
@@ -44728,8 +44728,8 @@
"binop": null
},
"value": "createCompound",
- "start": 5264,
- "end": 5278,
+ "start": 5273,
+ "end": 5287,
"loc": {
"start": {
"line": 160,
@@ -44753,8 +44753,8 @@
"postfix": false,
"binop": null
},
- "start": 5278,
- "end": 5279,
+ "start": 5287,
+ "end": 5288,
"loc": {
"start": {
"line": 160,
@@ -44779,8 +44779,8 @@
"binop": null
},
"value": "data",
- "start": 5279,
- "end": 5283,
+ "start": 5288,
+ "end": 5292,
"loc": {
"start": {
"line": 160,
@@ -44805,8 +44805,8 @@
"binop": null,
"updateContext": null
},
- "start": 5283,
- "end": 5284,
+ "start": 5292,
+ "end": 5293,
"loc": {
"start": {
"line": 160,
@@ -44831,8 +44831,8 @@
"binop": null
},
"value": "room",
- "start": 5285,
- "end": 5289,
+ "start": 5294,
+ "end": 5298,
"loc": {
"start": {
"line": 160,
@@ -44857,8 +44857,8 @@
"binop": null,
"updateContext": null
},
- "start": 5289,
- "end": 5290,
+ "start": 5298,
+ "end": 5299,
"loc": {
"start": {
"line": 160,
@@ -44883,8 +44883,8 @@
"binop": null
},
"value": "thisPlayer",
- "start": 5291,
- "end": 5301,
+ "start": 5300,
+ "end": 5310,
"loc": {
"start": {
"line": 160,
@@ -44909,8 +44909,8 @@
"binop": null,
"updateContext": null
},
- "start": 5301,
- "end": 5302,
+ "start": 5310,
+ "end": 5311,
"loc": {
"start": {
"line": 160,
@@ -44935,8 +44935,8 @@
"binop": null
},
"value": "socket",
- "start": 5303,
- "end": 5309,
+ "start": 5312,
+ "end": 5318,
"loc": {
"start": {
"line": 160,
@@ -44960,8 +44960,8 @@
"postfix": false,
"binop": null
},
- "start": 5309,
- "end": 5310,
+ "start": 5318,
+ "end": 5319,
"loc": {
"start": {
"line": 160,
@@ -44988,8 +44988,8 @@
"updateContext": null
},
"value": "if",
- "start": 5313,
- "end": 5315,
+ "start": 5322,
+ "end": 5324,
"loc": {
"start": {
"line": 161,
@@ -45013,8 +45013,8 @@
"postfix": false,
"binop": null
},
- "start": 5316,
- "end": 5317,
+ "start": 5325,
+ "end": 5326,
"loc": {
"start": {
"line": 161,
@@ -45039,8 +45039,8 @@
"binop": null
},
"value": "newCompound",
- "start": 5317,
- "end": 5328,
+ "start": 5326,
+ "end": 5337,
"loc": {
"start": {
"line": 161,
@@ -45064,8 +45064,8 @@
"postfix": false,
"binop": null
},
- "start": 5328,
- "end": 5329,
+ "start": 5337,
+ "end": 5338,
"loc": {
"start": {
"line": 161,
@@ -45089,8 +45089,8 @@
"postfix": false,
"binop": null
},
- "start": 5330,
- "end": 5331,
+ "start": 5339,
+ "end": 5340,
"loc": {
"start": {
"line": 161,
@@ -45115,8 +45115,8 @@
"binop": null
},
"value": "rooms",
- "start": 5335,
- "end": 5340,
+ "start": 5344,
+ "end": 5349,
"loc": {
"start": {
"line": 162,
@@ -45141,8 +45141,8 @@
"binop": null,
"updateContext": null
},
- "start": 5340,
- "end": 5341,
+ "start": 5349,
+ "end": 5350,
"loc": {
"start": {
"line": 162,
@@ -45167,8 +45167,8 @@
"binop": null
},
"value": "room",
- "start": 5341,
- "end": 5345,
+ "start": 5350,
+ "end": 5354,
"loc": {
"start": {
"line": 162,
@@ -45193,8 +45193,8 @@
"binop": null,
"updateContext": null
},
- "start": 5345,
- "end": 5346,
+ "start": 5354,
+ "end": 5355,
"loc": {
"start": {
"line": 162,
@@ -45219,8 +45219,8 @@
"binop": null,
"updateContext": null
},
- "start": 5346,
- "end": 5347,
+ "start": 5355,
+ "end": 5356,
"loc": {
"start": {
"line": 162,
@@ -45245,8 +45245,8 @@
"binop": null
},
"value": "compounds",
- "start": 5347,
- "end": 5356,
+ "start": 5356,
+ "end": 5365,
"loc": {
"start": {
"line": 162,
@@ -45271,8 +45271,8 @@
"binop": null,
"updateContext": null
},
- "start": 5356,
- "end": 5357,
+ "start": 5365,
+ "end": 5366,
"loc": {
"start": {
"line": 162,
@@ -45297,8 +45297,8 @@
"binop": null
},
"value": "newCompound",
- "start": 5357,
- "end": 5368,
+ "start": 5366,
+ "end": 5377,
"loc": {
"start": {
"line": 162,
@@ -45323,8 +45323,8 @@
"binop": null,
"updateContext": null
},
- "start": 5368,
- "end": 5369,
+ "start": 5377,
+ "end": 5378,
"loc": {
"start": {
"line": 162,
@@ -45349,8 +45349,8 @@
"binop": null
},
"value": "id",
- "start": 5369,
- "end": 5371,
+ "start": 5378,
+ "end": 5380,
"loc": {
"start": {
"line": 162,
@@ -45375,8 +45375,8 @@
"binop": null,
"updateContext": null
},
- "start": 5371,
- "end": 5372,
+ "start": 5380,
+ "end": 5381,
"loc": {
"start": {
"line": 162,
@@ -45402,8 +45402,8 @@
"updateContext": null
},
"value": "=",
- "start": 5373,
- "end": 5374,
+ "start": 5382,
+ "end": 5383,
"loc": {
"start": {
"line": 162,
@@ -45428,8 +45428,8 @@
"binop": null
},
"value": "newCompound",
- "start": 5375,
- "end": 5386,
+ "start": 5384,
+ "end": 5395,
"loc": {
"start": {
"line": 162,
@@ -45453,8 +45453,8 @@
"postfix": false,
"binop": null
},
- "start": 5389,
- "end": 5390,
+ "start": 5398,
+ "end": 5399,
"loc": {
"start": {
"line": 163,
@@ -45478,8 +45478,8 @@
"postfix": false,
"binop": null
},
- "start": 5392,
- "end": 5393,
+ "start": 5401,
+ "end": 5402,
"loc": {
"start": {
"line": 164,
@@ -45503,8 +45503,8 @@
"postfix": false,
"binop": null
},
- "start": 5393,
- "end": 5394,
+ "start": 5402,
+ "end": 5403,
"loc": {
"start": {
"line": 164,
@@ -45529,8 +45529,8 @@
"binop": null
},
"value": "socket",
- "start": 5397,
- "end": 5403,
+ "start": 5406,
+ "end": 5412,
"loc": {
"start": {
"line": 166,
@@ -45555,8 +45555,8 @@
"binop": null,
"updateContext": null
},
- "start": 5403,
- "end": 5404,
+ "start": 5412,
+ "end": 5413,
"loc": {
"start": {
"line": 166,
@@ -45581,8 +45581,8 @@
"binop": null
},
"value": "on",
- "start": 5404,
- "end": 5406,
+ "start": 5413,
+ "end": 5415,
"loc": {
"start": {
"line": 166,
@@ -45606,8 +45606,8 @@
"postfix": false,
"binop": null
},
- "start": 5406,
- "end": 5407,
+ "start": 5415,
+ "end": 5416,
"loc": {
"start": {
"line": 166,
@@ -45633,8 +45633,8 @@
"updateContext": null
},
"value": "startGame",
- "start": 5407,
- "end": 5418,
+ "start": 5416,
+ "end": 5427,
"loc": {
"start": {
"line": 166,
@@ -45659,8 +45659,8 @@
"binop": null,
"updateContext": null
},
- "start": 5418,
- "end": 5419,
+ "start": 5427,
+ "end": 5428,
"loc": {
"start": {
"line": 166,
@@ -45685,8 +45685,8 @@
"binop": null
},
"value": "data",
- "start": 5420,
- "end": 5424,
+ "start": 5429,
+ "end": 5433,
"loc": {
"start": {
"line": 166,
@@ -45711,8 +45711,8 @@
"binop": null,
"updateContext": null
},
- "start": 5425,
- "end": 5427,
+ "start": 5434,
+ "end": 5436,
"loc": {
"start": {
"line": 166,
@@ -45736,8 +45736,8 @@
"postfix": false,
"binop": null
},
- "start": 5428,
- "end": 5429,
+ "start": 5437,
+ "end": 5438,
"loc": {
"start": {
"line": 166,
@@ -45762,8 +45762,8 @@
"binop": null
},
"value": "console",
- "start": 5432,
- "end": 5439,
+ "start": 5441,
+ "end": 5448,
"loc": {
"start": {
"line": 167,
@@ -45788,8 +45788,8 @@
"binop": null,
"updateContext": null
},
- "start": 5439,
- "end": 5440,
+ "start": 5448,
+ "end": 5449,
"loc": {
"start": {
"line": 167,
@@ -45814,8 +45814,8 @@
"binop": null
},
"value": "log",
- "start": 5440,
- "end": 5443,
+ "start": 5449,
+ "end": 5452,
"loc": {
"start": {
"line": 167,
@@ -45839,8 +45839,8 @@
"postfix": false,
"binop": null
},
- "start": 5443,
- "end": 5444,
+ "start": 5452,
+ "end": 5453,
"loc": {
"start": {
"line": 167,
@@ -45866,8 +45866,8 @@
"updateContext": null
},
"value": "Game has started in room ",
- "start": 5444,
- "end": 5471,
+ "start": 5453,
+ "end": 5480,
"loc": {
"start": {
"line": 167,
@@ -45893,8 +45893,8 @@
"updateContext": null
},
"value": "+",
- "start": 5472,
- "end": 5473,
+ "start": 5481,
+ "end": 5482,
"loc": {
"start": {
"line": 167,
@@ -45919,8 +45919,8 @@
"binop": null
},
"value": "room",
- "start": 5474,
- "end": 5478,
+ "start": 5483,
+ "end": 5487,
"loc": {
"start": {
"line": 167,
@@ -45944,8 +45944,8 @@
"postfix": false,
"binop": null
},
- "start": 5478,
- "end": 5479,
+ "start": 5487,
+ "end": 5488,
"loc": {
"start": {
"line": 167,
@@ -45960,8 +45960,8 @@
{
"type": "CommentLine",
"value": " Make the room and teams unjoinable",
- "start": 5482,
- "end": 5519,
+ "start": 5491,
+ "end": 5528,
"loc": {
"start": {
"line": 168,
@@ -45988,8 +45988,8 @@
"updateContext": null
},
"value": "for",
- "start": 5522,
- "end": 5525,
+ "start": 5531,
+ "end": 5534,
"loc": {
"start": {
"line": 169,
@@ -46013,8 +46013,8 @@
"postfix": false,
"binop": null
},
- "start": 5526,
- "end": 5527,
+ "start": 5535,
+ "end": 5536,
"loc": {
"start": {
"line": 169,
@@ -46041,8 +46041,8 @@
"updateContext": null
},
"value": "let",
- "start": 5527,
- "end": 5530,
+ "start": 5536,
+ "end": 5539,
"loc": {
"start": {
"line": 169,
@@ -46067,8 +46067,8 @@
"binop": null
},
"value": "tm",
- "start": 5531,
- "end": 5533,
+ "start": 5540,
+ "end": 5542,
"loc": {
"start": {
"line": 169,
@@ -46093,8 +46093,8 @@
"binop": null
},
"value": "of",
- "start": 5534,
- "end": 5536,
+ "start": 5543,
+ "end": 5545,
"loc": {
"start": {
"line": 169,
@@ -46119,8 +46119,8 @@
"binop": null
},
"value": "rooms",
- "start": 5537,
- "end": 5542,
+ "start": 5546,
+ "end": 5551,
"loc": {
"start": {
"line": 169,
@@ -46145,8 +46145,8 @@
"binop": null,
"updateContext": null
},
- "start": 5542,
- "end": 5543,
+ "start": 5551,
+ "end": 5552,
"loc": {
"start": {
"line": 169,
@@ -46171,8 +46171,8 @@
"binop": null
},
"value": "room",
- "start": 5543,
- "end": 5547,
+ "start": 5552,
+ "end": 5556,
"loc": {
"start": {
"line": 169,
@@ -46197,8 +46197,8 @@
"binop": null,
"updateContext": null
},
- "start": 5547,
- "end": 5548,
+ "start": 5556,
+ "end": 5557,
"loc": {
"start": {
"line": 169,
@@ -46223,8 +46223,8 @@
"binop": null,
"updateContext": null
},
- "start": 5548,
- "end": 5549,
+ "start": 5557,
+ "end": 5558,
"loc": {
"start": {
"line": 169,
@@ -46249,8 +46249,8 @@
"binop": null
},
"value": "teams",
- "start": 5549,
- "end": 5554,
+ "start": 5558,
+ "end": 5563,
"loc": {
"start": {
"line": 169,
@@ -46274,8 +46274,8 @@
"postfix": false,
"binop": null
},
- "start": 5554,
- "end": 5555,
+ "start": 5563,
+ "end": 5564,
"loc": {
"start": {
"line": 169,
@@ -46299,8 +46299,8 @@
"postfix": false,
"binop": null
},
- "start": 5556,
- "end": 5557,
+ "start": 5565,
+ "end": 5566,
"loc": {
"start": {
"line": 169,
@@ -46325,8 +46325,8 @@
"binop": null
},
"value": "teams",
- "start": 5561,
- "end": 5566,
+ "start": 5570,
+ "end": 5575,
"loc": {
"start": {
"line": 170,
@@ -46351,8 +46351,8 @@
"binop": null,
"updateContext": null
},
- "start": 5566,
- "end": 5567,
+ "start": 5575,
+ "end": 5576,
"loc": {
"start": {
"line": 170,
@@ -46377,8 +46377,8 @@
"binop": null
},
"value": "tm",
- "start": 5567,
- "end": 5569,
+ "start": 5576,
+ "end": 5578,
"loc": {
"start": {
"line": 170,
@@ -46403,8 +46403,8 @@
"binop": null,
"updateContext": null
},
- "start": 5569,
- "end": 5570,
+ "start": 5578,
+ "end": 5579,
"loc": {
"start": {
"line": 170,
@@ -46429,8 +46429,8 @@
"binop": null
},
"value": "name",
- "start": 5570,
- "end": 5574,
+ "start": 5579,
+ "end": 5583,
"loc": {
"start": {
"line": 170,
@@ -46455,8 +46455,8 @@
"binop": null,
"updateContext": null
},
- "start": 5574,
- "end": 5575,
+ "start": 5583,
+ "end": 5584,
"loc": {
"start": {
"line": 170,
@@ -46481,8 +46481,8 @@
"binop": null,
"updateContext": null
},
- "start": 5575,
- "end": 5576,
+ "start": 5584,
+ "end": 5585,
"loc": {
"start": {
"line": 170,
@@ -46507,8 +46507,8 @@
"binop": null
},
"value": "joinable",
- "start": 5576,
- "end": 5584,
+ "start": 5585,
+ "end": 5593,
"loc": {
"start": {
"line": 170,
@@ -46534,8 +46534,8 @@
"updateContext": null
},
"value": "=",
- "start": 5585,
- "end": 5586,
+ "start": 5594,
+ "end": 5595,
"loc": {
"start": {
"line": 170,
@@ -46562,8 +46562,8 @@
"updateContext": null
},
"value": "false",
- "start": 5587,
- "end": 5592,
+ "start": 5596,
+ "end": 5601,
"loc": {
"start": {
"line": 170,
@@ -46587,8 +46587,8 @@
"postfix": false,
"binop": null
},
- "start": 5595,
- "end": 5596,
+ "start": 5604,
+ "end": 5605,
"loc": {
"start": {
"line": 171,
@@ -46613,8 +46613,8 @@
"binop": null
},
"value": "rooms",
- "start": 5599,
- "end": 5604,
+ "start": 5608,
+ "end": 5613,
"loc": {
"start": {
"line": 172,
@@ -46639,8 +46639,8 @@
"binop": null,
"updateContext": null
},
- "start": 5604,
- "end": 5605,
+ "start": 5613,
+ "end": 5614,
"loc": {
"start": {
"line": 172,
@@ -46665,8 +46665,8 @@
"binop": null
},
"value": "room",
- "start": 5605,
- "end": 5609,
+ "start": 5614,
+ "end": 5618,
"loc": {
"start": {
"line": 172,
@@ -46691,8 +46691,8 @@
"binop": null,
"updateContext": null
},
- "start": 5609,
- "end": 5610,
+ "start": 5618,
+ "end": 5619,
"loc": {
"start": {
"line": 172,
@@ -46717,8 +46717,8 @@
"binop": null,
"updateContext": null
},
- "start": 5610,
- "end": 5611,
+ "start": 5619,
+ "end": 5620,
"loc": {
"start": {
"line": 172,
@@ -46743,8 +46743,8 @@
"binop": null
},
"value": "joinable",
- "start": 5611,
- "end": 5619,
+ "start": 5620,
+ "end": 5628,
"loc": {
"start": {
"line": 172,
@@ -46770,8 +46770,8 @@
"updateContext": null
},
"value": "=",
- "start": 5620,
- "end": 5621,
+ "start": 5629,
+ "end": 5630,
"loc": {
"start": {
"line": 172,
@@ -46798,8 +46798,8 @@
"updateContext": null
},
"value": "false",
- "start": 5622,
- "end": 5627,
+ "start": 5631,
+ "end": 5636,
"loc": {
"start": {
"line": 172,
@@ -46814,8 +46814,8 @@
{
"type": "CommentLine",
"value": " Assign nucleus teams",
- "start": 5631,
- "end": 5654,
+ "start": 5640,
+ "end": 5663,
"loc": {
"start": {
"line": 174,
@@ -46842,8 +46842,8 @@
"updateContext": null
},
"value": "for",
- "start": 5657,
- "end": 5660,
+ "start": 5666,
+ "end": 5669,
"loc": {
"start": {
"line": 175,
@@ -46867,8 +46867,8 @@
"postfix": false,
"binop": null
},
- "start": 5661,
- "end": 5662,
+ "start": 5670,
+ "end": 5671,
"loc": {
"start": {
"line": 175,
@@ -46895,8 +46895,8 @@
"updateContext": null
},
"value": "let",
- "start": 5662,
- "end": 5665,
+ "start": 5671,
+ "end": 5674,
"loc": {
"start": {
"line": 175,
@@ -46921,8 +46921,8 @@
"binop": null
},
"value": "tile",
- "start": 5666,
- "end": 5670,
+ "start": 5675,
+ "end": 5679,
"loc": {
"start": {
"line": 175,
@@ -46949,8 +46949,8 @@
"updateContext": null
},
"value": "in",
- "start": 5671,
- "end": 5673,
+ "start": 5680,
+ "end": 5682,
"loc": {
"start": {
"line": 175,
@@ -46975,8 +46975,8 @@
"binop": null
},
"value": "rooms",
- "start": 5674,
- "end": 5679,
+ "start": 5683,
+ "end": 5688,
"loc": {
"start": {
"line": 175,
@@ -47001,8 +47001,8 @@
"binop": null,
"updateContext": null
},
- "start": 5679,
- "end": 5680,
+ "start": 5688,
+ "end": 5689,
"loc": {
"start": {
"line": 175,
@@ -47027,8 +47027,8 @@
"binop": null
},
"value": "room",
- "start": 5680,
- "end": 5684,
+ "start": 5689,
+ "end": 5693,
"loc": {
"start": {
"line": 175,
@@ -47053,8 +47053,8 @@
"binop": null,
"updateContext": null
},
- "start": 5684,
- "end": 5685,
+ "start": 5693,
+ "end": 5694,
"loc": {
"start": {
"line": 175,
@@ -47079,8 +47079,8 @@
"binop": null,
"updateContext": null
},
- "start": 5685,
- "end": 5686,
+ "start": 5694,
+ "end": 5695,
"loc": {
"start": {
"line": 175,
@@ -47105,8 +47105,8 @@
"binop": null
},
"value": "tiles",
- "start": 5686,
- "end": 5691,
+ "start": 5695,
+ "end": 5700,
"loc": {
"start": {
"line": 175,
@@ -47130,8 +47130,8 @@
"postfix": false,
"binop": null
},
- "start": 5691,
- "end": 5692,
+ "start": 5700,
+ "end": 5701,
"loc": {
"start": {
"line": 175,
@@ -47155,8 +47155,8 @@
"postfix": false,
"binop": null
},
- "start": 5693,
- "end": 5694,
+ "start": 5702,
+ "end": 5703,
"loc": {
"start": {
"line": 175,
@@ -47183,8 +47183,8 @@
"updateContext": null
},
"value": "if",
- "start": 5698,
- "end": 5700,
+ "start": 5707,
+ "end": 5709,
"loc": {
"start": {
"line": 176,
@@ -47208,8 +47208,8 @@
"postfix": false,
"binop": null
},
- "start": 5701,
- "end": 5702,
+ "start": 5710,
+ "end": 5711,
"loc": {
"start": {
"line": 176,
@@ -47234,8 +47234,8 @@
"binop": null
},
"value": "rooms",
- "start": 5702,
- "end": 5707,
+ "start": 5711,
+ "end": 5716,
"loc": {
"start": {
"line": 176,
@@ -47260,8 +47260,8 @@
"binop": null,
"updateContext": null
},
- "start": 5707,
- "end": 5708,
+ "start": 5716,
+ "end": 5717,
"loc": {
"start": {
"line": 176,
@@ -47286,8 +47286,8 @@
"binop": null
},
"value": "room",
- "start": 5708,
- "end": 5712,
+ "start": 5717,
+ "end": 5721,
"loc": {
"start": {
"line": 176,
@@ -47312,8 +47312,8 @@
"binop": null,
"updateContext": null
},
- "start": 5712,
- "end": 5713,
+ "start": 5721,
+ "end": 5722,
"loc": {
"start": {
"line": 176,
@@ -47338,8 +47338,8 @@
"binop": null,
"updateContext": null
},
- "start": 5713,
- "end": 5714,
+ "start": 5722,
+ "end": 5723,
"loc": {
"start": {
"line": 176,
@@ -47364,8 +47364,8 @@
"binop": null
},
"value": "tiles",
- "start": 5714,
- "end": 5719,
+ "start": 5723,
+ "end": 5728,
"loc": {
"start": {
"line": 176,
@@ -47390,8 +47390,8 @@
"binop": null,
"updateContext": null
},
- "start": 5719,
- "end": 5720,
+ "start": 5728,
+ "end": 5729,
"loc": {
"start": {
"line": 176,
@@ -47416,8 +47416,8 @@
"binop": null
},
"value": "tile",
- "start": 5720,
- "end": 5724,
+ "start": 5729,
+ "end": 5733,
"loc": {
"start": {
"line": 176,
@@ -47442,8 +47442,8 @@
"binop": null,
"updateContext": null
},
- "start": 5724,
- "end": 5725,
+ "start": 5733,
+ "end": 5734,
"loc": {
"start": {
"line": 176,
@@ -47468,8 +47468,8 @@
"binop": null,
"updateContext": null
},
- "start": 5725,
- "end": 5726,
+ "start": 5734,
+ "end": 5735,
"loc": {
"start": {
"line": 176,
@@ -47494,8 +47494,8 @@
"binop": null
},
"value": "type",
- "start": 5726,
- "end": 5730,
+ "start": 5735,
+ "end": 5739,
"loc": {
"start": {
"line": 176,
@@ -47521,8 +47521,8 @@
"updateContext": null
},
"value": "===",
- "start": 5731,
- "end": 5734,
+ "start": 5740,
+ "end": 5743,
"loc": {
"start": {
"line": 176,
@@ -47548,8 +47548,8 @@
"updateContext": null
},
"value": "nucleus",
- "start": 5735,
- "end": 5744,
+ "start": 5744,
+ "end": 5753,
"loc": {
"start": {
"line": 176,
@@ -47573,8 +47573,8 @@
"postfix": false,
"binop": null
},
- "start": 5744,
- "end": 5745,
+ "start": 5753,
+ "end": 5754,
"loc": {
"start": {
"line": 176,
@@ -47598,8 +47598,8 @@
"postfix": false,
"binop": null
},
- "start": 5746,
- "end": 5747,
+ "start": 5755,
+ "end": 5756,
"loc": {
"start": {
"line": 176,
@@ -47614,8 +47614,8 @@
{
"type": "CommentLine",
"value": " console.log(rooms[room].teams)",
- "start": 5752,
- "end": 5785,
+ "start": 5761,
+ "end": 5794,
"loc": {
"start": {
"line": 177,
@@ -47642,8 +47642,8 @@
"updateContext": null
},
"value": "try",
- "start": 5790,
- "end": 5793,
+ "start": 5799,
+ "end": 5802,
"loc": {
"start": {
"line": 178,
@@ -47667,8 +47667,8 @@
"postfix": false,
"binop": null
},
- "start": 5794,
- "end": 5795,
+ "start": 5803,
+ "end": 5804,
"loc": {
"start": {
"line": 178,
@@ -47693,8 +47693,8 @@
"binop": null
},
"value": "rooms",
- "start": 5801,
- "end": 5806,
+ "start": 5810,
+ "end": 5815,
"loc": {
"start": {
"line": 179,
@@ -47719,8 +47719,8 @@
"binop": null,
"updateContext": null
},
- "start": 5806,
- "end": 5807,
+ "start": 5815,
+ "end": 5816,
"loc": {
"start": {
"line": 179,
@@ -47745,8 +47745,8 @@
"binop": null
},
"value": "room",
- "start": 5807,
- "end": 5811,
+ "start": 5816,
+ "end": 5820,
"loc": {
"start": {
"line": 179,
@@ -47771,8 +47771,8 @@
"binop": null,
"updateContext": null
},
- "start": 5811,
- "end": 5812,
+ "start": 5820,
+ "end": 5821,
"loc": {
"start": {
"line": 179,
@@ -47797,8 +47797,8 @@
"binop": null,
"updateContext": null
},
- "start": 5812,
- "end": 5813,
+ "start": 5821,
+ "end": 5822,
"loc": {
"start": {
"line": 179,
@@ -47823,8 +47823,8 @@
"binop": null
},
"value": "tiles",
- "start": 5813,
- "end": 5818,
+ "start": 5822,
+ "end": 5827,
"loc": {
"start": {
"line": 179,
@@ -47849,8 +47849,8 @@
"binop": null,
"updateContext": null
},
- "start": 5818,
- "end": 5819,
+ "start": 5827,
+ "end": 5828,
"loc": {
"start": {
"line": 179,
@@ -47875,8 +47875,8 @@
"binop": null
},
"value": "tile",
- "start": 5819,
- "end": 5823,
+ "start": 5828,
+ "end": 5832,
"loc": {
"start": {
"line": 179,
@@ -47901,8 +47901,8 @@
"binop": null,
"updateContext": null
},
- "start": 5823,
- "end": 5824,
+ "start": 5832,
+ "end": 5833,
"loc": {
"start": {
"line": 179,
@@ -47927,8 +47927,8 @@
"binop": null,
"updateContext": null
},
- "start": 5824,
- "end": 5825,
+ "start": 5833,
+ "end": 5834,
"loc": {
"start": {
"line": 179,
@@ -47953,8 +47953,8 @@
"binop": null
},
"value": "owner",
- "start": 5825,
- "end": 5830,
+ "start": 5834,
+ "end": 5839,
"loc": {
"start": {
"line": 179,
@@ -47980,8 +47980,8 @@
"updateContext": null
},
"value": "=",
- "start": 5831,
- "end": 5832,
+ "start": 5840,
+ "end": 5841,
"loc": {
"start": {
"line": 179,
@@ -48006,8 +48006,8 @@
"binop": null
},
"value": "rooms",
- "start": 5833,
- "end": 5838,
+ "start": 5842,
+ "end": 5847,
"loc": {
"start": {
"line": 179,
@@ -48032,8 +48032,8 @@
"binop": null,
"updateContext": null
},
- "start": 5838,
- "end": 5839,
+ "start": 5847,
+ "end": 5848,
"loc": {
"start": {
"line": 179,
@@ -48058,8 +48058,8 @@
"binop": null
},
"value": "room",
- "start": 5839,
- "end": 5843,
+ "start": 5848,
+ "end": 5852,
"loc": {
"start": {
"line": 179,
@@ -48084,8 +48084,8 @@
"binop": null,
"updateContext": null
},
- "start": 5843,
- "end": 5844,
+ "start": 5852,
+ "end": 5853,
"loc": {
"start": {
"line": 179,
@@ -48110,8 +48110,8 @@
"binop": null,
"updateContext": null
},
- "start": 5844,
- "end": 5845,
+ "start": 5853,
+ "end": 5854,
"loc": {
"start": {
"line": 179,
@@ -48136,8 +48136,8 @@
"binop": null
},
"value": "teams",
- "start": 5845,
- "end": 5850,
+ "start": 5854,
+ "end": 5859,
"loc": {
"start": {
"line": 179,
@@ -48162,8 +48162,8 @@
"binop": null,
"updateContext": null
},
- "start": 5850,
- "end": 5851,
+ "start": 5859,
+ "end": 5860,
"loc": {
"start": {
"line": 179,
@@ -48188,8 +48188,8 @@
"binop": null
},
"value": "parseInt",
- "start": 5851,
- "end": 5859,
+ "start": 5860,
+ "end": 5868,
"loc": {
"start": {
"line": 179,
@@ -48213,8 +48213,8 @@
"postfix": false,
"binop": null
},
- "start": 5859,
- "end": 5860,
+ "start": 5868,
+ "end": 5869,
"loc": {
"start": {
"line": 179,
@@ -48239,8 +48239,8 @@
"binop": null
},
"value": "rooms",
- "start": 5860,
- "end": 5865,
+ "start": 5869,
+ "end": 5874,
"loc": {
"start": {
"line": 179,
@@ -48265,8 +48265,8 @@
"binop": null,
"updateContext": null
},
- "start": 5865,
- "end": 5866,
+ "start": 5874,
+ "end": 5875,
"loc": {
"start": {
"line": 179,
@@ -48291,8 +48291,8 @@
"binop": null
},
"value": "room",
- "start": 5866,
- "end": 5870,
+ "start": 5875,
+ "end": 5879,
"loc": {
"start": {
"line": 179,
@@ -48317,8 +48317,8 @@
"binop": null,
"updateContext": null
},
- "start": 5870,
- "end": 5871,
+ "start": 5879,
+ "end": 5880,
"loc": {
"start": {
"line": 179,
@@ -48343,8 +48343,8 @@
"binop": null,
"updateContext": null
},
- "start": 5871,
- "end": 5872,
+ "start": 5880,
+ "end": 5881,
"loc": {
"start": {
"line": 179,
@@ -48369,8 +48369,8 @@
"binop": null
},
"value": "tiles",
- "start": 5872,
- "end": 5877,
+ "start": 5881,
+ "end": 5886,
"loc": {
"start": {
"line": 179,
@@ -48395,8 +48395,8 @@
"binop": null,
"updateContext": null
},
- "start": 5877,
- "end": 5878,
+ "start": 5886,
+ "end": 5887,
"loc": {
"start": {
"line": 179,
@@ -48421,8 +48421,8 @@
"binop": null
},
"value": "tile",
- "start": 5878,
- "end": 5882,
+ "start": 5887,
+ "end": 5891,
"loc": {
"start": {
"line": 179,
@@ -48447,8 +48447,8 @@
"binop": null,
"updateContext": null
},
- "start": 5882,
- "end": 5883,
+ "start": 5891,
+ "end": 5892,
"loc": {
"start": {
"line": 179,
@@ -48473,8 +48473,8 @@
"binop": null,
"updateContext": null
},
- "start": 5883,
- "end": 5884,
+ "start": 5892,
+ "end": 5893,
"loc": {
"start": {
"line": 179,
@@ -48499,8 +48499,8 @@
"binop": null
},
"value": "id",
- "start": 5884,
- "end": 5886,
+ "start": 5893,
+ "end": 5895,
"loc": {
"start": {
"line": 179,
@@ -48525,8 +48525,8 @@
"binop": null,
"updateContext": null
},
- "start": 5886,
- "end": 5887,
+ "start": 5895,
+ "end": 5896,
"loc": {
"start": {
"line": 179,
@@ -48551,8 +48551,8 @@
"binop": null
},
"value": "substring",
- "start": 5887,
- "end": 5896,
+ "start": 5896,
+ "end": 5905,
"loc": {
"start": {
"line": 179,
@@ -48576,8 +48576,8 @@
"postfix": false,
"binop": null
},
- "start": 5896,
- "end": 5897,
+ "start": 5905,
+ "end": 5906,
"loc": {
"start": {
"line": 179,
@@ -48603,8 +48603,8 @@
"updateContext": null
},
"value": 1,
- "start": 5897,
- "end": 5898,
+ "start": 5906,
+ "end": 5907,
"loc": {
"start": {
"line": 179,
@@ -48628,8 +48628,8 @@
"postfix": false,
"binop": null
},
- "start": 5898,
- "end": 5899,
+ "start": 5907,
+ "end": 5908,
"loc": {
"start": {
"line": 179,
@@ -48653,8 +48653,8 @@
"postfix": false,
"binop": null
},
- "start": 5899,
- "end": 5900,
+ "start": 5908,
+ "end": 5909,
"loc": {
"start": {
"line": 179,
@@ -48679,8 +48679,8 @@
"binop": null,
"updateContext": null
},
- "start": 5900,
- "end": 5901,
+ "start": 5909,
+ "end": 5910,
"loc": {
"start": {
"line": 179,
@@ -48705,8 +48705,8 @@
"binop": null,
"updateContext": null
},
- "start": 5901,
- "end": 5902,
+ "start": 5910,
+ "end": 5911,
"loc": {
"start": {
"line": 179,
@@ -48731,8 +48731,8 @@
"binop": null
},
"value": "name",
- "start": 5902,
- "end": 5906,
+ "start": 5911,
+ "end": 5915,
"loc": {
"start": {
"line": 179,
@@ -48756,8 +48756,8 @@
"postfix": false,
"binop": null
},
- "start": 5911,
- "end": 5912,
+ "start": 5920,
+ "end": 5921,
"loc": {
"start": {
"line": 180,
@@ -48784,8 +48784,8 @@
"updateContext": null
},
"value": "catch",
- "start": 5917,
- "end": 5922,
+ "start": 5926,
+ "end": 5931,
"loc": {
"start": {
"line": 181,
@@ -48809,8 +48809,8 @@
"postfix": false,
"binop": null
},
- "start": 5923,
- "end": 5924,
+ "start": 5932,
+ "end": 5933,
"loc": {
"start": {
"line": 181,
@@ -48835,8 +48835,8 @@
"binop": null
},
"value": "e",
- "start": 5924,
- "end": 5925,
+ "start": 5933,
+ "end": 5934,
"loc": {
"start": {
"line": 181,
@@ -48860,8 +48860,8 @@
"postfix": false,
"binop": null
},
- "start": 5925,
- "end": 5926,
+ "start": 5934,
+ "end": 5935,
"loc": {
"start": {
"line": 181,
@@ -48885,8 +48885,8 @@
"postfix": false,
"binop": null
},
- "start": 5927,
- "end": 5928,
+ "start": 5936,
+ "end": 5937,
"loc": {
"start": {
"line": 181,
@@ -48901,8 +48901,8 @@
{
"type": "CommentLine",
"value": " console.warn('No team exists for nucleus ' + rooms[room].tiles[tile].id.substring(1))",
- "start": 5934,
- "end": 6022,
+ "start": 5943,
+ "end": 6031,
"loc": {
"start": {
"line": 182,
@@ -48926,8 +48926,8 @@
"postfix": false,
"binop": null
},
- "start": 6027,
- "end": 6028,
+ "start": 6036,
+ "end": 6037,
"loc": {
"start": {
"line": 183,
@@ -48951,8 +48951,8 @@
"postfix": false,
"binop": null
},
- "start": 6032,
- "end": 6033,
+ "start": 6041,
+ "end": 6042,
"loc": {
"start": {
"line": 184,
@@ -48976,8 +48976,8 @@
"postfix": false,
"binop": null
},
- "start": 6036,
- "end": 6037,
+ "start": 6045,
+ "end": 6046,
"loc": {
"start": {
"line": 185,
@@ -49002,8 +49002,8 @@
"binop": null
},
"value": "socket",
- "start": 6041,
- "end": 6047,
+ "start": 6050,
+ "end": 6056,
"loc": {
"start": {
"line": 187,
@@ -49028,8 +49028,8 @@
"binop": null,
"updateContext": null
},
- "start": 6047,
- "end": 6048,
+ "start": 6056,
+ "end": 6057,
"loc": {
"start": {
"line": 187,
@@ -49054,8 +49054,8 @@
"binop": null
},
"value": "broadcast",
- "start": 6048,
- "end": 6057,
+ "start": 6057,
+ "end": 6066,
"loc": {
"start": {
"line": 187,
@@ -49080,8 +49080,8 @@
"binop": null,
"updateContext": null
},
- "start": 6057,
- "end": 6058,
+ "start": 6066,
+ "end": 6067,
"loc": {
"start": {
"line": 187,
@@ -49106,8 +49106,8 @@
"binop": null
},
"value": "to",
- "start": 6058,
- "end": 6060,
+ "start": 6067,
+ "end": 6069,
"loc": {
"start": {
"line": 187,
@@ -49131,8 +49131,8 @@
"postfix": false,
"binop": null
},
- "start": 6060,
- "end": 6061,
+ "start": 6069,
+ "end": 6070,
"loc": {
"start": {
"line": 187,
@@ -49157,8 +49157,8 @@
"binop": null
},
"value": "room",
- "start": 6061,
- "end": 6065,
+ "start": 6070,
+ "end": 6074,
"loc": {
"start": {
"line": 187,
@@ -49182,8 +49182,8 @@
"postfix": false,
"binop": null
},
- "start": 6065,
- "end": 6066,
+ "start": 6074,
+ "end": 6075,
"loc": {
"start": {
"line": 187,
@@ -49208,8 +49208,8 @@
"binop": null,
"updateContext": null
},
- "start": 6066,
- "end": 6067,
+ "start": 6075,
+ "end": 6076,
"loc": {
"start": {
"line": 187,
@@ -49234,8 +49234,8 @@
"binop": null
},
"value": "emit",
- "start": 6067,
- "end": 6071,
+ "start": 6076,
+ "end": 6080,
"loc": {
"start": {
"line": 187,
@@ -49259,8 +49259,8 @@
"postfix": false,
"binop": null
},
- "start": 6071,
- "end": 6072,
+ "start": 6080,
+ "end": 6081,
"loc": {
"start": {
"line": 187,
@@ -49286,8 +49286,8 @@
"updateContext": null
},
"value": "serverSendStartGame",
- "start": 6072,
- "end": 6093,
+ "start": 6081,
+ "end": 6102,
"loc": {
"start": {
"line": 187,
@@ -49312,8 +49312,8 @@
"binop": null,
"updateContext": null
},
- "start": 6093,
- "end": 6094,
+ "start": 6102,
+ "end": 6103,
"loc": {
"start": {
"line": 187,
@@ -49337,8 +49337,8 @@
"postfix": false,
"binop": null
},
- "start": 6095,
- "end": 6096,
+ "start": 6104,
+ "end": 6105,
"loc": {
"start": {
"line": 187,
@@ -49363,8 +49363,8 @@
"binop": null
},
"value": "start",
- "start": 6097,
- "end": 6102,
+ "start": 6106,
+ "end": 6111,
"loc": {
"start": {
"line": 187,
@@ -49389,8 +49389,8 @@
"binop": null,
"updateContext": null
},
- "start": 6102,
- "end": 6103,
+ "start": 6111,
+ "end": 6112,
"loc": {
"start": {
"line": 187,
@@ -49415,8 +49415,8 @@
"binop": null
},
"value": "data",
- "start": 6104,
- "end": 6108,
+ "start": 6113,
+ "end": 6117,
"loc": {
"start": {
"line": 187,
@@ -49441,8 +49441,8 @@
"binop": null,
"updateContext": null
},
- "start": 6108,
- "end": 6109,
+ "start": 6117,
+ "end": 6118,
"loc": {
"start": {
"line": 187,
@@ -49467,8 +49467,8 @@
"binop": null
},
"value": "start",
- "start": 6109,
- "end": 6114,
+ "start": 6118,
+ "end": 6123,
"loc": {
"start": {
"line": 187,
@@ -49493,8 +49493,8 @@
"binop": null,
"updateContext": null
},
- "start": 6114,
- "end": 6115,
+ "start": 6123,
+ "end": 6124,
"loc": {
"start": {
"line": 187,
@@ -49519,8 +49519,8 @@
"binop": null
},
"value": "teams",
- "start": 6116,
- "end": 6121,
+ "start": 6125,
+ "end": 6130,
"loc": {
"start": {
"line": 187,
@@ -49545,8 +49545,8 @@
"binop": null,
"updateContext": null
},
- "start": 6121,
- "end": 6122,
+ "start": 6130,
+ "end": 6131,
"loc": {
"start": {
"line": 187,
@@ -49571,8 +49571,8 @@
"binop": null
},
"value": "rooms",
- "start": 6123,
- "end": 6128,
+ "start": 6132,
+ "end": 6137,
"loc": {
"start": {
"line": 187,
@@ -49597,8 +49597,8 @@
"binop": null,
"updateContext": null
},
- "start": 6128,
- "end": 6129,
+ "start": 6137,
+ "end": 6138,
"loc": {
"start": {
"line": 187,
@@ -49623,8 +49623,8 @@
"binop": null
},
"value": "room",
- "start": 6129,
- "end": 6133,
+ "start": 6138,
+ "end": 6142,
"loc": {
"start": {
"line": 187,
@@ -49649,8 +49649,8 @@
"binop": null,
"updateContext": null
},
- "start": 6133,
- "end": 6134,
+ "start": 6142,
+ "end": 6143,
"loc": {
"start": {
"line": 187,
@@ -49675,8 +49675,8 @@
"binop": null,
"updateContext": null
},
- "start": 6134,
- "end": 6135,
+ "start": 6143,
+ "end": 6144,
"loc": {
"start": {
"line": 187,
@@ -49701,8 +49701,8 @@
"binop": null
},
"value": "teams",
- "start": 6135,
- "end": 6140,
+ "start": 6144,
+ "end": 6149,
"loc": {
"start": {
"line": 187,
@@ -49726,8 +49726,8 @@
"postfix": false,
"binop": null
},
- "start": 6141,
- "end": 6142,
+ "start": 6150,
+ "end": 6151,
"loc": {
"start": {
"line": 187,
@@ -49751,8 +49751,8 @@
"postfix": false,
"binop": null
},
- "start": 6142,
- "end": 6143,
+ "start": 6151,
+ "end": 6152,
"loc": {
"start": {
"line": 187,
@@ -49777,8 +49777,8 @@
"binop": null
},
"value": "socket",
- "start": 6146,
- "end": 6152,
+ "start": 6155,
+ "end": 6161,
"loc": {
"start": {
"line": 188,
@@ -49803,8 +49803,8 @@
"binop": null,
"updateContext": null
},
- "start": 6152,
- "end": 6153,
+ "start": 6161,
+ "end": 6162,
"loc": {
"start": {
"line": 188,
@@ -49829,8 +49829,8 @@
"binop": null
},
"value": "emit",
- "start": 6153,
- "end": 6157,
+ "start": 6162,
+ "end": 6166,
"loc": {
"start": {
"line": 188,
@@ -49854,8 +49854,8 @@
"postfix": false,
"binop": null
},
- "start": 6157,
- "end": 6158,
+ "start": 6166,
+ "end": 6167,
"loc": {
"start": {
"line": 188,
@@ -49881,8 +49881,8 @@
"updateContext": null
},
"value": "serverSendStartGame",
- "start": 6158,
- "end": 6179,
+ "start": 6167,
+ "end": 6188,
"loc": {
"start": {
"line": 188,
@@ -49907,8 +49907,8 @@
"binop": null,
"updateContext": null
},
- "start": 6179,
- "end": 6180,
+ "start": 6188,
+ "end": 6189,
"loc": {
"start": {
"line": 188,
@@ -49932,8 +49932,8 @@
"postfix": false,
"binop": null
},
- "start": 6181,
- "end": 6182,
+ "start": 6190,
+ "end": 6191,
"loc": {
"start": {
"line": 188,
@@ -49958,8 +49958,8 @@
"binop": null
},
"value": "start",
- "start": 6183,
- "end": 6188,
+ "start": 6192,
+ "end": 6197,
"loc": {
"start": {
"line": 188,
@@ -49984,8 +49984,8 @@
"binop": null,
"updateContext": null
},
- "start": 6188,
- "end": 6189,
+ "start": 6197,
+ "end": 6198,
"loc": {
"start": {
"line": 188,
@@ -50010,8 +50010,8 @@
"binop": null
},
"value": "data",
- "start": 6190,
- "end": 6194,
+ "start": 6199,
+ "end": 6203,
"loc": {
"start": {
"line": 188,
@@ -50036,8 +50036,8 @@
"binop": null,
"updateContext": null
},
- "start": 6194,
- "end": 6195,
+ "start": 6203,
+ "end": 6204,
"loc": {
"start": {
"line": 188,
@@ -50062,8 +50062,8 @@
"binop": null
},
"value": "start",
- "start": 6195,
- "end": 6200,
+ "start": 6204,
+ "end": 6209,
"loc": {
"start": {
"line": 188,
@@ -50088,8 +50088,8 @@
"binop": null,
"updateContext": null
},
- "start": 6200,
- "end": 6201,
+ "start": 6209,
+ "end": 6210,
"loc": {
"start": {
"line": 188,
@@ -50114,8 +50114,8 @@
"binop": null
},
"value": "teams",
- "start": 6202,
- "end": 6207,
+ "start": 6211,
+ "end": 6216,
"loc": {
"start": {
"line": 188,
@@ -50140,8 +50140,8 @@
"binop": null,
"updateContext": null
},
- "start": 6207,
- "end": 6208,
+ "start": 6216,
+ "end": 6217,
"loc": {
"start": {
"line": 188,
@@ -50166,8 +50166,8 @@
"binop": null
},
"value": "rooms",
- "start": 6209,
- "end": 6214,
+ "start": 6218,
+ "end": 6223,
"loc": {
"start": {
"line": 188,
@@ -50192,8 +50192,8 @@
"binop": null,
"updateContext": null
},
- "start": 6214,
- "end": 6215,
+ "start": 6223,
+ "end": 6224,
"loc": {
"start": {
"line": 188,
@@ -50218,8 +50218,8 @@
"binop": null
},
"value": "room",
- "start": 6215,
- "end": 6219,
+ "start": 6224,
+ "end": 6228,
"loc": {
"start": {
"line": 188,
@@ -50244,8 +50244,8 @@
"binop": null,
"updateContext": null
},
- "start": 6219,
- "end": 6220,
+ "start": 6228,
+ "end": 6229,
"loc": {
"start": {
"line": 188,
@@ -50270,8 +50270,8 @@
"binop": null,
"updateContext": null
},
- "start": 6220,
- "end": 6221,
+ "start": 6229,
+ "end": 6230,
"loc": {
"start": {
"line": 188,
@@ -50296,8 +50296,8 @@
"binop": null
},
"value": "teams",
- "start": 6221,
- "end": 6226,
+ "start": 6230,
+ "end": 6235,
"loc": {
"start": {
"line": 188,
@@ -50321,8 +50321,8 @@
"postfix": false,
"binop": null
},
- "start": 6227,
- "end": 6228,
+ "start": 6236,
+ "end": 6237,
"loc": {
"start": {
"line": 188,
@@ -50346,8 +50346,8 @@
"postfix": false,
"binop": null
},
- "start": 6228,
- "end": 6229,
+ "start": 6237,
+ "end": 6238,
"loc": {
"start": {
"line": 188,
@@ -50372,8 +50372,8 @@
"binop": null
},
"value": "rooms",
- "start": 6232,
- "end": 6237,
+ "start": 6241,
+ "end": 6246,
"loc": {
"start": {
"line": 189,
@@ -50398,8 +50398,8 @@
"binop": null,
"updateContext": null
},
- "start": 6237,
- "end": 6238,
+ "start": 6246,
+ "end": 6247,
"loc": {
"start": {
"line": 189,
@@ -50424,8 +50424,8 @@
"binop": null
},
"value": "room",
- "start": 6238,
- "end": 6242,
+ "start": 6247,
+ "end": 6251,
"loc": {
"start": {
"line": 189,
@@ -50450,8 +50450,8 @@
"binop": null,
"updateContext": null
},
- "start": 6242,
- "end": 6243,
+ "start": 6251,
+ "end": 6252,
"loc": {
"start": {
"line": 189,
@@ -50476,8 +50476,8 @@
"binop": null,
"updateContext": null
},
- "start": 6243,
- "end": 6244,
+ "start": 6252,
+ "end": 6253,
"loc": {
"start": {
"line": 189,
@@ -50502,8 +50502,8 @@
"binop": null
},
"value": "started",
- "start": 6244,
- "end": 6251,
+ "start": 6253,
+ "end": 6260,
"loc": {
"start": {
"line": 189,
@@ -50529,8 +50529,8 @@
"updateContext": null
},
"value": "=",
- "start": 6252,
- "end": 6253,
+ "start": 6261,
+ "end": 6262,
"loc": {
"start": {
"line": 189,
@@ -50557,8 +50557,8 @@
"updateContext": null
},
"value": "true",
- "start": 6254,
- "end": 6258,
+ "start": 6263,
+ "end": 6267,
"loc": {
"start": {
"line": 189,
@@ -50582,8 +50582,8 @@
"postfix": false,
"binop": null
},
- "start": 6260,
- "end": 6261,
+ "start": 6269,
+ "end": 6270,
"loc": {
"start": {
"line": 190,
@@ -50607,8 +50607,8 @@
"postfix": false,
"binop": null
},
- "start": 6261,
- "end": 6262,
+ "start": 6270,
+ "end": 6271,
"loc": {
"start": {
"line": 190,
@@ -50623,8 +50623,8 @@
{
"type": "CommentLine",
"value": " Testing purposes- give yourself 5000 of each atom",
- "start": 6265,
- "end": 6317,
+ "start": 6274,
+ "end": 6326,
"loc": {
"start": {
"line": 192,
@@ -50649,8 +50649,8 @@
"binop": null
},
"value": "socket",
- "start": 6319,
- "end": 6325,
+ "start": 6328,
+ "end": 6334,
"loc": {
"start": {
"line": 193,
@@ -50675,8 +50675,8 @@
"binop": null,
"updateContext": null
},
- "start": 6325,
- "end": 6326,
+ "start": 6334,
+ "end": 6335,
"loc": {
"start": {
"line": 193,
@@ -50701,8 +50701,8 @@
"binop": null
},
"value": "on",
- "start": 6326,
- "end": 6328,
+ "start": 6335,
+ "end": 6337,
"loc": {
"start": {
"line": 193,
@@ -50726,8 +50726,8 @@
"postfix": false,
"binop": null
},
- "start": 6328,
- "end": 6329,
+ "start": 6337,
+ "end": 6338,
"loc": {
"start": {
"line": 193,
@@ -50753,8 +50753,8 @@
"updateContext": null
},
"value": "testCommand",
- "start": 6329,
- "end": 6342,
+ "start": 6338,
+ "end": 6351,
"loc": {
"start": {
"line": 193,
@@ -50779,8 +50779,8 @@
"binop": null,
"updateContext": null
},
- "start": 6342,
- "end": 6343,
+ "start": 6351,
+ "end": 6352,
"loc": {
"start": {
"line": 193,
@@ -50804,8 +50804,8 @@
"postfix": false,
"binop": null
},
- "start": 6344,
- "end": 6345,
+ "start": 6353,
+ "end": 6354,
"loc": {
"start": {
"line": 193,
@@ -50830,8 +50830,8 @@
"binop": null
},
"value": "data",
- "start": 6345,
- "end": 6349,
+ "start": 6354,
+ "end": 6358,
"loc": {
"start": {
"line": 193,
@@ -50855,8 +50855,8 @@
"postfix": false,
"binop": null
},
- "start": 6349,
- "end": 6350,
+ "start": 6358,
+ "end": 6359,
"loc": {
"start": {
"line": 193,
@@ -50881,8 +50881,8 @@
"binop": null,
"updateContext": null
},
- "start": 6351,
- "end": 6353,
+ "start": 6360,
+ "end": 6362,
"loc": {
"start": {
"line": 193,
@@ -50906,8 +50906,8 @@
"postfix": false,
"binop": null
},
- "start": 6354,
- "end": 6355,
+ "start": 6363,
+ "end": 6364,
"loc": {
"start": {
"line": 193,
@@ -50934,8 +50934,8 @@
"updateContext": null
},
"value": "if",
- "start": 6358,
- "end": 6360,
+ "start": 6367,
+ "end": 6369,
"loc": {
"start": {
"line": 194,
@@ -50959,8 +50959,8 @@
"postfix": false,
"binop": null
},
- "start": 6361,
- "end": 6362,
+ "start": 6370,
+ "end": 6371,
"loc": {
"start": {
"line": 194,
@@ -50985,8 +50985,8 @@
"binop": null
},
"value": "GLOBAL",
- "start": 6362,
- "end": 6368,
+ "start": 6371,
+ "end": 6377,
"loc": {
"start": {
"line": 194,
@@ -51011,8 +51011,8 @@
"binop": null,
"updateContext": null
},
- "start": 6368,
- "end": 6369,
+ "start": 6377,
+ "end": 6378,
"loc": {
"start": {
"line": 194,
@@ -51037,8 +51037,8 @@
"binop": null
},
"value": "DEBUG",
- "start": 6369,
- "end": 6374,
+ "start": 6378,
+ "end": 6383,
"loc": {
"start": {
"line": 194,
@@ -51062,8 +51062,8 @@
"postfix": false,
"binop": null
},
- "start": 6374,
- "end": 6375,
+ "start": 6383,
+ "end": 6384,
"loc": {
"start": {
"line": 194,
@@ -51087,8 +51087,8 @@
"postfix": false,
"binop": null
},
- "start": 6376,
- "end": 6377,
+ "start": 6385,
+ "end": 6386,
"loc": {
"start": {
"line": 194,
@@ -51103,8 +51103,8 @@
{
"type": "CommentLine",
"value": " console.log(rooms[room].players[data.player].atomList)",
- "start": 6381,
- "end": 6438,
+ "start": 6390,
+ "end": 6447,
"loc": {
"start": {
"line": 195,
@@ -51131,8 +51131,8 @@
"updateContext": null
},
"value": "for",
- "start": 6442,
- "end": 6445,
+ "start": 6451,
+ "end": 6454,
"loc": {
"start": {
"line": 196,
@@ -51156,8 +51156,8 @@
"postfix": false,
"binop": null
},
- "start": 6446,
- "end": 6447,
+ "start": 6455,
+ "end": 6456,
"loc": {
"start": {
"line": 196,
@@ -51184,8 +51184,8 @@
"updateContext": null
},
"value": "let",
- "start": 6447,
- "end": 6450,
+ "start": 6456,
+ "end": 6459,
"loc": {
"start": {
"line": 196,
@@ -51210,8 +51210,8 @@
"binop": null
},
"value": "i",
- "start": 6451,
- "end": 6452,
+ "start": 6460,
+ "end": 6461,
"loc": {
"start": {
"line": 196,
@@ -51238,8 +51238,8 @@
"updateContext": null
},
"value": "in",
- "start": 6453,
- "end": 6455,
+ "start": 6462,
+ "end": 6464,
"loc": {
"start": {
"line": 196,
@@ -51264,8 +51264,8 @@
"binop": null
},
"value": "rooms",
- "start": 6456,
- "end": 6461,
+ "start": 6465,
+ "end": 6470,
"loc": {
"start": {
"line": 196,
@@ -51290,8 +51290,8 @@
"binop": null,
"updateContext": null
},
- "start": 6461,
- "end": 6462,
+ "start": 6470,
+ "end": 6471,
"loc": {
"start": {
"line": 196,
@@ -51316,8 +51316,8 @@
"binop": null
},
"value": "room",
- "start": 6462,
- "end": 6466,
+ "start": 6471,
+ "end": 6475,
"loc": {
"start": {
"line": 196,
@@ -51342,8 +51342,8 @@
"binop": null,
"updateContext": null
},
- "start": 6466,
- "end": 6467,
+ "start": 6475,
+ "end": 6476,
"loc": {
"start": {
"line": 196,
@@ -51368,8 +51368,8 @@
"binop": null,
"updateContext": null
},
- "start": 6467,
- "end": 6468,
+ "start": 6476,
+ "end": 6477,
"loc": {
"start": {
"line": 196,
@@ -51394,8 +51394,8 @@
"binop": null
},
"value": "players",
- "start": 6468,
- "end": 6475,
+ "start": 6477,
+ "end": 6484,
"loc": {
"start": {
"line": 196,
@@ -51420,8 +51420,8 @@
"binop": null,
"updateContext": null
},
- "start": 6475,
- "end": 6476,
+ "start": 6484,
+ "end": 6485,
"loc": {
"start": {
"line": 196,
@@ -51446,8 +51446,8 @@
"binop": null
},
"value": "data",
- "start": 6476,
- "end": 6480,
+ "start": 6485,
+ "end": 6489,
"loc": {
"start": {
"line": 196,
@@ -51472,8 +51472,8 @@
"binop": null,
"updateContext": null
},
- "start": 6480,
- "end": 6481,
+ "start": 6489,
+ "end": 6490,
"loc": {
"start": {
"line": 196,
@@ -51498,8 +51498,8 @@
"binop": null
},
"value": "player",
- "start": 6481,
- "end": 6487,
+ "start": 6490,
+ "end": 6496,
"loc": {
"start": {
"line": 196,
@@ -51524,8 +51524,8 @@
"binop": null,
"updateContext": null
},
- "start": 6487,
- "end": 6488,
+ "start": 6496,
+ "end": 6497,
"loc": {
"start": {
"line": 196,
@@ -51550,8 +51550,8 @@
"binop": null,
"updateContext": null
},
- "start": 6488,
- "end": 6489,
+ "start": 6497,
+ "end": 6498,
"loc": {
"start": {
"line": 196,
@@ -51576,8 +51576,8 @@
"binop": null
},
"value": "atomList",
- "start": 6489,
- "end": 6497,
+ "start": 6498,
+ "end": 6506,
"loc": {
"start": {
"line": 196,
@@ -51601,8 +51601,8 @@
"postfix": false,
"binop": null
},
- "start": 6497,
- "end": 6498,
+ "start": 6506,
+ "end": 6507,
"loc": {
"start": {
"line": 196,
@@ -51626,8 +51626,8 @@
"postfix": false,
"binop": null
},
- "start": 6499,
- "end": 6500,
+ "start": 6508,
+ "end": 6509,
"loc": {
"start": {
"line": 196,
@@ -51652,8 +51652,8 @@
"binop": null
},
"value": "rooms",
- "start": 6505,
- "end": 6510,
+ "start": 6514,
+ "end": 6519,
"loc": {
"start": {
"line": 197,
@@ -51678,8 +51678,8 @@
"binop": null,
"updateContext": null
},
- "start": 6510,
- "end": 6511,
+ "start": 6519,
+ "end": 6520,
"loc": {
"start": {
"line": 197,
@@ -51704,8 +51704,8 @@
"binop": null
},
"value": "room",
- "start": 6511,
- "end": 6515,
+ "start": 6520,
+ "end": 6524,
"loc": {
"start": {
"line": 197,
@@ -51730,8 +51730,8 @@
"binop": null,
"updateContext": null
},
- "start": 6515,
- "end": 6516,
+ "start": 6524,
+ "end": 6525,
"loc": {
"start": {
"line": 197,
@@ -51756,8 +51756,8 @@
"binop": null,
"updateContext": null
},
- "start": 6516,
- "end": 6517,
+ "start": 6525,
+ "end": 6526,
"loc": {
"start": {
"line": 197,
@@ -51782,8 +51782,8 @@
"binop": null
},
"value": "players",
- "start": 6517,
- "end": 6524,
+ "start": 6526,
+ "end": 6533,
"loc": {
"start": {
"line": 197,
@@ -51808,8 +51808,8 @@
"binop": null,
"updateContext": null
},
- "start": 6524,
- "end": 6525,
+ "start": 6533,
+ "end": 6534,
"loc": {
"start": {
"line": 197,
@@ -51834,8 +51834,8 @@
"binop": null
},
"value": "data",
- "start": 6525,
- "end": 6529,
+ "start": 6534,
+ "end": 6538,
"loc": {
"start": {
"line": 197,
@@ -51860,8 +51860,8 @@
"binop": null,
"updateContext": null
},
- "start": 6529,
- "end": 6530,
+ "start": 6538,
+ "end": 6539,
"loc": {
"start": {
"line": 197,
@@ -51886,8 +51886,8 @@
"binop": null
},
"value": "player",
- "start": 6530,
- "end": 6536,
+ "start": 6539,
+ "end": 6545,
"loc": {
"start": {
"line": 197,
@@ -51912,8 +51912,8 @@
"binop": null,
"updateContext": null
},
- "start": 6536,
- "end": 6537,
+ "start": 6545,
+ "end": 6546,
"loc": {
"start": {
"line": 197,
@@ -51938,8 +51938,8 @@
"binop": null,
"updateContext": null
},
- "start": 6537,
- "end": 6538,
+ "start": 6546,
+ "end": 6547,
"loc": {
"start": {
"line": 197,
@@ -51964,8 +51964,8 @@
"binop": null
},
"value": "atomList",
- "start": 6538,
- "end": 6546,
+ "start": 6547,
+ "end": 6555,
"loc": {
"start": {
"line": 197,
@@ -51990,8 +51990,8 @@
"binop": null,
"updateContext": null
},
- "start": 6546,
- "end": 6547,
+ "start": 6555,
+ "end": 6556,
"loc": {
"start": {
"line": 197,
@@ -52016,8 +52016,8 @@
"binop": null
},
"value": "i",
- "start": 6547,
- "end": 6548,
+ "start": 6556,
+ "end": 6557,
"loc": {
"start": {
"line": 197,
@@ -52042,8 +52042,8 @@
"binop": null,
"updateContext": null
},
- "start": 6548,
- "end": 6549,
+ "start": 6557,
+ "end": 6558,
"loc": {
"start": {
"line": 197,
@@ -52069,8 +52069,8 @@
"updateContext": null
},
"value": "+=",
- "start": 6550,
- "end": 6552,
+ "start": 6559,
+ "end": 6561,
"loc": {
"start": {
"line": 197,
@@ -52096,8 +52096,8 @@
"updateContext": null
},
"value": 5000,
- "start": 6553,
- "end": 6557,
+ "start": 6562,
+ "end": 6566,
"loc": {
"start": {
"line": 197,
@@ -52121,8 +52121,8 @@
"postfix": false,
"binop": null
},
- "start": 6561,
- "end": 6562,
+ "start": 6570,
+ "end": 6571,
"loc": {
"start": {
"line": 198,
@@ -52146,8 +52146,8 @@
"postfix": false,
"binop": null
},
- "start": 6565,
- "end": 6566,
+ "start": 6574,
+ "end": 6575,
"loc": {
"start": {
"line": 199,
@@ -52171,8 +52171,8 @@
"postfix": false,
"binop": null
},
- "start": 6568,
- "end": 6569,
+ "start": 6577,
+ "end": 6578,
"loc": {
"start": {
"line": 200,
@@ -52196,8 +52196,8 @@
"postfix": false,
"binop": null
},
- "start": 6569,
- "end": 6570,
+ "start": 6578,
+ "end": 6579,
"loc": {
"start": {
"line": 200,
@@ -52222,8 +52222,8 @@
"binop": null
},
"value": "socket",
- "start": 6573,
- "end": 6579,
+ "start": 6582,
+ "end": 6588,
"loc": {
"start": {
"line": 202,
@@ -52248,8 +52248,8 @@
"binop": null,
"updateContext": null
},
- "start": 6579,
- "end": 6580,
+ "start": 6588,
+ "end": 6589,
"loc": {
"start": {
"line": 202,
@@ -52274,8 +52274,8 @@
"binop": null
},
"value": "on",
- "start": 6580,
- "end": 6582,
+ "start": 6589,
+ "end": 6591,
"loc": {
"start": {
"line": 202,
@@ -52299,8 +52299,8 @@
"postfix": false,
"binop": null
},
- "start": 6582,
- "end": 6583,
+ "start": 6591,
+ "end": 6592,
"loc": {
"start": {
"line": 202,
@@ -52326,8 +52326,8 @@
"updateContext": null
},
"value": "disconnect",
- "start": 6583,
- "end": 6595,
+ "start": 6592,
+ "end": 6604,
"loc": {
"start": {
"line": 202,
@@ -52352,8 +52352,8 @@
"binop": null,
"updateContext": null
},
- "start": 6595,
- "end": 6596,
+ "start": 6604,
+ "end": 6605,
"loc": {
"start": {
"line": 202,
@@ -52378,8 +52378,8 @@
"binop": null
},
"value": "data",
- "start": 6597,
- "end": 6601,
+ "start": 6606,
+ "end": 6610,
"loc": {
"start": {
"line": 202,
@@ -52404,8 +52404,8 @@
"binop": null,
"updateContext": null
},
- "start": 6602,
- "end": 6604,
+ "start": 6611,
+ "end": 6613,
"loc": {
"start": {
"line": 202,
@@ -52429,8 +52429,8 @@
"postfix": false,
"binop": null
},
- "start": 6605,
- "end": 6606,
+ "start": 6614,
+ "end": 6615,
"loc": {
"start": {
"line": 202,
@@ -52455,8 +52455,8 @@
"binop": null
},
"value": "console",
- "start": 6609,
- "end": 6616,
+ "start": 6618,
+ "end": 6625,
"loc": {
"start": {
"line": 203,
@@ -52481,8 +52481,8 @@
"binop": null,
"updateContext": null
},
- "start": 6616,
- "end": 6617,
+ "start": 6625,
+ "end": 6626,
"loc": {
"start": {
"line": 203,
@@ -52507,8 +52507,8 @@
"binop": null
},
"value": "log",
- "start": 6617,
- "end": 6620,
+ "start": 6626,
+ "end": 6629,
"loc": {
"start": {
"line": 203,
@@ -52532,8 +52532,8 @@
"postfix": false,
"binop": null
},
- "start": 6620,
- "end": 6621,
+ "start": 6629,
+ "end": 6630,
"loc": {
"start": {
"line": 203,
@@ -52559,8 +52559,8 @@
"updateContext": null
},
"value": "[Server]",
- "start": 6621,
- "end": 6631,
+ "start": 6630,
+ "end": 6640,
"loc": {
"start": {
"line": 203,
@@ -52585,8 +52585,8 @@
"binop": null,
"updateContext": null
},
- "start": 6631,
- "end": 6632,
+ "start": 6640,
+ "end": 6641,
"loc": {
"start": {
"line": 203,
@@ -52611,8 +52611,8 @@
"binop": null
},
"value": "bold",
- "start": 6632,
- "end": 6636,
+ "start": 6641,
+ "end": 6645,
"loc": {
"start": {
"line": 203,
@@ -52637,8 +52637,8 @@
"binop": null,
"updateContext": null
},
- "start": 6636,
- "end": 6637,
+ "start": 6645,
+ "end": 6646,
"loc": {
"start": {
"line": 203,
@@ -52663,8 +52663,8 @@
"binop": null
},
"value": "blue",
- "start": 6637,
- "end": 6641,
+ "start": 6646,
+ "end": 6650,
"loc": {
"start": {
"line": 203,
@@ -52690,8 +52690,8 @@
"updateContext": null
},
"value": "+",
- "start": 6642,
- "end": 6643,
+ "start": 6651,
+ "end": 6652,
"loc": {
"start": {
"line": 203,
@@ -52717,8 +52717,8 @@
"updateContext": null
},
"value": " Disconnect Received: ",
- "start": 6644,
- "end": 6668,
+ "start": 6653,
+ "end": 6677,
"loc": {
"start": {
"line": 203,
@@ -52743,8 +52743,8 @@
"binop": null,
"updateContext": null
},
- "start": 6668,
- "end": 6669,
+ "start": 6677,
+ "end": 6678,
"loc": {
"start": {
"line": 203,
@@ -52769,8 +52769,8 @@
"binop": null
},
"value": "red",
- "start": 6669,
- "end": 6672,
+ "start": 6678,
+ "end": 6681,
"loc": {
"start": {
"line": 203,
@@ -52796,8 +52796,8 @@
"updateContext": null
},
"value": "+",
- "start": 6673,
- "end": 6674,
+ "start": 6682,
+ "end": 6683,
"loc": {
"start": {
"line": 203,
@@ -52821,8 +52821,8 @@
"postfix": false,
"binop": null
},
- "start": 6675,
- "end": 6676,
+ "start": 6684,
+ "end": 6685,
"loc": {
"start": {
"line": 203,
@@ -52848,8 +52848,8 @@
"updateContext": null
},
"value": "",
- "start": 6676,
- "end": 6678,
+ "start": 6685,
+ "end": 6687,
"loc": {
"start": {
"line": 203,
@@ -52875,8 +52875,8 @@
"updateContext": null
},
"value": "+",
- "start": 6679,
- "end": 6680,
+ "start": 6688,
+ "end": 6689,
"loc": {
"start": {
"line": 203,
@@ -52901,8 +52901,8 @@
"binop": null
},
"value": "socket",
- "start": 6681,
- "end": 6687,
+ "start": 6690,
+ "end": 6696,
"loc": {
"start": {
"line": 203,
@@ -52927,8 +52927,8 @@
"binop": null,
"updateContext": null
},
- "start": 6687,
- "end": 6688,
+ "start": 6696,
+ "end": 6697,
"loc": {
"start": {
"line": 203,
@@ -52953,8 +52953,8 @@
"binop": null
},
"value": "id",
- "start": 6688,
- "end": 6690,
+ "start": 6697,
+ "end": 6699,
"loc": {
"start": {
"line": 203,
@@ -52978,8 +52978,8 @@
"postfix": false,
"binop": null
},
- "start": 6690,
- "end": 6691,
+ "start": 6699,
+ "end": 6700,
"loc": {
"start": {
"line": 203,
@@ -53004,8 +53004,8 @@
"binop": null,
"updateContext": null
},
- "start": 6691,
- "end": 6692,
+ "start": 6700,
+ "end": 6701,
"loc": {
"start": {
"line": 203,
@@ -53030,8 +53030,8 @@
"binop": null
},
"value": "yellow",
- "start": 6692,
- "end": 6698,
+ "start": 6701,
+ "end": 6707,
"loc": {
"start": {
"line": 203,
@@ -53057,8 +53057,8 @@
"updateContext": null
},
"value": "+",
- "start": 6699,
- "end": 6700,
+ "start": 6708,
+ "end": 6709,
"loc": {
"start": {
"line": 203,
@@ -53082,8 +53082,8 @@
"postfix": false,
"binop": null
},
- "start": 6701,
- "end": 6702,
+ "start": 6710,
+ "end": 6711,
"loc": {
"start": {
"line": 203,
@@ -53109,8 +53109,8 @@
"updateContext": null
},
"value": "",
- "start": 6702,
- "end": 6704,
+ "start": 6711,
+ "end": 6713,
"loc": {
"start": {
"line": 203,
@@ -53136,8 +53136,8 @@
"updateContext": null
},
"value": "+",
- "start": 6705,
- "end": 6706,
+ "start": 6714,
+ "end": 6715,
"loc": {
"start": {
"line": 203,
@@ -53162,8 +53162,8 @@
"binop": null
},
"value": "rooms",
- "start": 6707,
- "end": 6712,
+ "start": 6716,
+ "end": 6721,
"loc": {
"start": {
"line": 203,
@@ -53188,8 +53188,8 @@
"binop": null,
"updateContext": null
},
- "start": 6712,
- "end": 6713,
+ "start": 6721,
+ "end": 6722,
"loc": {
"start": {
"line": 203,
@@ -53214,8 +53214,8 @@
"binop": null
},
"value": "room",
- "start": 6713,
- "end": 6717,
+ "start": 6722,
+ "end": 6726,
"loc": {
"start": {
"line": 203,
@@ -53240,8 +53240,8 @@
"binop": null,
"updateContext": null
},
- "start": 6717,
- "end": 6718,
+ "start": 6726,
+ "end": 6727,
"loc": {
"start": {
"line": 203,
@@ -53266,8 +53266,8 @@
"binop": null,
"updateContext": null
},
- "start": 6718,
- "end": 6719,
+ "start": 6727,
+ "end": 6728,
"loc": {
"start": {
"line": 203,
@@ -53292,8 +53292,8 @@
"binop": null
},
"value": "players",
- "start": 6719,
- "end": 6726,
+ "start": 6728,
+ "end": 6735,
"loc": {
"start": {
"line": 203,
@@ -53318,8 +53318,8 @@
"binop": null,
"updateContext": null
},
- "start": 6726,
- "end": 6727,
+ "start": 6735,
+ "end": 6736,
"loc": {
"start": {
"line": 203,
@@ -53344,8 +53344,8 @@
"binop": null
},
"value": "socket",
- "start": 6727,
- "end": 6733,
+ "start": 6736,
+ "end": 6742,
"loc": {
"start": {
"line": 203,
@@ -53370,8 +53370,8 @@
"binop": null,
"updateContext": null
},
- "start": 6733,
- "end": 6734,
+ "start": 6742,
+ "end": 6743,
"loc": {
"start": {
"line": 203,
@@ -53396,8 +53396,8 @@
"binop": null
},
"value": "id",
- "start": 6734,
- "end": 6736,
+ "start": 6743,
+ "end": 6745,
"loc": {
"start": {
"line": 203,
@@ -53422,8 +53422,8 @@
"binop": null,
"updateContext": null
},
- "start": 6736,
- "end": 6737,
+ "start": 6745,
+ "end": 6746,
"loc": {
"start": {
"line": 203,
@@ -53447,8 +53447,8 @@
"postfix": false,
"binop": null
},
- "start": 6737,
- "end": 6738,
+ "start": 6746,
+ "end": 6747,
"loc": {
"start": {
"line": 203,
@@ -53473,8 +53473,8 @@
"binop": null,
"updateContext": null
},
- "start": 6738,
- "end": 6739,
+ "start": 6747,
+ "end": 6748,
"loc": {
"start": {
"line": 203,
@@ -53499,8 +53499,8 @@
"binop": null
},
"value": "green",
- "start": 6739,
- "end": 6744,
+ "start": 6748,
+ "end": 6753,
"loc": {
"start": {
"line": 203,
@@ -53526,8 +53526,8 @@
"updateContext": null
},
"value": "+",
- "start": 6745,
- "end": 6746,
+ "start": 6754,
+ "end": 6755,
"loc": {
"start": {
"line": 203,
@@ -53553,8 +53553,8 @@
"updateContext": null
},
"value": ": ",
- "start": 6747,
- "end": 6751,
+ "start": 6756,
+ "end": 6760,
"loc": {
"start": {
"line": 203,
@@ -53580,8 +53580,8 @@
"updateContext": null
},
"value": "+",
- "start": 6752,
- "end": 6753,
+ "start": 6761,
+ "end": 6762,
"loc": {
"start": {
"line": 203,
@@ -53606,8 +53606,8 @@
"binop": null
},
"value": "data",
- "start": 6754,
- "end": 6758,
+ "start": 6763,
+ "end": 6767,
"loc": {
"start": {
"line": 203,
@@ -53631,8 +53631,8 @@
"postfix": false,
"binop": null
},
- "start": 6758,
- "end": 6759,
+ "start": 6767,
+ "end": 6768,
"loc": {
"start": {
"line": 203,
@@ -53657,8 +53657,8 @@
"binop": null
},
"value": "socket",
- "start": 6763,
- "end": 6769,
+ "start": 6772,
+ "end": 6778,
"loc": {
"start": {
"line": 205,
@@ -53683,8 +53683,8 @@
"binop": null,
"updateContext": null
},
- "start": 6769,
- "end": 6770,
+ "start": 6778,
+ "end": 6779,
"loc": {
"start": {
"line": 205,
@@ -53709,8 +53709,8 @@
"binop": null
},
"value": "to",
- "start": 6770,
- "end": 6772,
+ "start": 6779,
+ "end": 6781,
"loc": {
"start": {
"line": 205,
@@ -53734,8 +53734,8 @@
"postfix": false,
"binop": null
},
- "start": 6772,
- "end": 6773,
+ "start": 6781,
+ "end": 6782,
"loc": {
"start": {
"line": 205,
@@ -53760,8 +53760,8 @@
"binop": null
},
"value": "room",
- "start": 6773,
- "end": 6777,
+ "start": 6782,
+ "end": 6786,
"loc": {
"start": {
"line": 205,
@@ -53785,8 +53785,8 @@
"postfix": false,
"binop": null
},
- "start": 6777,
- "end": 6778,
+ "start": 6786,
+ "end": 6787,
"loc": {
"start": {
"line": 205,
@@ -53811,8 +53811,8 @@
"binop": null,
"updateContext": null
},
- "start": 6778,
- "end": 6779,
+ "start": 6787,
+ "end": 6788,
"loc": {
"start": {
"line": 205,
@@ -53837,8 +53837,8 @@
"binop": null
},
"value": "broadcast",
- "start": 6779,
- "end": 6788,
+ "start": 6788,
+ "end": 6797,
"loc": {
"start": {
"line": 205,
@@ -53863,8 +53863,8 @@
"binop": null,
"updateContext": null
},
- "start": 6788,
- "end": 6789,
+ "start": 6797,
+ "end": 6798,
"loc": {
"start": {
"line": 205,
@@ -53889,8 +53889,8 @@
"binop": null
},
"value": "emit",
- "start": 6789,
- "end": 6793,
+ "start": 6798,
+ "end": 6802,
"loc": {
"start": {
"line": 205,
@@ -53914,8 +53914,8 @@
"postfix": false,
"binop": null
},
- "start": 6793,
- "end": 6794,
+ "start": 6802,
+ "end": 6803,
"loc": {
"start": {
"line": 205,
@@ -53941,8 +53941,8 @@
"updateContext": null
},
"value": "disconnectedPlayer",
- "start": 6794,
- "end": 6814,
+ "start": 6803,
+ "end": 6823,
"loc": {
"start": {
"line": 205,
@@ -53967,8 +53967,8 @@
"binop": null,
"updateContext": null
},
- "start": 6814,
- "end": 6815,
+ "start": 6823,
+ "end": 6824,
"loc": {
"start": {
"line": 205,
@@ -53992,8 +53992,8 @@
"postfix": false,
"binop": null
},
- "start": 6816,
- "end": 6817,
+ "start": 6825,
+ "end": 6826,
"loc": {
"start": {
"line": 205,
@@ -54018,8 +54018,8 @@
"binop": null
},
"value": "id",
- "start": 6818,
- "end": 6820,
+ "start": 6827,
+ "end": 6829,
"loc": {
"start": {
"line": 205,
@@ -54044,8 +54044,8 @@
"binop": null,
"updateContext": null
},
- "start": 6820,
- "end": 6821,
+ "start": 6829,
+ "end": 6830,
"loc": {
"start": {
"line": 205,
@@ -54070,8 +54070,8 @@
"binop": null
},
"value": "socket",
- "start": 6822,
- "end": 6828,
+ "start": 6831,
+ "end": 6837,
"loc": {
"start": {
"line": 205,
@@ -54096,8 +54096,8 @@
"binop": null,
"updateContext": null
},
- "start": 6828,
- "end": 6829,
+ "start": 6837,
+ "end": 6838,
"loc": {
"start": {
"line": 205,
@@ -54122,8 +54122,8 @@
"binop": null
},
"value": "id",
- "start": 6829,
- "end": 6831,
+ "start": 6838,
+ "end": 6840,
"loc": {
"start": {
"line": 205,
@@ -54147,8 +54147,8 @@
"postfix": false,
"binop": null
},
- "start": 6832,
- "end": 6833,
+ "start": 6841,
+ "end": 6842,
"loc": {
"start": {
"line": 205,
@@ -54172,8 +54172,8 @@
"postfix": false,
"binop": null
},
- "start": 6833,
- "end": 6834,
+ "start": 6842,
+ "end": 6843,
"loc": {
"start": {
"line": 205,
@@ -54188,8 +54188,8 @@
{
"type": "CommentLine",
"value": " Broadcast to everyone in the room to delete the player",
- "start": 6835,
- "end": 6892,
+ "start": 6844,
+ "end": 6901,
"loc": {
"start": {
"line": 205,
@@ -54216,8 +54216,8 @@
"updateContext": null
},
"value": "delete",
- "start": 6896,
- "end": 6902,
+ "start": 6905,
+ "end": 6911,
"loc": {
"start": {
"line": 207,
@@ -54242,8 +54242,8 @@
"binop": null
},
"value": "rooms",
- "start": 6903,
- "end": 6908,
+ "start": 6912,
+ "end": 6917,
"loc": {
"start": {
"line": 207,
@@ -54268,8 +54268,8 @@
"binop": null,
"updateContext": null
},
- "start": 6908,
- "end": 6909,
+ "start": 6917,
+ "end": 6918,
"loc": {
"start": {
"line": 207,
@@ -54294,8 +54294,8 @@
"binop": null
},
"value": "room",
- "start": 6909,
- "end": 6913,
+ "start": 6918,
+ "end": 6922,
"loc": {
"start": {
"line": 207,
@@ -54320,8 +54320,8 @@
"binop": null,
"updateContext": null
},
- "start": 6913,
- "end": 6914,
+ "start": 6922,
+ "end": 6923,
"loc": {
"start": {
"line": 207,
@@ -54346,8 +54346,8 @@
"binop": null,
"updateContext": null
},
- "start": 6914,
- "end": 6915,
+ "start": 6923,
+ "end": 6924,
"loc": {
"start": {
"line": 207,
@@ -54372,8 +54372,8 @@
"binop": null
},
"value": "players",
- "start": 6915,
- "end": 6922,
+ "start": 6924,
+ "end": 6931,
"loc": {
"start": {
"line": 207,
@@ -54398,8 +54398,8 @@
"binop": null,
"updateContext": null
},
- "start": 6922,
- "end": 6923,
+ "start": 6931,
+ "end": 6932,
"loc": {
"start": {
"line": 207,
@@ -54424,8 +54424,8 @@
"binop": null
},
"value": "socket",
- "start": 6923,
- "end": 6929,
+ "start": 6932,
+ "end": 6938,
"loc": {
"start": {
"line": 207,
@@ -54450,8 +54450,8 @@
"binop": null,
"updateContext": null
},
- "start": 6929,
- "end": 6930,
+ "start": 6938,
+ "end": 6939,
"loc": {
"start": {
"line": 207,
@@ -54476,8 +54476,8 @@
"binop": null
},
"value": "id",
- "start": 6930,
- "end": 6932,
+ "start": 6939,
+ "end": 6941,
"loc": {
"start": {
"line": 207,
@@ -54502,8 +54502,8 @@
"binop": null,
"updateContext": null
},
- "start": 6932,
- "end": 6933,
+ "start": 6941,
+ "end": 6942,
"loc": {
"start": {
"line": 207,
@@ -54518,8 +54518,8 @@
{
"type": "CommentLine",
"value": " Remove the server side player",
- "start": 6934,
- "end": 6966,
+ "start": 6943,
+ "end": 6975,
"loc": {
"start": {
"line": 207,
@@ -54534,8 +54534,8 @@
{
"type": "CommentLine",
"value": " Delete room if there is nobody inside",
- "start": 6970,
- "end": 7010,
+ "start": 6979,
+ "end": 7019,
"loc": {
"start": {
"line": 209,
@@ -54562,8 +54562,8 @@
"updateContext": null
},
"value": "if",
- "start": 7013,
- "end": 7015,
+ "start": 7022,
+ "end": 7024,
"loc": {
"start": {
"line": 210,
@@ -54587,8 +54587,8 @@
"postfix": false,
"binop": null
},
- "start": 7016,
- "end": 7017,
+ "start": 7025,
+ "end": 7026,
"loc": {
"start": {
"line": 210,
@@ -54613,8 +54613,8 @@
"binop": null
},
"value": "Object",
- "start": 7017,
- "end": 7023,
+ "start": 7026,
+ "end": 7032,
"loc": {
"start": {
"line": 210,
@@ -54639,8 +54639,8 @@
"binop": null,
"updateContext": null
},
- "start": 7023,
- "end": 7024,
+ "start": 7032,
+ "end": 7033,
"loc": {
"start": {
"line": 210,
@@ -54665,8 +54665,8 @@
"binop": null
},
"value": "keys",
- "start": 7024,
- "end": 7028,
+ "start": 7033,
+ "end": 7037,
"loc": {
"start": {
"line": 210,
@@ -54690,8 +54690,8 @@
"postfix": false,
"binop": null
},
- "start": 7028,
- "end": 7029,
+ "start": 7037,
+ "end": 7038,
"loc": {
"start": {
"line": 210,
@@ -54716,8 +54716,8 @@
"binop": null
},
"value": "rooms",
- "start": 7029,
- "end": 7034,
+ "start": 7038,
+ "end": 7043,
"loc": {
"start": {
"line": 210,
@@ -54742,8 +54742,8 @@
"binop": null,
"updateContext": null
},
- "start": 7034,
- "end": 7035,
+ "start": 7043,
+ "end": 7044,
"loc": {
"start": {
"line": 210,
@@ -54768,8 +54768,8 @@
"binop": null
},
"value": "room",
- "start": 7035,
- "end": 7039,
+ "start": 7044,
+ "end": 7048,
"loc": {
"start": {
"line": 210,
@@ -54794,8 +54794,8 @@
"binop": null,
"updateContext": null
},
- "start": 7039,
- "end": 7040,
+ "start": 7048,
+ "end": 7049,
"loc": {
"start": {
"line": 210,
@@ -54820,8 +54820,8 @@
"binop": null,
"updateContext": null
},
- "start": 7040,
- "end": 7041,
+ "start": 7049,
+ "end": 7050,
"loc": {
"start": {
"line": 210,
@@ -54846,8 +54846,8 @@
"binop": null
},
"value": "players",
- "start": 7041,
- "end": 7048,
+ "start": 7050,
+ "end": 7057,
"loc": {
"start": {
"line": 210,
@@ -54871,8 +54871,8 @@
"postfix": false,
"binop": null
},
- "start": 7048,
- "end": 7049,
+ "start": 7057,
+ "end": 7058,
"loc": {
"start": {
"line": 210,
@@ -54897,8 +54897,8 @@
"binop": null,
"updateContext": null
},
- "start": 7049,
- "end": 7050,
+ "start": 7058,
+ "end": 7059,
"loc": {
"start": {
"line": 210,
@@ -54923,8 +54923,8 @@
"binop": null
},
"value": "length",
- "start": 7050,
- "end": 7056,
+ "start": 7059,
+ "end": 7065,
"loc": {
"start": {
"line": 210,
@@ -54950,8 +54950,8 @@
"updateContext": null
},
"value": "===",
- "start": 7057,
- "end": 7060,
+ "start": 7066,
+ "end": 7069,
"loc": {
"start": {
"line": 210,
@@ -54977,8 +54977,8 @@
"updateContext": null
},
"value": 0,
- "start": 7061,
- "end": 7062,
+ "start": 7070,
+ "end": 7071,
"loc": {
"start": {
"line": 210,
@@ -55002,8 +55002,8 @@
"postfix": false,
"binop": null
},
- "start": 7062,
- "end": 7063,
+ "start": 7071,
+ "end": 7072,
"loc": {
"start": {
"line": 210,
@@ -55027,8 +55027,8 @@
"postfix": false,
"binop": null
},
- "start": 7064,
- "end": 7065,
+ "start": 7073,
+ "end": 7074,
"loc": {
"start": {
"line": 210,
@@ -55053,8 +55053,8 @@
"binop": null
},
"value": "console",
- "start": 7069,
- "end": 7076,
+ "start": 7078,
+ "end": 7085,
"loc": {
"start": {
"line": 211,
@@ -55079,8 +55079,8 @@
"binop": null,
"updateContext": null
},
- "start": 7076,
- "end": 7077,
+ "start": 7085,
+ "end": 7086,
"loc": {
"start": {
"line": 211,
@@ -55105,8 +55105,8 @@
"binop": null
},
"value": "log",
- "start": 7077,
- "end": 7080,
+ "start": 7086,
+ "end": 7089,
"loc": {
"start": {
"line": 211,
@@ -55130,8 +55130,8 @@
"postfix": false,
"binop": null
},
- "start": 7080,
- "end": 7081,
+ "start": 7089,
+ "end": 7090,
"loc": {
"start": {
"line": 211,
@@ -55157,8 +55157,8 @@
"updateContext": null
},
"value": "[Server] ",
- "start": 7081,
- "end": 7092,
+ "start": 7090,
+ "end": 7101,
"loc": {
"start": {
"line": 211,
@@ -55183,8 +55183,8 @@
"binop": null,
"updateContext": null
},
- "start": 7092,
- "end": 7093,
+ "start": 7101,
+ "end": 7102,
"loc": {
"start": {
"line": 211,
@@ -55209,8 +55209,8 @@
"binop": null
},
"value": "bold",
- "start": 7093,
- "end": 7097,
+ "start": 7102,
+ "end": 7106,
"loc": {
"start": {
"line": 211,
@@ -55235,8 +55235,8 @@
"binop": null,
"updateContext": null
},
- "start": 7097,
- "end": 7098,
+ "start": 7106,
+ "end": 7107,
"loc": {
"start": {
"line": 211,
@@ -55261,8 +55261,8 @@
"binop": null
},
"value": "blue",
- "start": 7098,
- "end": 7102,
+ "start": 7107,
+ "end": 7111,
"loc": {
"start": {
"line": 211,
@@ -55288,8 +55288,8 @@
"updateContext": null
},
"value": "+",
- "start": 7103,
- "end": 7104,
+ "start": 7112,
+ "end": 7113,
"loc": {
"start": {
"line": 211,
@@ -55315,8 +55315,8 @@
"updateContext": null
},
"value": "Closing room ",
- "start": 7105,
- "end": 7120,
+ "start": 7114,
+ "end": 7129,
"loc": {
"start": {
"line": 211,
@@ -55341,8 +55341,8 @@
"binop": null,
"updateContext": null
},
- "start": 7120,
- "end": 7121,
+ "start": 7129,
+ "end": 7130,
"loc": {
"start": {
"line": 211,
@@ -55367,8 +55367,8 @@
"binop": null
},
"value": "red",
- "start": 7121,
- "end": 7124,
+ "start": 7130,
+ "end": 7133,
"loc": {
"start": {
"line": 211,
@@ -55394,8 +55394,8 @@
"updateContext": null
},
"value": "+",
- "start": 7125,
- "end": 7126,
+ "start": 7134,
+ "end": 7135,
"loc": {
"start": {
"line": 211,
@@ -55419,8 +55419,8 @@
"postfix": false,
"binop": null
},
- "start": 7127,
- "end": 7128,
+ "start": 7136,
+ "end": 7137,
"loc": {
"start": {
"line": 211,
@@ -55445,8 +55445,8 @@
"binop": null
},
"value": "room",
- "start": 7128,
- "end": 7132,
+ "start": 7137,
+ "end": 7141,
"loc": {
"start": {
"line": 211,
@@ -55472,8 +55472,8 @@
"updateContext": null
},
"value": "+",
- "start": 7133,
- "end": 7134,
+ "start": 7142,
+ "end": 7143,
"loc": {
"start": {
"line": 211,
@@ -55499,8 +55499,8 @@
"updateContext": null
},
"value": "",
- "start": 7135,
- "end": 7137,
+ "start": 7144,
+ "end": 7146,
"loc": {
"start": {
"line": 211,
@@ -55524,8 +55524,8 @@
"postfix": false,
"binop": null
},
- "start": 7137,
- "end": 7138,
+ "start": 7146,
+ "end": 7147,
"loc": {
"start": {
"line": 211,
@@ -55550,8 +55550,8 @@
"binop": null,
"updateContext": null
},
- "start": 7138,
- "end": 7139,
+ "start": 7147,
+ "end": 7148,
"loc": {
"start": {
"line": 211,
@@ -55576,8 +55576,8 @@
"binop": null
},
"value": "bold",
- "start": 7139,
- "end": 7143,
+ "start": 7148,
+ "end": 7152,
"loc": {
"start": {
"line": 211,
@@ -55602,8 +55602,8 @@
"binop": null,
"updateContext": null
},
- "start": 7143,
- "end": 7144,
+ "start": 7152,
+ "end": 7153,
"loc": {
"start": {
"line": 211,
@@ -55628,8 +55628,8 @@
"binop": null
},
"value": "red",
- "start": 7144,
- "end": 7147,
+ "start": 7153,
+ "end": 7156,
"loc": {
"start": {
"line": 211,
@@ -55653,8 +55653,8 @@
"postfix": false,
"binop": null
},
- "start": 7147,
- "end": 7148,
+ "start": 7156,
+ "end": 7157,
"loc": {
"start": {
"line": 211,
@@ -55681,8 +55681,8 @@
"updateContext": null
},
"value": "delete",
- "start": 7152,
- "end": 7158,
+ "start": 7161,
+ "end": 7167,
"loc": {
"start": {
"line": 212,
@@ -55707,8 +55707,8 @@
"binop": null
},
"value": "io",
- "start": 7159,
- "end": 7161,
+ "start": 7168,
+ "end": 7170,
"loc": {
"start": {
"line": 212,
@@ -55733,8 +55733,8 @@
"binop": null,
"updateContext": null
},
- "start": 7161,
- "end": 7162,
+ "start": 7170,
+ "end": 7171,
"loc": {
"start": {
"line": 212,
@@ -55759,8 +55759,8 @@
"binop": null
},
"value": "sockets",
- "start": 7162,
- "end": 7169,
+ "start": 7171,
+ "end": 7178,
"loc": {
"start": {
"line": 212,
@@ -55785,8 +55785,8 @@
"binop": null,
"updateContext": null
},
- "start": 7169,
- "end": 7170,
+ "start": 7178,
+ "end": 7179,
"loc": {
"start": {
"line": 212,
@@ -55811,8 +55811,8 @@
"binop": null
},
"value": "adapter",
- "start": 7170,
- "end": 7177,
+ "start": 7179,
+ "end": 7186,
"loc": {
"start": {
"line": 212,
@@ -55837,8 +55837,8 @@
"binop": null,
"updateContext": null
},
- "start": 7177,
- "end": 7178,
+ "start": 7186,
+ "end": 7187,
"loc": {
"start": {
"line": 212,
@@ -55863,8 +55863,8 @@
"binop": null
},
"value": "rooms",
- "start": 7178,
- "end": 7183,
+ "start": 7187,
+ "end": 7192,
"loc": {
"start": {
"line": 212,
@@ -55889,8 +55889,8 @@
"binop": null,
"updateContext": null
},
- "start": 7183,
- "end": 7184,
+ "start": 7192,
+ "end": 7193,
"loc": {
"start": {
"line": 212,
@@ -55915,8 +55915,8 @@
"binop": null
},
"value": "socket",
- "start": 7184,
- "end": 7190,
+ "start": 7193,
+ "end": 7199,
"loc": {
"start": {
"line": 212,
@@ -55941,8 +55941,8 @@
"binop": null,
"updateContext": null
},
- "start": 7190,
- "end": 7191,
+ "start": 7199,
+ "end": 7200,
"loc": {
"start": {
"line": 212,
@@ -55967,8 +55967,8 @@
"binop": null
},
"value": "id",
- "start": 7191,
- "end": 7193,
+ "start": 7200,
+ "end": 7202,
"loc": {
"start": {
"line": 212,
@@ -55993,8 +55993,8 @@
"binop": null,
"updateContext": null
},
- "start": 7193,
- "end": 7194,
+ "start": 7202,
+ "end": 7203,
"loc": {
"start": {
"line": 212,
@@ -56021,8 +56021,8 @@
"updateContext": null
},
"value": "delete",
- "start": 7198,
- "end": 7204,
+ "start": 7207,
+ "end": 7213,
"loc": {
"start": {
"line": 213,
@@ -56047,8 +56047,8 @@
"binop": null
},
"value": "rooms",
- "start": 7205,
- "end": 7210,
+ "start": 7214,
+ "end": 7219,
"loc": {
"start": {
"line": 213,
@@ -56073,8 +56073,8 @@
"binop": null,
"updateContext": null
},
- "start": 7210,
- "end": 7211,
+ "start": 7219,
+ "end": 7220,
"loc": {
"start": {
"line": 213,
@@ -56099,8 +56099,8 @@
"binop": null
},
"value": "room",
- "start": 7211,
- "end": 7215,
+ "start": 7220,
+ "end": 7224,
"loc": {
"start": {
"line": 213,
@@ -56125,8 +56125,8 @@
"binop": null,
"updateContext": null
},
- "start": 7215,
- "end": 7216,
+ "start": 7224,
+ "end": 7225,
"loc": {
"start": {
"line": 213,
@@ -56153,8 +56153,8 @@
"updateContext": null
},
"value": "if",
- "start": 7221,
- "end": 7223,
+ "start": 7230,
+ "end": 7232,
"loc": {
"start": {
"line": 215,
@@ -56178,8 +56178,8 @@
"postfix": false,
"binop": null
},
- "start": 7224,
- "end": 7225,
+ "start": 7233,
+ "end": 7234,
"loc": {
"start": {
"line": 215,
@@ -56204,8 +56204,8 @@
"binop": null
},
"value": "room",
- "start": 7225,
- "end": 7229,
+ "start": 7234,
+ "end": 7238,
"loc": {
"start": {
"line": 215,
@@ -56231,8 +56231,8 @@
"updateContext": null
},
"value": "!==",
- "start": 7230,
- "end": 7233,
+ "start": 7239,
+ "end": 7242,
"loc": {
"start": {
"line": 215,
@@ -56257,8 +56257,8 @@
"binop": null
},
"value": "GLOBAL",
- "start": 7234,
- "end": 7240,
+ "start": 7243,
+ "end": 7249,
"loc": {
"start": {
"line": 215,
@@ -56283,8 +56283,8 @@
"binop": null,
"updateContext": null
},
- "start": 7240,
- "end": 7241,
+ "start": 7249,
+ "end": 7250,
"loc": {
"start": {
"line": 215,
@@ -56309,8 +56309,8 @@
"binop": null
},
"value": "NO_ROOM_IDENTIFIER",
- "start": 7241,
- "end": 7259,
+ "start": 7250,
+ "end": 7268,
"loc": {
"start": {
"line": 215,
@@ -56334,8 +56334,8 @@
"postfix": false,
"binop": null
},
- "start": 7259,
- "end": 7260,
+ "start": 7268,
+ "end": 7269,
"loc": {
"start": {
"line": 215,
@@ -56359,8 +56359,8 @@
"postfix": false,
"binop": null
},
- "start": 7261,
- "end": 7262,
+ "start": 7270,
+ "end": 7271,
"loc": {
"start": {
"line": 215,
@@ -56375,8 +56375,8 @@
{
"type": "CommentLine",
"value": " Remove from teams array",
- "start": 7267,
- "end": 7293,
+ "start": 7276,
+ "end": 7302,
"loc": {
"start": {
"line": 216,
@@ -56401,8 +56401,8 @@
"binop": null
},
"value": "teams",
- "start": 7298,
- "end": 7303,
+ "start": 7307,
+ "end": 7312,
"loc": {
"start": {
"line": 217,
@@ -56427,8 +56427,8 @@
"binop": null,
"updateContext": null
},
- "start": 7303,
- "end": 7304,
+ "start": 7312,
+ "end": 7313,
"loc": {
"start": {
"line": 217,
@@ -56453,8 +56453,8 @@
"binop": null
},
"value": "team",
- "start": 7304,
- "end": 7308,
+ "start": 7313,
+ "end": 7317,
"loc": {
"start": {
"line": 217,
@@ -56479,8 +56479,8 @@
"binop": null,
"updateContext": null
},
- "start": 7308,
- "end": 7309,
+ "start": 7317,
+ "end": 7318,
"loc": {
"start": {
"line": 217,
@@ -56505,8 +56505,8 @@
"binop": null,
"updateContext": null
},
- "start": 7309,
- "end": 7310,
+ "start": 7318,
+ "end": 7319,
"loc": {
"start": {
"line": 217,
@@ -56531,8 +56531,8 @@
"binop": null
},
"value": "players",
- "start": 7310,
- "end": 7317,
+ "start": 7319,
+ "end": 7326,
"loc": {
"start": {
"line": 217,
@@ -56557,8 +56557,8 @@
"binop": null,
"updateContext": null
},
- "start": 7317,
- "end": 7318,
+ "start": 7326,
+ "end": 7327,
"loc": {
"start": {
"line": 217,
@@ -56583,8 +56583,8 @@
"binop": null
},
"value": "splice",
- "start": 7318,
- "end": 7324,
+ "start": 7327,
+ "end": 7333,
"loc": {
"start": {
"line": 217,
@@ -56608,8 +56608,8 @@
"postfix": false,
"binop": null
},
- "start": 7324,
- "end": 7325,
+ "start": 7333,
+ "end": 7334,
"loc": {
"start": {
"line": 217,
@@ -56634,8 +56634,8 @@
"binop": null
},
"value": "teams",
- "start": 7325,
- "end": 7330,
+ "start": 7334,
+ "end": 7339,
"loc": {
"start": {
"line": 217,
@@ -56660,8 +56660,8 @@
"binop": null,
"updateContext": null
},
- "start": 7330,
- "end": 7331,
+ "start": 7339,
+ "end": 7340,
"loc": {
"start": {
"line": 217,
@@ -56686,8 +56686,8 @@
"binop": null
},
"value": "team",
- "start": 7331,
- "end": 7335,
+ "start": 7340,
+ "end": 7344,
"loc": {
"start": {
"line": 217,
@@ -56712,8 +56712,8 @@
"binop": null,
"updateContext": null
},
- "start": 7335,
- "end": 7336,
+ "start": 7344,
+ "end": 7345,
"loc": {
"start": {
"line": 217,
@@ -56738,8 +56738,8 @@
"binop": null,
"updateContext": null
},
- "start": 7336,
- "end": 7337,
+ "start": 7345,
+ "end": 7346,
"loc": {
"start": {
"line": 217,
@@ -56764,8 +56764,8 @@
"binop": null
},
"value": "players",
- "start": 7337,
- "end": 7344,
+ "start": 7346,
+ "end": 7353,
"loc": {
"start": {
"line": 217,
@@ -56790,8 +56790,8 @@
"binop": null,
"updateContext": null
},
- "start": 7344,
- "end": 7345,
+ "start": 7353,
+ "end": 7354,
"loc": {
"start": {
"line": 217,
@@ -56816,8 +56816,8 @@
"binop": null
},
"value": "indexOf",
- "start": 7345,
- "end": 7352,
+ "start": 7354,
+ "end": 7361,
"loc": {
"start": {
"line": 217,
@@ -56841,8 +56841,8 @@
"postfix": false,
"binop": null
},
- "start": 7352,
- "end": 7353,
+ "start": 7361,
+ "end": 7362,
"loc": {
"start": {
"line": 217,
@@ -56867,8 +56867,8 @@
"binop": null
},
"value": "socket",
- "start": 7353,
- "end": 7359,
+ "start": 7362,
+ "end": 7368,
"loc": {
"start": {
"line": 217,
@@ -56893,8 +56893,8 @@
"binop": null,
"updateContext": null
},
- "start": 7359,
- "end": 7360,
+ "start": 7368,
+ "end": 7369,
"loc": {
"start": {
"line": 217,
@@ -56919,8 +56919,8 @@
"binop": null
},
"value": "id",
- "start": 7360,
- "end": 7362,
+ "start": 7369,
+ "end": 7371,
"loc": {
"start": {
"line": 217,
@@ -56944,8 +56944,8 @@
"postfix": false,
"binop": null
},
- "start": 7362,
- "end": 7363,
+ "start": 7371,
+ "end": 7372,
"loc": {
"start": {
"line": 217,
@@ -56970,8 +56970,8 @@
"binop": null,
"updateContext": null
},
- "start": 7363,
- "end": 7364,
+ "start": 7372,
+ "end": 7373,
"loc": {
"start": {
"line": 217,
@@ -56997,8 +56997,8 @@
"updateContext": null
},
"value": 1,
- "start": 7365,
- "end": 7366,
+ "start": 7374,
+ "end": 7375,
"loc": {
"start": {
"line": 217,
@@ -57022,8 +57022,8 @@
"postfix": false,
"binop": null
},
- "start": 7366,
- "end": 7367,
+ "start": 7375,
+ "end": 7376,
"loc": {
"start": {
"line": 217,
@@ -57038,8 +57038,8 @@
{
"type": "CommentLine",
"value": " rooms[room].teams[team].players.splice(rooms[room].teams[team].players.indexOf(socket.id), 1);",
- "start": 7372,
- "end": 7469,
+ "start": 7381,
+ "end": 7478,
"loc": {
"start": {
"line": 218,
@@ -57054,8 +57054,8 @@
{
"type": "CommentLine",
"value": " Delete team if all players have left",
- "start": 7475,
- "end": 7514,
+ "start": 7484,
+ "end": 7523,
"loc": {
"start": {
"line": 220,
@@ -57082,8 +57082,8 @@
"updateContext": null
},
"value": "if",
- "start": 7519,
- "end": 7521,
+ "start": 7528,
+ "end": 7530,
"loc": {
"start": {
"line": 221,
@@ -57107,8 +57107,8 @@
"postfix": false,
"binop": null
},
- "start": 7522,
- "end": 7523,
+ "start": 7531,
+ "end": 7532,
"loc": {
"start": {
"line": 221,
@@ -57133,8 +57133,8 @@
"binop": null
},
"value": "teams",
- "start": 7523,
- "end": 7528,
+ "start": 7532,
+ "end": 7537,
"loc": {
"start": {
"line": 221,
@@ -57159,8 +57159,8 @@
"binop": null,
"updateContext": null
},
- "start": 7528,
- "end": 7529,
+ "start": 7537,
+ "end": 7538,
"loc": {
"start": {
"line": 221,
@@ -57185,8 +57185,8 @@
"binop": null
},
"value": "team",
- "start": 7529,
- "end": 7533,
+ "start": 7538,
+ "end": 7542,
"loc": {
"start": {
"line": 221,
@@ -57211,8 +57211,8 @@
"binop": null,
"updateContext": null
},
- "start": 7533,
- "end": 7534,
+ "start": 7542,
+ "end": 7543,
"loc": {
"start": {
"line": 221,
@@ -57237,8 +57237,8 @@
"binop": null,
"updateContext": null
},
- "start": 7534,
- "end": 7535,
+ "start": 7543,
+ "end": 7544,
"loc": {
"start": {
"line": 221,
@@ -57263,8 +57263,8 @@
"binop": null
},
"value": "players",
- "start": 7535,
- "end": 7542,
+ "start": 7544,
+ "end": 7551,
"loc": {
"start": {
"line": 221,
@@ -57289,8 +57289,8 @@
"binop": null,
"updateContext": null
},
- "start": 7542,
- "end": 7543,
+ "start": 7551,
+ "end": 7552,
"loc": {
"start": {
"line": 221,
@@ -57315,8 +57315,8 @@
"binop": null
},
"value": "length",
- "start": 7543,
- "end": 7549,
+ "start": 7552,
+ "end": 7558,
"loc": {
"start": {
"line": 221,
@@ -57342,8 +57342,8 @@
"updateContext": null
},
"value": "===",
- "start": 7550,
- "end": 7553,
+ "start": 7559,
+ "end": 7562,
"loc": {
"start": {
"line": 221,
@@ -57369,8 +57369,8 @@
"updateContext": null
},
"value": 0,
- "start": 7554,
- "end": 7555,
+ "start": 7563,
+ "end": 7564,
"loc": {
"start": {
"line": 221,
@@ -57394,8 +57394,8 @@
"postfix": false,
"binop": null
},
- "start": 7555,
- "end": 7556,
+ "start": 7564,
+ "end": 7565,
"loc": {
"start": {
"line": 221,
@@ -57419,8 +57419,8 @@
"postfix": false,
"binop": null
},
- "start": 7557,
- "end": 7558,
+ "start": 7566,
+ "end": 7567,
"loc": {
"start": {
"line": 221,
@@ -57447,8 +57447,8 @@
"updateContext": null
},
"value": "delete",
- "start": 7564,
- "end": 7570,
+ "start": 7573,
+ "end": 7579,
"loc": {
"start": {
"line": 222,
@@ -57473,8 +57473,8 @@
"binop": null
},
"value": "teams",
- "start": 7571,
- "end": 7576,
+ "start": 7580,
+ "end": 7585,
"loc": {
"start": {
"line": 222,
@@ -57499,8 +57499,8 @@
"binop": null,
"updateContext": null
},
- "start": 7576,
- "end": 7577,
+ "start": 7585,
+ "end": 7586,
"loc": {
"start": {
"line": 222,
@@ -57525,8 +57525,8 @@
"binop": null
},
"value": "team",
- "start": 7577,
- "end": 7581,
+ "start": 7586,
+ "end": 7590,
"loc": {
"start": {
"line": 222,
@@ -57551,8 +57551,8 @@
"binop": null,
"updateContext": null
},
- "start": 7581,
- "end": 7582,
+ "start": 7590,
+ "end": 7591,
"loc": {
"start": {
"line": 222,
@@ -57576,8 +57576,8 @@
"postfix": false,
"binop": null
},
- "start": 7587,
- "end": 7588,
+ "start": 7596,
+ "end": 7597,
"loc": {
"start": {
"line": 223,
@@ -57601,8 +57601,8 @@
"postfix": false,
"binop": null
},
- "start": 7592,
- "end": 7593,
+ "start": 7601,
+ "end": 7602,
"loc": {
"start": {
"line": 224,
@@ -57626,8 +57626,8 @@
"postfix": false,
"binop": null
},
- "start": 7596,
- "end": 7597,
+ "start": 7605,
+ "end": 7606,
"loc": {
"start": {
"line": 225,
@@ -57651,8 +57651,8 @@
"postfix": false,
"binop": null
},
- "start": 7599,
- "end": 7600,
+ "start": 7608,
+ "end": 7609,
"loc": {
"start": {
"line": 226,
@@ -57676,8 +57676,8 @@
"postfix": false,
"binop": null
},
- "start": 7600,
- "end": 7601,
+ "start": 7609,
+ "end": 7610,
"loc": {
"start": {
"line": 226,
@@ -57701,8 +57701,8 @@
"postfix": false,
"binop": null
},
- "start": 7602,
- "end": 7603,
+ "start": 7611,
+ "end": 7612,
"loc": {
"start": {
"line": 227,
@@ -57726,8 +57726,8 @@
"postfix": false,
"binop": null
},
- "start": 7603,
- "end": 7604,
+ "start": 7612,
+ "end": 7613,
"loc": {
"start": {
"line": 227,
@@ -57742,8 +57742,8 @@
{
"type": "CommentLine",
"value": " Notify on console when server has started",
- "start": 7606,
- "end": 7650,
+ "start": 7615,
+ "end": 7659,
"loc": {
"start": {
"line": 229,
@@ -57770,8 +57770,8 @@
"updateContext": null
},
"value": "const",
- "start": 7651,
- "end": 7656,
+ "start": 7660,
+ "end": 7665,
"loc": {
"start": {
"line": 230,
@@ -57796,8 +57796,8 @@
"binop": null
},
"value": "serverPort",
- "start": 7657,
- "end": 7667,
+ "start": 7666,
+ "end": 7676,
"loc": {
"start": {
"line": 230,
@@ -57823,8 +57823,8 @@
"updateContext": null
},
"value": "=",
- "start": 7668,
- "end": 7669,
+ "start": 7677,
+ "end": 7678,
"loc": {
"start": {
"line": 230,
@@ -57849,8 +57849,8 @@
"binop": null
},
"value": "process",
- "start": 7670,
- "end": 7677,
+ "start": 7679,
+ "end": 7686,
"loc": {
"start": {
"line": 230,
@@ -57875,8 +57875,8 @@
"binop": null,
"updateContext": null
},
- "start": 7677,
- "end": 7678,
+ "start": 7686,
+ "end": 7687,
"loc": {
"start": {
"line": 230,
@@ -57901,8 +57901,8 @@
"binop": null
},
"value": "env",
- "start": 7678,
- "end": 7681,
+ "start": 7687,
+ "end": 7690,
"loc": {
"start": {
"line": 230,
@@ -57927,8 +57927,8 @@
"binop": null,
"updateContext": null
},
- "start": 7681,
- "end": 7682,
+ "start": 7690,
+ "end": 7691,
"loc": {
"start": {
"line": 230,
@@ -57953,8 +57953,8 @@
"binop": null
},
"value": "PORT",
- "start": 7682,
- "end": 7686,
+ "start": 7691,
+ "end": 7695,
"loc": {
"start": {
"line": 230,
@@ -57980,8 +57980,8 @@
"updateContext": null
},
"value": "||",
- "start": 7687,
- "end": 7689,
+ "start": 7696,
+ "end": 7698,
"loc": {
"start": {
"line": 230,
@@ -58006,8 +58006,8 @@
"binop": null
},
"value": "config",
- "start": 7690,
- "end": 7696,
+ "start": 7699,
+ "end": 7705,
"loc": {
"start": {
"line": 230,
@@ -58032,8 +58032,8 @@
"binop": null,
"updateContext": null
},
- "start": 7696,
- "end": 7697,
+ "start": 7705,
+ "end": 7706,
"loc": {
"start": {
"line": 230,
@@ -58058,8 +58058,8 @@
"binop": null
},
"value": "port",
- "start": 7697,
- "end": 7701,
+ "start": 7706,
+ "end": 7710,
"loc": {
"start": {
"line": 230,
@@ -58084,8 +58084,8 @@
"binop": null
},
"value": "http",
- "start": 7702,
- "end": 7706,
+ "start": 7711,
+ "end": 7715,
"loc": {
"start": {
"line": 231,
@@ -58110,8 +58110,8 @@
"binop": null,
"updateContext": null
},
- "start": 7706,
- "end": 7707,
+ "start": 7715,
+ "end": 7716,
"loc": {
"start": {
"line": 231,
@@ -58136,8 +58136,8 @@
"binop": null
},
"value": "listen",
- "start": 7707,
- "end": 7713,
+ "start": 7716,
+ "end": 7722,
"loc": {
"start": {
"line": 231,
@@ -58161,8 +58161,8 @@
"postfix": false,
"binop": null
},
- "start": 7713,
- "end": 7714,
+ "start": 7722,
+ "end": 7723,
"loc": {
"start": {
"line": 231,
@@ -58187,8 +58187,8 @@
"binop": null
},
"value": "serverPort",
- "start": 7714,
- "end": 7724,
+ "start": 7723,
+ "end": 7733,
"loc": {
"start": {
"line": 231,
@@ -58213,8 +58213,8 @@
"binop": null,
"updateContext": null
},
- "start": 7724,
- "end": 7725,
+ "start": 7733,
+ "end": 7734,
"loc": {
"start": {
"line": 231,
@@ -58238,8 +58238,8 @@
"postfix": false,
"binop": null
},
- "start": 7726,
- "end": 7727,
+ "start": 7735,
+ "end": 7736,
"loc": {
"start": {
"line": 231,
@@ -58263,8 +58263,8 @@
"postfix": false,
"binop": null
},
- "start": 7727,
- "end": 7728,
+ "start": 7736,
+ "end": 7737,
"loc": {
"start": {
"line": 231,
@@ -58289,8 +58289,8 @@
"binop": null,
"updateContext": null
},
- "start": 7729,
- "end": 7731,
+ "start": 7738,
+ "end": 7740,
"loc": {
"start": {
"line": 231,
@@ -58314,8 +58314,8 @@
"postfix": false,
"binop": null
},
- "start": 7732,
- "end": 7733,
+ "start": 7741,
+ "end": 7742,
"loc": {
"start": {
"line": 231,
@@ -58340,8 +58340,8 @@
"binop": null
},
"value": "rooms",
- "start": 7735,
- "end": 7740,
+ "start": 7744,
+ "end": 7749,
"loc": {
"start": {
"line": 232,
@@ -58367,8 +58367,8 @@
"updateContext": null
},
"value": "=",
- "start": 7741,
- "end": 7742,
+ "start": 7750,
+ "end": 7751,
"loc": {
"start": {
"line": 232,
@@ -58392,8 +58392,8 @@
"postfix": false,
"binop": null
},
- "start": 7743,
- "end": 7744,
+ "start": 7752,
+ "end": 7753,
"loc": {
"start": {
"line": 232,
@@ -58417,8 +58417,8 @@
"postfix": false,
"binop": null
},
- "start": 7744,
- "end": 7745,
+ "start": 7753,
+ "end": 7754,
"loc": {
"start": {
"line": 232,
@@ -58443,8 +58443,8 @@
"binop": null
},
"value": "console",
- "start": 7747,
- "end": 7754,
+ "start": 7756,
+ "end": 7763,
"loc": {
"start": {
"line": 233,
@@ -58469,8 +58469,8 @@
"binop": null,
"updateContext": null
},
- "start": 7754,
- "end": 7755,
+ "start": 7763,
+ "end": 7764,
"loc": {
"start": {
"line": 233,
@@ -58495,8 +58495,8 @@
"binop": null
},
"value": "log",
- "start": 7755,
- "end": 7758,
+ "start": 7764,
+ "end": 7767,
"loc": {
"start": {
"line": 233,
@@ -58520,8 +58520,8 @@
"postfix": false,
"binop": null
},
- "start": 7758,
- "end": 7759,
+ "start": 7767,
+ "end": 7768,
"loc": {
"start": {
"line": 233,
@@ -58547,8 +58547,8 @@
"updateContext": null
},
"value": "[Server] ",
- "start": 7759,
- "end": 7770,
+ "start": 7768,
+ "end": 7779,
"loc": {
"start": {
"line": 233,
@@ -58573,8 +58573,8 @@
"binop": null,
"updateContext": null
},
- "start": 7770,
- "end": 7771,
+ "start": 7779,
+ "end": 7780,
"loc": {
"start": {
"line": 233,
@@ -58599,8 +58599,8 @@
"binop": null
},
"value": "bold",
- "start": 7771,
- "end": 7775,
+ "start": 7780,
+ "end": 7784,
"loc": {
"start": {
"line": 233,
@@ -58625,8 +58625,8 @@
"binop": null,
"updateContext": null
},
- "start": 7775,
- "end": 7776,
+ "start": 7784,
+ "end": 7785,
"loc": {
"start": {
"line": 233,
@@ -58651,8 +58651,8 @@
"binop": null
},
"value": "blue",
- "start": 7776,
- "end": 7780,
+ "start": 7785,
+ "end": 7789,
"loc": {
"start": {
"line": 233,
@@ -58678,8 +58678,8 @@
"updateContext": null
},
"value": "+",
- "start": 7781,
- "end": 7782,
+ "start": 7790,
+ "end": 7791,
"loc": {
"start": {
"line": 233,
@@ -58703,8 +58703,8 @@
"postfix": false,
"binop": null
},
- "start": 7783,
- "end": 7784,
+ "start": 7792,
+ "end": 7793,
"loc": {
"start": {
"line": 233,
@@ -58730,8 +58730,8 @@
"updateContext": null
},
"value": "started on port: ",
- "start": 7784,
- "end": 7801,
+ "start": 7793,
+ "end": 7810,
"loc": {
"start": {
"line": 233,
@@ -58755,8 +58755,8 @@
"postfix": false,
"binop": null
},
- "start": 7801,
- "end": 7803,
+ "start": 7810,
+ "end": 7812,
"loc": {
"start": {
"line": 233,
@@ -58781,8 +58781,8 @@
"binop": null
},
"value": "serverPort",
- "start": 7803,
- "end": 7813,
+ "start": 7812,
+ "end": 7822,
"loc": {
"start": {
"line": 233,
@@ -58806,8 +58806,8 @@
"postfix": false,
"binop": null
},
- "start": 7813,
- "end": 7814,
+ "start": 7822,
+ "end": 7823,
"loc": {
"start": {
"line": 233,
@@ -58833,8 +58833,8 @@
"updateContext": null
},
"value": "",
- "start": 7814,
- "end": 7814,
+ "start": 7823,
+ "end": 7823,
"loc": {
"start": {
"line": 233,
@@ -58858,8 +58858,8 @@
"postfix": false,
"binop": null
},
- "start": 7814,
- "end": 7815,
+ "start": 7823,
+ "end": 7824,
"loc": {
"start": {
"line": 233,
@@ -58884,8 +58884,8 @@
"binop": null,
"updateContext": null
},
- "start": 7815,
- "end": 7816,
+ "start": 7824,
+ "end": 7825,
"loc": {
"start": {
"line": 233,
@@ -58910,8 +58910,8 @@
"binop": null
},
"value": "blue",
- "start": 7816,
- "end": 7820,
+ "start": 7825,
+ "end": 7829,
"loc": {
"start": {
"line": 233,
@@ -58935,8 +58935,8 @@
"postfix": false,
"binop": null
},
- "start": 7820,
- "end": 7821,
+ "start": 7829,
+ "end": 7830,
"loc": {
"start": {
"line": 233,
@@ -58960,8 +58960,8 @@
"postfix": false,
"binop": null
},
- "start": 7822,
- "end": 7823,
+ "start": 7831,
+ "end": 7832,
"loc": {
"start": {
"line": 234,
@@ -58985,8 +58985,8 @@
"postfix": false,
"binop": null
},
- "start": 7823,
- "end": 7824,
+ "start": 7832,
+ "end": 7833,
"loc": {
"start": {
"line": 234,
@@ -59001,8 +59001,8 @@
{
"type": "CommentBlock",
"value": "*\n * Sets a new value for a protected server field.\n * Adopted from https://stackoverflow.com/questions/18936915/dynamically-set-property-of-nested-object\n * @param {*} value The value to set\n * @param {*} path Array containing all of the subobject identifiers, with the 0th index being the lowest level.\n * Example: rooms.myRoom.players could be accessed through a path value of ['rooms', 'myRoom', 'players']\n ",
- "start": 7826,
- "end": 8258,
+ "start": 7835,
+ "end": 8267,
"loc": {
"start": {
"line": 236,
@@ -59029,8 +59029,8 @@
"updateContext": null
},
"value": "export",
- "start": 8259,
- "end": 8265,
+ "start": 8268,
+ "end": 8274,
"loc": {
"start": {
"line": 243,
@@ -59056,8 +59056,8 @@
"binop": null
},
"value": "function",
- "start": 8266,
- "end": 8274,
+ "start": 8275,
+ "end": 8283,
"loc": {
"start": {
"line": 243,
@@ -59082,8 +59082,8 @@
"binop": null
},
"value": "setField",
- "start": 8275,
- "end": 8283,
+ "start": 8284,
+ "end": 8292,
"loc": {
"start": {
"line": 243,
@@ -59107,8 +59107,8 @@
"postfix": false,
"binop": null
},
- "start": 8284,
- "end": 8285,
+ "start": 8293,
+ "end": 8294,
"loc": {
"start": {
"line": 243,
@@ -59133,8 +59133,8 @@
"binop": null
},
"value": "value",
- "start": 8285,
- "end": 8290,
+ "start": 8294,
+ "end": 8299,
"loc": {
"start": {
"line": 243,
@@ -59159,8 +59159,8 @@
"binop": null,
"updateContext": null
},
- "start": 8290,
- "end": 8291,
+ "start": 8299,
+ "end": 8300,
"loc": {
"start": {
"line": 243,
@@ -59185,8 +59185,8 @@
"binop": null
},
"value": "path",
- "start": 8292,
- "end": 8296,
+ "start": 8301,
+ "end": 8305,
"loc": {
"start": {
"line": 243,
@@ -59210,8 +59210,8 @@
"postfix": false,
"binop": null
},
- "start": 8296,
- "end": 8297,
+ "start": 8305,
+ "end": 8306,
"loc": {
"start": {
"line": 243,
@@ -59235,8 +59235,8 @@
"postfix": false,
"binop": null
},
- "start": 8298,
- "end": 8299,
+ "start": 8307,
+ "end": 8308,
"loc": {
"start": {
"line": 243,
@@ -59263,8 +59263,8 @@
"updateContext": null
},
"value": "if",
- "start": 8301,
- "end": 8303,
+ "start": 8310,
+ "end": 8312,
"loc": {
"start": {
"line": 244,
@@ -59288,8 +59288,8 @@
"postfix": false,
"binop": null
},
- "start": 8304,
- "end": 8305,
+ "start": 8313,
+ "end": 8314,
"loc": {
"start": {
"line": 244,
@@ -59314,8 +59314,8 @@
"binop": null
},
"value": "path",
- "start": 8305,
- "end": 8309,
+ "start": 8314,
+ "end": 8318,
"loc": {
"start": {
"line": 244,
@@ -59341,8 +59341,8 @@
"updateContext": null
},
"value": "===",
- "start": 8310,
- "end": 8313,
+ "start": 8319,
+ "end": 8322,
"loc": {
"start": {
"line": 244,
@@ -59367,8 +59367,8 @@
"binop": null
},
"value": "undefined",
- "start": 8314,
- "end": 8323,
+ "start": 8323,
+ "end": 8332,
"loc": {
"start": {
"line": 244,
@@ -59394,8 +59394,8 @@
"updateContext": null
},
"value": "||",
- "start": 8324,
- "end": 8326,
+ "start": 8333,
+ "end": 8335,
"loc": {
"start": {
"line": 244,
@@ -59420,8 +59420,8 @@
"binop": null
},
"value": "path",
- "start": 8327,
- "end": 8331,
+ "start": 8336,
+ "end": 8340,
"loc": {
"start": {
"line": 244,
@@ -59446,8 +59446,8 @@
"binop": null,
"updateContext": null
},
- "start": 8331,
- "end": 8332,
+ "start": 8340,
+ "end": 8341,
"loc": {
"start": {
"line": 244,
@@ -59472,8 +59472,8 @@
"binop": null
},
"value": "length",
- "start": 8332,
- "end": 8338,
+ "start": 8341,
+ "end": 8347,
"loc": {
"start": {
"line": 244,
@@ -59499,8 +59499,8 @@
"updateContext": null
},
"value": "===",
- "start": 8339,
- "end": 8342,
+ "start": 8348,
+ "end": 8351,
"loc": {
"start": {
"line": 244,
@@ -59526,8 +59526,8 @@
"updateContext": null
},
"value": 0,
- "start": 8343,
- "end": 8344,
+ "start": 8352,
+ "end": 8353,
"loc": {
"start": {
"line": 244,
@@ -59551,8 +59551,8 @@
"postfix": false,
"binop": null
},
- "start": 8344,
- "end": 8345,
+ "start": 8353,
+ "end": 8354,
"loc": {
"start": {
"line": 244,
@@ -59576,8 +59576,8 @@
"postfix": false,
"binop": null
},
- "start": 8346,
- "end": 8347,
+ "start": 8355,
+ "end": 8356,
"loc": {
"start": {
"line": 244,
@@ -59604,8 +59604,8 @@
"updateContext": null
},
"value": "throw",
- "start": 8350,
- "end": 8355,
+ "start": 8359,
+ "end": 8364,
"loc": {
"start": {
"line": 245,
@@ -59632,8 +59632,8 @@
"updateContext": null
},
"value": "new",
- "start": 8356,
- "end": 8359,
+ "start": 8365,
+ "end": 8368,
"loc": {
"start": {
"line": 245,
@@ -59658,8 +59658,8 @@
"binop": null
},
"value": "Error",
- "start": 8360,
- "end": 8365,
+ "start": 8369,
+ "end": 8374,
"loc": {
"start": {
"line": 245,
@@ -59683,8 +59683,8 @@
"postfix": false,
"binop": null
},
- "start": 8365,
- "end": 8366,
+ "start": 8374,
+ "end": 8375,
"loc": {
"start": {
"line": 245,
@@ -59710,8 +59710,8 @@
"updateContext": null
},
"value": "Error in setField: path cannot be empty",
- "start": 8366,
- "end": 8407,
+ "start": 8375,
+ "end": 8416,
"loc": {
"start": {
"line": 245,
@@ -59735,8 +59735,8 @@
"postfix": false,
"binop": null
},
- "start": 8407,
- "end": 8408,
+ "start": 8416,
+ "end": 8417,
"loc": {
"start": {
"line": 245,
@@ -59760,8 +59760,8 @@
"postfix": false,
"binop": null
},
- "start": 8410,
- "end": 8411,
+ "start": 8419,
+ "end": 8420,
"loc": {
"start": {
"line": 246,
@@ -59788,8 +59788,8 @@
"updateContext": null
},
"value": "let",
- "start": 8414,
- "end": 8417,
+ "start": 8423,
+ "end": 8426,
"loc": {
"start": {
"line": 248,
@@ -59814,8 +59814,8 @@
"binop": null
},
"value": "schema",
- "start": 8418,
- "end": 8424,
+ "start": 8427,
+ "end": 8433,
"loc": {
"start": {
"line": 248,
@@ -59841,8 +59841,8 @@
"updateContext": null
},
"value": "=",
- "start": 8425,
- "end": 8426,
+ "start": 8434,
+ "end": 8435,
"loc": {
"start": {
"line": 248,
@@ -59866,8 +59866,8 @@
"postfix": false,
"binop": null
},
- "start": 8427,
- "end": 8428,
+ "start": 8436,
+ "end": 8437,
"loc": {
"start": {
"line": 248,
@@ -59892,8 +59892,8 @@
"binop": null
},
"value": "path",
- "start": 8428,
- "end": 8432,
+ "start": 8437,
+ "end": 8441,
"loc": {
"start": {
"line": 248,
@@ -59918,8 +59918,8 @@
"binop": null,
"updateContext": null
},
- "start": 8432,
- "end": 8433,
+ "start": 8441,
+ "end": 8442,
"loc": {
"start": {
"line": 248,
@@ -59945,8 +59945,8 @@
"updateContext": null
},
"value": 0,
- "start": 8433,
- "end": 8434,
+ "start": 8442,
+ "end": 8443,
"loc": {
"start": {
"line": 248,
@@ -59971,8 +59971,8 @@
"binop": null,
"updateContext": null
},
- "start": 8434,
- "end": 8435,
+ "start": 8443,
+ "end": 8444,
"loc": {
"start": {
"line": 248,
@@ -59998,8 +59998,8 @@
"updateContext": null
},
"value": "===",
- "start": 8436,
- "end": 8439,
+ "start": 8445,
+ "end": 8448,
"loc": {
"start": {
"line": 248,
@@ -60025,8 +60025,8 @@
"updateContext": null
},
"value": "rooms",
- "start": 8440,
- "end": 8447,
+ "start": 8449,
+ "end": 8456,
"loc": {
"start": {
"line": 248,
@@ -60050,8 +60050,8 @@
"postfix": false,
"binop": null
},
- "start": 8447,
- "end": 8448,
+ "start": 8456,
+ "end": 8457,
"loc": {
"start": {
"line": 248,
@@ -60076,8 +60076,8 @@
"binop": null,
"updateContext": null
},
- "start": 8449,
- "end": 8450,
+ "start": 8458,
+ "end": 8459,
"loc": {
"start": {
"line": 248,
@@ -60102,8 +60102,8 @@
"binop": null
},
"value": "rooms",
- "start": 8451,
- "end": 8456,
+ "start": 8460,
+ "end": 8465,
"loc": {
"start": {
"line": 248,
@@ -60128,8 +60128,8 @@
"binop": null,
"updateContext": null
},
- "start": 8457,
- "end": 8458,
+ "start": 8466,
+ "end": 8467,
"loc": {
"start": {
"line": 248,
@@ -60153,8 +60153,8 @@
"postfix": false,
"binop": null
},
- "start": 8459,
- "end": 8460,
+ "start": 8468,
+ "end": 8469,
"loc": {
"start": {
"line": 248,
@@ -60179,8 +60179,8 @@
"binop": null
},
"value": "path",
- "start": 8460,
- "end": 8464,
+ "start": 8469,
+ "end": 8473,
"loc": {
"start": {
"line": 248,
@@ -60205,8 +60205,8 @@
"binop": null,
"updateContext": null
},
- "start": 8464,
- "end": 8465,
+ "start": 8473,
+ "end": 8474,
"loc": {
"start": {
"line": 248,
@@ -60232,8 +60232,8 @@
"updateContext": null
},
"value": 0,
- "start": 8465,
- "end": 8466,
+ "start": 8474,
+ "end": 8475,
"loc": {
"start": {
"line": 248,
@@ -60258,8 +60258,8 @@
"binop": null,
"updateContext": null
},
- "start": 8466,
- "end": 8467,
+ "start": 8475,
+ "end": 8476,
"loc": {
"start": {
"line": 248,
@@ -60285,8 +60285,8 @@
"updateContext": null
},
"value": "===",
- "start": 8468,
- "end": 8471,
+ "start": 8477,
+ "end": 8480,
"loc": {
"start": {
"line": 248,
@@ -60312,8 +60312,8 @@
"updateContext": null
},
"value": "teams",
- "start": 8472,
- "end": 8479,
+ "start": 8481,
+ "end": 8488,
"loc": {
"start": {
"line": 248,
@@ -60337,8 +60337,8 @@
"postfix": false,
"binop": null
},
- "start": 8479,
- "end": 8480,
+ "start": 8488,
+ "end": 8489,
"loc": {
"start": {
"line": 248,
@@ -60363,8 +60363,8 @@
"binop": null,
"updateContext": null
},
- "start": 8481,
- "end": 8482,
+ "start": 8490,
+ "end": 8491,
"loc": {
"start": {
"line": 248,
@@ -60389,8 +60389,8 @@
"binop": null
},
"value": "teams",
- "start": 8483,
- "end": 8488,
+ "start": 8492,
+ "end": 8497,
"loc": {
"start": {
"line": 248,
@@ -60415,8 +60415,8 @@
"binop": null,
"updateContext": null
},
- "start": 8489,
- "end": 8490,
+ "start": 8498,
+ "end": 8499,
"loc": {
"start": {
"line": 248,
@@ -60441,8 +60441,8 @@
"binop": null
},
"value": "undefined",
- "start": 8491,
- "end": 8500,
+ "start": 8500,
+ "end": 8509,
"loc": {
"start": {
"line": 248,
@@ -60469,8 +60469,8 @@
"updateContext": null
},
"value": "if",
- "start": 8502,
- "end": 8504,
+ "start": 8511,
+ "end": 8513,
"loc": {
"start": {
"line": 249,
@@ -60494,8 +60494,8 @@
"postfix": false,
"binop": null
},
- "start": 8505,
- "end": 8506,
+ "start": 8514,
+ "end": 8515,
"loc": {
"start": {
"line": 249,
@@ -60520,8 +60520,8 @@
"binop": null
},
"value": "schema",
- "start": 8506,
- "end": 8512,
+ "start": 8515,
+ "end": 8521,
"loc": {
"start": {
"line": 249,
@@ -60547,8 +60547,8 @@
"updateContext": null
},
"value": "===",
- "start": 8513,
- "end": 8516,
+ "start": 8522,
+ "end": 8525,
"loc": {
"start": {
"line": 249,
@@ -60573,8 +60573,8 @@
"binop": null
},
"value": "undefined",
- "start": 8517,
- "end": 8526,
+ "start": 8526,
+ "end": 8535,
"loc": {
"start": {
"line": 249,
@@ -60598,8 +60598,8 @@
"postfix": false,
"binop": null
},
- "start": 8526,
- "end": 8527,
+ "start": 8535,
+ "end": 8536,
"loc": {
"start": {
"line": 249,
@@ -60623,8 +60623,8 @@
"postfix": false,
"binop": null
},
- "start": 8528,
- "end": 8529,
+ "start": 8537,
+ "end": 8538,
"loc": {
"start": {
"line": 249,
@@ -60651,8 +60651,8 @@
"updateContext": null
},
"value": "throw",
- "start": 8532,
- "end": 8537,
+ "start": 8541,
+ "end": 8546,
"loc": {
"start": {
"line": 250,
@@ -60679,8 +60679,8 @@
"updateContext": null
},
"value": "new",
- "start": 8538,
- "end": 8541,
+ "start": 8547,
+ "end": 8550,
"loc": {
"start": {
"line": 250,
@@ -60705,8 +60705,8 @@
"binop": null
},
"value": "Error",
- "start": 8542,
- "end": 8547,
+ "start": 8551,
+ "end": 8556,
"loc": {
"start": {
"line": 250,
@@ -60730,8 +60730,8 @@
"postfix": false,
"binop": null
},
- "start": 8547,
- "end": 8548,
+ "start": 8556,
+ "end": 8557,
"loc": {
"start": {
"line": 250,
@@ -60757,8 +60757,8 @@
"updateContext": null
},
"value": "Base object ",
- "start": 8548,
- "end": 8562,
+ "start": 8557,
+ "end": 8571,
"loc": {
"start": {
"line": 250,
@@ -60784,8 +60784,8 @@
"updateContext": null
},
"value": "+",
- "start": 8563,
- "end": 8564,
+ "start": 8572,
+ "end": 8573,
"loc": {
"start": {
"line": 250,
@@ -60810,8 +60810,8 @@
"binop": null
},
"value": "path",
- "start": 8565,
- "end": 8569,
+ "start": 8574,
+ "end": 8578,
"loc": {
"start": {
"line": 250,
@@ -60836,8 +60836,8 @@
"binop": null,
"updateContext": null
},
- "start": 8569,
- "end": 8570,
+ "start": 8578,
+ "end": 8579,
"loc": {
"start": {
"line": 250,
@@ -60863,8 +60863,8 @@
"updateContext": null
},
"value": 0,
- "start": 8570,
- "end": 8571,
+ "start": 8579,
+ "end": 8580,
"loc": {
"start": {
"line": 250,
@@ -60889,8 +60889,8 @@
"binop": null,
"updateContext": null
},
- "start": 8571,
- "end": 8572,
+ "start": 8580,
+ "end": 8581,
"loc": {
"start": {
"line": 250,
@@ -60916,8 +60916,8 @@
"updateContext": null
},
"value": "+",
- "start": 8573,
- "end": 8574,
+ "start": 8582,
+ "end": 8583,
"loc": {
"start": {
"line": 250,
@@ -60943,8 +60943,8 @@
"updateContext": null
},
"value": " does not exist!",
- "start": 8575,
- "end": 8593,
+ "start": 8584,
+ "end": 8602,
"loc": {
"start": {
"line": 250,
@@ -60968,8 +60968,8 @@
"postfix": false,
"binop": null
},
- "start": 8593,
- "end": 8594,
+ "start": 8602,
+ "end": 8603,
"loc": {
"start": {
"line": 250,
@@ -60993,8 +60993,8 @@
"postfix": false,
"binop": null
},
- "start": 8596,
- "end": 8597,
+ "start": 8605,
+ "end": 8606,
"loc": {
"start": {
"line": 251,
@@ -61021,8 +61021,8 @@
"updateContext": null
},
"value": "let",
- "start": 8600,
- "end": 8603,
+ "start": 8609,
+ "end": 8612,
"loc": {
"start": {
"line": 253,
@@ -61047,8 +61047,8 @@
"binop": null
},
"value": "len",
- "start": 8604,
- "end": 8607,
+ "start": 8613,
+ "end": 8616,
"loc": {
"start": {
"line": 253,
@@ -61074,8 +61074,8 @@
"updateContext": null
},
"value": "=",
- "start": 8608,
- "end": 8609,
+ "start": 8617,
+ "end": 8618,
"loc": {
"start": {
"line": 253,
@@ -61100,8 +61100,8 @@
"binop": null
},
"value": "path",
- "start": 8610,
- "end": 8614,
+ "start": 8619,
+ "end": 8623,
"loc": {
"start": {
"line": 253,
@@ -61126,8 +61126,8 @@
"binop": null,
"updateContext": null
},
- "start": 8614,
- "end": 8615,
+ "start": 8623,
+ "end": 8624,
"loc": {
"start": {
"line": 253,
@@ -61152,8 +61152,8 @@
"binop": null
},
"value": "length",
- "start": 8615,
- "end": 8621,
+ "start": 8624,
+ "end": 8630,
"loc": {
"start": {
"line": 253,
@@ -61180,8 +61180,8 @@
"updateContext": null
},
"value": "for",
- "start": 8623,
- "end": 8626,
+ "start": 8632,
+ "end": 8635,
"loc": {
"start": {
"line": 254,
@@ -61205,8 +61205,8 @@
"postfix": false,
"binop": null
},
- "start": 8627,
- "end": 8628,
+ "start": 8636,
+ "end": 8637,
"loc": {
"start": {
"line": 254,
@@ -61233,8 +61233,8 @@
"updateContext": null
},
"value": "let",
- "start": 8628,
- "end": 8631,
+ "start": 8637,
+ "end": 8640,
"loc": {
"start": {
"line": 254,
@@ -61259,8 +61259,8 @@
"binop": null
},
"value": "i",
- "start": 8632,
- "end": 8633,
+ "start": 8641,
+ "end": 8642,
"loc": {
"start": {
"line": 254,
@@ -61286,8 +61286,8 @@
"updateContext": null
},
"value": "=",
- "start": 8634,
- "end": 8635,
+ "start": 8643,
+ "end": 8644,
"loc": {
"start": {
"line": 254,
@@ -61313,8 +61313,8 @@
"updateContext": null
},
"value": 1,
- "start": 8636,
- "end": 8637,
+ "start": 8645,
+ "end": 8646,
"loc": {
"start": {
"line": 254,
@@ -61339,8 +61339,8 @@
"binop": null,
"updateContext": null
},
- "start": 8637,
- "end": 8638,
+ "start": 8646,
+ "end": 8647,
"loc": {
"start": {
"line": 254,
@@ -61365,8 +61365,8 @@
"binop": null
},
"value": "i",
- "start": 8639,
- "end": 8640,
+ "start": 8648,
+ "end": 8649,
"loc": {
"start": {
"line": 254,
@@ -61392,8 +61392,8 @@
"updateContext": null
},
"value": "<",
- "start": 8641,
- "end": 8642,
+ "start": 8650,
+ "end": 8651,
"loc": {
"start": {
"line": 254,
@@ -61418,8 +61418,8 @@
"binop": null
},
"value": "len",
- "start": 8643,
- "end": 8646,
+ "start": 8652,
+ "end": 8655,
"loc": {
"start": {
"line": 254,
@@ -61445,8 +61445,8 @@
"updateContext": null
},
"value": "-",
- "start": 8647,
- "end": 8648,
+ "start": 8656,
+ "end": 8657,
"loc": {
"start": {
"line": 254,
@@ -61472,8 +61472,8 @@
"updateContext": null
},
"value": 1,
- "start": 8649,
- "end": 8650,
+ "start": 8658,
+ "end": 8659,
"loc": {
"start": {
"line": 254,
@@ -61498,8 +61498,8 @@
"binop": null,
"updateContext": null
},
- "start": 8650,
- "end": 8651,
+ "start": 8659,
+ "end": 8660,
"loc": {
"start": {
"line": 254,
@@ -61524,8 +61524,8 @@
"binop": null
},
"value": "i",
- "start": 8652,
- "end": 8653,
+ "start": 8661,
+ "end": 8662,
"loc": {
"start": {
"line": 254,
@@ -61550,8 +61550,8 @@
"binop": null
},
"value": "++",
- "start": 8653,
- "end": 8655,
+ "start": 8662,
+ "end": 8664,
"loc": {
"start": {
"line": 254,
@@ -61575,8 +61575,8 @@
"postfix": false,
"binop": null
},
- "start": 8655,
- "end": 8656,
+ "start": 8664,
+ "end": 8665,
"loc": {
"start": {
"line": 254,
@@ -61600,8 +61600,8 @@
"postfix": false,
"binop": null
},
- "start": 8657,
- "end": 8658,
+ "start": 8666,
+ "end": 8667,
"loc": {
"start": {
"line": 254,
@@ -61628,8 +61628,8 @@
"updateContext": null
},
"value": "let",
- "start": 8661,
- "end": 8664,
+ "start": 8670,
+ "end": 8673,
"loc": {
"start": {
"line": 255,
@@ -61654,8 +61654,8 @@
"binop": null
},
"value": "elem",
- "start": 8665,
- "end": 8669,
+ "start": 8674,
+ "end": 8678,
"loc": {
"start": {
"line": 255,
@@ -61681,8 +61681,8 @@
"updateContext": null
},
"value": "=",
- "start": 8670,
- "end": 8671,
+ "start": 8679,
+ "end": 8680,
"loc": {
"start": {
"line": 255,
@@ -61707,8 +61707,8 @@
"binop": null
},
"value": "path",
- "start": 8672,
- "end": 8676,
+ "start": 8681,
+ "end": 8685,
"loc": {
"start": {
"line": 255,
@@ -61733,8 +61733,8 @@
"binop": null,
"updateContext": null
},
- "start": 8676,
- "end": 8677,
+ "start": 8685,
+ "end": 8686,
"loc": {
"start": {
"line": 255,
@@ -61759,8 +61759,8 @@
"binop": null
},
"value": "i",
- "start": 8677,
- "end": 8678,
+ "start": 8686,
+ "end": 8687,
"loc": {
"start": {
"line": 255,
@@ -61785,8 +61785,8 @@
"binop": null,
"updateContext": null
},
- "start": 8678,
- "end": 8679,
+ "start": 8687,
+ "end": 8688,
"loc": {
"start": {
"line": 255,
@@ -61813,8 +61813,8 @@
"updateContext": null
},
"value": "if",
- "start": 8682,
- "end": 8684,
+ "start": 8691,
+ "end": 8693,
"loc": {
"start": {
"line": 256,
@@ -61838,8 +61838,8 @@
"postfix": false,
"binop": null
},
- "start": 8685,
- "end": 8686,
+ "start": 8694,
+ "end": 8695,
"loc": {
"start": {
"line": 256,
@@ -61865,8 +61865,8 @@
"updateContext": null
},
"value": "!",
- "start": 8686,
- "end": 8687,
+ "start": 8695,
+ "end": 8696,
"loc": {
"start": {
"line": 256,
@@ -61891,8 +61891,8 @@
"binop": null
},
"value": "schema",
- "start": 8687,
- "end": 8693,
+ "start": 8696,
+ "end": 8702,
"loc": {
"start": {
"line": 256,
@@ -61917,8 +61917,8 @@
"binop": null,
"updateContext": null
},
- "start": 8693,
- "end": 8694,
+ "start": 8702,
+ "end": 8703,
"loc": {
"start": {
"line": 256,
@@ -61943,8 +61943,8 @@
"binop": null
},
"value": "elem",
- "start": 8694,
- "end": 8698,
+ "start": 8703,
+ "end": 8707,
"loc": {
"start": {
"line": 256,
@@ -61969,8 +61969,8 @@
"binop": null,
"updateContext": null
},
- "start": 8698,
- "end": 8699,
+ "start": 8707,
+ "end": 8708,
"loc": {
"start": {
"line": 256,
@@ -61994,8 +61994,8 @@
"postfix": false,
"binop": null
},
- "start": 8699,
- "end": 8700,
+ "start": 8708,
+ "end": 8709,
"loc": {
"start": {
"line": 256,
@@ -62020,8 +62020,8 @@
"binop": null
},
"value": "schema",
- "start": 8701,
- "end": 8707,
+ "start": 8710,
+ "end": 8716,
"loc": {
"start": {
"line": 256,
@@ -62046,8 +62046,8 @@
"binop": null,
"updateContext": null
},
- "start": 8707,
- "end": 8708,
+ "start": 8716,
+ "end": 8717,
"loc": {
"start": {
"line": 256,
@@ -62072,8 +62072,8 @@
"binop": null
},
"value": "elem",
- "start": 8708,
- "end": 8712,
+ "start": 8717,
+ "end": 8721,
"loc": {
"start": {
"line": 256,
@@ -62098,8 +62098,8 @@
"binop": null,
"updateContext": null
},
- "start": 8712,
- "end": 8713,
+ "start": 8721,
+ "end": 8722,
"loc": {
"start": {
"line": 256,
@@ -62125,8 +62125,8 @@
"updateContext": null
},
"value": "=",
- "start": 8714,
- "end": 8715,
+ "start": 8723,
+ "end": 8724,
"loc": {
"start": {
"line": 256,
@@ -62150,8 +62150,8 @@
"postfix": false,
"binop": null
},
- "start": 8716,
- "end": 8717,
+ "start": 8725,
+ "end": 8726,
"loc": {
"start": {
"line": 256,
@@ -62175,8 +62175,8 @@
"postfix": false,
"binop": null
},
- "start": 8717,
- "end": 8718,
+ "start": 8726,
+ "end": 8727,
"loc": {
"start": {
"line": 256,
@@ -62201,8 +62201,8 @@
"binop": null
},
"value": "schema",
- "start": 8721,
- "end": 8727,
+ "start": 8730,
+ "end": 8736,
"loc": {
"start": {
"line": 257,
@@ -62228,8 +62228,8 @@
"updateContext": null
},
"value": "=",
- "start": 8728,
- "end": 8729,
+ "start": 8737,
+ "end": 8738,
"loc": {
"start": {
"line": 257,
@@ -62254,8 +62254,8 @@
"binop": null
},
"value": "schema",
- "start": 8730,
- "end": 8736,
+ "start": 8739,
+ "end": 8745,
"loc": {
"start": {
"line": 257,
@@ -62280,8 +62280,8 @@
"binop": null,
"updateContext": null
},
- "start": 8736,
- "end": 8737,
+ "start": 8745,
+ "end": 8746,
"loc": {
"start": {
"line": 257,
@@ -62306,8 +62306,8 @@
"binop": null
},
"value": "elem",
- "start": 8737,
- "end": 8741,
+ "start": 8746,
+ "end": 8750,
"loc": {
"start": {
"line": 257,
@@ -62332,8 +62332,8 @@
"binop": null,
"updateContext": null
},
- "start": 8741,
- "end": 8742,
+ "start": 8750,
+ "end": 8751,
"loc": {
"start": {
"line": 257,
@@ -62357,8 +62357,8 @@
"postfix": false,
"binop": null
},
- "start": 8744,
- "end": 8745,
+ "start": 8753,
+ "end": 8754,
"loc": {
"start": {
"line": 258,
@@ -62383,8 +62383,8 @@
"binop": null
},
"value": "schema",
- "start": 8748,
- "end": 8754,
+ "start": 8757,
+ "end": 8763,
"loc": {
"start": {
"line": 260,
@@ -62409,8 +62409,8 @@
"binop": null,
"updateContext": null
},
- "start": 8754,
- "end": 8755,
+ "start": 8763,
+ "end": 8764,
"loc": {
"start": {
"line": 260,
@@ -62435,8 +62435,8 @@
"binop": null
},
"value": "path",
- "start": 8755,
- "end": 8759,
+ "start": 8764,
+ "end": 8768,
"loc": {
"start": {
"line": 260,
@@ -62461,8 +62461,8 @@
"binop": null,
"updateContext": null
},
- "start": 8759,
- "end": 8760,
+ "start": 8768,
+ "end": 8769,
"loc": {
"start": {
"line": 260,
@@ -62487,8 +62487,8 @@
"binop": null
},
"value": "len",
- "start": 8760,
- "end": 8763,
+ "start": 8769,
+ "end": 8772,
"loc": {
"start": {
"line": 260,
@@ -62514,8 +62514,8 @@
"updateContext": null
},
"value": "-",
- "start": 8764,
- "end": 8765,
+ "start": 8773,
+ "end": 8774,
"loc": {
"start": {
"line": 260,
@@ -62541,8 +62541,8 @@
"updateContext": null
},
"value": 1,
- "start": 8766,
- "end": 8767,
+ "start": 8775,
+ "end": 8776,
"loc": {
"start": {
"line": 260,
@@ -62567,8 +62567,8 @@
"binop": null,
"updateContext": null
},
- "start": 8767,
- "end": 8768,
+ "start": 8776,
+ "end": 8777,
"loc": {
"start": {
"line": 260,
@@ -62593,8 +62593,8 @@
"binop": null,
"updateContext": null
},
- "start": 8768,
- "end": 8769,
+ "start": 8777,
+ "end": 8778,
"loc": {
"start": {
"line": 260,
@@ -62620,8 +62620,8 @@
"updateContext": null
},
"value": "=",
- "start": 8770,
- "end": 8771,
+ "start": 8779,
+ "end": 8780,
"loc": {
"start": {
"line": 260,
@@ -62646,8 +62646,8 @@
"binop": null
},
"value": "value",
- "start": 8772,
- "end": 8777,
+ "start": 8781,
+ "end": 8786,
"loc": {
"start": {
"line": 260,
@@ -62671,8 +62671,8 @@
"postfix": false,
"binop": null
},
- "start": 8778,
- "end": 8779,
+ "start": 8787,
+ "end": 8788,
"loc": {
"start": {
"line": 261,
@@ -62687,8 +62687,8 @@
{
"type": "CommentBlock",
"value": "*\n * Shorthand to add or concatenate an amount to a field.\n * Best used with numbers or strings.\n * @param {*} amount Amount to increment the field by.\n * @param {*} path Path to the field.\n ",
- "start": 8781,
- "end": 8976,
+ "start": 8790,
+ "end": 8985,
"loc": {
"start": {
"line": 263,
@@ -62715,8 +62715,8 @@
"updateContext": null
},
"value": "export",
- "start": 8977,
- "end": 8983,
+ "start": 8986,
+ "end": 8992,
"loc": {
"start": {
"line": 269,
@@ -62742,8 +62742,8 @@
"binop": null
},
"value": "function",
- "start": 8984,
- "end": 8992,
+ "start": 8993,
+ "end": 9001,
"loc": {
"start": {
"line": 269,
@@ -62768,8 +62768,8 @@
"binop": null
},
"value": "incrementField",
- "start": 8993,
- "end": 9007,
+ "start": 9002,
+ "end": 9016,
"loc": {
"start": {
"line": 269,
@@ -62793,8 +62793,8 @@
"postfix": false,
"binop": null
},
- "start": 9008,
- "end": 9009,
+ "start": 9017,
+ "end": 9018,
"loc": {
"start": {
"line": 269,
@@ -62819,8 +62819,8 @@
"binop": null
},
"value": "amount",
- "start": 9009,
- "end": 9015,
+ "start": 9018,
+ "end": 9024,
"loc": {
"start": {
"line": 269,
@@ -62845,8 +62845,8 @@
"binop": null,
"updateContext": null
},
- "start": 9015,
- "end": 9016,
+ "start": 9024,
+ "end": 9025,
"loc": {
"start": {
"line": 269,
@@ -62871,8 +62871,8 @@
"binop": null
},
"value": "path",
- "start": 9017,
- "end": 9021,
+ "start": 9026,
+ "end": 9030,
"loc": {
"start": {
"line": 269,
@@ -62896,8 +62896,8 @@
"postfix": false,
"binop": null
},
- "start": 9021,
- "end": 9022,
+ "start": 9030,
+ "end": 9031,
"loc": {
"start": {
"line": 269,
@@ -62921,8 +62921,8 @@
"postfix": false,
"binop": null
},
- "start": 9023,
- "end": 9024,
+ "start": 9032,
+ "end": 9033,
"loc": {
"start": {
"line": 269,
@@ -62947,8 +62947,8 @@
"binop": null
},
"value": "setField",
- "start": 9026,
- "end": 9034,
+ "start": 9035,
+ "end": 9043,
"loc": {
"start": {
"line": 270,
@@ -62972,8 +62972,8 @@
"postfix": false,
"binop": null
},
- "start": 9034,
- "end": 9035,
+ "start": 9043,
+ "end": 9044,
"loc": {
"start": {
"line": 270,
@@ -62998,8 +62998,8 @@
"binop": null
},
"value": "getField",
- "start": 9035,
- "end": 9043,
+ "start": 9044,
+ "end": 9052,
"loc": {
"start": {
"line": 270,
@@ -63023,8 +63023,8 @@
"postfix": false,
"binop": null
},
- "start": 9043,
- "end": 9044,
+ "start": 9052,
+ "end": 9053,
"loc": {
"start": {
"line": 270,
@@ -63049,8 +63049,8 @@
"binop": null
},
"value": "path",
- "start": 9044,
- "end": 9048,
+ "start": 9053,
+ "end": 9057,
"loc": {
"start": {
"line": 270,
@@ -63074,8 +63074,8 @@
"postfix": false,
"binop": null
},
- "start": 9048,
- "end": 9049,
+ "start": 9057,
+ "end": 9058,
"loc": {
"start": {
"line": 270,
@@ -63101,8 +63101,8 @@
"updateContext": null
},
"value": "+",
- "start": 9050,
- "end": 9051,
+ "start": 9059,
+ "end": 9060,
"loc": {
"start": {
"line": 270,
@@ -63127,8 +63127,8 @@
"binop": null
},
"value": "amount",
- "start": 9052,
- "end": 9058,
+ "start": 9061,
+ "end": 9067,
"loc": {
"start": {
"line": 270,
@@ -63153,8 +63153,8 @@
"binop": null,
"updateContext": null
},
- "start": 9058,
- "end": 9059,
+ "start": 9067,
+ "end": 9068,
"loc": {
"start": {
"line": 270,
@@ -63179,8 +63179,8 @@
"binop": null
},
"value": "path",
- "start": 9060,
- "end": 9064,
+ "start": 9069,
+ "end": 9073,
"loc": {
"start": {
"line": 270,
@@ -63204,8 +63204,8 @@
"postfix": false,
"binop": null
},
- "start": 9064,
- "end": 9065,
+ "start": 9073,
+ "end": 9074,
"loc": {
"start": {
"line": 270,
@@ -63229,8 +63229,8 @@
"postfix": false,
"binop": null
},
- "start": 9066,
- "end": 9067,
+ "start": 9075,
+ "end": 9076,
"loc": {
"start": {
"line": 271,
@@ -63245,8 +63245,8 @@
{
"type": "CommentBlock",
"value": "*\n * Returns the value given a path to that value.\n * Adopted from https://stackoverflow.com/questions/6491463/accessing-nested-javascript-objects-with-string-key\n * @param {*} path Array containing all of the subobject identifiers, with the 0th index being the lowest level.\n * Example: rooms.myRoom.players could be accessed through a path value of ['rooms', 'myRoom', 'players']\n * @returns The value for the given field.\n ",
- "start": 9069,
- "end": 9515,
+ "start": 9078,
+ "end": 9524,
"loc": {
"start": {
"line": 273,
@@ -63273,8 +63273,8 @@
"updateContext": null
},
"value": "export",
- "start": 9516,
- "end": 9522,
+ "start": 9525,
+ "end": 9531,
"loc": {
"start": {
"line": 280,
@@ -63300,8 +63300,8 @@
"binop": null
},
"value": "function",
- "start": 9523,
- "end": 9531,
+ "start": 9532,
+ "end": 9540,
"loc": {
"start": {
"line": 280,
@@ -63326,8 +63326,8 @@
"binop": null
},
"value": "getField",
- "start": 9532,
- "end": 9540,
+ "start": 9541,
+ "end": 9549,
"loc": {
"start": {
"line": 280,
@@ -63351,8 +63351,8 @@
"postfix": false,
"binop": null
},
- "start": 9541,
- "end": 9542,
+ "start": 9550,
+ "end": 9551,
"loc": {
"start": {
"line": 280,
@@ -63377,8 +63377,8 @@
"binop": null
},
"value": "path",
- "start": 9542,
- "end": 9546,
+ "start": 9551,
+ "end": 9555,
"loc": {
"start": {
"line": 280,
@@ -63402,8 +63402,8 @@
"postfix": false,
"binop": null
},
- "start": 9546,
- "end": 9547,
+ "start": 9555,
+ "end": 9556,
"loc": {
"start": {
"line": 280,
@@ -63427,8 +63427,8 @@
"postfix": false,
"binop": null
},
- "start": 9548,
- "end": 9549,
+ "start": 9557,
+ "end": 9558,
"loc": {
"start": {
"line": 280,
@@ -63455,8 +63455,8 @@
"updateContext": null
},
"value": "if",
- "start": 9551,
- "end": 9553,
+ "start": 9560,
+ "end": 9562,
"loc": {
"start": {
"line": 281,
@@ -63480,8 +63480,8 @@
"postfix": false,
"binop": null
},
- "start": 9554,
- "end": 9555,
+ "start": 9563,
+ "end": 9564,
"loc": {
"start": {
"line": 281,
@@ -63506,8 +63506,8 @@
"binop": null
},
"value": "path",
- "start": 9555,
- "end": 9559,
+ "start": 9564,
+ "end": 9568,
"loc": {
"start": {
"line": 281,
@@ -63533,8 +63533,8 @@
"updateContext": null
},
"value": "===",
- "start": 9560,
- "end": 9563,
+ "start": 9569,
+ "end": 9572,
"loc": {
"start": {
"line": 281,
@@ -63559,8 +63559,8 @@
"binop": null
},
"value": "undefined",
- "start": 9564,
- "end": 9573,
+ "start": 9573,
+ "end": 9582,
"loc": {
"start": {
"line": 281,
@@ -63586,8 +63586,8 @@
"updateContext": null
},
"value": "||",
- "start": 9574,
- "end": 9576,
+ "start": 9583,
+ "end": 9585,
"loc": {
"start": {
"line": 281,
@@ -63612,8 +63612,8 @@
"binop": null
},
"value": "path",
- "start": 9577,
- "end": 9581,
+ "start": 9586,
+ "end": 9590,
"loc": {
"start": {
"line": 281,
@@ -63638,8 +63638,8 @@
"binop": null,
"updateContext": null
},
- "start": 9581,
- "end": 9582,
+ "start": 9590,
+ "end": 9591,
"loc": {
"start": {
"line": 281,
@@ -63664,8 +63664,8 @@
"binop": null
},
"value": "length",
- "start": 9582,
- "end": 9588,
+ "start": 9591,
+ "end": 9597,
"loc": {
"start": {
"line": 281,
@@ -63691,8 +63691,8 @@
"updateContext": null
},
"value": "===",
- "start": 9589,
- "end": 9592,
+ "start": 9598,
+ "end": 9601,
"loc": {
"start": {
"line": 281,
@@ -63718,8 +63718,8 @@
"updateContext": null
},
"value": 0,
- "start": 9593,
- "end": 9594,
+ "start": 9602,
+ "end": 9603,
"loc": {
"start": {
"line": 281,
@@ -63743,8 +63743,8 @@
"postfix": false,
"binop": null
},
- "start": 9594,
- "end": 9595,
+ "start": 9603,
+ "end": 9604,
"loc": {
"start": {
"line": 281,
@@ -63768,8 +63768,8 @@
"postfix": false,
"binop": null
},
- "start": 9596,
- "end": 9597,
+ "start": 9605,
+ "end": 9606,
"loc": {
"start": {
"line": 281,
@@ -63796,8 +63796,8 @@
"updateContext": null
},
"value": "throw",
- "start": 9600,
- "end": 9605,
+ "start": 9609,
+ "end": 9614,
"loc": {
"start": {
"line": 282,
@@ -63824,8 +63824,8 @@
"updateContext": null
},
"value": "new",
- "start": 9606,
- "end": 9609,
+ "start": 9615,
+ "end": 9618,
"loc": {
"start": {
"line": 282,
@@ -63850,8 +63850,8 @@
"binop": null
},
"value": "Error",
- "start": 9610,
- "end": 9615,
+ "start": 9619,
+ "end": 9624,
"loc": {
"start": {
"line": 282,
@@ -63875,8 +63875,8 @@
"postfix": false,
"binop": null
},
- "start": 9615,
- "end": 9616,
+ "start": 9624,
+ "end": 9625,
"loc": {
"start": {
"line": 282,
@@ -63902,8 +63902,8 @@
"updateContext": null
},
"value": "Error in setField: path cannot be empty",
- "start": 9616,
- "end": 9657,
+ "start": 9625,
+ "end": 9666,
"loc": {
"start": {
"line": 282,
@@ -63927,8 +63927,8 @@
"postfix": false,
"binop": null
},
- "start": 9657,
- "end": 9658,
+ "start": 9666,
+ "end": 9667,
"loc": {
"start": {
"line": 282,
@@ -63952,8 +63952,8 @@
"postfix": false,
"binop": null
},
- "start": 9660,
- "end": 9661,
+ "start": 9669,
+ "end": 9670,
"loc": {
"start": {
"line": 283,
@@ -63980,8 +63980,8 @@
"updateContext": null
},
"value": "if",
- "start": 9663,
- "end": 9665,
+ "start": 9672,
+ "end": 9674,
"loc": {
"start": {
"line": 284,
@@ -64005,8 +64005,8 @@
"postfix": false,
"binop": null
},
- "start": 9666,
- "end": 9667,
+ "start": 9675,
+ "end": 9676,
"loc": {
"start": {
"line": 284,
@@ -64031,8 +64031,8 @@
"binop": null
},
"value": "path",
- "start": 9667,
- "end": 9671,
+ "start": 9676,
+ "end": 9680,
"loc": {
"start": {
"line": 284,
@@ -64057,8 +64057,8 @@
"binop": null,
"updateContext": null
},
- "start": 9671,
- "end": 9672,
+ "start": 9680,
+ "end": 9681,
"loc": {
"start": {
"line": 284,
@@ -64083,8 +64083,8 @@
"binop": null
},
"value": "length",
- "start": 9672,
- "end": 9678,
+ "start": 9681,
+ "end": 9687,
"loc": {
"start": {
"line": 284,
@@ -64110,8 +64110,8 @@
"updateContext": null
},
"value": "===",
- "start": 9679,
- "end": 9682,
+ "start": 9688,
+ "end": 9691,
"loc": {
"start": {
"line": 284,
@@ -64136,8 +64136,8 @@
"binop": null
},
"value": "undefined",
- "start": 9683,
- "end": 9692,
+ "start": 9692,
+ "end": 9701,
"loc": {
"start": {
"line": 284,
@@ -64161,8 +64161,8 @@
"postfix": false,
"binop": null
},
- "start": 9692,
- "end": 9693,
+ "start": 9701,
+ "end": 9702,
"loc": {
"start": {
"line": 284,
@@ -64186,8 +64186,8 @@
"postfix": false,
"binop": null
},
- "start": 9694,
- "end": 9695,
+ "start": 9703,
+ "end": 9704,
"loc": {
"start": {
"line": 284,
@@ -64214,8 +64214,8 @@
"updateContext": null
},
"value": "throw",
- "start": 9698,
- "end": 9703,
+ "start": 9707,
+ "end": 9712,
"loc": {
"start": {
"line": 285,
@@ -64242,8 +64242,8 @@
"updateContext": null
},
"value": "new",
- "start": 9704,
- "end": 9707,
+ "start": 9713,
+ "end": 9716,
"loc": {
"start": {
"line": 285,
@@ -64268,8 +64268,8 @@
"binop": null
},
"value": "Error",
- "start": 9708,
- "end": 9713,
+ "start": 9717,
+ "end": 9722,
"loc": {
"start": {
"line": 285,
@@ -64293,8 +64293,8 @@
"postfix": false,
"binop": null
},
- "start": 9713,
- "end": 9714,
+ "start": 9722,
+ "end": 9723,
"loc": {
"start": {
"line": 285,
@@ -64320,8 +64320,8 @@
"updateContext": null
},
"value": "Error in setField: path must be an array",
- "start": 9714,
- "end": 9756,
+ "start": 9723,
+ "end": 9765,
"loc": {
"start": {
"line": 285,
@@ -64345,8 +64345,8 @@
"postfix": false,
"binop": null
},
- "start": 9756,
- "end": 9757,
+ "start": 9765,
+ "end": 9766,
"loc": {
"start": {
"line": 285,
@@ -64370,8 +64370,8 @@
"postfix": false,
"binop": null
},
- "start": 9759,
- "end": 9760,
+ "start": 9768,
+ "end": 9769,
"loc": {
"start": {
"line": 286,
@@ -64398,8 +64398,8 @@
"updateContext": null
},
"value": "let",
- "start": 9763,
- "end": 9766,
+ "start": 9772,
+ "end": 9775,
"loc": {
"start": {
"line": 288,
@@ -64424,8 +64424,8 @@
"binop": null
},
"value": "obj",
- "start": 9767,
- "end": 9770,
+ "start": 9776,
+ "end": 9779,
"loc": {
"start": {
"line": 288,
@@ -64451,8 +64451,8 @@
"updateContext": null
},
"value": "=",
- "start": 9771,
- "end": 9772,
+ "start": 9780,
+ "end": 9781,
"loc": {
"start": {
"line": 288,
@@ -64476,8 +64476,8 @@
"postfix": false,
"binop": null
},
- "start": 9773,
- "end": 9774,
+ "start": 9782,
+ "end": 9783,
"loc": {
"start": {
"line": 288,
@@ -64502,8 +64502,8 @@
"binop": null
},
"value": "path",
- "start": 9774,
- "end": 9778,
+ "start": 9783,
+ "end": 9787,
"loc": {
"start": {
"line": 288,
@@ -64528,8 +64528,8 @@
"binop": null,
"updateContext": null
},
- "start": 9778,
- "end": 9779,
+ "start": 9787,
+ "end": 9788,
"loc": {
"start": {
"line": 288,
@@ -64555,8 +64555,8 @@
"updateContext": null
},
"value": 0,
- "start": 9779,
- "end": 9780,
+ "start": 9788,
+ "end": 9789,
"loc": {
"start": {
"line": 288,
@@ -64581,8 +64581,8 @@
"binop": null,
"updateContext": null
},
- "start": 9780,
- "end": 9781,
+ "start": 9789,
+ "end": 9790,
"loc": {
"start": {
"line": 288,
@@ -64608,8 +64608,8 @@
"updateContext": null
},
"value": "===",
- "start": 9782,
- "end": 9785,
+ "start": 9791,
+ "end": 9794,
"loc": {
"start": {
"line": 288,
@@ -64635,8 +64635,8 @@
"updateContext": null
},
"value": "rooms",
- "start": 9786,
- "end": 9793,
+ "start": 9795,
+ "end": 9802,
"loc": {
"start": {
"line": 288,
@@ -64660,8 +64660,8 @@
"postfix": false,
"binop": null
},
- "start": 9793,
- "end": 9794,
+ "start": 9802,
+ "end": 9803,
"loc": {
"start": {
"line": 288,
@@ -64686,8 +64686,8 @@
"binop": null,
"updateContext": null
},
- "start": 9795,
- "end": 9796,
+ "start": 9804,
+ "end": 9805,
"loc": {
"start": {
"line": 288,
@@ -64712,8 +64712,8 @@
"binop": null
},
"value": "rooms",
- "start": 9797,
- "end": 9802,
+ "start": 9806,
+ "end": 9811,
"loc": {
"start": {
"line": 288,
@@ -64738,8 +64738,8 @@
"binop": null,
"updateContext": null
},
- "start": 9803,
- "end": 9804,
+ "start": 9812,
+ "end": 9813,
"loc": {
"start": {
"line": 288,
@@ -64763,8 +64763,8 @@
"postfix": false,
"binop": null
},
- "start": 9805,
- "end": 9806,
+ "start": 9814,
+ "end": 9815,
"loc": {
"start": {
"line": 288,
@@ -64789,8 +64789,8 @@
"binop": null
},
"value": "path",
- "start": 9806,
- "end": 9810,
+ "start": 9815,
+ "end": 9819,
"loc": {
"start": {
"line": 288,
@@ -64815,8 +64815,8 @@
"binop": null,
"updateContext": null
},
- "start": 9810,
- "end": 9811,
+ "start": 9819,
+ "end": 9820,
"loc": {
"start": {
"line": 288,
@@ -64842,8 +64842,8 @@
"updateContext": null
},
"value": 0,
- "start": 9811,
- "end": 9812,
+ "start": 9820,
+ "end": 9821,
"loc": {
"start": {
"line": 288,
@@ -64868,8 +64868,8 @@
"binop": null,
"updateContext": null
},
- "start": 9812,
- "end": 9813,
+ "start": 9821,
+ "end": 9822,
"loc": {
"start": {
"line": 288,
@@ -64895,8 +64895,8 @@
"updateContext": null
},
"value": "===",
- "start": 9814,
- "end": 9817,
+ "start": 9823,
+ "end": 9826,
"loc": {
"start": {
"line": 288,
@@ -64922,8 +64922,8 @@
"updateContext": null
},
"value": "teams",
- "start": 9818,
- "end": 9825,
+ "start": 9827,
+ "end": 9834,
"loc": {
"start": {
"line": 288,
@@ -64947,8 +64947,8 @@
"postfix": false,
"binop": null
},
- "start": 9825,
- "end": 9826,
+ "start": 9834,
+ "end": 9835,
"loc": {
"start": {
"line": 288,
@@ -64973,8 +64973,8 @@
"binop": null,
"updateContext": null
},
- "start": 9827,
- "end": 9828,
+ "start": 9836,
+ "end": 9837,
"loc": {
"start": {
"line": 288,
@@ -64999,8 +64999,8 @@
"binop": null
},
"value": "teams",
- "start": 9829,
- "end": 9834,
+ "start": 9838,
+ "end": 9843,
"loc": {
"start": {
"line": 288,
@@ -65025,8 +65025,8 @@
"binop": null,
"updateContext": null
},
- "start": 9835,
- "end": 9836,
+ "start": 9844,
+ "end": 9845,
"loc": {
"start": {
"line": 288,
@@ -65051,8 +65051,8 @@
"binop": null
},
"value": "undefined",
- "start": 9837,
- "end": 9846,
+ "start": 9846,
+ "end": 9855,
"loc": {
"start": {
"line": 288,
@@ -65079,8 +65079,8 @@
"updateContext": null
},
"value": "if",
- "start": 9848,
- "end": 9850,
+ "start": 9857,
+ "end": 9859,
"loc": {
"start": {
"line": 289,
@@ -65104,8 +65104,8 @@
"postfix": false,
"binop": null
},
- "start": 9851,
- "end": 9852,
+ "start": 9860,
+ "end": 9861,
"loc": {
"start": {
"line": 289,
@@ -65130,8 +65130,8 @@
"binop": null
},
"value": "obj",
- "start": 9852,
- "end": 9855,
+ "start": 9861,
+ "end": 9864,
"loc": {
"start": {
"line": 289,
@@ -65157,8 +65157,8 @@
"updateContext": null
},
"value": "===",
- "start": 9856,
- "end": 9859,
+ "start": 9865,
+ "end": 9868,
"loc": {
"start": {
"line": 289,
@@ -65183,8 +65183,8 @@
"binop": null
},
"value": "undefined",
- "start": 9860,
- "end": 9869,
+ "start": 9869,
+ "end": 9878,
"loc": {
"start": {
"line": 289,
@@ -65208,8 +65208,8 @@
"postfix": false,
"binop": null
},
- "start": 9869,
- "end": 9870,
+ "start": 9878,
+ "end": 9879,
"loc": {
"start": {
"line": 289,
@@ -65233,8 +65233,8 @@
"postfix": false,
"binop": null
},
- "start": 9871,
- "end": 9872,
+ "start": 9880,
+ "end": 9881,
"loc": {
"start": {
"line": 289,
@@ -65261,8 +65261,8 @@
"updateContext": null
},
"value": "throw",
- "start": 9875,
- "end": 9880,
+ "start": 9884,
+ "end": 9889,
"loc": {
"start": {
"line": 290,
@@ -65289,8 +65289,8 @@
"updateContext": null
},
"value": "new",
- "start": 9881,
- "end": 9884,
+ "start": 9890,
+ "end": 9893,
"loc": {
"start": {
"line": 290,
@@ -65315,8 +65315,8 @@
"binop": null
},
"value": "Error",
- "start": 9885,
- "end": 9890,
+ "start": 9894,
+ "end": 9899,
"loc": {
"start": {
"line": 290,
@@ -65340,8 +65340,8 @@
"postfix": false,
"binop": null
},
- "start": 9890,
- "end": 9891,
+ "start": 9899,
+ "end": 9900,
"loc": {
"start": {
"line": 290,
@@ -65367,8 +65367,8 @@
"updateContext": null
},
"value": "Error in setField: Base object ",
- "start": 9891,
- "end": 9924,
+ "start": 9900,
+ "end": 9933,
"loc": {
"start": {
"line": 290,
@@ -65394,8 +65394,8 @@
"updateContext": null
},
"value": "+",
- "start": 9925,
- "end": 9926,
+ "start": 9934,
+ "end": 9935,
"loc": {
"start": {
"line": 290,
@@ -65420,8 +65420,8 @@
"binop": null
},
"value": "path",
- "start": 9927,
- "end": 9931,
+ "start": 9936,
+ "end": 9940,
"loc": {
"start": {
"line": 290,
@@ -65446,8 +65446,8 @@
"binop": null,
"updateContext": null
},
- "start": 9931,
- "end": 9932,
+ "start": 9940,
+ "end": 9941,
"loc": {
"start": {
"line": 290,
@@ -65473,8 +65473,8 @@
"updateContext": null
},
"value": 0,
- "start": 9932,
- "end": 9933,
+ "start": 9941,
+ "end": 9942,
"loc": {
"start": {
"line": 290,
@@ -65499,8 +65499,8 @@
"binop": null,
"updateContext": null
},
- "start": 9933,
- "end": 9934,
+ "start": 9942,
+ "end": 9943,
"loc": {
"start": {
"line": 290,
@@ -65526,8 +65526,8 @@
"updateContext": null
},
"value": "+",
- "start": 9935,
- "end": 9936,
+ "start": 9944,
+ "end": 9945,
"loc": {
"start": {
"line": 290,
@@ -65553,8 +65553,8 @@
"updateContext": null
},
"value": " does not exist!",
- "start": 9937,
- "end": 9955,
+ "start": 9946,
+ "end": 9964,
"loc": {
"start": {
"line": 290,
@@ -65578,8 +65578,8 @@
"postfix": false,
"binop": null
},
- "start": 9955,
- "end": 9956,
+ "start": 9964,
+ "end": 9965,
"loc": {
"start": {
"line": 290,
@@ -65603,8 +65603,8 @@
"postfix": false,
"binop": null
},
- "start": 9958,
- "end": 9959,
+ "start": 9967,
+ "end": 9968,
"loc": {
"start": {
"line": 291,
@@ -65631,8 +65631,8 @@
"updateContext": null
},
"value": "for",
- "start": 9962,
- "end": 9965,
+ "start": 9971,
+ "end": 9974,
"loc": {
"start": {
"line": 293,
@@ -65656,8 +65656,8 @@
"postfix": false,
"binop": null
},
- "start": 9966,
- "end": 9967,
+ "start": 9975,
+ "end": 9976,
"loc": {
"start": {
"line": 293,
@@ -65684,8 +65684,8 @@
"updateContext": null
},
"value": "let",
- "start": 9967,
- "end": 9970,
+ "start": 9976,
+ "end": 9979,
"loc": {
"start": {
"line": 293,
@@ -65710,8 +65710,8 @@
"binop": null
},
"value": "i",
- "start": 9971,
- "end": 9972,
+ "start": 9980,
+ "end": 9981,
"loc": {
"start": {
"line": 293,
@@ -65737,8 +65737,8 @@
"updateContext": null
},
"value": "=",
- "start": 9973,
- "end": 9974,
+ "start": 9982,
+ "end": 9983,
"loc": {
"start": {
"line": 293,
@@ -65764,8 +65764,8 @@
"updateContext": null
},
"value": 1,
- "start": 9975,
- "end": 9976,
+ "start": 9984,
+ "end": 9985,
"loc": {
"start": {
"line": 293,
@@ -65790,8 +65790,8 @@
"binop": null,
"updateContext": null
},
- "start": 9976,
- "end": 9977,
+ "start": 9985,
+ "end": 9986,
"loc": {
"start": {
"line": 293,
@@ -65816,8 +65816,8 @@
"binop": null
},
"value": "i",
- "start": 9978,
- "end": 9979,
+ "start": 9987,
+ "end": 9988,
"loc": {
"start": {
"line": 293,
@@ -65843,8 +65843,8 @@
"updateContext": null
},
"value": "<",
- "start": 9980,
- "end": 9981,
+ "start": 9989,
+ "end": 9990,
"loc": {
"start": {
"line": 293,
@@ -65869,8 +65869,8 @@
"binop": null
},
"value": "path",
- "start": 9982,
- "end": 9986,
+ "start": 9991,
+ "end": 9995,
"loc": {
"start": {
"line": 293,
@@ -65895,8 +65895,8 @@
"binop": null,
"updateContext": null
},
- "start": 9986,
- "end": 9987,
+ "start": 9995,
+ "end": 9996,
"loc": {
"start": {
"line": 293,
@@ -65921,8 +65921,8 @@
"binop": null
},
"value": "length",
- "start": 9987,
- "end": 9993,
+ "start": 9996,
+ "end": 10002,
"loc": {
"start": {
"line": 293,
@@ -65947,8 +65947,8 @@
"binop": null,
"updateContext": null
},
- "start": 9993,
- "end": 9994,
+ "start": 10002,
+ "end": 10003,
"loc": {
"start": {
"line": 293,
@@ -65973,8 +65973,8 @@
"binop": null
},
"value": "i",
- "start": 9995,
- "end": 9996,
+ "start": 10004,
+ "end": 10005,
"loc": {
"start": {
"line": 293,
@@ -65999,8 +65999,8 @@
"binop": null
},
"value": "++",
- "start": 9996,
- "end": 9998,
+ "start": 10005,
+ "end": 10007,
"loc": {
"start": {
"line": 293,
@@ -66024,8 +66024,8 @@
"postfix": false,
"binop": null
},
- "start": 9998,
- "end": 9999,
+ "start": 10007,
+ "end": 10008,
"loc": {
"start": {
"line": 293,
@@ -66049,8 +66049,8 @@
"postfix": false,
"binop": null
},
- "start": 10000,
- "end": 10001,
+ "start": 10009,
+ "end": 10010,
"loc": {
"start": {
"line": 293,
@@ -66075,8 +66075,8 @@
"binop": null
},
"value": "obj",
- "start": 10004,
- "end": 10007,
+ "start": 10013,
+ "end": 10016,
"loc": {
"start": {
"line": 294,
@@ -66102,8 +66102,8 @@
"updateContext": null
},
"value": "=",
- "start": 10008,
- "end": 10009,
+ "start": 10017,
+ "end": 10018,
"loc": {
"start": {
"line": 294,
@@ -66128,8 +66128,8 @@
"binop": null
},
"value": "obj",
- "start": 10010,
- "end": 10013,
+ "start": 10019,
+ "end": 10022,
"loc": {
"start": {
"line": 294,
@@ -66154,8 +66154,8 @@
"binop": null,
"updateContext": null
},
- "start": 10013,
- "end": 10014,
+ "start": 10022,
+ "end": 10023,
"loc": {
"start": {
"line": 294,
@@ -66180,8 +66180,8 @@
"binop": null
},
"value": "path",
- "start": 10014,
- "end": 10018,
+ "start": 10023,
+ "end": 10027,
"loc": {
"start": {
"line": 294,
@@ -66206,8 +66206,8 @@
"binop": null,
"updateContext": null
},
- "start": 10018,
- "end": 10019,
+ "start": 10027,
+ "end": 10028,
"loc": {
"start": {
"line": 294,
@@ -66232,8 +66232,8 @@
"binop": null
},
"value": "i",
- "start": 10019,
- "end": 10020,
+ "start": 10028,
+ "end": 10029,
"loc": {
"start": {
"line": 294,
@@ -66258,8 +66258,8 @@
"binop": null,
"updateContext": null
},
- "start": 10020,
- "end": 10021,
+ "start": 10029,
+ "end": 10030,
"loc": {
"start": {
"line": 294,
@@ -66284,8 +66284,8 @@
"binop": null,
"updateContext": null
},
- "start": 10021,
- "end": 10022,
+ "start": 10030,
+ "end": 10031,
"loc": {
"start": {
"line": 294,
@@ -66309,8 +66309,8 @@
"postfix": false,
"binop": null
},
- "start": 10024,
- "end": 10025,
+ "start": 10033,
+ "end": 10034,
"loc": {
"start": {
"line": 295,
@@ -66325,8 +66325,8 @@
{
"type": "CommentLine",
"value": " console.log(path, obj);",
- "start": 10027,
- "end": 10053,
+ "start": 10036,
+ "end": 10062,
"loc": {
"start": {
"line": 296,
@@ -66353,8 +66353,8 @@
"updateContext": null
},
"value": "return",
- "start": 10055,
- "end": 10061,
+ "start": 10064,
+ "end": 10070,
"loc": {
"start": {
"line": 297,
@@ -66379,8 +66379,8 @@
"binop": null
},
"value": "obj",
- "start": 10062,
- "end": 10065,
+ "start": 10071,
+ "end": 10074,
"loc": {
"start": {
"line": 297,
@@ -66404,8 +66404,8 @@
"postfix": false,
"binop": null
},
- "start": 10066,
- "end": 10067,
+ "start": 10075,
+ "end": 10076,
"loc": {
"start": {
"line": 298,
@@ -66420,8 +66420,8 @@
{
"type": "CommentBlock",
"value": "*\n * Deletes one of the three types of gameObjects synced to the server\n * @param {string} type Either players, atoms, compounds\n * @param {*} id ID of the object to delete\n * @param {string} room Room name to delete in\n * @param {*} socket socket.io instance\n ",
- "start": 10069,
- "end": 10334,
+ "start": 10078,
+ "end": 10343,
"loc": {
"start": {
"line": 300,
@@ -66448,8 +66448,8 @@
"updateContext": null
},
"value": "export",
- "start": 10335,
- "end": 10341,
+ "start": 10344,
+ "end": 10350,
"loc": {
"start": {
"line": 307,
@@ -66475,8 +66475,8 @@
"binop": null
},
"value": "function",
- "start": 10342,
- "end": 10350,
+ "start": 10351,
+ "end": 10359,
"loc": {
"start": {
"line": 307,
@@ -66501,8 +66501,8 @@
"binop": null
},
"value": "deleteObject",
- "start": 10351,
- "end": 10363,
+ "start": 10360,
+ "end": 10372,
"loc": {
"start": {
"line": 307,
@@ -66526,8 +66526,8 @@
"postfix": false,
"binop": null
},
- "start": 10364,
- "end": 10365,
+ "start": 10373,
+ "end": 10374,
"loc": {
"start": {
"line": 307,
@@ -66552,8 +66552,8 @@
"binop": null
},
"value": "type",
- "start": 10365,
- "end": 10369,
+ "start": 10374,
+ "end": 10378,
"loc": {
"start": {
"line": 307,
@@ -66578,8 +66578,8 @@
"binop": null,
"updateContext": null
},
- "start": 10369,
- "end": 10370,
+ "start": 10378,
+ "end": 10379,
"loc": {
"start": {
"line": 307,
@@ -66604,8 +66604,8 @@
"binop": null
},
"value": "id",
- "start": 10371,
- "end": 10373,
+ "start": 10380,
+ "end": 10382,
"loc": {
"start": {
"line": 307,
@@ -66630,8 +66630,8 @@
"binop": null,
"updateContext": null
},
- "start": 10373,
- "end": 10374,
+ "start": 10382,
+ "end": 10383,
"loc": {
"start": {
"line": 307,
@@ -66656,8 +66656,8 @@
"binop": null
},
"value": "room",
- "start": 10375,
- "end": 10379,
+ "start": 10384,
+ "end": 10388,
"loc": {
"start": {
"line": 307,
@@ -66682,8 +66682,8 @@
"binop": null,
"updateContext": null
},
- "start": 10379,
- "end": 10380,
+ "start": 10388,
+ "end": 10389,
"loc": {
"start": {
"line": 307,
@@ -66708,8 +66708,8 @@
"binop": null
},
"value": "socket",
- "start": 10381,
- "end": 10387,
+ "start": 10390,
+ "end": 10396,
"loc": {
"start": {
"line": 307,
@@ -66733,8 +66733,8 @@
"postfix": false,
"binop": null
},
- "start": 10387,
- "end": 10388,
+ "start": 10396,
+ "end": 10397,
"loc": {
"start": {
"line": 307,
@@ -66758,8 +66758,8 @@
"postfix": false,
"binop": null
},
- "start": 10389,
- "end": 10390,
+ "start": 10398,
+ "end": 10399,
"loc": {
"start": {
"line": 307,
@@ -66786,8 +66786,8 @@
"updateContext": null
},
"value": "delete",
- "start": 10392,
- "end": 10398,
+ "start": 10401,
+ "end": 10407,
"loc": {
"start": {
"line": 308,
@@ -66812,8 +66812,8 @@
"binop": null
},
"value": "rooms",
- "start": 10399,
- "end": 10404,
+ "start": 10408,
+ "end": 10413,
"loc": {
"start": {
"line": 308,
@@ -66838,8 +66838,8 @@
"binop": null,
"updateContext": null
},
- "start": 10404,
- "end": 10405,
+ "start": 10413,
+ "end": 10414,
"loc": {
"start": {
"line": 308,
@@ -66864,8 +66864,8 @@
"binop": null
},
"value": "room",
- "start": 10405,
- "end": 10409,
+ "start": 10414,
+ "end": 10418,
"loc": {
"start": {
"line": 308,
@@ -66890,8 +66890,8 @@
"binop": null,
"updateContext": null
},
- "start": 10409,
- "end": 10410,
+ "start": 10418,
+ "end": 10419,
"loc": {
"start": {
"line": 308,
@@ -66916,8 +66916,8 @@
"binop": null,
"updateContext": null
},
- "start": 10410,
- "end": 10411,
+ "start": 10419,
+ "end": 10420,
"loc": {
"start": {
"line": 308,
@@ -66942,8 +66942,8 @@
"binop": null
},
"value": "type",
- "start": 10411,
- "end": 10415,
+ "start": 10420,
+ "end": 10424,
"loc": {
"start": {
"line": 308,
@@ -66968,8 +66968,8 @@
"binop": null,
"updateContext": null
},
- "start": 10415,
- "end": 10416,
+ "start": 10424,
+ "end": 10425,
"loc": {
"start": {
"line": 308,
@@ -66994,8 +66994,8 @@
"binop": null,
"updateContext": null
},
- "start": 10416,
- "end": 10417,
+ "start": 10425,
+ "end": 10426,
"loc": {
"start": {
"line": 308,
@@ -67020,8 +67020,8 @@
"binop": null
},
"value": "id",
- "start": 10417,
- "end": 10419,
+ "start": 10426,
+ "end": 10428,
"loc": {
"start": {
"line": 308,
@@ -67046,8 +67046,8 @@
"binop": null,
"updateContext": null
},
- "start": 10419,
- "end": 10420,
+ "start": 10428,
+ "end": 10429,
"loc": {
"start": {
"line": 308,
@@ -67062,8 +67062,8 @@
{
"type": "CommentLine",
"value": " Send clientside message",
- "start": 10423,
- "end": 10449,
+ "start": 10432,
+ "end": 10458,
"loc": {
"start": {
"line": 310,
@@ -67088,8 +67088,8 @@
"binop": null
},
"value": "socket",
- "start": 10451,
- "end": 10457,
+ "start": 10460,
+ "end": 10466,
"loc": {
"start": {
"line": 311,
@@ -67114,8 +67114,8 @@
"binop": null,
"updateContext": null
},
- "start": 10457,
- "end": 10458,
+ "start": 10466,
+ "end": 10467,
"loc": {
"start": {
"line": 311,
@@ -67140,8 +67140,8 @@
"binop": null
},
"value": "to",
- "start": 10458,
- "end": 10460,
+ "start": 10467,
+ "end": 10469,
"loc": {
"start": {
"line": 311,
@@ -67165,8 +67165,8 @@
"postfix": false,
"binop": null
},
- "start": 10460,
- "end": 10461,
+ "start": 10469,
+ "end": 10470,
"loc": {
"start": {
"line": 311,
@@ -67191,8 +67191,8 @@
"binop": null
},
"value": "room",
- "start": 10461,
- "end": 10465,
+ "start": 10470,
+ "end": 10474,
"loc": {
"start": {
"line": 311,
@@ -67216,8 +67216,8 @@
"postfix": false,
"binop": null
},
- "start": 10465,
- "end": 10466,
+ "start": 10474,
+ "end": 10475,
"loc": {
"start": {
"line": 311,
@@ -67242,8 +67242,8 @@
"binop": null,
"updateContext": null
},
- "start": 10466,
- "end": 10467,
+ "start": 10475,
+ "end": 10476,
"loc": {
"start": {
"line": 311,
@@ -67268,8 +67268,8 @@
"binop": null
},
"value": "broadcast",
- "start": 10467,
- "end": 10476,
+ "start": 10476,
+ "end": 10485,
"loc": {
"start": {
"line": 311,
@@ -67294,8 +67294,8 @@
"binop": null,
"updateContext": null
},
- "start": 10476,
- "end": 10477,
+ "start": 10485,
+ "end": 10486,
"loc": {
"start": {
"line": 311,
@@ -67320,8 +67320,8 @@
"binop": null
},
"value": "emit",
- "start": 10477,
- "end": 10481,
+ "start": 10486,
+ "end": 10490,
"loc": {
"start": {
"line": 311,
@@ -67345,8 +67345,8 @@
"postfix": false,
"binop": null
},
- "start": 10481,
- "end": 10482,
+ "start": 10490,
+ "end": 10491,
"loc": {
"start": {
"line": 311,
@@ -67372,8 +67372,8 @@
"updateContext": null
},
"value": "serverSendObjectRemoval",
- "start": 10482,
- "end": 10507,
+ "start": 10491,
+ "end": 10516,
"loc": {
"start": {
"line": 311,
@@ -67398,8 +67398,8 @@
"binop": null,
"updateContext": null
},
- "start": 10507,
- "end": 10508,
+ "start": 10516,
+ "end": 10517,
"loc": {
"start": {
"line": 311,
@@ -67423,8 +67423,8 @@
"postfix": false,
"binop": null
},
- "start": 10509,
- "end": 10510,
+ "start": 10518,
+ "end": 10519,
"loc": {
"start": {
"line": 311,
@@ -67449,8 +67449,8 @@
"binop": null
},
"value": "id",
- "start": 10511,
- "end": 10513,
+ "start": 10520,
+ "end": 10522,
"loc": {
"start": {
"line": 311,
@@ -67475,8 +67475,8 @@
"binop": null,
"updateContext": null
},
- "start": 10513,
- "end": 10514,
+ "start": 10522,
+ "end": 10523,
"loc": {
"start": {
"line": 311,
@@ -67501,8 +67501,8 @@
"binop": null
},
"value": "id",
- "start": 10515,
- "end": 10517,
+ "start": 10524,
+ "end": 10526,
"loc": {
"start": {
"line": 311,
@@ -67527,8 +67527,8 @@
"binop": null,
"updateContext": null
},
- "start": 10517,
- "end": 10518,
+ "start": 10526,
+ "end": 10527,
"loc": {
"start": {
"line": 311,
@@ -67553,8 +67553,8 @@
"binop": null
},
"value": "type",
- "start": 10519,
- "end": 10523,
+ "start": 10528,
+ "end": 10532,
"loc": {
"start": {
"line": 311,
@@ -67579,8 +67579,8 @@
"binop": null,
"updateContext": null
},
- "start": 10523,
- "end": 10524,
+ "start": 10532,
+ "end": 10533,
"loc": {
"start": {
"line": 311,
@@ -67605,8 +67605,8 @@
"binop": null
},
"value": "type",
- "start": 10525,
- "end": 10529,
+ "start": 10534,
+ "end": 10538,
"loc": {
"start": {
"line": 311,
@@ -67630,8 +67630,8 @@
"postfix": false,
"binop": null
},
- "start": 10530,
- "end": 10531,
+ "start": 10539,
+ "end": 10540,
"loc": {
"start": {
"line": 311,
@@ -67655,8 +67655,8 @@
"postfix": false,
"binop": null
},
- "start": 10531,
- "end": 10532,
+ "start": 10540,
+ "end": 10541,
"loc": {
"start": {
"line": 311,
@@ -67681,8 +67681,8 @@
"binop": null
},
"value": "socket",
- "start": 10534,
- "end": 10540,
+ "start": 10543,
+ "end": 10549,
"loc": {
"start": {
"line": 312,
@@ -67707,8 +67707,8 @@
"binop": null,
"updateContext": null
},
- "start": 10540,
- "end": 10541,
+ "start": 10549,
+ "end": 10550,
"loc": {
"start": {
"line": 312,
@@ -67733,8 +67733,8 @@
"binop": null
},
"value": "emit",
- "start": 10541,
- "end": 10545,
+ "start": 10550,
+ "end": 10554,
"loc": {
"start": {
"line": 312,
@@ -67758,8 +67758,8 @@
"postfix": false,
"binop": null
},
- "start": 10545,
- "end": 10546,
+ "start": 10554,
+ "end": 10555,
"loc": {
"start": {
"line": 312,
@@ -67785,8 +67785,8 @@
"updateContext": null
},
"value": "serverSendObjectRemoval",
- "start": 10546,
- "end": 10571,
+ "start": 10555,
+ "end": 10580,
"loc": {
"start": {
"line": 312,
@@ -67811,8 +67811,8 @@
"binop": null,
"updateContext": null
},
- "start": 10571,
- "end": 10572,
+ "start": 10580,
+ "end": 10581,
"loc": {
"start": {
"line": 312,
@@ -67836,8 +67836,8 @@
"postfix": false,
"binop": null
},
- "start": 10573,
- "end": 10574,
+ "start": 10582,
+ "end": 10583,
"loc": {
"start": {
"line": 312,
@@ -67862,8 +67862,8 @@
"binop": null
},
"value": "id",
- "start": 10575,
- "end": 10577,
+ "start": 10584,
+ "end": 10586,
"loc": {
"start": {
"line": 312,
@@ -67888,8 +67888,8 @@
"binop": null,
"updateContext": null
},
- "start": 10577,
- "end": 10578,
+ "start": 10586,
+ "end": 10587,
"loc": {
"start": {
"line": 312,
@@ -67914,8 +67914,8 @@
"binop": null
},
"value": "id",
- "start": 10579,
- "end": 10581,
+ "start": 10588,
+ "end": 10590,
"loc": {
"start": {
"line": 312,
@@ -67940,8 +67940,8 @@
"binop": null,
"updateContext": null
},
- "start": 10581,
- "end": 10582,
+ "start": 10590,
+ "end": 10591,
"loc": {
"start": {
"line": 312,
@@ -67966,8 +67966,8 @@
"binop": null
},
"value": "type",
- "start": 10583,
- "end": 10587,
+ "start": 10592,
+ "end": 10596,
"loc": {
"start": {
"line": 312,
@@ -67992,8 +67992,8 @@
"binop": null,
"updateContext": null
},
- "start": 10587,
- "end": 10588,
+ "start": 10596,
+ "end": 10597,
"loc": {
"start": {
"line": 312,
@@ -68018,8 +68018,8 @@
"binop": null
},
"value": "type",
- "start": 10589,
- "end": 10593,
+ "start": 10598,
+ "end": 10602,
"loc": {
"start": {
"line": 312,
@@ -68043,8 +68043,8 @@
"postfix": false,
"binop": null
},
- "start": 10594,
- "end": 10595,
+ "start": 10603,
+ "end": 10604,
"loc": {
"start": {
"line": 312,
@@ -68068,8 +68068,8 @@
"postfix": false,
"binop": null
},
- "start": 10595,
- "end": 10596,
+ "start": 10604,
+ "end": 10605,
"loc": {
"start": {
"line": 312,
@@ -68093,8 +68093,8 @@
"postfix": false,
"binop": null
},
- "start": 10597,
- "end": 10598,
+ "start": 10606,
+ "end": 10607,
"loc": {
"start": {
"line": 313,
@@ -68119,8 +68119,8 @@
"binop": null,
"updateContext": null
},
- "start": 10599,
- "end": 10599,
+ "start": 10608,
+ "end": 10608,
"loc": {
"start": {
"line": 314,
diff --git a/docs/ast/source/server/utils/compound.js.json b/docs/ast/source/server/utils/compound.js.json
index 7886249..a26a2b4 100644
--- a/docs/ast/source/server/utils/compound.js.json
+++ b/docs/ast/source/server/utils/compound.js.json
@@ -1,7 +1,7 @@
{
"type": "File",
"start": 0,
- "end": 3643,
+ "end": 3673,
"loc": {
"start": {
"line": 1,
@@ -15,7 +15,7 @@
"program": {
"type": "Program",
"start": 0,
- "end": 3643,
+ "end": 3673,
"loc": {
"start": {
"line": 1,
@@ -734,7 +734,7 @@
{
"type": "ExportNamedDeclaration",
"start": 1055,
- "end": 2878,
+ "end": 2908,
"loc": {
"start": {
"line": 25,
@@ -750,7 +750,7 @@
"declaration": {
"type": "FunctionDeclaration",
"start": 1062,
- "end": 2878,
+ "end": 2908,
"loc": {
"start": {
"line": 25,
@@ -855,7 +855,7 @@
"body": {
"type": "BlockStatement",
"start": 1119,
- "end": 2878,
+ "end": 2908,
"loc": {
"start": {
"line": 25,
@@ -2823,7 +2823,7 @@
{
"type": "IfStatement",
"start": 1777,
- "end": 2449,
+ "end": 2479,
"loc": {
"start": {
"line": 45,
@@ -3389,7 +3389,7 @@
"alternate": {
"type": "IfStatement",
"start": 1962,
- "end": 2449,
+ "end": 2479,
"loc": {
"start": {
"line": 48,
@@ -4289,7 +4289,7 @@
"alternate": {
"type": "IfStatement",
"start": 2247,
- "end": 2449,
+ "end": 2479,
"loc": {
"start": {
"line": 57,
@@ -4422,7 +4422,7 @@
"consequent": {
"type": "BlockStatement",
"start": 2286,
- "end": 2363,
+ "end": 2393,
"loc": {
"start": {
"line": 57,
@@ -4437,7 +4437,7 @@
{
"type": "ExpressionStatement",
"start": 2290,
- "end": 2360,
+ "end": 2390,
"loc": {
"start": {
"line": 58,
@@ -4445,13 +4445,13 @@
},
"end": {
"line": 58,
- "column": 72
+ "column": 102
}
},
"expression": {
"type": "CallExpression",
"start": 2290,
- "end": 2360,
+ "end": 2390,
"loc": {
"start": {
"line": 58,
@@ -4459,7 +4459,7 @@
},
"end": {
"line": 58,
- "column": 72
+ "column": 102
}
},
"callee": {
@@ -4481,9 +4481,9 @@
},
"arguments": [
{
- "type": "BooleanLiteral",
+ "type": "MemberExpression",
"start": 2299,
- "end": 2303,
+ "end": 2336,
"loc": {
"start": {
"line": 58,
@@ -4491,38 +4491,138 @@
},
"end": {
"line": 58,
- "column": 15
+ "column": 48
}
},
- "value": true
+ "object": {
+ "type": "MemberExpression",
+ "start": 2299,
+ "end": 2320,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 11
+ },
+ "end": {
+ "line": 58,
+ "column": 32
+ }
+ },
+ "object": {
+ "type": "MemberExpression",
+ "start": 2299,
+ "end": 2313,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 11
+ },
+ "end": {
+ "line": 58,
+ "column": 25
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 2299,
+ "end": 2303,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 11
+ },
+ "end": {
+ "line": 58,
+ "column": 15
+ },
+ "identifierName": "data"
+ },
+ "name": "data"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 2304,
+ "end": 2313,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 16
+ },
+ "end": {
+ "line": 58,
+ "column": 25
+ },
+ "identifierName": "blueprint"
+ },
+ "name": "blueprint"
+ },
+ "computed": false
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 2314,
+ "end": 2320,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 26
+ },
+ "end": {
+ "line": 58,
+ "column": 32
+ },
+ "identifierName": "params"
+ },
+ "name": "params"
+ },
+ "computed": false
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 2321,
+ "end": 2336,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 33
+ },
+ "end": {
+ "line": 58,
+ "column": 48
+ },
+ "identifierName": "defenseModifier"
+ },
+ "name": "defenseModifier"
+ },
+ "computed": false
},
{
"type": "ArrayExpression",
- "start": 2305,
- "end": 2359,
+ "start": 2338,
+ "end": 2389,
"loc": {
"start": {
"line": 58,
- "column": 17
+ "column": 50
},
"end": {
"line": 58,
- "column": 71
+ "column": 101
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 2306,
- "end": 2313,
+ "start": 2339,
+ "end": 2346,
"loc": {
"start": {
"line": 58,
- "column": 18
+ "column": 51
},
"end": {
"line": 58,
- "column": 25
+ "column": 58
}
},
"extra": {
@@ -4533,16 +4633,16 @@
},
{
"type": "Identifier",
- "start": 2315,
- "end": 2319,
+ "start": 2348,
+ "end": 2352,
"loc": {
"start": {
"line": 58,
- "column": 27
+ "column": 60
},
"end": {
"line": 58,
- "column": 31
+ "column": 64
},
"identifierName": "room"
},
@@ -4550,16 +4650,16 @@
},
{
"type": "StringLiteral",
- "start": 2321,
- "end": 2330,
+ "start": 2354,
+ "end": 2363,
"loc": {
"start": {
"line": 58,
- "column": 33
+ "column": 66
},
"end": {
"line": 58,
- "column": 42
+ "column": 75
}
},
"extra": {
@@ -4570,30 +4670,30 @@
},
{
"type": "MemberExpression",
- "start": 2332,
- "end": 2345,
+ "start": 2365,
+ "end": 2378,
"loc": {
"start": {
"line": 58,
- "column": 44
+ "column": 77
},
"end": {
"line": 58,
- "column": 57
+ "column": 90
}
},
"object": {
"type": "Identifier",
- "start": 2332,
- "end": 2342,
+ "start": 2365,
+ "end": 2375,
"loc": {
"start": {
"line": 58,
- "column": 44
+ "column": 77
},
"end": {
"line": 58,
- "column": 54
+ "column": 87
},
"identifierName": "thisPlayer"
},
@@ -4601,16 +4701,16 @@
},
"property": {
"type": "Identifier",
- "start": 2343,
- "end": 2345,
+ "start": 2376,
+ "end": 2378,
"loc": {
"start": {
"line": 58,
- "column": 55
+ "column": 88
},
"end": {
"line": 58,
- "column": 57
+ "column": 90
},
"identifierName": "id"
},
@@ -4620,23 +4720,23 @@
},
{
"type": "StringLiteral",
- "start": 2347,
- "end": 2358,
+ "start": 2380,
+ "end": 2388,
"loc": {
"start": {
"line": 58,
- "column": 59
+ "column": 92
},
"end": {
"line": 58,
- "column": 70
+ "column": 100
}
},
"extra": {
- "rawValue": "hasShield",
- "raw": "'hasShield'"
+ "rawValue": "shield",
+ "raw": "'shield'"
},
- "value": "hasShield"
+ "value": "shield"
}
]
}
@@ -4648,8 +4748,8 @@
},
"alternate": {
"type": "IfStatement",
- "start": 2370,
- "end": 2449,
+ "start": 2400,
+ "end": 2479,
"loc": {
"start": {
"line": 60,
@@ -4662,8 +4762,8 @@
},
"test": {
"type": "BinaryExpression",
- "start": 2374,
- "end": 2405,
+ "start": 2404,
+ "end": 2435,
"loc": {
"start": {
"line": 60,
@@ -4676,8 +4776,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 2374,
- "end": 2393,
+ "start": 2404,
+ "end": 2423,
"loc": {
"start": {
"line": 60,
@@ -4690,8 +4790,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 2374,
- "end": 2388,
+ "start": 2404,
+ "end": 2418,
"loc": {
"start": {
"line": 60,
@@ -4704,8 +4804,8 @@
},
"object": {
"type": "Identifier",
- "start": 2374,
- "end": 2378,
+ "start": 2404,
+ "end": 2408,
"loc": {
"start": {
"line": 60,
@@ -4721,8 +4821,8 @@
},
"property": {
"type": "Identifier",
- "start": 2379,
- "end": 2388,
+ "start": 2409,
+ "end": 2418,
"loc": {
"start": {
"line": 60,
@@ -4740,8 +4840,8 @@
},
"property": {
"type": "Identifier",
- "start": 2389,
- "end": 2393,
+ "start": 2419,
+ "end": 2423,
"loc": {
"start": {
"line": 60,
@@ -4760,8 +4860,8 @@
"operator": "===",
"right": {
"type": "StringLiteral",
- "start": 2398,
- "end": 2405,
+ "start": 2428,
+ "end": 2435,
"loc": {
"start": {
"line": 60,
@@ -4781,8 +4881,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 2407,
- "end": 2449,
+ "start": 2437,
+ "end": 2479,
"loc": {
"start": {
"line": 60,
@@ -4796,8 +4896,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 2411,
- "end": 2446,
+ "start": 2441,
+ "end": 2476,
"loc": {
"start": {
"line": 61,
@@ -4810,8 +4910,8 @@
},
"expression": {
"type": "AssignmentExpression",
- "start": 2411,
- "end": 2446,
+ "start": 2441,
+ "end": 2476,
"loc": {
"start": {
"line": 61,
@@ -4825,8 +4925,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 2411,
- "end": 2425,
+ "start": 2441,
+ "end": 2455,
"loc": {
"start": {
"line": 61,
@@ -4839,8 +4939,8 @@
},
"object": {
"type": "Identifier",
- "start": 2411,
- "end": 2422,
+ "start": 2441,
+ "end": 2452,
"loc": {
"start": {
"line": 61,
@@ -4856,8 +4956,8 @@
},
"property": {
"type": "Identifier",
- "start": 2423,
- "end": 2425,
+ "start": 2453,
+ "end": 2455,
"loc": {
"start": {
"line": 61,
@@ -4875,8 +4975,8 @@
},
"right": {
"type": "AssignmentExpression",
- "start": 2428,
- "end": 2446,
+ "start": 2458,
+ "end": 2476,
"loc": {
"start": {
"line": 61,
@@ -4890,8 +4990,8 @@
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 2428,
- "end": 2442,
+ "start": 2458,
+ "end": 2472,
"loc": {
"start": {
"line": 61,
@@ -4904,8 +5004,8 @@
},
"object": {
"type": "Identifier",
- "start": 2428,
- "end": 2439,
+ "start": 2458,
+ "end": 2469,
"loc": {
"start": {
"line": 61,
@@ -4921,8 +5021,8 @@
},
"property": {
"type": "Identifier",
- "start": 2440,
- "end": 2442,
+ "start": 2470,
+ "end": 2472,
"loc": {
"start": {
"line": 61,
@@ -4940,8 +5040,8 @@
},
"right": {
"type": "NumericLiteral",
- "start": 2445,
- "end": 2446,
+ "start": 2475,
+ "end": 2476,
"loc": {
"start": {
"line": 61,
@@ -4976,8 +5076,8 @@
{
"type": "CommentLine",
"value": " Emits the crafting event to update experience",
- "start": 2452,
- "end": 2500,
+ "start": 2482,
+ "end": 2530,
"loc": {
"start": {
"line": 64,
@@ -4993,8 +5093,8 @@
},
{
"type": "ExpressionStatement",
- "start": 2502,
- "end": 2553,
+ "start": 2532,
+ "end": 2583,
"loc": {
"start": {
"line": 65,
@@ -5007,8 +5107,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 2502,
- "end": 2553,
+ "start": 2532,
+ "end": 2583,
"loc": {
"start": {
"line": 65,
@@ -5021,8 +5121,8 @@
},
"callee": {
"type": "Identifier",
- "start": 2502,
- "end": 2515,
+ "start": 2532,
+ "end": 2545,
"loc": {
"start": {
"line": 65,
@@ -5040,8 +5140,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 2516,
- "end": 2523,
+ "start": 2546,
+ "end": 2553,
"loc": {
"start": {
"line": 65,
@@ -5060,8 +5160,8 @@
},
{
"type": "Identifier",
- "start": 2525,
- "end": 2531,
+ "start": 2555,
+ "end": 2561,
"loc": {
"start": {
"line": 65,
@@ -5077,8 +5177,8 @@
},
{
"type": "Identifier",
- "start": 2533,
- "end": 2537,
+ "start": 2563,
+ "end": 2567,
"loc": {
"start": {
"line": 65,
@@ -5094,8 +5194,8 @@
},
{
"type": "MemberExpression",
- "start": 2539,
- "end": 2552,
+ "start": 2569,
+ "end": 2582,
"loc": {
"start": {
"line": 65,
@@ -5108,8 +5208,8 @@
},
"object": {
"type": "Identifier",
- "start": 2539,
- "end": 2549,
+ "start": 2569,
+ "end": 2579,
"loc": {
"start": {
"line": 65,
@@ -5125,8 +5225,8 @@
},
"property": {
"type": "Identifier",
- "start": 2550,
- "end": 2552,
+ "start": 2580,
+ "end": 2582,
"loc": {
"start": {
"line": 65,
@@ -5150,8 +5250,8 @@
{
"type": "CommentLine",
"value": " Emits the crafting event to update experience",
- "start": 2452,
- "end": 2500,
+ "start": 2482,
+ "end": 2530,
"loc": {
"start": {
"line": 64,
@@ -5168,8 +5268,8 @@
{
"type": "CommentLine",
"value": " Remove atoms from inventory",
- "start": 2556,
- "end": 2586,
+ "start": 2586,
+ "end": 2616,
"loc": {
"start": {
"line": 67,
@@ -5185,8 +5285,8 @@
},
{
"type": "IfStatement",
- "start": 2588,
- "end": 2855,
+ "start": 2618,
+ "end": 2885,
"loc": {
"start": {
"line": 68,
@@ -5199,8 +5299,8 @@
},
"test": {
"type": "LogicalExpression",
- "start": 2592,
- "end": 2694,
+ "start": 2622,
+ "end": 2724,
"loc": {
"start": {
"line": 68,
@@ -5213,8 +5313,8 @@
},
"left": {
"type": "LogicalExpression",
- "start": 2592,
- "end": 2671,
+ "start": 2622,
+ "end": 2701,
"loc": {
"start": {
"line": 68,
@@ -5227,8 +5327,8 @@
},
"left": {
"type": "UnaryExpression",
- "start": 2592,
- "end": 2606,
+ "start": 2622,
+ "end": 2636,
"loc": {
"start": {
"line": 68,
@@ -5243,8 +5343,8 @@
"prefix": true,
"argument": {
"type": "MemberExpression",
- "start": 2593,
- "end": 2606,
+ "start": 2623,
+ "end": 2636,
"loc": {
"start": {
"line": 68,
@@ -5257,8 +5357,8 @@
},
"object": {
"type": "Identifier",
- "start": 2593,
- "end": 2597,
+ "start": 2623,
+ "end": 2627,
"loc": {
"start": {
"line": 68,
@@ -5275,8 +5375,8 @@
},
"property": {
"type": "Identifier",
- "start": 2598,
- "end": 2606,
+ "start": 2628,
+ "end": 2636,
"loc": {
"start": {
"line": 68,
@@ -5301,8 +5401,8 @@
"operator": "||",
"right": {
"type": "BinaryExpression",
- "start": 2610,
- "end": 2671,
+ "start": 2640,
+ "end": 2701,
"loc": {
"start": {
"line": 68,
@@ -5315,8 +5415,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 2610,
- "end": 2665,
+ "start": 2640,
+ "end": 2695,
"loc": {
"start": {
"line": 68,
@@ -5329,8 +5429,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 2610,
- "end": 2623,
+ "start": 2640,
+ "end": 2653,
"loc": {
"start": {
"line": 68,
@@ -5343,8 +5443,8 @@
},
"object": {
"type": "Identifier",
- "start": 2610,
- "end": 2614,
+ "start": 2640,
+ "end": 2644,
"loc": {
"start": {
"line": 68,
@@ -5360,8 +5460,8 @@
},
"property": {
"type": "Identifier",
- "start": 2615,
- "end": 2623,
+ "start": 2645,
+ "end": 2653,
"loc": {
"start": {
"line": 68,
@@ -5380,8 +5480,8 @@
"operator": "%",
"right": {
"type": "MemberExpression",
- "start": 2626,
- "end": 2665,
+ "start": 2656,
+ "end": 2695,
"loc": {
"start": {
"line": 68,
@@ -5394,8 +5494,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 2626,
- "end": 2647,
+ "start": 2656,
+ "end": 2677,
"loc": {
"start": {
"line": 68,
@@ -5408,8 +5508,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 2626,
- "end": 2640,
+ "start": 2656,
+ "end": 2670,
"loc": {
"start": {
"line": 68,
@@ -5422,8 +5522,8 @@
},
"object": {
"type": "Identifier",
- "start": 2626,
- "end": 2630,
+ "start": 2656,
+ "end": 2660,
"loc": {
"start": {
"line": 68,
@@ -5439,8 +5539,8 @@
},
"property": {
"type": "Identifier",
- "start": 2631,
- "end": 2640,
+ "start": 2661,
+ "end": 2670,
"loc": {
"start": {
"line": 68,
@@ -5458,8 +5558,8 @@
},
"property": {
"type": "Identifier",
- "start": 2641,
- "end": 2647,
+ "start": 2671,
+ "end": 2677,
"loc": {
"start": {
"line": 68,
@@ -5477,8 +5577,8 @@
},
"property": {
"type": "Identifier",
- "start": 2648,
- "end": 2665,
+ "start": 2678,
+ "end": 2695,
"loc": {
"start": {
"line": 68,
@@ -5498,8 +5598,8 @@
"operator": "===",
"right": {
"type": "NumericLiteral",
- "start": 2670,
- "end": 2671,
+ "start": 2700,
+ "end": 2701,
"loc": {
"start": {
"line": 68,
@@ -5522,8 +5622,8 @@
"operator": "||",
"right": {
"type": "BinaryExpression",
- "start": 2675,
- "end": 2694,
+ "start": 2705,
+ "end": 2724,
"loc": {
"start": {
"line": 68,
@@ -5536,8 +5636,8 @@
},
"left": {
"type": "MemberExpression",
- "start": 2675,
- "end": 2688,
+ "start": 2705,
+ "end": 2718,
"loc": {
"start": {
"line": 68,
@@ -5550,8 +5650,8 @@
},
"object": {
"type": "Identifier",
- "start": 2675,
- "end": 2679,
+ "start": 2705,
+ "end": 2709,
"loc": {
"start": {
"line": 68,
@@ -5567,8 +5667,8 @@
},
"property": {
"type": "Identifier",
- "start": 2680,
- "end": 2688,
+ "start": 2710,
+ "end": 2718,
"loc": {
"start": {
"line": 68,
@@ -5587,8 +5687,8 @@
"operator": "===",
"right": {
"type": "NumericLiteral",
- "start": 2693,
- "end": 2694,
+ "start": 2723,
+ "end": 2724,
"loc": {
"start": {
"line": 68,
@@ -5610,8 +5710,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 2696,
- "end": 2855,
+ "start": 2726,
+ "end": 2885,
"loc": {
"start": {
"line": 68,
@@ -5625,8 +5725,8 @@
"body": [
{
"type": "ForInStatement",
- "start": 2700,
- "end": 2852,
+ "start": 2730,
+ "end": 2882,
"loc": {
"start": {
"line": 69,
@@ -5639,8 +5739,8 @@
},
"left": {
"type": "VariableDeclaration",
- "start": 2705,
- "end": 2713,
+ "start": 2735,
+ "end": 2743,
"loc": {
"start": {
"line": 69,
@@ -5654,8 +5754,8 @@
"declarations": [
{
"type": "VariableDeclarator",
- "start": 2709,
- "end": 2713,
+ "start": 2739,
+ "end": 2743,
"loc": {
"start": {
"line": 69,
@@ -5668,8 +5768,8 @@
},
"id": {
"type": "Identifier",
- "start": 2709,
- "end": 2713,
+ "start": 2739,
+ "end": 2743,
"loc": {
"start": {
"line": 69,
@@ -5690,8 +5790,8 @@
},
"right": {
"type": "MemberExpression",
- "start": 2717,
- "end": 2737,
+ "start": 2747,
+ "end": 2767,
"loc": {
"start": {
"line": 69,
@@ -5704,8 +5804,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 2717,
- "end": 2731,
+ "start": 2747,
+ "end": 2761,
"loc": {
"start": {
"line": 69,
@@ -5718,8 +5818,8 @@
},
"object": {
"type": "Identifier",
- "start": 2717,
- "end": 2721,
+ "start": 2747,
+ "end": 2751,
"loc": {
"start": {
"line": 69,
@@ -5735,8 +5835,8 @@
},
"property": {
"type": "Identifier",
- "start": 2722,
- "end": 2731,
+ "start": 2752,
+ "end": 2761,
"loc": {
"start": {
"line": 69,
@@ -5754,8 +5854,8 @@
},
"property": {
"type": "Identifier",
- "start": 2732,
- "end": 2737,
+ "start": 2762,
+ "end": 2767,
"loc": {
"start": {
"line": 69,
@@ -5773,8 +5873,8 @@
},
"body": {
"type": "BlockStatement",
- "start": 2739,
- "end": 2852,
+ "start": 2769,
+ "end": 2882,
"loc": {
"start": {
"line": 69,
@@ -5788,8 +5888,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 2744,
- "end": 2848,
+ "start": 2774,
+ "end": 2878,
"loc": {
"start": {
"line": 70,
@@ -5802,8 +5902,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 2744,
- "end": 2848,
+ "start": 2774,
+ "end": 2878,
"loc": {
"start": {
"line": 70,
@@ -5816,8 +5916,8 @@
},
"callee": {
"type": "Identifier",
- "start": 2744,
- "end": 2758,
+ "start": 2774,
+ "end": 2788,
"loc": {
"start": {
"line": 70,
@@ -5834,8 +5934,8 @@
"arguments": [
{
"type": "UnaryExpression",
- "start": 2759,
- "end": 2786,
+ "start": 2789,
+ "end": 2816,
"loc": {
"start": {
"line": 70,
@@ -5850,8 +5950,8 @@
"prefix": true,
"argument": {
"type": "MemberExpression",
- "start": 2760,
- "end": 2786,
+ "start": 2790,
+ "end": 2816,
"loc": {
"start": {
"line": 70,
@@ -5864,8 +5964,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 2760,
- "end": 2780,
+ "start": 2790,
+ "end": 2810,
"loc": {
"start": {
"line": 70,
@@ -5878,8 +5978,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 2760,
- "end": 2774,
+ "start": 2790,
+ "end": 2804,
"loc": {
"start": {
"line": 70,
@@ -5892,8 +5992,8 @@
},
"object": {
"type": "Identifier",
- "start": 2760,
- "end": 2764,
+ "start": 2790,
+ "end": 2794,
"loc": {
"start": {
"line": 70,
@@ -5909,8 +6009,8 @@
},
"property": {
"type": "Identifier",
- "start": 2765,
- "end": 2774,
+ "start": 2795,
+ "end": 2804,
"loc": {
"start": {
"line": 70,
@@ -5928,8 +6028,8 @@
},
"property": {
"type": "Identifier",
- "start": 2775,
- "end": 2780,
+ "start": 2805,
+ "end": 2810,
"loc": {
"start": {
"line": 70,
@@ -5947,8 +6047,8 @@
},
"property": {
"type": "Identifier",
- "start": 2781,
- "end": 2785,
+ "start": 2811,
+ "end": 2815,
"loc": {
"start": {
"line": 70,
@@ -5970,8 +6070,8 @@
},
{
"type": "ArrayExpression",
- "start": 2788,
- "end": 2847,
+ "start": 2818,
+ "end": 2877,
"loc": {
"start": {
"line": 70,
@@ -5985,8 +6085,8 @@
"elements": [
{
"type": "StringLiteral",
- "start": 2789,
- "end": 2796,
+ "start": 2819,
+ "end": 2826,
"loc": {
"start": {
"line": 70,
@@ -6005,8 +6105,8 @@
},
{
"type": "Identifier",
- "start": 2798,
- "end": 2802,
+ "start": 2828,
+ "end": 2832,
"loc": {
"start": {
"line": 70,
@@ -6022,8 +6122,8 @@
},
{
"type": "StringLiteral",
- "start": 2804,
- "end": 2813,
+ "start": 2834,
+ "end": 2843,
"loc": {
"start": {
"line": 70,
@@ -6042,8 +6142,8 @@
},
{
"type": "MemberExpression",
- "start": 2815,
- "end": 2828,
+ "start": 2845,
+ "end": 2858,
"loc": {
"start": {
"line": 70,
@@ -6056,8 +6156,8 @@
},
"object": {
"type": "Identifier",
- "start": 2815,
- "end": 2825,
+ "start": 2845,
+ "end": 2855,
"loc": {
"start": {
"line": 70,
@@ -6073,8 +6173,8 @@
},
"property": {
"type": "Identifier",
- "start": 2826,
- "end": 2828,
+ "start": 2856,
+ "end": 2858,
"loc": {
"start": {
"line": 70,
@@ -6092,8 +6192,8 @@
},
{
"type": "StringLiteral",
- "start": 2830,
- "end": 2840,
+ "start": 2860,
+ "end": 2870,
"loc": {
"start": {
"line": 70,
@@ -6112,8 +6212,8 @@
},
{
"type": "Identifier",
- "start": 2842,
- "end": 2846,
+ "start": 2872,
+ "end": 2876,
"loc": {
"start": {
"line": 70,
@@ -6144,8 +6244,8 @@
{
"type": "CommentLine",
"value": " Remove atoms from inventory",
- "start": 2556,
- "end": 2586,
+ "start": 2586,
+ "end": 2616,
"loc": {
"start": {
"line": 67,
@@ -6161,8 +6261,8 @@
},
{
"type": "ReturnStatement",
- "start": 2858,
- "end": 2876,
+ "start": 2888,
+ "end": 2906,
"loc": {
"start": {
"line": 74,
@@ -6175,8 +6275,8 @@
},
"argument": {
"type": "Identifier",
- "start": 2865,
- "end": 2876,
+ "start": 2895,
+ "end": 2906,
"loc": {
"start": {
"line": 74,
@@ -6217,8 +6317,8 @@
{
"type": "CommentBlock",
"value": "*\n * Checks compound behavior based on compound type. Runs once a frame.\n * @param {number} compound compound object\n * @param {string} room Name of room\n * @param socket - Socket.io instance\n ",
- "start": 2880,
- "end": 3077,
+ "start": 2910,
+ "end": 3107,
"loc": {
"start": {
"line": 77,
@@ -6254,8 +6354,8 @@
{
"type": "CommentBlock",
"value": "*\n * Checks compound behavior based on compound type. Runs once a frame.\n * @param {number} compound compound object\n * @param {string} room Name of room\n * @param socket - Socket.io instance\n ",
- "start": 2880,
- "end": 3077,
+ "start": 2910,
+ "end": 3107,
"loc": {
"start": {
"line": 77,
@@ -6271,8 +6371,8 @@
},
{
"type": "ExportNamedDeclaration",
- "start": 3078,
- "end": 3642,
+ "start": 3108,
+ "end": 3672,
"loc": {
"start": {
"line": 83,
@@ -6287,8 +6387,8 @@
"source": null,
"declaration": {
"type": "FunctionDeclaration",
- "start": 3085,
- "end": 3642,
+ "start": 3115,
+ "end": 3672,
"loc": {
"start": {
"line": 83,
@@ -6301,8 +6401,8 @@
},
"id": {
"type": "Identifier",
- "start": 3094,
- "end": 3106,
+ "start": 3124,
+ "end": 3136,
"loc": {
"start": {
"line": 83,
@@ -6323,8 +6423,8 @@
"params": [
{
"type": "Identifier",
- "start": 3108,
- "end": 3116,
+ "start": 3138,
+ "end": 3146,
"loc": {
"start": {
"line": 83,
@@ -6340,8 +6440,8 @@
},
{
"type": "Identifier",
- "start": 3118,
- "end": 3122,
+ "start": 3148,
+ "end": 3152,
"loc": {
"start": {
"line": 83,
@@ -6357,8 +6457,8 @@
},
{
"type": "Identifier",
- "start": 3124,
- "end": 3130,
+ "start": 3154,
+ "end": 3160,
"loc": {
"start": {
"line": 83,
@@ -6375,8 +6475,8 @@
],
"body": {
"type": "BlockStatement",
- "start": 3132,
- "end": 3642,
+ "start": 3162,
+ "end": 3672,
"loc": {
"start": {
"line": 83,
@@ -6390,8 +6490,8 @@
"body": [
{
"type": "SwitchStatement",
- "start": 3144,
- "end": 3493,
+ "start": 3174,
+ "end": 3523,
"loc": {
"start": {
"line": 85,
@@ -6404,8 +6504,8 @@
},
"discriminant": {
"type": "MemberExpression",
- "start": 3152,
- "end": 3175,
+ "start": 3182,
+ "end": 3205,
"loc": {
"start": {
"line": 85,
@@ -6418,8 +6518,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 3152,
- "end": 3170,
+ "start": 3182,
+ "end": 3200,
"loc": {
"start": {
"line": 85,
@@ -6432,8 +6532,8 @@
},
"object": {
"type": "Identifier",
- "start": 3152,
- "end": 3160,
+ "start": 3182,
+ "end": 3190,
"loc": {
"start": {
"line": 85,
@@ -6450,8 +6550,8 @@
},
"property": {
"type": "Identifier",
- "start": 3161,
- "end": 3170,
+ "start": 3191,
+ "end": 3200,
"loc": {
"start": {
"line": 85,
@@ -6470,8 +6570,8 @@
},
"property": {
"type": "Identifier",
- "start": 3171,
- "end": 3175,
+ "start": 3201,
+ "end": 3205,
"loc": {
"start": {
"line": 85,
@@ -6491,8 +6591,8 @@
"cases": [
{
"type": "SwitchCase",
- "start": 3181,
- "end": 3490,
+ "start": 3211,
+ "end": 3520,
"loc": {
"start": {
"line": 86,
@@ -6506,8 +6606,8 @@
"consequent": [
{
"type": "IfStatement",
- "start": 3202,
- "end": 3481,
+ "start": 3232,
+ "end": 3511,
"loc": {
"start": {
"line": 87,
@@ -6520,8 +6620,8 @@
},
"test": {
"type": "LogicalExpression",
- "start": 3206,
- "end": 3256,
+ "start": 3236,
+ "end": 3286,
"loc": {
"start": {
"line": 87,
@@ -6534,8 +6634,8 @@
},
"left": {
"type": "BinaryExpression",
- "start": 3206,
- "end": 3235,
+ "start": 3236,
+ "end": 3265,
"loc": {
"start": {
"line": 87,
@@ -6548,8 +6648,8 @@
},
"left": {
"type": "CallExpression",
- "start": 3206,
- "end": 3227,
+ "start": 3236,
+ "end": 3257,
"loc": {
"start": {
"line": 87,
@@ -6562,8 +6662,8 @@
},
"callee": {
"type": "Identifier",
- "start": 3206,
- "end": 3217,
+ "start": 3236,
+ "end": 3247,
"loc": {
"start": {
"line": 87,
@@ -6580,8 +6680,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 3218,
- "end": 3226,
+ "start": 3248,
+ "end": 3256,
"loc": {
"start": {
"line": 87,
@@ -6600,8 +6700,8 @@
"operator": "===",
"right": {
"type": "StringLiteral",
- "start": 3232,
- "end": 3235,
+ "start": 3262,
+ "end": 3265,
"loc": {
"start": {
"line": 87,
@@ -6622,8 +6722,8 @@
"operator": "&&",
"right": {
"type": "UnaryExpression",
- "start": 3239,
- "end": 3256,
+ "start": 3269,
+ "end": 3286,
"loc": {
"start": {
"line": 87,
@@ -6638,8 +6738,8 @@
"prefix": true,
"argument": {
"type": "MemberExpression",
- "start": 3240,
- "end": 3256,
+ "start": 3270,
+ "end": 3286,
"loc": {
"start": {
"line": 87,
@@ -6652,8 +6752,8 @@
},
"object": {
"type": "Identifier",
- "start": 3240,
- "end": 3248,
+ "start": 3270,
+ "end": 3278,
"loc": {
"start": {
"line": 87,
@@ -6669,8 +6769,8 @@
},
"property": {
"type": "Identifier",
- "start": 3249,
- "end": 3256,
+ "start": 3279,
+ "end": 3286,
"loc": {
"start": {
"line": 87,
@@ -6693,8 +6793,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 3258,
- "end": 3481,
+ "start": 3288,
+ "end": 3511,
"loc": {
"start": {
"line": 87,
@@ -6708,8 +6808,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 3264,
- "end": 3332,
+ "start": 3294,
+ "end": 3362,
"loc": {
"start": {
"line": 88,
@@ -6722,8 +6822,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 3264,
- "end": 3332,
+ "start": 3294,
+ "end": 3362,
"loc": {
"start": {
"line": 88,
@@ -6736,8 +6836,8 @@
},
"callee": {
"type": "Identifier",
- "start": 3264,
- "end": 3272,
+ "start": 3294,
+ "end": 3302,
"loc": {
"start": {
"line": 88,
@@ -6754,8 +6854,8 @@
"arguments": [
{
"type": "BooleanLiteral",
- "start": 3273,
- "end": 3277,
+ "start": 3303,
+ "end": 3307,
"loc": {
"start": {
"line": 88,
@@ -6770,8 +6870,8 @@
},
{
"type": "ArrayExpression",
- "start": 3279,
- "end": 3331,
+ "start": 3309,
+ "end": 3361,
"loc": {
"start": {
"line": 88,
@@ -6785,8 +6885,8 @@
"elements": [
{
"type": "StringLiteral",
- "start": 3280,
- "end": 3287,
+ "start": 3310,
+ "end": 3317,
"loc": {
"start": {
"line": 88,
@@ -6805,8 +6905,8 @@
},
{
"type": "Identifier",
- "start": 3289,
- "end": 3293,
+ "start": 3319,
+ "end": 3323,
"loc": {
"start": {
"line": 88,
@@ -6822,8 +6922,8 @@
},
{
"type": "StringLiteral",
- "start": 3295,
- "end": 3306,
+ "start": 3325,
+ "end": 3336,
"loc": {
"start": {
"line": 88,
@@ -6842,8 +6942,8 @@
},
{
"type": "MemberExpression",
- "start": 3308,
- "end": 3319,
+ "start": 3338,
+ "end": 3349,
"loc": {
"start": {
"line": 88,
@@ -6856,8 +6956,8 @@
},
"object": {
"type": "Identifier",
- "start": 3308,
- "end": 3316,
+ "start": 3338,
+ "end": 3346,
"loc": {
"start": {
"line": 88,
@@ -6873,8 +6973,8 @@
},
"property": {
"type": "Identifier",
- "start": 3317,
- "end": 3319,
+ "start": 3347,
+ "end": 3349,
"loc": {
"start": {
"line": 88,
@@ -6892,8 +6992,8 @@
},
{
"type": "StringLiteral",
- "start": 3321,
- "end": 3330,
+ "start": 3351,
+ "end": 3360,
"loc": {
"start": {
"line": 88,
@@ -6919,8 +7019,8 @@
{
"type": "CommentLine",
"value": " compound.ignited = true (above statement)",
- "start": 3337,
- "end": 3381,
+ "start": 3367,
+ "end": 3411,
"loc": {
"start": {
"line": 89,
@@ -6935,8 +7035,8 @@
{
"type": "CommentLine",
"value": " compound.texture = PIXI.loader.resources[GLOBAL.IGNITE_SPRITE].texture; moved to client",
- "start": 3386,
- "end": 3476,
+ "start": 3416,
+ "end": 3506,
"loc": {
"start": {
"line": 90,
@@ -6957,8 +7057,8 @@
},
{
"type": "BreakStatement",
- "start": 3485,
- "end": 3490,
+ "start": 3515,
+ "end": 3520,
"loc": {
"start": {
"line": 92,
@@ -6974,8 +7074,8 @@
],
"test": {
"type": "StringLiteral",
- "start": 3186,
- "end": 3197,
+ "start": 3216,
+ "end": 3227,
"loc": {
"start": {
"line": 86,
@@ -6998,8 +7098,8 @@
{
"type": "CommentLine",
"value": " TODO",
- "start": 3135,
- "end": 3142,
+ "start": 3165,
+ "end": 3172,
"loc": {
"start": {
"line": 84,
@@ -7015,8 +7115,8 @@
},
{
"type": "IfStatement",
- "start": 3496,
- "end": 3640,
+ "start": 3526,
+ "end": 3670,
"loc": {
"start": {
"line": 95,
@@ -7029,8 +7129,8 @@
},
"test": {
"type": "MemberExpression",
- "start": 3500,
- "end": 3535,
+ "start": 3530,
+ "end": 3565,
"loc": {
"start": {
"line": 95,
@@ -7043,8 +7143,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 3500,
- "end": 3525,
+ "start": 3530,
+ "end": 3555,
"loc": {
"start": {
"line": 95,
@@ -7057,8 +7157,8 @@
},
"object": {
"type": "MemberExpression",
- "start": 3500,
- "end": 3518,
+ "start": 3530,
+ "end": 3548,
"loc": {
"start": {
"line": 95,
@@ -7071,8 +7171,8 @@
},
"object": {
"type": "Identifier",
- "start": 3500,
- "end": 3508,
+ "start": 3530,
+ "end": 3538,
"loc": {
"start": {
"line": 95,
@@ -7088,8 +7188,8 @@
},
"property": {
"type": "Identifier",
- "start": 3509,
- "end": 3518,
+ "start": 3539,
+ "end": 3548,
"loc": {
"start": {
"line": 95,
@@ -7107,8 +7207,8 @@
},
"property": {
"type": "Identifier",
- "start": 3519,
- "end": 3525,
+ "start": 3549,
+ "end": 3555,
"loc": {
"start": {
"line": 95,
@@ -7126,8 +7226,8 @@
},
"property": {
"type": "Identifier",
- "start": 3526,
- "end": 3535,
+ "start": 3556,
+ "end": 3565,
"loc": {
"start": {
"line": 95,
@@ -7145,8 +7245,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 3537,
- "end": 3640,
+ "start": 3567,
+ "end": 3670,
"loc": {
"start": {
"line": 95,
@@ -7160,8 +7260,8 @@
"body": [
{
"type": "IfStatement",
- "start": 3541,
- "end": 3637,
+ "start": 3571,
+ "end": 3667,
"loc": {
"start": {
"line": 96,
@@ -7174,8 +7274,8 @@
},
"test": {
"type": "BinaryExpression",
- "start": 3545,
- "end": 3574,
+ "start": 3575,
+ "end": 3604,
"loc": {
"start": {
"line": 96,
@@ -7188,8 +7288,8 @@
},
"left": {
"type": "CallExpression",
- "start": 3545,
- "end": 3566,
+ "start": 3575,
+ "end": 3596,
"loc": {
"start": {
"line": 96,
@@ -7202,8 +7302,8 @@
},
"callee": {
"type": "Identifier",
- "start": 3545,
- "end": 3556,
+ "start": 3575,
+ "end": 3586,
"loc": {
"start": {
"line": 96,
@@ -7220,8 +7320,8 @@
"arguments": [
{
"type": "Identifier",
- "start": 3557,
- "end": 3565,
+ "start": 3587,
+ "end": 3595,
"loc": {
"start": {
"line": 96,
@@ -7240,8 +7340,8 @@
"operator": "===",
"right": {
"type": "StringLiteral",
- "start": 3571,
- "end": 3574,
+ "start": 3601,
+ "end": 3604,
"loc": {
"start": {
"line": 96,
@@ -7261,8 +7361,8 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 3576,
- "end": 3637,
+ "start": 3606,
+ "end": 3667,
"loc": {
"start": {
"line": 96,
@@ -7276,8 +7376,8 @@
"body": [
{
"type": "ExpressionStatement",
- "start": 3581,
- "end": 3633,
+ "start": 3611,
+ "end": 3663,
"loc": {
"start": {
"line": 97,
@@ -7290,8 +7390,8 @@
},
"expression": {
"type": "CallExpression",
- "start": 3581,
- "end": 3633,
+ "start": 3611,
+ "end": 3663,
"loc": {
"start": {
"line": 97,
@@ -7304,8 +7404,8 @@
},
"callee": {
"type": "Identifier",
- "start": 3581,
- "end": 3593,
+ "start": 3611,
+ "end": 3623,
"loc": {
"start": {
"line": 97,
@@ -7322,8 +7422,8 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 3594,
- "end": 3605,
+ "start": 3624,
+ "end": 3635,
"loc": {
"start": {
"line": 97,
@@ -7342,8 +7442,8 @@
},
{
"type": "MemberExpression",
- "start": 3607,
- "end": 3618,
+ "start": 3637,
+ "end": 3648,
"loc": {
"start": {
"line": 97,
@@ -7356,8 +7456,8 @@
},
"object": {
"type": "Identifier",
- "start": 3607,
- "end": 3615,
+ "start": 3637,
+ "end": 3645,
"loc": {
"start": {
"line": 97,
@@ -7373,8 +7473,8 @@
},
"property": {
"type": "Identifier",
- "start": 3616,
- "end": 3618,
+ "start": 3646,
+ "end": 3648,
"loc": {
"start": {
"line": 97,
@@ -7392,8 +7492,8 @@
},
{
"type": "Identifier",
- "start": 3620,
- "end": 3624,
+ "start": 3650,
+ "end": 3654,
"loc": {
"start": {
"line": 97,
@@ -7409,8 +7509,8 @@
},
{
"type": "Identifier",
- "start": 3626,
- "end": 3632,
+ "start": 3656,
+ "end": 3662,
"loc": {
"start": {
"line": 97,
@@ -7444,8 +7544,8 @@
{
"type": "CommentBlock",
"value": "*\n * Checks compound behavior based on compound type. Runs once a frame.\n * @param {number} compound compound object\n * @param {string} room Name of room\n * @param socket - Socket.io instance\n ",
- "start": 2880,
- "end": 3077,
+ "start": 2910,
+ "end": 3107,
"loc": {
"start": {
"line": 77,
@@ -7464,8 +7564,8 @@
{
"type": "CommentBlock",
"value": "*\n * Checks compound behavior based on compound type. Runs once a frame.\n * @param {number} compound compound object\n * @param {string} room Name of room\n * @param socket - Socket.io instance\n ",
- "start": 2880,
- "end": 3077,
+ "start": 2910,
+ "end": 3107,
"loc": {
"start": {
"line": 77,
@@ -7582,8 +7682,8 @@
{
"type": "CommentLine",
"value": " Emits the crafting event to update experience",
- "start": 2452,
- "end": 2500,
+ "start": 2482,
+ "end": 2530,
"loc": {
"start": {
"line": 64,
@@ -7598,8 +7698,8 @@
{
"type": "CommentLine",
"value": " Remove atoms from inventory",
- "start": 2556,
- "end": 2586,
+ "start": 2586,
+ "end": 2616,
"loc": {
"start": {
"line": 67,
@@ -7614,8 +7714,8 @@
{
"type": "CommentBlock",
"value": "*\n * Checks compound behavior based on compound type. Runs once a frame.\n * @param {number} compound compound object\n * @param {string} room Name of room\n * @param socket - Socket.io instance\n ",
- "start": 2880,
- "end": 3077,
+ "start": 2910,
+ "end": 3107,
"loc": {
"start": {
"line": 77,
@@ -7630,8 +7730,8 @@
{
"type": "CommentLine",
"value": " TODO",
- "start": 3135,
- "end": 3142,
+ "start": 3165,
+ "end": 3172,
"loc": {
"start": {
"line": 84,
@@ -7646,8 +7746,8 @@
{
"type": "CommentLine",
"value": " compound.ignited = true (above statement)",
- "start": 3337,
- "end": 3381,
+ "start": 3367,
+ "end": 3411,
"loc": {
"start": {
"line": 89,
@@ -7662,8 +7762,8 @@
{
"type": "CommentLine",
"value": " compound.texture = PIXI.loader.resources[GLOBAL.IGNITE_SPRITE].texture; moved to client",
- "start": 3386,
- "end": 3476,
+ "start": 3416,
+ "end": 3506,
"loc": {
"start": {
"line": 90,
@@ -15847,8 +15947,7 @@
},
{
"type": {
- "label": "true",
- "keyword": "true",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -15856,10 +15955,9 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "true",
+ "value": "data",
"start": 2299,
"end": 2303,
"loc": {
@@ -15875,8 +15973,8 @@
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -15899,6 +15997,162 @@
}
}
},
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "blueprint",
+ "start": 2304,
+ "end": 2313,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 16
+ },
+ "end": {
+ "line": 58,
+ "column": 25
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 2313,
+ "end": 2314,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 25
+ },
+ "end": {
+ "line": 58,
+ "column": 26
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "params",
+ "start": 2314,
+ "end": 2320,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 26
+ },
+ "end": {
+ "line": 58,
+ "column": 32
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 2320,
+ "end": 2321,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 32
+ },
+ "end": {
+ "line": 58,
+ "column": 33
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "defenseModifier",
+ "start": 2321,
+ "end": 2336,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 33
+ },
+ "end": {
+ "line": 58,
+ "column": 48
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 2336,
+ "end": 2337,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 48
+ },
+ "end": {
+ "line": 58,
+ "column": 49
+ }
+ }
+ },
{
"type": {
"label": "[",
@@ -15912,16 +16166,16 @@
"binop": null,
"updateContext": null
},
- "start": 2305,
- "end": 2306,
+ "start": 2338,
+ "end": 2339,
"loc": {
"start": {
"line": 58,
- "column": 17
+ "column": 50
},
"end": {
"line": 58,
- "column": 18
+ "column": 51
}
}
},
@@ -15939,16 +16193,16 @@
"updateContext": null
},
"value": "rooms",
- "start": 2306,
- "end": 2313,
+ "start": 2339,
+ "end": 2346,
"loc": {
"start": {
"line": 58,
- "column": 18
+ "column": 51
},
"end": {
"line": 58,
- "column": 25
+ "column": 58
}
}
},
@@ -15965,16 +16219,16 @@
"binop": null,
"updateContext": null
},
- "start": 2313,
- "end": 2314,
+ "start": 2346,
+ "end": 2347,
"loc": {
"start": {
"line": 58,
- "column": 25
+ "column": 58
},
"end": {
"line": 58,
- "column": 26
+ "column": 59
}
}
},
@@ -15991,16 +16245,16 @@
"binop": null
},
"value": "room",
- "start": 2315,
- "end": 2319,
+ "start": 2348,
+ "end": 2352,
"loc": {
"start": {
"line": 58,
- "column": 27
+ "column": 60
},
"end": {
"line": 58,
- "column": 31
+ "column": 64
}
}
},
@@ -16017,16 +16271,16 @@
"binop": null,
"updateContext": null
},
- "start": 2319,
- "end": 2320,
+ "start": 2352,
+ "end": 2353,
"loc": {
"start": {
"line": 58,
- "column": 31
+ "column": 64
},
"end": {
"line": 58,
- "column": 32
+ "column": 65
}
}
},
@@ -16044,16 +16298,16 @@
"updateContext": null
},
"value": "players",
- "start": 2321,
- "end": 2330,
+ "start": 2354,
+ "end": 2363,
"loc": {
"start": {
"line": 58,
- "column": 33
+ "column": 66
},
"end": {
"line": 58,
- "column": 42
+ "column": 75
}
}
},
@@ -16070,16 +16324,16 @@
"binop": null,
"updateContext": null
},
- "start": 2330,
- "end": 2331,
+ "start": 2363,
+ "end": 2364,
"loc": {
"start": {
"line": 58,
- "column": 42
+ "column": 75
},
"end": {
"line": 58,
- "column": 43
+ "column": 76
}
}
},
@@ -16096,16 +16350,16 @@
"binop": null
},
"value": "thisPlayer",
- "start": 2332,
- "end": 2342,
+ "start": 2365,
+ "end": 2375,
"loc": {
"start": {
"line": 58,
- "column": 44
+ "column": 77
},
"end": {
"line": 58,
- "column": 54
+ "column": 87
}
}
},
@@ -16122,16 +16376,16 @@
"binop": null,
"updateContext": null
},
- "start": 2342,
- "end": 2343,
+ "start": 2375,
+ "end": 2376,
"loc": {
"start": {
"line": 58,
- "column": 54
+ "column": 87
},
"end": {
"line": 58,
- "column": 55
+ "column": 88
}
}
},
@@ -16148,16 +16402,16 @@
"binop": null
},
"value": "id",
- "start": 2343,
- "end": 2345,
+ "start": 2376,
+ "end": 2378,
"loc": {
"start": {
"line": 58,
- "column": 55
+ "column": 88
},
"end": {
"line": 58,
- "column": 57
+ "column": 90
}
}
},
@@ -16174,16 +16428,16 @@
"binop": null,
"updateContext": null
},
- "start": 2345,
- "end": 2346,
+ "start": 2378,
+ "end": 2379,
"loc": {
"start": {
"line": 58,
- "column": 57
+ "column": 90
},
"end": {
"line": 58,
- "column": 58
+ "column": 91
}
}
},
@@ -16200,17 +16454,17 @@
"binop": null,
"updateContext": null
},
- "value": "hasShield",
- "start": 2347,
- "end": 2358,
+ "value": "shield",
+ "start": 2380,
+ "end": 2388,
"loc": {
"start": {
"line": 58,
- "column": 59
+ "column": 92
},
"end": {
"line": 58,
- "column": 70
+ "column": 100
}
}
},
@@ -16227,16 +16481,16 @@
"binop": null,
"updateContext": null
},
- "start": 2358,
- "end": 2359,
+ "start": 2388,
+ "end": 2389,
"loc": {
"start": {
"line": 58,
- "column": 70
+ "column": 100
},
"end": {
"line": 58,
- "column": 71
+ "column": 101
}
}
},
@@ -16252,16 +16506,16 @@
"postfix": false,
"binop": null
},
- "start": 2359,
- "end": 2360,
+ "start": 2389,
+ "end": 2390,
"loc": {
"start": {
"line": 58,
- "column": 71
+ "column": 101
},
"end": {
"line": 58,
- "column": 72
+ "column": 102
}
}
},
@@ -16277,8 +16531,8 @@
"postfix": false,
"binop": null
},
- "start": 2362,
- "end": 2363,
+ "start": 2392,
+ "end": 2393,
"loc": {
"start": {
"line": 59,
@@ -16305,8 +16559,8 @@
"updateContext": null
},
"value": "else",
- "start": 2365,
- "end": 2369,
+ "start": 2395,
+ "end": 2399,
"loc": {
"start": {
"line": 60,
@@ -16333,8 +16587,8 @@
"updateContext": null
},
"value": "if",
- "start": 2370,
- "end": 2372,
+ "start": 2400,
+ "end": 2402,
"loc": {
"start": {
"line": 60,
@@ -16358,8 +16612,8 @@
"postfix": false,
"binop": null
},
- "start": 2373,
- "end": 2374,
+ "start": 2403,
+ "end": 2404,
"loc": {
"start": {
"line": 60,
@@ -16384,8 +16638,8 @@
"binop": null
},
"value": "data",
- "start": 2374,
- "end": 2378,
+ "start": 2404,
+ "end": 2408,
"loc": {
"start": {
"line": 60,
@@ -16410,8 +16664,8 @@
"binop": null,
"updateContext": null
},
- "start": 2378,
- "end": 2379,
+ "start": 2408,
+ "end": 2409,
"loc": {
"start": {
"line": 60,
@@ -16436,8 +16690,8 @@
"binop": null
},
"value": "blueprint",
- "start": 2379,
- "end": 2388,
+ "start": 2409,
+ "end": 2418,
"loc": {
"start": {
"line": 60,
@@ -16462,8 +16716,8 @@
"binop": null,
"updateContext": null
},
- "start": 2388,
- "end": 2389,
+ "start": 2418,
+ "end": 2419,
"loc": {
"start": {
"line": 60,
@@ -16488,8 +16742,8 @@
"binop": null
},
"value": "type",
- "start": 2389,
- "end": 2393,
+ "start": 2419,
+ "end": 2423,
"loc": {
"start": {
"line": 60,
@@ -16515,8 +16769,8 @@
"updateContext": null
},
"value": "===",
- "start": 2394,
- "end": 2397,
+ "start": 2424,
+ "end": 2427,
"loc": {
"start": {
"line": 60,
@@ -16542,8 +16796,8 @@
"updateContext": null
},
"value": "block",
- "start": 2398,
- "end": 2405,
+ "start": 2428,
+ "end": 2435,
"loc": {
"start": {
"line": 60,
@@ -16567,8 +16821,8 @@
"postfix": false,
"binop": null
},
- "start": 2405,
- "end": 2406,
+ "start": 2435,
+ "end": 2436,
"loc": {
"start": {
"line": 60,
@@ -16592,8 +16846,8 @@
"postfix": false,
"binop": null
},
- "start": 2407,
- "end": 2408,
+ "start": 2437,
+ "end": 2438,
"loc": {
"start": {
"line": 60,
@@ -16618,8 +16872,8 @@
"binop": null
},
"value": "newCompound",
- "start": 2411,
- "end": 2422,
+ "start": 2441,
+ "end": 2452,
"loc": {
"start": {
"line": 61,
@@ -16644,8 +16898,8 @@
"binop": null,
"updateContext": null
},
- "start": 2422,
- "end": 2423,
+ "start": 2452,
+ "end": 2453,
"loc": {
"start": {
"line": 61,
@@ -16670,8 +16924,8 @@
"binop": null
},
"value": "vx",
- "start": 2423,
- "end": 2425,
+ "start": 2453,
+ "end": 2455,
"loc": {
"start": {
"line": 61,
@@ -16697,8 +16951,8 @@
"updateContext": null
},
"value": "=",
- "start": 2426,
- "end": 2427,
+ "start": 2456,
+ "end": 2457,
"loc": {
"start": {
"line": 61,
@@ -16723,8 +16977,8 @@
"binop": null
},
"value": "newCompound",
- "start": 2428,
- "end": 2439,
+ "start": 2458,
+ "end": 2469,
"loc": {
"start": {
"line": 61,
@@ -16749,8 +17003,8 @@
"binop": null,
"updateContext": null
},
- "start": 2439,
- "end": 2440,
+ "start": 2469,
+ "end": 2470,
"loc": {
"start": {
"line": 61,
@@ -16775,8 +17029,8 @@
"binop": null
},
"value": "vy",
- "start": 2440,
- "end": 2442,
+ "start": 2470,
+ "end": 2472,
"loc": {
"start": {
"line": 61,
@@ -16802,8 +17056,8 @@
"updateContext": null
},
"value": "=",
- "start": 2443,
- "end": 2444,
+ "start": 2473,
+ "end": 2474,
"loc": {
"start": {
"line": 61,
@@ -16829,8 +17083,8 @@
"updateContext": null
},
"value": 0,
- "start": 2445,
- "end": 2446,
+ "start": 2475,
+ "end": 2476,
"loc": {
"start": {
"line": 61,
@@ -16854,8 +17108,8 @@
"postfix": false,
"binop": null
},
- "start": 2448,
- "end": 2449,
+ "start": 2478,
+ "end": 2479,
"loc": {
"start": {
"line": 62,
@@ -16870,8 +17124,8 @@
{
"type": "CommentLine",
"value": " Emits the crafting event to update experience",
- "start": 2452,
- "end": 2500,
+ "start": 2482,
+ "end": 2530,
"loc": {
"start": {
"line": 64,
@@ -16896,8 +17150,8 @@
"binop": null
},
"value": "addExperience",
- "start": 2502,
- "end": 2515,
+ "start": 2532,
+ "end": 2545,
"loc": {
"start": {
"line": 65,
@@ -16921,8 +17175,8 @@
"postfix": false,
"binop": null
},
- "start": 2515,
- "end": 2516,
+ "start": 2545,
+ "end": 2546,
"loc": {
"start": {
"line": 65,
@@ -16948,8 +17202,8 @@
"updateContext": null
},
"value": "CRAFT",
- "start": 2516,
- "end": 2523,
+ "start": 2546,
+ "end": 2553,
"loc": {
"start": {
"line": 65,
@@ -16974,8 +17228,8 @@
"binop": null,
"updateContext": null
},
- "start": 2523,
- "end": 2524,
+ "start": 2553,
+ "end": 2554,
"loc": {
"start": {
"line": 65,
@@ -17000,8 +17254,8 @@
"binop": null
},
"value": "socket",
- "start": 2525,
- "end": 2531,
+ "start": 2555,
+ "end": 2561,
"loc": {
"start": {
"line": 65,
@@ -17026,8 +17280,8 @@
"binop": null,
"updateContext": null
},
- "start": 2531,
- "end": 2532,
+ "start": 2561,
+ "end": 2562,
"loc": {
"start": {
"line": 65,
@@ -17052,8 +17306,8 @@
"binop": null
},
"value": "room",
- "start": 2533,
- "end": 2537,
+ "start": 2563,
+ "end": 2567,
"loc": {
"start": {
"line": 65,
@@ -17078,8 +17332,8 @@
"binop": null,
"updateContext": null
},
- "start": 2537,
- "end": 2538,
+ "start": 2567,
+ "end": 2568,
"loc": {
"start": {
"line": 65,
@@ -17104,8 +17358,8 @@
"binop": null
},
"value": "thisPlayer",
- "start": 2539,
- "end": 2549,
+ "start": 2569,
+ "end": 2579,
"loc": {
"start": {
"line": 65,
@@ -17130,8 +17384,8 @@
"binop": null,
"updateContext": null
},
- "start": 2549,
- "end": 2550,
+ "start": 2579,
+ "end": 2580,
"loc": {
"start": {
"line": 65,
@@ -17156,8 +17410,8 @@
"binop": null
},
"value": "id",
- "start": 2550,
- "end": 2552,
+ "start": 2580,
+ "end": 2582,
"loc": {
"start": {
"line": 65,
@@ -17181,8 +17435,8 @@
"postfix": false,
"binop": null
},
- "start": 2552,
- "end": 2553,
+ "start": 2582,
+ "end": 2583,
"loc": {
"start": {
"line": 65,
@@ -17197,8 +17451,8 @@
{
"type": "CommentLine",
"value": " Remove atoms from inventory",
- "start": 2556,
- "end": 2586,
+ "start": 2586,
+ "end": 2616,
"loc": {
"start": {
"line": 67,
@@ -17225,8 +17479,8 @@
"updateContext": null
},
"value": "if",
- "start": 2588,
- "end": 2590,
+ "start": 2618,
+ "end": 2620,
"loc": {
"start": {
"line": 68,
@@ -17250,8 +17504,8 @@
"postfix": false,
"binop": null
},
- "start": 2591,
- "end": 2592,
+ "start": 2621,
+ "end": 2622,
"loc": {
"start": {
"line": 68,
@@ -17277,8 +17531,8 @@
"updateContext": null
},
"value": "!",
- "start": 2592,
- "end": 2593,
+ "start": 2622,
+ "end": 2623,
"loc": {
"start": {
"line": 68,
@@ -17303,8 +17557,8 @@
"binop": null
},
"value": "data",
- "start": 2593,
- "end": 2597,
+ "start": 2623,
+ "end": 2627,
"loc": {
"start": {
"line": 68,
@@ -17329,8 +17583,8 @@
"binop": null,
"updateContext": null
},
- "start": 2597,
- "end": 2598,
+ "start": 2627,
+ "end": 2628,
"loc": {
"start": {
"line": 68,
@@ -17355,8 +17609,8 @@
"binop": null
},
"value": "streamID",
- "start": 2598,
- "end": 2606,
+ "start": 2628,
+ "end": 2636,
"loc": {
"start": {
"line": 68,
@@ -17382,8 +17636,8 @@
"updateContext": null
},
"value": "||",
- "start": 2607,
- "end": 2609,
+ "start": 2637,
+ "end": 2639,
"loc": {
"start": {
"line": 68,
@@ -17408,8 +17662,8 @@
"binop": null
},
"value": "data",
- "start": 2610,
- "end": 2614,
+ "start": 2640,
+ "end": 2644,
"loc": {
"start": {
"line": 68,
@@ -17434,8 +17688,8 @@
"binop": null,
"updateContext": null
},
- "start": 2614,
- "end": 2615,
+ "start": 2644,
+ "end": 2645,
"loc": {
"start": {
"line": 68,
@@ -17460,8 +17714,8 @@
"binop": null
},
"value": "streamID",
- "start": 2615,
- "end": 2623,
+ "start": 2645,
+ "end": 2653,
"loc": {
"start": {
"line": 68,
@@ -17487,8 +17741,8 @@
"updateContext": null
},
"value": "%",
- "start": 2624,
- "end": 2625,
+ "start": 2654,
+ "end": 2655,
"loc": {
"start": {
"line": 68,
@@ -17513,8 +17767,8 @@
"binop": null
},
"value": "data",
- "start": 2626,
- "end": 2630,
+ "start": 2656,
+ "end": 2660,
"loc": {
"start": {
"line": 68,
@@ -17539,8 +17793,8 @@
"binop": null,
"updateContext": null
},
- "start": 2630,
- "end": 2631,
+ "start": 2660,
+ "end": 2661,
"loc": {
"start": {
"line": 68,
@@ -17565,8 +17819,8 @@
"binop": null
},
"value": "blueprint",
- "start": 2631,
- "end": 2640,
+ "start": 2661,
+ "end": 2670,
"loc": {
"start": {
"line": 68,
@@ -17591,8 +17845,8 @@
"binop": null,
"updateContext": null
},
- "start": 2640,
- "end": 2641,
+ "start": 2670,
+ "end": 2671,
"loc": {
"start": {
"line": 68,
@@ -17617,8 +17871,8 @@
"binop": null
},
"value": "params",
- "start": 2641,
- "end": 2647,
+ "start": 2671,
+ "end": 2677,
"loc": {
"start": {
"line": 68,
@@ -17643,8 +17897,8 @@
"binop": null,
"updateContext": null
},
- "start": 2647,
- "end": 2648,
+ "start": 2677,
+ "end": 2678,
"loc": {
"start": {
"line": 68,
@@ -17669,8 +17923,8 @@
"binop": null
},
"value": "compoundsPerCraft",
- "start": 2648,
- "end": 2665,
+ "start": 2678,
+ "end": 2695,
"loc": {
"start": {
"line": 68,
@@ -17696,8 +17950,8 @@
"updateContext": null
},
"value": "===",
- "start": 2666,
- "end": 2669,
+ "start": 2696,
+ "end": 2699,
"loc": {
"start": {
"line": 68,
@@ -17723,8 +17977,8 @@
"updateContext": null
},
"value": 0,
- "start": 2670,
- "end": 2671,
+ "start": 2700,
+ "end": 2701,
"loc": {
"start": {
"line": 68,
@@ -17750,8 +18004,8 @@
"updateContext": null
},
"value": "||",
- "start": 2672,
- "end": 2674,
+ "start": 2702,
+ "end": 2704,
"loc": {
"start": {
"line": 68,
@@ -17776,8 +18030,8 @@
"binop": null
},
"value": "data",
- "start": 2675,
- "end": 2679,
+ "start": 2705,
+ "end": 2709,
"loc": {
"start": {
"line": 68,
@@ -17802,8 +18056,8 @@
"binop": null,
"updateContext": null
},
- "start": 2679,
- "end": 2680,
+ "start": 2709,
+ "end": 2710,
"loc": {
"start": {
"line": 68,
@@ -17828,8 +18082,8 @@
"binop": null
},
"value": "streamID",
- "start": 2680,
- "end": 2688,
+ "start": 2710,
+ "end": 2718,
"loc": {
"start": {
"line": 68,
@@ -17855,8 +18109,8 @@
"updateContext": null
},
"value": "===",
- "start": 2689,
- "end": 2692,
+ "start": 2719,
+ "end": 2722,
"loc": {
"start": {
"line": 68,
@@ -17882,8 +18136,8 @@
"updateContext": null
},
"value": 1,
- "start": 2693,
- "end": 2694,
+ "start": 2723,
+ "end": 2724,
"loc": {
"start": {
"line": 68,
@@ -17907,8 +18161,8 @@
"postfix": false,
"binop": null
},
- "start": 2694,
- "end": 2695,
+ "start": 2724,
+ "end": 2725,
"loc": {
"start": {
"line": 68,
@@ -17932,8 +18186,8 @@
"postfix": false,
"binop": null
},
- "start": 2696,
- "end": 2697,
+ "start": 2726,
+ "end": 2727,
"loc": {
"start": {
"line": 68,
@@ -17960,8 +18214,8 @@
"updateContext": null
},
"value": "for",
- "start": 2700,
- "end": 2703,
+ "start": 2730,
+ "end": 2733,
"loc": {
"start": {
"line": 69,
@@ -17985,8 +18239,8 @@
"postfix": false,
"binop": null
},
- "start": 2704,
- "end": 2705,
+ "start": 2734,
+ "end": 2735,
"loc": {
"start": {
"line": 69,
@@ -18013,8 +18267,8 @@
"updateContext": null
},
"value": "let",
- "start": 2705,
- "end": 2708,
+ "start": 2735,
+ "end": 2738,
"loc": {
"start": {
"line": 69,
@@ -18039,8 +18293,8 @@
"binop": null
},
"value": "atom",
- "start": 2709,
- "end": 2713,
+ "start": 2739,
+ "end": 2743,
"loc": {
"start": {
"line": 69,
@@ -18067,8 +18321,8 @@
"updateContext": null
},
"value": "in",
- "start": 2714,
- "end": 2716,
+ "start": 2744,
+ "end": 2746,
"loc": {
"start": {
"line": 69,
@@ -18093,8 +18347,8 @@
"binop": null
},
"value": "data",
- "start": 2717,
- "end": 2721,
+ "start": 2747,
+ "end": 2751,
"loc": {
"start": {
"line": 69,
@@ -18119,8 +18373,8 @@
"binop": null,
"updateContext": null
},
- "start": 2721,
- "end": 2722,
+ "start": 2751,
+ "end": 2752,
"loc": {
"start": {
"line": 69,
@@ -18145,8 +18399,8 @@
"binop": null
},
"value": "blueprint",
- "start": 2722,
- "end": 2731,
+ "start": 2752,
+ "end": 2761,
"loc": {
"start": {
"line": 69,
@@ -18171,8 +18425,8 @@
"binop": null,
"updateContext": null
},
- "start": 2731,
- "end": 2732,
+ "start": 2761,
+ "end": 2762,
"loc": {
"start": {
"line": 69,
@@ -18197,8 +18451,8 @@
"binop": null
},
"value": "atoms",
- "start": 2732,
- "end": 2737,
+ "start": 2762,
+ "end": 2767,
"loc": {
"start": {
"line": 69,
@@ -18222,8 +18476,8 @@
"postfix": false,
"binop": null
},
- "start": 2737,
- "end": 2738,
+ "start": 2767,
+ "end": 2768,
"loc": {
"start": {
"line": 69,
@@ -18247,8 +18501,8 @@
"postfix": false,
"binop": null
},
- "start": 2739,
- "end": 2740,
+ "start": 2769,
+ "end": 2770,
"loc": {
"start": {
"line": 69,
@@ -18273,8 +18527,8 @@
"binop": null
},
"value": "incrementField",
- "start": 2744,
- "end": 2758,
+ "start": 2774,
+ "end": 2788,
"loc": {
"start": {
"line": 70,
@@ -18298,8 +18552,8 @@
"postfix": false,
"binop": null
},
- "start": 2758,
- "end": 2759,
+ "start": 2788,
+ "end": 2789,
"loc": {
"start": {
"line": 70,
@@ -18325,8 +18579,8 @@
"updateContext": null
},
"value": "-",
- "start": 2759,
- "end": 2760,
+ "start": 2789,
+ "end": 2790,
"loc": {
"start": {
"line": 70,
@@ -18351,8 +18605,8 @@
"binop": null
},
"value": "data",
- "start": 2760,
- "end": 2764,
+ "start": 2790,
+ "end": 2794,
"loc": {
"start": {
"line": 70,
@@ -18377,8 +18631,8 @@
"binop": null,
"updateContext": null
},
- "start": 2764,
- "end": 2765,
+ "start": 2794,
+ "end": 2795,
"loc": {
"start": {
"line": 70,
@@ -18403,8 +18657,8 @@
"binop": null
},
"value": "blueprint",
- "start": 2765,
- "end": 2774,
+ "start": 2795,
+ "end": 2804,
"loc": {
"start": {
"line": 70,
@@ -18429,8 +18683,8 @@
"binop": null,
"updateContext": null
},
- "start": 2774,
- "end": 2775,
+ "start": 2804,
+ "end": 2805,
"loc": {
"start": {
"line": 70,
@@ -18455,8 +18709,8 @@
"binop": null
},
"value": "atoms",
- "start": 2775,
- "end": 2780,
+ "start": 2805,
+ "end": 2810,
"loc": {
"start": {
"line": 70,
@@ -18481,8 +18735,8 @@
"binop": null,
"updateContext": null
},
- "start": 2780,
- "end": 2781,
+ "start": 2810,
+ "end": 2811,
"loc": {
"start": {
"line": 70,
@@ -18507,8 +18761,8 @@
"binop": null
},
"value": "atom",
- "start": 2781,
- "end": 2785,
+ "start": 2811,
+ "end": 2815,
"loc": {
"start": {
"line": 70,
@@ -18533,8 +18787,8 @@
"binop": null,
"updateContext": null
},
- "start": 2785,
- "end": 2786,
+ "start": 2815,
+ "end": 2816,
"loc": {
"start": {
"line": 70,
@@ -18559,8 +18813,8 @@
"binop": null,
"updateContext": null
},
- "start": 2786,
- "end": 2787,
+ "start": 2816,
+ "end": 2817,
"loc": {
"start": {
"line": 70,
@@ -18585,8 +18839,8 @@
"binop": null,
"updateContext": null
},
- "start": 2788,
- "end": 2789,
+ "start": 2818,
+ "end": 2819,
"loc": {
"start": {
"line": 70,
@@ -18612,8 +18866,8 @@
"updateContext": null
},
"value": "rooms",
- "start": 2789,
- "end": 2796,
+ "start": 2819,
+ "end": 2826,
"loc": {
"start": {
"line": 70,
@@ -18638,8 +18892,8 @@
"binop": null,
"updateContext": null
},
- "start": 2796,
- "end": 2797,
+ "start": 2826,
+ "end": 2827,
"loc": {
"start": {
"line": 70,
@@ -18664,8 +18918,8 @@
"binop": null
},
"value": "room",
- "start": 2798,
- "end": 2802,
+ "start": 2828,
+ "end": 2832,
"loc": {
"start": {
"line": 70,
@@ -18690,8 +18944,8 @@
"binop": null,
"updateContext": null
},
- "start": 2802,
- "end": 2803,
+ "start": 2832,
+ "end": 2833,
"loc": {
"start": {
"line": 70,
@@ -18717,8 +18971,8 @@
"updateContext": null
},
"value": "players",
- "start": 2804,
- "end": 2813,
+ "start": 2834,
+ "end": 2843,
"loc": {
"start": {
"line": 70,
@@ -18743,8 +18997,8 @@
"binop": null,
"updateContext": null
},
- "start": 2813,
- "end": 2814,
+ "start": 2843,
+ "end": 2844,
"loc": {
"start": {
"line": 70,
@@ -18769,8 +19023,8 @@
"binop": null
},
"value": "thisPlayer",
- "start": 2815,
- "end": 2825,
+ "start": 2845,
+ "end": 2855,
"loc": {
"start": {
"line": 70,
@@ -18795,8 +19049,8 @@
"binop": null,
"updateContext": null
},
- "start": 2825,
- "end": 2826,
+ "start": 2855,
+ "end": 2856,
"loc": {
"start": {
"line": 70,
@@ -18821,8 +19075,8 @@
"binop": null
},
"value": "id",
- "start": 2826,
- "end": 2828,
+ "start": 2856,
+ "end": 2858,
"loc": {
"start": {
"line": 70,
@@ -18847,8 +19101,8 @@
"binop": null,
"updateContext": null
},
- "start": 2828,
- "end": 2829,
+ "start": 2858,
+ "end": 2859,
"loc": {
"start": {
"line": 70,
@@ -18874,8 +19128,8 @@
"updateContext": null
},
"value": "atomList",
- "start": 2830,
- "end": 2840,
+ "start": 2860,
+ "end": 2870,
"loc": {
"start": {
"line": 70,
@@ -18900,8 +19154,8 @@
"binop": null,
"updateContext": null
},
- "start": 2840,
- "end": 2841,
+ "start": 2870,
+ "end": 2871,
"loc": {
"start": {
"line": 70,
@@ -18926,8 +19180,8 @@
"binop": null
},
"value": "atom",
- "start": 2842,
- "end": 2846,
+ "start": 2872,
+ "end": 2876,
"loc": {
"start": {
"line": 70,
@@ -18952,8 +19206,8 @@
"binop": null,
"updateContext": null
},
- "start": 2846,
- "end": 2847,
+ "start": 2876,
+ "end": 2877,
"loc": {
"start": {
"line": 70,
@@ -18977,8 +19231,8 @@
"postfix": false,
"binop": null
},
- "start": 2847,
- "end": 2848,
+ "start": 2877,
+ "end": 2878,
"loc": {
"start": {
"line": 70,
@@ -19002,8 +19256,8 @@
"postfix": false,
"binop": null
},
- "start": 2851,
- "end": 2852,
+ "start": 2881,
+ "end": 2882,
"loc": {
"start": {
"line": 71,
@@ -19027,8 +19281,8 @@
"postfix": false,
"binop": null
},
- "start": 2854,
- "end": 2855,
+ "start": 2884,
+ "end": 2885,
"loc": {
"start": {
"line": 72,
@@ -19055,8 +19309,8 @@
"updateContext": null
},
"value": "return",
- "start": 2858,
- "end": 2864,
+ "start": 2888,
+ "end": 2894,
"loc": {
"start": {
"line": 74,
@@ -19081,8 +19335,8 @@
"binop": null
},
"value": "newCompound",
- "start": 2865,
- "end": 2876,
+ "start": 2895,
+ "end": 2906,
"loc": {
"start": {
"line": 74,
@@ -19106,8 +19360,8 @@
"postfix": false,
"binop": null
},
- "start": 2877,
- "end": 2878,
+ "start": 2907,
+ "end": 2908,
"loc": {
"start": {
"line": 75,
@@ -19122,8 +19376,8 @@
{
"type": "CommentBlock",
"value": "*\n * Checks compound behavior based on compound type. Runs once a frame.\n * @param {number} compound compound object\n * @param {string} room Name of room\n * @param socket - Socket.io instance\n ",
- "start": 2880,
- "end": 3077,
+ "start": 2910,
+ "end": 3107,
"loc": {
"start": {
"line": 77,
@@ -19150,8 +19404,8 @@
"updateContext": null
},
"value": "export",
- "start": 3078,
- "end": 3084,
+ "start": 3108,
+ "end": 3114,
"loc": {
"start": {
"line": 83,
@@ -19177,8 +19431,8 @@
"binop": null
},
"value": "function",
- "start": 3085,
- "end": 3093,
+ "start": 3115,
+ "end": 3123,
"loc": {
"start": {
"line": 83,
@@ -19203,8 +19457,8 @@
"binop": null
},
"value": "tickCompound",
- "start": 3094,
- "end": 3106,
+ "start": 3124,
+ "end": 3136,
"loc": {
"start": {
"line": 83,
@@ -19228,8 +19482,8 @@
"postfix": false,
"binop": null
},
- "start": 3107,
- "end": 3108,
+ "start": 3137,
+ "end": 3138,
"loc": {
"start": {
"line": 83,
@@ -19254,8 +19508,8 @@
"binop": null
},
"value": "compound",
- "start": 3108,
- "end": 3116,
+ "start": 3138,
+ "end": 3146,
"loc": {
"start": {
"line": 83,
@@ -19280,8 +19534,8 @@
"binop": null,
"updateContext": null
},
- "start": 3116,
- "end": 3117,
+ "start": 3146,
+ "end": 3147,
"loc": {
"start": {
"line": 83,
@@ -19306,8 +19560,8 @@
"binop": null
},
"value": "room",
- "start": 3118,
- "end": 3122,
+ "start": 3148,
+ "end": 3152,
"loc": {
"start": {
"line": 83,
@@ -19332,8 +19586,8 @@
"binop": null,
"updateContext": null
},
- "start": 3122,
- "end": 3123,
+ "start": 3152,
+ "end": 3153,
"loc": {
"start": {
"line": 83,
@@ -19358,8 +19612,8 @@
"binop": null
},
"value": "socket",
- "start": 3124,
- "end": 3130,
+ "start": 3154,
+ "end": 3160,
"loc": {
"start": {
"line": 83,
@@ -19383,8 +19637,8 @@
"postfix": false,
"binop": null
},
- "start": 3130,
- "end": 3131,
+ "start": 3160,
+ "end": 3161,
"loc": {
"start": {
"line": 83,
@@ -19408,8 +19662,8 @@
"postfix": false,
"binop": null
},
- "start": 3132,
- "end": 3133,
+ "start": 3162,
+ "end": 3163,
"loc": {
"start": {
"line": 83,
@@ -19424,8 +19678,8 @@
{
"type": "CommentLine",
"value": " TODO",
- "start": 3135,
- "end": 3142,
+ "start": 3165,
+ "end": 3172,
"loc": {
"start": {
"line": 84,
@@ -19452,8 +19706,8 @@
"updateContext": null
},
"value": "switch",
- "start": 3144,
- "end": 3150,
+ "start": 3174,
+ "end": 3180,
"loc": {
"start": {
"line": 85,
@@ -19477,8 +19731,8 @@
"postfix": false,
"binop": null
},
- "start": 3151,
- "end": 3152,
+ "start": 3181,
+ "end": 3182,
"loc": {
"start": {
"line": 85,
@@ -19503,8 +19757,8 @@
"binop": null
},
"value": "compound",
- "start": 3152,
- "end": 3160,
+ "start": 3182,
+ "end": 3190,
"loc": {
"start": {
"line": 85,
@@ -19529,8 +19783,8 @@
"binop": null,
"updateContext": null
},
- "start": 3160,
- "end": 3161,
+ "start": 3190,
+ "end": 3191,
"loc": {
"start": {
"line": 85,
@@ -19555,8 +19809,8 @@
"binop": null
},
"value": "blueprint",
- "start": 3161,
- "end": 3170,
+ "start": 3191,
+ "end": 3200,
"loc": {
"start": {
"line": 85,
@@ -19581,8 +19835,8 @@
"binop": null,
"updateContext": null
},
- "start": 3170,
- "end": 3171,
+ "start": 3200,
+ "end": 3201,
"loc": {
"start": {
"line": 85,
@@ -19607,8 +19861,8 @@
"binop": null
},
"value": "type",
- "start": 3171,
- "end": 3175,
+ "start": 3201,
+ "end": 3205,
"loc": {
"start": {
"line": 85,
@@ -19632,8 +19886,8 @@
"postfix": false,
"binop": null
},
- "start": 3175,
- "end": 3176,
+ "start": 3205,
+ "end": 3206,
"loc": {
"start": {
"line": 85,
@@ -19657,8 +19911,8 @@
"postfix": false,
"binop": null
},
- "start": 3177,
- "end": 3178,
+ "start": 3207,
+ "end": 3208,
"loc": {
"start": {
"line": 85,
@@ -19685,8 +19939,8 @@
"updateContext": null
},
"value": "case",
- "start": 3181,
- "end": 3185,
+ "start": 3211,
+ "end": 3215,
"loc": {
"start": {
"line": 86,
@@ -19712,8 +19966,8 @@
"updateContext": null
},
"value": "flammable",
- "start": 3186,
- "end": 3197,
+ "start": 3216,
+ "end": 3227,
"loc": {
"start": {
"line": 86,
@@ -19738,8 +19992,8 @@
"binop": null,
"updateContext": null
},
- "start": 3197,
- "end": 3198,
+ "start": 3227,
+ "end": 3228,
"loc": {
"start": {
"line": 86,
@@ -19766,8 +20020,8 @@
"updateContext": null
},
"value": "if",
- "start": 3202,
- "end": 3204,
+ "start": 3232,
+ "end": 3234,
"loc": {
"start": {
"line": 87,
@@ -19791,8 +20045,8 @@
"postfix": false,
"binop": null
},
- "start": 3205,
- "end": 3206,
+ "start": 3235,
+ "end": 3236,
"loc": {
"start": {
"line": 87,
@@ -19817,8 +20071,8 @@
"binop": null
},
"value": "getCurrTile",
- "start": 3206,
- "end": 3217,
+ "start": 3236,
+ "end": 3247,
"loc": {
"start": {
"line": 87,
@@ -19842,8 +20096,8 @@
"postfix": false,
"binop": null
},
- "start": 3217,
- "end": 3218,
+ "start": 3247,
+ "end": 3248,
"loc": {
"start": {
"line": 87,
@@ -19868,8 +20122,8 @@
"binop": null
},
"value": "compound",
- "start": 3218,
- "end": 3226,
+ "start": 3248,
+ "end": 3256,
"loc": {
"start": {
"line": 87,
@@ -19893,8 +20147,8 @@
"postfix": false,
"binop": null
},
- "start": 3226,
- "end": 3227,
+ "start": 3256,
+ "end": 3257,
"loc": {
"start": {
"line": 87,
@@ -19920,8 +20174,8 @@
"updateContext": null
},
"value": "===",
- "start": 3228,
- "end": 3231,
+ "start": 3258,
+ "end": 3261,
"loc": {
"start": {
"line": 87,
@@ -19947,8 +20201,8 @@
"updateContext": null
},
"value": "F",
- "start": 3232,
- "end": 3235,
+ "start": 3262,
+ "end": 3265,
"loc": {
"start": {
"line": 87,
@@ -19974,8 +20228,8 @@
"updateContext": null
},
"value": "&&",
- "start": 3236,
- "end": 3238,
+ "start": 3266,
+ "end": 3268,
"loc": {
"start": {
"line": 87,
@@ -20001,8 +20255,8 @@
"updateContext": null
},
"value": "!",
- "start": 3239,
- "end": 3240,
+ "start": 3269,
+ "end": 3270,
"loc": {
"start": {
"line": 87,
@@ -20027,8 +20281,8 @@
"binop": null
},
"value": "compound",
- "start": 3240,
- "end": 3248,
+ "start": 3270,
+ "end": 3278,
"loc": {
"start": {
"line": 87,
@@ -20053,8 +20307,8 @@
"binop": null,
"updateContext": null
},
- "start": 3248,
- "end": 3249,
+ "start": 3278,
+ "end": 3279,
"loc": {
"start": {
"line": 87,
@@ -20079,8 +20333,8 @@
"binop": null
},
"value": "ignited",
- "start": 3249,
- "end": 3256,
+ "start": 3279,
+ "end": 3286,
"loc": {
"start": {
"line": 87,
@@ -20104,8 +20358,8 @@
"postfix": false,
"binop": null
},
- "start": 3256,
- "end": 3257,
+ "start": 3286,
+ "end": 3287,
"loc": {
"start": {
"line": 87,
@@ -20129,8 +20383,8 @@
"postfix": false,
"binop": null
},
- "start": 3258,
- "end": 3259,
+ "start": 3288,
+ "end": 3289,
"loc": {
"start": {
"line": 87,
@@ -20155,8 +20409,8 @@
"binop": null
},
"value": "setField",
- "start": 3264,
- "end": 3272,
+ "start": 3294,
+ "end": 3302,
"loc": {
"start": {
"line": 88,
@@ -20180,8 +20434,8 @@
"postfix": false,
"binop": null
},
- "start": 3272,
- "end": 3273,
+ "start": 3302,
+ "end": 3303,
"loc": {
"start": {
"line": 88,
@@ -20208,8 +20462,8 @@
"updateContext": null
},
"value": "true",
- "start": 3273,
- "end": 3277,
+ "start": 3303,
+ "end": 3307,
"loc": {
"start": {
"line": 88,
@@ -20234,8 +20488,8 @@
"binop": null,
"updateContext": null
},
- "start": 3277,
- "end": 3278,
+ "start": 3307,
+ "end": 3308,
"loc": {
"start": {
"line": 88,
@@ -20260,8 +20514,8 @@
"binop": null,
"updateContext": null
},
- "start": 3279,
- "end": 3280,
+ "start": 3309,
+ "end": 3310,
"loc": {
"start": {
"line": 88,
@@ -20287,8 +20541,8 @@
"updateContext": null
},
"value": "rooms",
- "start": 3280,
- "end": 3287,
+ "start": 3310,
+ "end": 3317,
"loc": {
"start": {
"line": 88,
@@ -20313,8 +20567,8 @@
"binop": null,
"updateContext": null
},
- "start": 3287,
- "end": 3288,
+ "start": 3317,
+ "end": 3318,
"loc": {
"start": {
"line": 88,
@@ -20339,8 +20593,8 @@
"binop": null
},
"value": "room",
- "start": 3289,
- "end": 3293,
+ "start": 3319,
+ "end": 3323,
"loc": {
"start": {
"line": 88,
@@ -20365,8 +20619,8 @@
"binop": null,
"updateContext": null
},
- "start": 3293,
- "end": 3294,
+ "start": 3323,
+ "end": 3324,
"loc": {
"start": {
"line": 88,
@@ -20392,8 +20646,8 @@
"updateContext": null
},
"value": "compounds",
- "start": 3295,
- "end": 3306,
+ "start": 3325,
+ "end": 3336,
"loc": {
"start": {
"line": 88,
@@ -20418,8 +20672,8 @@
"binop": null,
"updateContext": null
},
- "start": 3306,
- "end": 3307,
+ "start": 3336,
+ "end": 3337,
"loc": {
"start": {
"line": 88,
@@ -20444,8 +20698,8 @@
"binop": null
},
"value": "compound",
- "start": 3308,
- "end": 3316,
+ "start": 3338,
+ "end": 3346,
"loc": {
"start": {
"line": 88,
@@ -20470,8 +20724,8 @@
"binop": null,
"updateContext": null
},
- "start": 3316,
- "end": 3317,
+ "start": 3346,
+ "end": 3347,
"loc": {
"start": {
"line": 88,
@@ -20496,8 +20750,8 @@
"binop": null
},
"value": "id",
- "start": 3317,
- "end": 3319,
+ "start": 3347,
+ "end": 3349,
"loc": {
"start": {
"line": 88,
@@ -20522,8 +20776,8 @@
"binop": null,
"updateContext": null
},
- "start": 3319,
- "end": 3320,
+ "start": 3349,
+ "end": 3350,
"loc": {
"start": {
"line": 88,
@@ -20549,8 +20803,8 @@
"updateContext": null
},
"value": "ignited",
- "start": 3321,
- "end": 3330,
+ "start": 3351,
+ "end": 3360,
"loc": {
"start": {
"line": 88,
@@ -20575,8 +20829,8 @@
"binop": null,
"updateContext": null
},
- "start": 3330,
- "end": 3331,
+ "start": 3360,
+ "end": 3361,
"loc": {
"start": {
"line": 88,
@@ -20600,8 +20854,8 @@
"postfix": false,
"binop": null
},
- "start": 3331,
- "end": 3332,
+ "start": 3361,
+ "end": 3362,
"loc": {
"start": {
"line": 88,
@@ -20616,8 +20870,8 @@
{
"type": "CommentLine",
"value": " compound.ignited = true (above statement)",
- "start": 3337,
- "end": 3381,
+ "start": 3367,
+ "end": 3411,
"loc": {
"start": {
"line": 89,
@@ -20632,8 +20886,8 @@
{
"type": "CommentLine",
"value": " compound.texture = PIXI.loader.resources[GLOBAL.IGNITE_SPRITE].texture; moved to client",
- "start": 3386,
- "end": 3476,
+ "start": 3416,
+ "end": 3506,
"loc": {
"start": {
"line": 90,
@@ -20657,8 +20911,8 @@
"postfix": false,
"binop": null
},
- "start": 3480,
- "end": 3481,
+ "start": 3510,
+ "end": 3511,
"loc": {
"start": {
"line": 91,
@@ -20685,8 +20939,8 @@
"updateContext": null
},
"value": "break",
- "start": 3485,
- "end": 3490,
+ "start": 3515,
+ "end": 3520,
"loc": {
"start": {
"line": 92,
@@ -20710,8 +20964,8 @@
"postfix": false,
"binop": null
},
- "start": 3492,
- "end": 3493,
+ "start": 3522,
+ "end": 3523,
"loc": {
"start": {
"line": 93,
@@ -20738,8 +20992,8 @@
"updateContext": null
},
"value": "if",
- "start": 3496,
- "end": 3498,
+ "start": 3526,
+ "end": 3528,
"loc": {
"start": {
"line": 95,
@@ -20763,8 +21017,8 @@
"postfix": false,
"binop": null
},
- "start": 3499,
- "end": 3500,
+ "start": 3529,
+ "end": 3530,
"loc": {
"start": {
"line": 95,
@@ -20789,8 +21043,8 @@
"binop": null
},
"value": "compound",
- "start": 3500,
- "end": 3508,
+ "start": 3530,
+ "end": 3538,
"loc": {
"start": {
"line": 95,
@@ -20815,8 +21069,8 @@
"binop": null,
"updateContext": null
},
- "start": 3508,
- "end": 3509,
+ "start": 3538,
+ "end": 3539,
"loc": {
"start": {
"line": 95,
@@ -20841,8 +21095,8 @@
"binop": null
},
"value": "blueprint",
- "start": 3509,
- "end": 3518,
+ "start": 3539,
+ "end": 3548,
"loc": {
"start": {
"line": 95,
@@ -20867,8 +21121,8 @@
"binop": null,
"updateContext": null
},
- "start": 3518,
- "end": 3519,
+ "start": 3548,
+ "end": 3549,
"loc": {
"start": {
"line": 95,
@@ -20893,8 +21147,8 @@
"binop": null
},
"value": "params",
- "start": 3519,
- "end": 3525,
+ "start": 3549,
+ "end": 3555,
"loc": {
"start": {
"line": 95,
@@ -20919,8 +21173,8 @@
"binop": null,
"updateContext": null
},
- "start": 3525,
- "end": 3526,
+ "start": 3555,
+ "end": 3556,
"loc": {
"start": {
"line": 95,
@@ -20945,8 +21199,8 @@
"binop": null
},
"value": "evaporate",
- "start": 3526,
- "end": 3535,
+ "start": 3556,
+ "end": 3565,
"loc": {
"start": {
"line": 95,
@@ -20970,8 +21224,8 @@
"postfix": false,
"binop": null
},
- "start": 3535,
- "end": 3536,
+ "start": 3565,
+ "end": 3566,
"loc": {
"start": {
"line": 95,
@@ -20995,8 +21249,8 @@
"postfix": false,
"binop": null
},
- "start": 3537,
- "end": 3538,
+ "start": 3567,
+ "end": 3568,
"loc": {
"start": {
"line": 95,
@@ -21023,8 +21277,8 @@
"updateContext": null
},
"value": "if",
- "start": 3541,
- "end": 3543,
+ "start": 3571,
+ "end": 3573,
"loc": {
"start": {
"line": 96,
@@ -21048,8 +21302,8 @@
"postfix": false,
"binop": null
},
- "start": 3544,
- "end": 3545,
+ "start": 3574,
+ "end": 3575,
"loc": {
"start": {
"line": 96,
@@ -21074,8 +21328,8 @@
"binop": null
},
"value": "getCurrTile",
- "start": 3545,
- "end": 3556,
+ "start": 3575,
+ "end": 3586,
"loc": {
"start": {
"line": 96,
@@ -21099,8 +21353,8 @@
"postfix": false,
"binop": null
},
- "start": 3556,
- "end": 3557,
+ "start": 3586,
+ "end": 3587,
"loc": {
"start": {
"line": 96,
@@ -21125,8 +21379,8 @@
"binop": null
},
"value": "compound",
- "start": 3557,
- "end": 3565,
+ "start": 3587,
+ "end": 3595,
"loc": {
"start": {
"line": 96,
@@ -21150,8 +21404,8 @@
"postfix": false,
"binop": null
},
- "start": 3565,
- "end": 3566,
+ "start": 3595,
+ "end": 3596,
"loc": {
"start": {
"line": 96,
@@ -21177,8 +21431,8 @@
"updateContext": null
},
"value": "===",
- "start": 3567,
- "end": 3570,
+ "start": 3597,
+ "end": 3600,
"loc": {
"start": {
"line": 96,
@@ -21204,8 +21458,8 @@
"updateContext": null
},
"value": "F",
- "start": 3571,
- "end": 3574,
+ "start": 3601,
+ "end": 3604,
"loc": {
"start": {
"line": 96,
@@ -21229,8 +21483,8 @@
"postfix": false,
"binop": null
},
- "start": 3574,
- "end": 3575,
+ "start": 3604,
+ "end": 3605,
"loc": {
"start": {
"line": 96,
@@ -21254,8 +21508,8 @@
"postfix": false,
"binop": null
},
- "start": 3576,
- "end": 3577,
+ "start": 3606,
+ "end": 3607,
"loc": {
"start": {
"line": 96,
@@ -21280,8 +21534,8 @@
"binop": null
},
"value": "deleteObject",
- "start": 3581,
- "end": 3593,
+ "start": 3611,
+ "end": 3623,
"loc": {
"start": {
"line": 97,
@@ -21305,8 +21559,8 @@
"postfix": false,
"binop": null
},
- "start": 3593,
- "end": 3594,
+ "start": 3623,
+ "end": 3624,
"loc": {
"start": {
"line": 97,
@@ -21332,8 +21586,8 @@
"updateContext": null
},
"value": "compounds",
- "start": 3594,
- "end": 3605,
+ "start": 3624,
+ "end": 3635,
"loc": {
"start": {
"line": 97,
@@ -21358,8 +21612,8 @@
"binop": null,
"updateContext": null
},
- "start": 3605,
- "end": 3606,
+ "start": 3635,
+ "end": 3636,
"loc": {
"start": {
"line": 97,
@@ -21384,8 +21638,8 @@
"binop": null
},
"value": "compound",
- "start": 3607,
- "end": 3615,
+ "start": 3637,
+ "end": 3645,
"loc": {
"start": {
"line": 97,
@@ -21410,8 +21664,8 @@
"binop": null,
"updateContext": null
},
- "start": 3615,
- "end": 3616,
+ "start": 3645,
+ "end": 3646,
"loc": {
"start": {
"line": 97,
@@ -21436,8 +21690,8 @@
"binop": null
},
"value": "id",
- "start": 3616,
- "end": 3618,
+ "start": 3646,
+ "end": 3648,
"loc": {
"start": {
"line": 97,
@@ -21462,8 +21716,8 @@
"binop": null,
"updateContext": null
},
- "start": 3618,
- "end": 3619,
+ "start": 3648,
+ "end": 3649,
"loc": {
"start": {
"line": 97,
@@ -21488,8 +21742,8 @@
"binop": null
},
"value": "room",
- "start": 3620,
- "end": 3624,
+ "start": 3650,
+ "end": 3654,
"loc": {
"start": {
"line": 97,
@@ -21514,8 +21768,8 @@
"binop": null,
"updateContext": null
},
- "start": 3624,
- "end": 3625,
+ "start": 3654,
+ "end": 3655,
"loc": {
"start": {
"line": 97,
@@ -21540,8 +21794,8 @@
"binop": null
},
"value": "socket",
- "start": 3626,
- "end": 3632,
+ "start": 3656,
+ "end": 3662,
"loc": {
"start": {
"line": 97,
@@ -21565,8 +21819,8 @@
"postfix": false,
"binop": null
},
- "start": 3632,
- "end": 3633,
+ "start": 3662,
+ "end": 3663,
"loc": {
"start": {
"line": 97,
@@ -21590,8 +21844,8 @@
"postfix": false,
"binop": null
},
- "start": 3636,
- "end": 3637,
+ "start": 3666,
+ "end": 3667,
"loc": {
"start": {
"line": 98,
@@ -21615,8 +21869,8 @@
"postfix": false,
"binop": null
},
- "start": 3639,
- "end": 3640,
+ "start": 3669,
+ "end": 3670,
"loc": {
"start": {
"line": 99,
@@ -21640,8 +21894,8 @@
"postfix": false,
"binop": null
},
- "start": 3641,
- "end": 3642,
+ "start": 3671,
+ "end": 3672,
"loc": {
"start": {
"line": 100,
@@ -21666,8 +21920,8 @@
"binop": null,
"updateContext": null
},
- "start": 3643,
- "end": 3643,
+ "start": 3673,
+ "end": 3673,
"loc": {
"start": {
"line": 101,
diff --git a/docs/ast/source/server/utils/ondamage.js.json b/docs/ast/source/server/utils/ondamage.js.json
index 6fe448f..6736c04 100644
--- a/docs/ast/source/server/utils/ondamage.js.json
+++ b/docs/ast/source/server/utils/ondamage.js.json
@@ -1,28 +1,28 @@
{
"type": "File",
"start": 0,
- "end": 7783,
+ "end": 7948,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
- "line": 198,
+ "line": 203,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
- "end": 7783,
+ "end": 7948,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
- "line": 198,
+ "line": 203,
"column": 0
}
},
@@ -595,14 +595,14 @@
{
"type": "ExportNamedDeclaration",
"start": 935,
- "end": 5381,
+ "end": 5546,
"loc": {
"start": {
"line": 26,
"column": 0
},
"end": {
- "line": 137,
+ "line": 142,
"column": 1
}
},
@@ -611,14 +611,14 @@
"declaration": {
"type": "FunctionDeclaration",
"start": 942,
- "end": 5381,
+ "end": 5546,
"loc": {
"start": {
"line": 26,
"column": 7
},
"end": {
- "line": 137,
+ "line": 142,
"column": 1
}
},
@@ -699,14 +699,14 @@
"body": {
"type": "BlockStatement",
"start": 979,
- "end": 5381,
+ "end": 5546,
"loc": {
"start": {
"line": 26,
"column": 44
},
"end": {
- "line": 137,
+ "line": 142,
"column": 1
}
},
@@ -1018,14 +1018,14 @@
{
"type": "IfStatement",
"start": 1073,
- "end": 5379,
+ "end": 5544,
"loc": {
"start": {
"line": 30,
"column": 1
},
"end": {
- "line": 136,
+ "line": 141,
"column": 2
}
},
@@ -1082,69 +1082,82 @@
"consequent": {
"type": "BlockStatement",
"start": 1103,
- "end": 5269,
+ "end": 5434,
"loc": {
"start": {
"line": 30,
"column": 31
},
"end": {
- "line": 133,
+ "line": 138,
"column": 2
}
},
"body": [
{
- "type": "ExpressionStatement",
+ "type": "IfStatement",
"start": 1146,
- "end": 1238,
+ "end": 1313,
"loc": {
"start": {
"line": 32,
"column": 2
},
"end": {
- "line": 32,
- "column": 94
+ "line": 34,
+ "column": 3
}
},
- "expression": {
- "type": "CallExpression",
- "start": 1146,
- "end": 1238,
+ "test": {
+ "type": "BinaryExpression",
+ "start": 1150,
+ "end": 1189,
"loc": {
"start": {
"line": 32,
- "column": 2
+ "column": 6
},
"end": {
"line": 32,
- "column": 94
+ "column": 45
}
},
- "callee": {
- "type": "Identifier",
- "start": 1146,
- "end": 1154,
+ "left": {
+ "type": "MemberExpression",
+ "start": 1150,
+ "end": 1161,
"loc": {
"start": {
"line": 32,
- "column": 2
+ "column": 6
},
"end": {
"line": 32,
- "column": 10
+ "column": 17
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1150,
+ "end": 1154,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 6
+ },
+ "end": {
+ "line": 32,
+ "column": 10
+ },
+ "identifierName": "data"
},
- "identifierName": "setField"
+ "name": "data",
+ "leadingComments": null
},
- "name": "setField",
- "leadingComments": null
- },
- "arguments": [
- {
- "type": "BinaryExpression",
+ "property": {
+ "type": "Identifier",
"start": 1155,
- "end": 1186,
+ "end": 1161,
"loc": {
"start": {
"line": 32,
@@ -1152,259 +1165,463 @@
},
"end": {
"line": 32,
- "column": 42
- }
- },
- "left": {
- "type": "MemberExpression",
- "start": 1155,
- "end": 1172,
- "loc": {
- "start": {
- "line": 32,
- "column": 11
- },
- "end": {
- "line": 32,
- "column": 28
- }
+ "column": 17
},
- "object": {
- "type": "Identifier",
- "start": 1155,
- "end": 1165,
- "loc": {
- "start": {
- "line": 32,
- "column": 11
- },
- "end": {
- "line": 32,
- "column": 21
- },
- "identifierName": "thisPlayer"
- },
- "name": "thisPlayer"
+ "identifierName": "damage"
+ },
+ "name": "damage"
+ },
+ "computed": false,
+ "leadingComments": null
+ },
+ "operator": ">",
+ "right": {
+ "type": "MemberExpression",
+ "start": 1164,
+ "end": 1189,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 20
+ },
+ "end": {
+ "line": 32,
+ "column": 45
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1164,
+ "end": 1170,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 20
},
- "property": {
- "type": "Identifier",
- "start": 1166,
- "end": 1172,
- "loc": {
- "start": {
- "line": 32,
- "column": 22
- },
- "end": {
- "line": 32,
- "column": 28
- },
- "identifierName": "health"
- },
- "name": "health"
+ "end": {
+ "line": 32,
+ "column": 26
},
- "computed": false
+ "identifierName": "GLOBAL"
},
- "operator": "-",
- "right": {
- "type": "MemberExpression",
- "start": 1175,
- "end": 1186,
- "loc": {
- "start": {
- "line": 32,
- "column": 31
- },
- "end": {
- "line": 32,
- "column": 42
- }
- },
- "object": {
- "type": "Identifier",
- "start": 1175,
- "end": 1179,
- "loc": {
- "start": {
- "line": 32,
- "column": 31
- },
- "end": {
- "line": 32,
- "column": 35
- },
- "identifierName": "data"
- },
- "name": "data"
+ "name": "GLOBAL"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1171,
+ "end": 1189,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 27
},
- "property": {
- "type": "Identifier",
- "start": 1180,
- "end": 1186,
- "loc": {
- "start": {
- "line": 32,
- "column": 36
- },
- "end": {
- "line": 32,
- "column": 42
- },
- "identifierName": "damage"
- },
- "name": "damage"
+ "end": {
+ "line": 32,
+ "column": 45
},
- "computed": false
- }
+ "identifierName": "STRONGHOLD_DEFENSE"
+ },
+ "name": "STRONGHOLD_DEFENSE"
+ },
+ "computed": false
+ },
+ "leadingComments": null
+ },
+ "consequent": {
+ "type": "BlockStatement",
+ "start": 1191,
+ "end": 1313,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 47
},
+ "end": {
+ "line": 34,
+ "column": 3
+ }
+ },
+ "body": [
{
- "type": "ArrayExpression",
- "start": 1188,
- "end": 1237,
+ "type": "ExpressionStatement",
+ "start": 1196,
+ "end": 1309,
"loc": {
"start": {
- "line": 32,
- "column": 44
+ "line": 33,
+ "column": 3
},
"end": {
- "line": 32,
- "column": 93
+ "line": 33,
+ "column": 116
}
},
- "elements": [
- {
- "type": "StringLiteral",
- "start": 1189,
- "end": 1196,
- "loc": {
- "start": {
- "line": 32,
- "column": 45
- },
- "end": {
- "line": 32,
- "column": 52
- }
- },
- "extra": {
- "rawValue": "rooms",
- "raw": "'rooms'"
+ "expression": {
+ "type": "CallExpression",
+ "start": 1196,
+ "end": 1309,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 3
},
- "value": "rooms"
+ "end": {
+ "line": 33,
+ "column": 116
+ }
},
- {
+ "callee": {
"type": "Identifier",
- "start": 1198,
- "end": 1202,
+ "start": 1196,
+ "end": 1204,
"loc": {
"start": {
- "line": 32,
- "column": 54
+ "line": 33,
+ "column": 3
},
"end": {
- "line": 32,
- "column": 58
- },
- "identifierName": "room"
- },
- "name": "room"
- },
- {
- "type": "StringLiteral",
- "start": 1204,
- "end": 1213,
- "loc": {
- "start": {
- "line": 32,
- "column": 60
+ "line": 33,
+ "column": 11
},
- "end": {
- "line": 32,
- "column": 69
- }
- },
- "extra": {
- "rawValue": "players",
- "raw": "'players'"
+ "identifierName": "setField"
},
- "value": "players"
+ "name": "setField"
},
- {
- "type": "MemberExpression",
- "start": 1215,
- "end": 1226,
- "loc": {
- "start": {
- "line": 32,
- "column": 71
- },
- "end": {
- "line": 32,
- "column": 82
- }
- },
- "object": {
- "type": "Identifier",
- "start": 1215,
- "end": 1219,
+ "arguments": [
+ {
+ "type": "BinaryExpression",
+ "start": 1205,
+ "end": 1257,
"loc": {
"start": {
- "line": 32,
- "column": 71
+ "line": 33,
+ "column": 12
},
"end": {
- "line": 32,
- "column": 75
+ "line": 33,
+ "column": 64
+ }
+ },
+ "left": {
+ "type": "BinaryExpression",
+ "start": 1205,
+ "end": 1236,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 12
+ },
+ "end": {
+ "line": 33,
+ "column": 43
+ }
},
- "identifierName": "data"
+ "left": {
+ "type": "MemberExpression",
+ "start": 1205,
+ "end": 1222,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 12
+ },
+ "end": {
+ "line": 33,
+ "column": 29
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1205,
+ "end": 1215,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 12
+ },
+ "end": {
+ "line": 33,
+ "column": 22
+ },
+ "identifierName": "thisPlayer"
+ },
+ "name": "thisPlayer"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1216,
+ "end": 1222,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 23
+ },
+ "end": {
+ "line": 33,
+ "column": 29
+ },
+ "identifierName": "health"
+ },
+ "name": "health"
+ },
+ "computed": false
+ },
+ "operator": "-",
+ "right": {
+ "type": "MemberExpression",
+ "start": 1225,
+ "end": 1236,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 32
+ },
+ "end": {
+ "line": 33,
+ "column": 43
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1225,
+ "end": 1229,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 32
+ },
+ "end": {
+ "line": 33,
+ "column": 36
+ },
+ "identifierName": "data"
+ },
+ "name": "data"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1230,
+ "end": 1236,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 37
+ },
+ "end": {
+ "line": 33,
+ "column": 43
+ },
+ "identifierName": "damage"
+ },
+ "name": "damage"
+ },
+ "computed": false
+ }
},
- "name": "data"
+ "operator": "-",
+ "right": {
+ "type": "MemberExpression",
+ "start": 1239,
+ "end": 1257,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 46
+ },
+ "end": {
+ "line": 33,
+ "column": 64
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1239,
+ "end": 1249,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 46
+ },
+ "end": {
+ "line": 33,
+ "column": 56
+ },
+ "identifierName": "thisPlayer"
+ },
+ "name": "thisPlayer"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1250,
+ "end": 1257,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 57
+ },
+ "end": {
+ "line": 33,
+ "column": 64
+ },
+ "identifierName": "defense"
+ },
+ "name": "defense"
+ },
+ "computed": false
+ }
},
- "property": {
- "type": "Identifier",
- "start": 1220,
- "end": 1226,
+ {
+ "type": "ArrayExpression",
+ "start": 1259,
+ "end": 1308,
"loc": {
"start": {
- "line": 32,
- "column": 76
+ "line": 33,
+ "column": 66
},
"end": {
- "line": 32,
- "column": 82
- },
- "identifierName": "player"
- },
- "name": "player"
- },
- "computed": false
- },
- {
- "type": "StringLiteral",
- "start": 1228,
- "end": 1236,
- "loc": {
- "start": {
- "line": 32,
- "column": 84
+ "line": 33,
+ "column": 115
+ }
},
- "end": {
- "line": 32,
- "column": 92
- }
- },
- "extra": {
- "rawValue": "health",
- "raw": "'health'"
- },
- "value": "health"
- }
- ]
+ "elements": [
+ {
+ "type": "StringLiteral",
+ "start": 1260,
+ "end": 1267,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 67
+ },
+ "end": {
+ "line": 33,
+ "column": 74
+ }
+ },
+ "extra": {
+ "rawValue": "rooms",
+ "raw": "'rooms'"
+ },
+ "value": "rooms"
+ },
+ {
+ "type": "Identifier",
+ "start": 1269,
+ "end": 1273,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 76
+ },
+ "end": {
+ "line": 33,
+ "column": 80
+ },
+ "identifierName": "room"
+ },
+ "name": "room"
+ },
+ {
+ "type": "StringLiteral",
+ "start": 1275,
+ "end": 1284,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 82
+ },
+ "end": {
+ "line": 33,
+ "column": 91
+ }
+ },
+ "extra": {
+ "rawValue": "players",
+ "raw": "'players'"
+ },
+ "value": "players"
+ },
+ {
+ "type": "MemberExpression",
+ "start": 1286,
+ "end": 1297,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 93
+ },
+ "end": {
+ "line": 33,
+ "column": 104
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1286,
+ "end": 1290,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 93
+ },
+ "end": {
+ "line": 33,
+ "column": 97
+ },
+ "identifierName": "data"
+ },
+ "name": "data"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1291,
+ "end": 1297,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 98
+ },
+ "end": {
+ "line": 33,
+ "column": 104
+ },
+ "identifierName": "player"
+ },
+ "name": "player"
+ },
+ "computed": false
+ },
+ {
+ "type": "StringLiteral",
+ "start": 1299,
+ "end": 1307,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 106
+ },
+ "end": {
+ "line": 33,
+ "column": 114
+ }
+ },
+ "extra": {
+ "rawValue": "health",
+ "raw": "'health'"
+ },
+ "value": "health"
+ }
+ ]
+ }
+ ]
+ }
}
],
- "leadingComments": null,
+ "directives": [],
"trailingComments": null
},
+ "alternate": null,
"leadingComments": [
{
"type": "CommentLine",
@@ -1427,15 +1644,15 @@
{
"type": "CommentLine",
"value": " Add damage to database",
- "start": 1242,
- "end": 1267,
+ "start": 1317,
+ "end": 1342,
"loc": {
"start": {
- "line": 34,
+ "line": 36,
"column": 2
},
"end": {
- "line": 34,
+ "line": 36,
"column": 27
}
}
@@ -1444,71 +1661,71 @@
},
{
"type": "IfStatement",
- "start": 1270,
- "end": 1410,
+ "start": 1345,
+ "end": 1485,
"loc": {
"start": {
- "line": 35,
+ "line": 37,
"column": 2
},
"end": {
- "line": 37,
+ "line": 39,
"column": 3
}
},
"test": {
"type": "BinaryExpression",
- "start": 1274,
- "end": 1321,
+ "start": 1349,
+ "end": 1396,
"loc": {
"start": {
- "line": 35,
+ "line": 37,
"column": 6
},
"end": {
- "line": 35,
+ "line": 37,
"column": 53
}
},
"left": {
"type": "MemberExpression",
- "start": 1274,
- "end": 1307,
+ "start": 1349,
+ "end": 1382,
"loc": {
"start": {
- "line": 35,
+ "line": 37,
"column": 6
},
"end": {
- "line": 35,
+ "line": 37,
"column": 39
}
},
"object": {
"type": "MemberExpression",
- "start": 1274,
- "end": 1294,
+ "start": 1349,
+ "end": 1369,
"loc": {
"start": {
- "line": 35,
+ "line": 37,
"column": 6
},
"end": {
- "line": 35,
+ "line": 37,
"column": 26
}
},
"object": {
"type": "Identifier",
- "start": 1274,
- "end": 1284,
+ "start": 1349,
+ "end": 1359,
"loc": {
"start": {
- "line": 35,
+ "line": 37,
"column": 6
},
"end": {
- "line": 35,
+ "line": 37,
"column": 16
},
"identifierName": "thisPlayer"
@@ -1518,15 +1735,15 @@
},
"property": {
"type": "Identifier",
- "start": 1285,
- "end": 1294,
+ "start": 1360,
+ "end": 1369,
"loc": {
"start": {
- "line": 35,
+ "line": 37,
"column": 17
},
"end": {
- "line": 35,
+ "line": 37,
"column": 26
},
"identifierName": "damagedBy"
@@ -1538,29 +1755,29 @@
},
"property": {
"type": "MemberExpression",
- "start": 1295,
- "end": 1306,
+ "start": 1370,
+ "end": 1381,
"loc": {
"start": {
- "line": 35,
+ "line": 37,
"column": 27
},
"end": {
- "line": 35,
+ "line": 37,
"column": 38
}
},
"object": {
"type": "Identifier",
- "start": 1295,
- "end": 1299,
+ "start": 1370,
+ "end": 1374,
"loc": {
"start": {
- "line": 35,
+ "line": 37,
"column": 27
},
"end": {
- "line": 35,
+ "line": 37,
"column": 31
},
"identifierName": "data"
@@ -1569,15 +1786,15 @@
},
"property": {
"type": "Identifier",
- "start": 1300,
- "end": 1306,
+ "start": 1375,
+ "end": 1381,
"loc": {
"start": {
- "line": 35,
+ "line": 37,
"column": 32
},
"end": {
- "line": 35,
+ "line": 37,
"column": 38
},
"identifierName": "sentBy"
@@ -1592,15 +1809,15 @@
"operator": "===",
"right": {
"type": "Identifier",
- "start": 1312,
- "end": 1321,
+ "start": 1387,
+ "end": 1396,
"loc": {
"start": {
- "line": 35,
+ "line": 37,
"column": 44
},
"end": {
- "line": 35,
+ "line": 37,
"column": 53
},
"identifierName": "undefined"
@@ -1611,58 +1828,58 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 1323,
- "end": 1410,
+ "start": 1398,
+ "end": 1485,
"loc": {
"start": {
- "line": 35,
+ "line": 37,
"column": 55
},
"end": {
- "line": 37,
+ "line": 39,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
- "start": 1328,
- "end": 1406,
+ "start": 1403,
+ "end": 1481,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 3
},
"end": {
- "line": 36,
+ "line": 38,
"column": 81
}
},
"expression": {
"type": "CallExpression",
- "start": 1328,
- "end": 1406,
+ "start": 1403,
+ "end": 1481,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 3
},
"end": {
- "line": 36,
+ "line": 38,
"column": 81
}
},
"callee": {
"type": "Identifier",
- "start": 1328,
- "end": 1336,
+ "start": 1403,
+ "end": 1411,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 3
},
"end": {
- "line": 36,
+ "line": 38,
"column": 11
},
"identifierName": "setField"
@@ -1672,15 +1889,15 @@
"arguments": [
{
"type": "NumericLiteral",
- "start": 1337,
- "end": 1338,
+ "start": 1412,
+ "end": 1413,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 12
},
"end": {
- "line": 36,
+ "line": 38,
"column": 13
}
},
@@ -1692,30 +1909,30 @@
},
{
"type": "ArrayExpression",
- "start": 1340,
- "end": 1405,
+ "start": 1415,
+ "end": 1480,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 15
},
"end": {
- "line": 36,
+ "line": 38,
"column": 80
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 1341,
- "end": 1348,
+ "start": 1416,
+ "end": 1423,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 16
},
"end": {
- "line": 36,
+ "line": 38,
"column": 23
}
},
@@ -1727,15 +1944,15 @@
},
{
"type": "Identifier",
- "start": 1350,
- "end": 1354,
+ "start": 1425,
+ "end": 1429,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 25
},
"end": {
- "line": 36,
+ "line": 38,
"column": 29
},
"identifierName": "room"
@@ -1744,15 +1961,15 @@
},
{
"type": "StringLiteral",
- "start": 1356,
- "end": 1365,
+ "start": 1431,
+ "end": 1440,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 31
},
"end": {
- "line": 36,
+ "line": 38,
"column": 40
}
},
@@ -1764,29 +1981,29 @@
},
{
"type": "MemberExpression",
- "start": 1367,
- "end": 1378,
+ "start": 1442,
+ "end": 1453,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 42
},
"end": {
- "line": 36,
+ "line": 38,
"column": 53
}
},
"object": {
"type": "Identifier",
- "start": 1367,
- "end": 1371,
+ "start": 1442,
+ "end": 1446,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 42
},
"end": {
- "line": 36,
+ "line": 38,
"column": 46
},
"identifierName": "data"
@@ -1795,15 +2012,15 @@
},
"property": {
"type": "Identifier",
- "start": 1372,
- "end": 1378,
+ "start": 1447,
+ "end": 1453,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 47
},
"end": {
- "line": 36,
+ "line": 38,
"column": 53
},
"identifierName": "player"
@@ -1814,15 +2031,15 @@
},
{
"type": "StringLiteral",
- "start": 1380,
- "end": 1391,
+ "start": 1455,
+ "end": 1466,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 55
},
"end": {
- "line": 36,
+ "line": 38,
"column": 66
}
},
@@ -1834,29 +2051,29 @@
},
{
"type": "MemberExpression",
- "start": 1393,
- "end": 1404,
+ "start": 1468,
+ "end": 1479,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 68
},
"end": {
- "line": 36,
+ "line": 38,
"column": 79
}
},
"object": {
"type": "Identifier",
- "start": 1393,
- "end": 1397,
+ "start": 1468,
+ "end": 1472,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 68
},
"end": {
- "line": 36,
+ "line": 38,
"column": 72
},
"identifierName": "data"
@@ -1865,15 +2082,15 @@
},
"property": {
"type": "Identifier",
- "start": 1398,
- "end": 1404,
+ "start": 1473,
+ "end": 1479,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 73
},
"end": {
- "line": 36,
+ "line": 38,
"column": 79
},
"identifierName": "sentBy"
@@ -1896,15 +2113,15 @@
{
"type": "CommentLine",
"value": " Add damage to database",
- "start": 1242,
- "end": 1267,
+ "start": 1317,
+ "end": 1342,
"loc": {
"start": {
- "line": 34,
+ "line": 36,
"column": 2
},
"end": {
- "line": 34,
+ "line": 36,
"column": 27
}
}
@@ -1914,15 +2131,15 @@
{
"type": "CommentLine",
"value": " thisPlayer.damagedBy[data.sentBy] += data.damage;",
- "start": 1413,
- "end": 1465,
+ "start": 1488,
+ "end": 1540,
"loc": {
"start": {
- "line": 38,
+ "line": 40,
"column": 2
},
"end": {
- "line": 38,
+ "line": 40,
"column": 54
}
}
@@ -1931,43 +2148,43 @@
},
{
"type": "ExpressionStatement",
- "start": 1468,
- "end": 1592,
+ "start": 1543,
+ "end": 1667,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 2
},
"end": {
- "line": 39,
+ "line": 41,
"column": 126
}
},
"expression": {
"type": "CallExpression",
- "start": 1468,
- "end": 1592,
+ "start": 1543,
+ "end": 1667,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 2
},
"end": {
- "line": 39,
+ "line": 41,
"column": 126
}
},
"callee": {
"type": "Identifier",
- "start": 1468,
- "end": 1476,
+ "start": 1543,
+ "end": 1551,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 2
},
"end": {
- "line": 39,
+ "line": 41,
"column": 10
},
"identifierName": "setField"
@@ -1978,57 +2195,57 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 1477,
- "end": 1524,
+ "start": 1552,
+ "end": 1599,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 11
},
"end": {
- "line": 39,
+ "line": 41,
"column": 58
}
},
"left": {
"type": "MemberExpression",
- "start": 1477,
- "end": 1510,
+ "start": 1552,
+ "end": 1585,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 11
},
"end": {
- "line": 39,
+ "line": 41,
"column": 44
}
},
"object": {
"type": "MemberExpression",
- "start": 1477,
- "end": 1497,
+ "start": 1552,
+ "end": 1572,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 11
},
"end": {
- "line": 39,
+ "line": 41,
"column": 31
}
},
"object": {
"type": "Identifier",
- "start": 1477,
- "end": 1487,
+ "start": 1552,
+ "end": 1562,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 11
},
"end": {
- "line": 39,
+ "line": 41,
"column": 21
},
"identifierName": "thisPlayer"
@@ -2037,15 +2254,15 @@
},
"property": {
"type": "Identifier",
- "start": 1488,
- "end": 1497,
+ "start": 1563,
+ "end": 1572,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 22
},
"end": {
- "line": 39,
+ "line": 41,
"column": 31
},
"identifierName": "damagedBy"
@@ -2056,29 +2273,29 @@
},
"property": {
"type": "MemberExpression",
- "start": 1498,
- "end": 1509,
+ "start": 1573,
+ "end": 1584,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 32
},
"end": {
- "line": 39,
+ "line": 41,
"column": 43
}
},
"object": {
"type": "Identifier",
- "start": 1498,
- "end": 1502,
+ "start": 1573,
+ "end": 1577,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 32
},
"end": {
- "line": 39,
+ "line": 41,
"column": 36
},
"identifierName": "data"
@@ -2087,15 +2304,15 @@
},
"property": {
"type": "Identifier",
- "start": 1503,
- "end": 1509,
+ "start": 1578,
+ "end": 1584,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 37
},
"end": {
- "line": 39,
+ "line": 41,
"column": 43
},
"identifierName": "sentBy"
@@ -2109,29 +2326,29 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 1513,
- "end": 1524,
+ "start": 1588,
+ "end": 1599,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 47
},
"end": {
- "line": 39,
+ "line": 41,
"column": 58
}
},
"object": {
"type": "Identifier",
- "start": 1513,
- "end": 1517,
+ "start": 1588,
+ "end": 1592,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 47
},
"end": {
- "line": 39,
+ "line": 41,
"column": 51
},
"identifierName": "data"
@@ -2140,15 +2357,15 @@
},
"property": {
"type": "Identifier",
- "start": 1518,
- "end": 1524,
+ "start": 1593,
+ "end": 1599,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 52
},
"end": {
- "line": 39,
+ "line": 41,
"column": 58
},
"identifierName": "damage"
@@ -2160,30 +2377,30 @@
},
{
"type": "ArrayExpression",
- "start": 1526,
- "end": 1591,
+ "start": 1601,
+ "end": 1666,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 60
},
"end": {
- "line": 39,
+ "line": 41,
"column": 125
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 1527,
- "end": 1534,
+ "start": 1602,
+ "end": 1609,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 61
},
"end": {
- "line": 39,
+ "line": 41,
"column": 68
}
},
@@ -2195,15 +2412,15 @@
},
{
"type": "Identifier",
- "start": 1536,
- "end": 1540,
+ "start": 1611,
+ "end": 1615,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 70
},
"end": {
- "line": 39,
+ "line": 41,
"column": 74
},
"identifierName": "room"
@@ -2212,15 +2429,15 @@
},
{
"type": "StringLiteral",
- "start": 1542,
- "end": 1551,
+ "start": 1617,
+ "end": 1626,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 76
},
"end": {
- "line": 39,
+ "line": 41,
"column": 85
}
},
@@ -2232,29 +2449,29 @@
},
{
"type": "MemberExpression",
- "start": 1553,
- "end": 1564,
+ "start": 1628,
+ "end": 1639,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 87
},
"end": {
- "line": 39,
+ "line": 41,
"column": 98
}
},
"object": {
"type": "Identifier",
- "start": 1553,
- "end": 1557,
+ "start": 1628,
+ "end": 1632,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 87
},
"end": {
- "line": 39,
+ "line": 41,
"column": 91
},
"identifierName": "data"
@@ -2263,15 +2480,15 @@
},
"property": {
"type": "Identifier",
- "start": 1558,
- "end": 1564,
+ "start": 1633,
+ "end": 1639,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 92
},
"end": {
- "line": 39,
+ "line": 41,
"column": 98
},
"identifierName": "player"
@@ -2282,15 +2499,15 @@
},
{
"type": "StringLiteral",
- "start": 1566,
- "end": 1577,
+ "start": 1641,
+ "end": 1652,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 100
},
"end": {
- "line": 39,
+ "line": 41,
"column": 111
}
},
@@ -2302,29 +2519,29 @@
},
{
"type": "MemberExpression",
- "start": 1579,
- "end": 1590,
+ "start": 1654,
+ "end": 1665,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 113
},
"end": {
- "line": 39,
+ "line": 41,
"column": 124
}
},
"object": {
"type": "Identifier",
- "start": 1579,
- "end": 1583,
+ "start": 1654,
+ "end": 1658,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 113
},
"end": {
- "line": 39,
+ "line": 41,
"column": 117
},
"identifierName": "data"
@@ -2333,15 +2550,15 @@
},
"property": {
"type": "Identifier",
- "start": 1584,
- "end": 1590,
+ "start": 1659,
+ "end": 1665,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 118
},
"end": {
- "line": 39,
+ "line": 41,
"column": 124
},
"identifierName": "sentBy"
@@ -2360,15 +2577,15 @@
{
"type": "CommentLine",
"value": " thisPlayer.damagedBy[data.sentBy] += data.damage;",
- "start": 1413,
- "end": 1465,
+ "start": 1488,
+ "end": 1540,
"loc": {
"start": {
- "line": 38,
+ "line": 40,
"column": 2
},
"end": {
- "line": 38,
+ "line": 40,
"column": 54
}
}
@@ -2378,15 +2595,15 @@
{
"type": "CommentLine",
"value": " Check if the player has died.",
- "start": 1596,
- "end": 1628,
+ "start": 1671,
+ "end": 1703,
"loc": {
"start": {
- "line": 41,
+ "line": 43,
"column": 2
},
"end": {
- "line": 41,
+ "line": 43,
"column": 34
}
}
@@ -2395,57 +2612,57 @@
},
{
"type": "IfStatement",
- "start": 1631,
- "end": 5266,
+ "start": 1706,
+ "end": 5431,
"loc": {
"start": {
- "line": 42,
+ "line": 44,
"column": 2
},
"end": {
- "line": 132,
+ "line": 137,
"column": 3
}
},
"test": {
"type": "BinaryExpression",
- "start": 1635,
- "end": 1657,
+ "start": 1710,
+ "end": 1732,
"loc": {
"start": {
- "line": 42,
+ "line": 44,
"column": 6
},
"end": {
- "line": 42,
+ "line": 44,
"column": 28
}
},
"left": {
"type": "MemberExpression",
- "start": 1635,
- "end": 1652,
+ "start": 1710,
+ "end": 1727,
"loc": {
"start": {
- "line": 42,
+ "line": 44,
"column": 6
},
"end": {
- "line": 42,
+ "line": 44,
"column": 23
}
},
"object": {
"type": "Identifier",
- "start": 1635,
- "end": 1645,
+ "start": 1710,
+ "end": 1720,
"loc": {
"start": {
- "line": 42,
+ "line": 44,
"column": 6
},
"end": {
- "line": 42,
+ "line": 44,
"column": 16
},
"identifierName": "thisPlayer"
@@ -2455,15 +2672,15 @@
},
"property": {
"type": "Identifier",
- "start": 1646,
- "end": 1652,
+ "start": 1721,
+ "end": 1727,
"loc": {
"start": {
- "line": 42,
+ "line": 44,
"column": 17
},
"end": {
- "line": 42,
+ "line": 44,
"column": 23
},
"identifierName": "health"
@@ -2476,15 +2693,15 @@
"operator": "<=",
"right": {
"type": "NumericLiteral",
- "start": 1656,
- "end": 1657,
+ "start": 1731,
+ "end": 1732,
"loc": {
"start": {
- "line": 42,
+ "line": 44,
"column": 27
},
"end": {
- "line": 42,
+ "line": 44,
"column": 28
}
},
@@ -2498,73 +2715,73 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 1659,
- "end": 5266,
+ "start": 1734,
+ "end": 5431,
"loc": {
"start": {
- "line": 42,
+ "line": 44,
"column": 30
},
"end": {
- "line": 132,
+ "line": 137,
"column": 3
}
},
"body": [
{
"type": "ForInStatement",
- "start": 1803,
- "end": 2003,
+ "start": 1878,
+ "end": 2078,
"loc": {
"start": {
- "line": 46,
+ "line": 48,
"column": 3
},
"end": {
- "line": 50,
+ "line": 52,
"column": 4
}
},
"left": {
"type": "VariableDeclaration",
- "start": 1808,
- "end": 1814,
+ "start": 1883,
+ "end": 1889,
"loc": {
"start": {
- "line": 46,
+ "line": 48,
"column": 8
},
"end": {
- "line": 46,
+ "line": 48,
"column": 14
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 1812,
- "end": 1814,
+ "start": 1887,
+ "end": 1889,
"loc": {
"start": {
- "line": 46,
+ "line": 48,
"column": 12
},
"end": {
- "line": 46,
+ "line": 48,
"column": 14
}
},
"id": {
"type": "Identifier",
- "start": 1812,
- "end": 1814,
+ "start": 1887,
+ "end": 1889,
"loc": {
"start": {
- "line": 46,
+ "line": 48,
"column": 12
},
"end": {
- "line": 46,
+ "line": 48,
"column": 14
},
"identifierName": "at"
@@ -2581,29 +2798,29 @@
},
"right": {
"type": "MemberExpression",
- "start": 1818,
- "end": 1837,
+ "start": 1893,
+ "end": 1912,
"loc": {
"start": {
- "line": 46,
+ "line": 48,
"column": 18
},
"end": {
- "line": 46,
+ "line": 48,
"column": 37
}
},
"object": {
"type": "Identifier",
- "start": 1818,
- "end": 1828,
+ "start": 1893,
+ "end": 1903,
"loc": {
"start": {
- "line": 46,
+ "line": 48,
"column": 18
},
"end": {
- "line": 46,
+ "line": 48,
"column": 28
},
"identifierName": "thisPlayer"
@@ -2612,15 +2829,15 @@
},
"property": {
"type": "Identifier",
- "start": 1829,
- "end": 1837,
+ "start": 1904,
+ "end": 1912,
"loc": {
"start": {
- "line": 46,
+ "line": 48,
"column": 29
},
"end": {
- "line": 46,
+ "line": 48,
"column": 37
},
"identifierName": "atomList"
@@ -2631,73 +2848,73 @@
},
"body": {
"type": "BlockStatement",
- "start": 1839,
- "end": 2003,
+ "start": 1914,
+ "end": 2078,
"loc": {
"start": {
- "line": 46,
+ "line": 48,
"column": 39
},
"end": {
- "line": 50,
+ "line": 52,
"column": 4
}
},
"body": [
{
"type": "ForStatement",
- "start": 1845,
- "end": 1998,
+ "start": 1920,
+ "end": 2073,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 4
},
"end": {
- "line": 49,
+ "line": 51,
"column": 5
}
},
"init": {
"type": "VariableDeclaration",
- "start": 1850,
- "end": 1859,
+ "start": 1925,
+ "end": 1934,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 9
},
"end": {
- "line": 47,
+ "line": 49,
"column": 18
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 1854,
- "end": 1859,
+ "start": 1929,
+ "end": 1934,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 13
},
"end": {
- "line": 47,
+ "line": 49,
"column": 18
}
},
"id": {
"type": "Identifier",
- "start": 1854,
- "end": 1855,
+ "start": 1929,
+ "end": 1930,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 13
},
"end": {
- "line": 47,
+ "line": 49,
"column": 14
},
"identifierName": "i"
@@ -2706,15 +2923,15 @@
},
"init": {
"type": "NumericLiteral",
- "start": 1858,
- "end": 1859,
+ "start": 1933,
+ "end": 1934,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 17
},
"end": {
- "line": 47,
+ "line": 49,
"column": 18
}
},
@@ -2730,43 +2947,43 @@
},
"test": {
"type": "LogicalExpression",
- "start": 1861,
- "end": 1918,
+ "start": 1936,
+ "end": 1993,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 20
},
"end": {
- "line": 47,
+ "line": 49,
"column": 77
}
},
"left": {
"type": "BinaryExpression",
- "start": 1861,
- "end": 1887,
+ "start": 1936,
+ "end": 1962,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 20
},
"end": {
- "line": 47,
+ "line": 49,
"column": 46
}
},
"left": {
"type": "Identifier",
- "start": 1861,
- "end": 1862,
+ "start": 1936,
+ "end": 1937,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 20
},
"end": {
- "line": 47,
+ "line": 49,
"column": 21
},
"identifierName": "i"
@@ -2776,29 +2993,29 @@
"operator": "<",
"right": {
"type": "MemberExpression",
- "start": 1865,
- "end": 1887,
+ "start": 1940,
+ "end": 1962,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 24
},
"end": {
- "line": 47,
+ "line": 49,
"column": 46
}
},
"object": {
"type": "Identifier",
- "start": 1865,
- "end": 1871,
+ "start": 1940,
+ "end": 1946,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 24
},
"end": {
- "line": 47,
+ "line": 49,
"column": 30
},
"identifierName": "GLOBAL"
@@ -2807,15 +3024,15 @@
},
"property": {
"type": "Identifier",
- "start": 1872,
- "end": 1887,
+ "start": 1947,
+ "end": 1962,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 31
},
"end": {
- "line": 47,
+ "line": 49,
"column": 46
},
"identifierName": "MAX_DEATH_ATOMS"
@@ -2828,29 +3045,29 @@
"operator": "&&",
"right": {
"type": "BinaryExpression",
- "start": 1891,
- "end": 1918,
+ "start": 1966,
+ "end": 1993,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 50
},
"end": {
- "line": 47,
+ "line": 49,
"column": 77
}
},
"left": {
"type": "Identifier",
- "start": 1891,
- "end": 1892,
+ "start": 1966,
+ "end": 1967,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 50
},
"end": {
- "line": 47,
+ "line": 49,
"column": 51
},
"identifierName": "i"
@@ -2860,43 +3077,43 @@
"operator": "<",
"right": {
"type": "MemberExpression",
- "start": 1895,
- "end": 1918,
+ "start": 1970,
+ "end": 1993,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 54
},
"end": {
- "line": 47,
+ "line": 49,
"column": 77
}
},
"object": {
"type": "MemberExpression",
- "start": 1895,
- "end": 1914,
+ "start": 1970,
+ "end": 1989,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 54
},
"end": {
- "line": 47,
+ "line": 49,
"column": 73
}
},
"object": {
"type": "Identifier",
- "start": 1895,
- "end": 1905,
+ "start": 1970,
+ "end": 1980,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 54
},
"end": {
- "line": 47,
+ "line": 49,
"column": 64
},
"identifierName": "thisPlayer"
@@ -2905,15 +3122,15 @@
},
"property": {
"type": "Identifier",
- "start": 1906,
- "end": 1914,
+ "start": 1981,
+ "end": 1989,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 65
},
"end": {
- "line": 47,
+ "line": 49,
"column": 73
},
"identifierName": "atomList"
@@ -2924,15 +3141,15 @@
},
"property": {
"type": "Identifier",
- "start": 1915,
- "end": 1917,
+ "start": 1990,
+ "end": 1992,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 74
},
"end": {
- "line": 47,
+ "line": 49,
"column": 76
},
"identifierName": "at"
@@ -2945,15 +3162,15 @@
},
"update": {
"type": "UpdateExpression",
- "start": 1920,
- "end": 1923,
+ "start": 1995,
+ "end": 1998,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 79
},
"end": {
- "line": 47,
+ "line": 49,
"column": 82
}
},
@@ -2961,15 +3178,15 @@
"prefix": false,
"argument": {
"type": "Identifier",
- "start": 1920,
- "end": 1921,
+ "start": 1995,
+ "end": 1996,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 79
},
"end": {
- "line": 47,
+ "line": 49,
"column": 80
},
"identifierName": "i"
@@ -2979,58 +3196,58 @@
},
"body": {
"type": "BlockStatement",
- "start": 1925,
- "end": 1998,
+ "start": 2000,
+ "end": 2073,
"loc": {
"start": {
- "line": 47,
+ "line": 49,
"column": 84
},
"end": {
- "line": 49,
+ "line": 51,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
- "start": 1932,
- "end": 1992,
+ "start": 2007,
+ "end": 2067,
"loc": {
"start": {
- "line": 48,
+ "line": 50,
"column": 5
},
"end": {
- "line": 48,
+ "line": 50,
"column": 65
}
},
"expression": {
"type": "CallExpression",
- "start": 1932,
- "end": 1992,
+ "start": 2007,
+ "end": 2067,
"loc": {
"start": {
- "line": 48,
+ "line": 50,
"column": 5
},
"end": {
- "line": 48,
+ "line": 50,
"column": 65
}
},
"callee": {
"type": "Identifier",
- "start": 1932,
- "end": 1941,
+ "start": 2007,
+ "end": 2016,
"loc": {
"start": {
- "line": 48,
+ "line": 50,
"column": 5
},
"end": {
- "line": 48,
+ "line": 50,
"column": 14
},
"identifierName": "spawnAtom"
@@ -3040,29 +3257,29 @@
"arguments": [
{
"type": "MemberExpression",
- "start": 1942,
- "end": 1957,
+ "start": 2017,
+ "end": 2032,
"loc": {
"start": {
- "line": 48,
+ "line": 50,
"column": 15
},
"end": {
- "line": 48,
+ "line": 50,
"column": 30
}
},
"object": {
"type": "Identifier",
- "start": 1942,
- "end": 1952,
+ "start": 2017,
+ "end": 2027,
"loc": {
"start": {
- "line": 48,
+ "line": 50,
"column": 15
},
"end": {
- "line": 48,
+ "line": 50,
"column": 25
},
"identifierName": "thisPlayer"
@@ -3071,15 +3288,15 @@
},
"property": {
"type": "Identifier",
- "start": 1953,
- "end": 1957,
+ "start": 2028,
+ "end": 2032,
"loc": {
"start": {
- "line": 48,
+ "line": 50,
"column": 26
},
"end": {
- "line": 48,
+ "line": 50,
"column": 30
},
"identifierName": "posX"
@@ -3090,29 +3307,29 @@
},
{
"type": "MemberExpression",
- "start": 1959,
- "end": 1974,
+ "start": 2034,
+ "end": 2049,
"loc": {
"start": {
- "line": 48,
+ "line": 50,
"column": 32
},
"end": {
- "line": 48,
+ "line": 50,
"column": 47
}
},
"object": {
"type": "Identifier",
- "start": 1959,
- "end": 1969,
+ "start": 2034,
+ "end": 2044,
"loc": {
"start": {
- "line": 48,
+ "line": 50,
"column": 32
},
"end": {
- "line": 48,
+ "line": 50,
"column": 42
},
"identifierName": "thisPlayer"
@@ -3121,15 +3338,15 @@
},
"property": {
"type": "Identifier",
- "start": 1970,
- "end": 1974,
+ "start": 2045,
+ "end": 2049,
"loc": {
"start": {
- "line": 48,
+ "line": 50,
"column": 43
},
"end": {
- "line": 48,
+ "line": 50,
"column": 47
},
"identifierName": "posY"
@@ -3140,15 +3357,15 @@
},
{
"type": "Identifier",
- "start": 1976,
- "end": 1978,
+ "start": 2051,
+ "end": 2053,
"loc": {
"start": {
- "line": 48,
+ "line": 50,
"column": 49
},
"end": {
- "line": 48,
+ "line": 50,
"column": 51
},
"identifierName": "at"
@@ -3157,15 +3374,15 @@
},
{
"type": "Identifier",
- "start": 1980,
- "end": 1984,
+ "start": 2055,
+ "end": 2059,
"loc": {
"start": {
- "line": 48,
+ "line": 50,
"column": 53
},
"end": {
- "line": 48,
+ "line": 50,
"column": 57
},
"identifierName": "room"
@@ -3174,15 +3391,15 @@
},
{
"type": "BooleanLiteral",
- "start": 1986,
- "end": 1991,
+ "start": 2061,
+ "end": 2066,
"loc": {
"start": {
- "line": 48,
+ "line": 50,
"column": 59
},
"end": {
- "line": 48,
+ "line": 50,
"column": 64
}
},
@@ -3202,15 +3419,15 @@
{
"type": "CommentLine",
"value": " console.log(thisRoom.teams.indexOf(socket.handshake.query.team));",
- "start": 1664,
- "end": 1732,
+ "start": 1739,
+ "end": 1807,
"loc": {
"start": {
- "line": 43,
+ "line": 45,
"column": 3
},
"end": {
- "line": 43,
+ "line": 45,
"column": 71
}
}
@@ -3218,15 +3435,15 @@
{
"type": "CommentLine",
"value": " Releases atoms and deletes the entire atoms array in player",
- "start": 1737,
- "end": 1799,
+ "start": 1812,
+ "end": 1874,
"loc": {
"start": {
- "line": 45,
+ "line": 47,
"column": 3
},
"end": {
- "line": 45,
+ "line": 47,
"column": 65
}
}
@@ -3235,58 +3452,58 @@
},
{
"type": "ForInStatement",
- "start": 2007,
- "end": 2121,
+ "start": 2082,
+ "end": 2196,
"loc": {
"start": {
- "line": 51,
+ "line": 53,
"column": 3
},
"end": {
- "line": 53,
+ "line": 55,
"column": 4
}
},
"left": {
"type": "VariableDeclaration",
- "start": 2012,
- "end": 2018,
+ "start": 2087,
+ "end": 2093,
"loc": {
"start": {
- "line": 51,
+ "line": 53,
"column": 8
},
"end": {
- "line": 51,
+ "line": 53,
"column": 14
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 2016,
- "end": 2018,
+ "start": 2091,
+ "end": 2093,
"loc": {
"start": {
- "line": 51,
+ "line": 53,
"column": 12
},
"end": {
- "line": 51,
+ "line": 53,
"column": 14
}
},
"id": {
"type": "Identifier",
- "start": 2016,
- "end": 2018,
+ "start": 2091,
+ "end": 2093,
"loc": {
"start": {
- "line": 51,
+ "line": 53,
"column": 12
},
"end": {
- "line": 51,
+ "line": 53,
"column": 14
},
"identifierName": "at"
@@ -3300,29 +3517,29 @@
},
"right": {
"type": "MemberExpression",
- "start": 2022,
- "end": 2041,
+ "start": 2097,
+ "end": 2116,
"loc": {
"start": {
- "line": 51,
+ "line": 53,
"column": 18
},
"end": {
- "line": 51,
+ "line": 53,
"column": 37
}
},
"object": {
"type": "Identifier",
- "start": 2022,
- "end": 2032,
+ "start": 2097,
+ "end": 2107,
"loc": {
"start": {
- "line": 51,
+ "line": 53,
"column": 18
},
"end": {
- "line": 51,
+ "line": 53,
"column": 28
},
"identifierName": "thisPlayer"
@@ -3331,15 +3548,15 @@
},
"property": {
"type": "Identifier",
- "start": 2033,
- "end": 2041,
+ "start": 2108,
+ "end": 2116,
"loc": {
"start": {
- "line": 51,
+ "line": 53,
"column": 29
},
"end": {
- "line": 51,
+ "line": 53,
"column": 37
},
"identifierName": "atomList"
@@ -3350,58 +3567,58 @@
},
"body": {
"type": "BlockStatement",
- "start": 2043,
- "end": 2121,
+ "start": 2118,
+ "end": 2196,
"loc": {
"start": {
- "line": 51,
+ "line": 53,
"column": 39
},
"end": {
- "line": 53,
+ "line": 55,
"column": 4
}
},
"body": [
{
"type": "ExpressionStatement",
- "start": 2049,
- "end": 2116,
+ "start": 2124,
+ "end": 2191,
"loc": {
"start": {
- "line": 52,
+ "line": 54,
"column": 4
},
"end": {
- "line": 52,
+ "line": 54,
"column": 71
}
},
"expression": {
"type": "CallExpression",
- "start": 2049,
- "end": 2116,
+ "start": 2124,
+ "end": 2191,
"loc": {
"start": {
- "line": 52,
+ "line": 54,
"column": 4
},
"end": {
- "line": 52,
+ "line": 54,
"column": 71
}
},
"callee": {
"type": "Identifier",
- "start": 2049,
- "end": 2057,
+ "start": 2124,
+ "end": 2132,
"loc": {
"start": {
- "line": 52,
+ "line": 54,
"column": 4
},
"end": {
- "line": 52,
+ "line": 54,
"column": 12
},
"identifierName": "setField"
@@ -3411,15 +3628,15 @@
"arguments": [
{
"type": "NumericLiteral",
- "start": 2058,
- "end": 2059,
+ "start": 2133,
+ "end": 2134,
"loc": {
"start": {
- "line": 52,
+ "line": 54,
"column": 13
},
"end": {
- "line": 52,
+ "line": 54,
"column": 14
}
},
@@ -3431,30 +3648,30 @@
},
{
"type": "ArrayExpression",
- "start": 2061,
- "end": 2115,
+ "start": 2136,
+ "end": 2190,
"loc": {
"start": {
- "line": 52,
+ "line": 54,
"column": 16
},
"end": {
- "line": 52,
+ "line": 54,
"column": 70
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 2062,
- "end": 2069,
+ "start": 2137,
+ "end": 2144,
"loc": {
"start": {
- "line": 52,
+ "line": 54,
"column": 17
},
"end": {
- "line": 52,
+ "line": 54,
"column": 24
}
},
@@ -3466,15 +3683,15 @@
},
{
"type": "Identifier",
- "start": 2071,
- "end": 2075,
+ "start": 2146,
+ "end": 2150,
"loc": {
"start": {
- "line": 52,
+ "line": 54,
"column": 26
},
"end": {
- "line": 52,
+ "line": 54,
"column": 30
},
"identifierName": "room"
@@ -3483,15 +3700,15 @@
},
{
"type": "StringLiteral",
- "start": 2077,
- "end": 2086,
+ "start": 2152,
+ "end": 2161,
"loc": {
"start": {
- "line": 52,
+ "line": 54,
"column": 32
},
"end": {
- "line": 52,
+ "line": 54,
"column": 41
}
},
@@ -3503,15 +3720,15 @@
},
{
"type": "Identifier",
- "start": 2088,
- "end": 2098,
+ "start": 2163,
+ "end": 2173,
"loc": {
"start": {
- "line": 52,
+ "line": 54,
"column": 43
},
"end": {
- "line": 52,
+ "line": 54,
"column": 53
},
"identifierName": "thisPlayer"
@@ -3520,15 +3737,15 @@
},
{
"type": "StringLiteral",
- "start": 2100,
- "end": 2110,
+ "start": 2175,
+ "end": 2185,
"loc": {
"start": {
- "line": 52,
+ "line": 54,
"column": 55
},
"end": {
- "line": 52,
+ "line": 54,
"column": 65
}
},
@@ -3540,15 +3757,15 @@
},
{
"type": "Identifier",
- "start": 2112,
- "end": 2114,
+ "start": 2187,
+ "end": 2189,
"loc": {
"start": {
- "line": 52,
+ "line": 54,
"column": 67
},
"end": {
- "line": 52,
+ "line": 54,
"column": 69
},
"identifierName": "at"
@@ -3564,19 +3781,271 @@
"directives": [],
"trailingComments": null
},
+ "trailingComments": [
+ {
+ "type": "CommentLine",
+ "value": " Set defense to 0",
+ "start": 2201,
+ "end": 2220,
+ "loc": {
+ "start": {
+ "line": 57,
+ "column": 3
+ },
+ "end": {
+ "line": 57,
+ "column": 22
+ }
+ }
+ }
+ ]
+ },
+ {
+ "type": "ExpressionStatement",
+ "start": 2224,
+ "end": 2286,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 3
+ },
+ "end": {
+ "line": 58,
+ "column": 65
+ }
+ },
+ "expression": {
+ "type": "CallExpression",
+ "start": 2224,
+ "end": 2286,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 3
+ },
+ "end": {
+ "line": 58,
+ "column": 65
+ }
+ },
+ "callee": {
+ "type": "Identifier",
+ "start": 2224,
+ "end": 2232,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 3
+ },
+ "end": {
+ "line": 58,
+ "column": 11
+ },
+ "identifierName": "setField"
+ },
+ "name": "setField",
+ "leadingComments": null
+ },
+ "arguments": [
+ {
+ "type": "NumericLiteral",
+ "start": 2233,
+ "end": 2234,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 12
+ },
+ "end": {
+ "line": 58,
+ "column": 13
+ }
+ },
+ "extra": {
+ "rawValue": 0,
+ "raw": "0"
+ },
+ "value": 0
+ },
+ {
+ "type": "ArrayExpression",
+ "start": 2236,
+ "end": 2285,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 15
+ },
+ "end": {
+ "line": 58,
+ "column": 64
+ }
+ },
+ "elements": [
+ {
+ "type": "StringLiteral",
+ "start": 2237,
+ "end": 2244,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 16
+ },
+ "end": {
+ "line": 58,
+ "column": 23
+ }
+ },
+ "extra": {
+ "rawValue": "rooms",
+ "raw": "'rooms'"
+ },
+ "value": "rooms"
+ },
+ {
+ "type": "Identifier",
+ "start": 2246,
+ "end": 2250,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 25
+ },
+ "end": {
+ "line": 58,
+ "column": 29
+ },
+ "identifierName": "room"
+ },
+ "name": "room"
+ },
+ {
+ "type": "StringLiteral",
+ "start": 2252,
+ "end": 2261,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 31
+ },
+ "end": {
+ "line": 58,
+ "column": 40
+ }
+ },
+ "extra": {
+ "rawValue": "players",
+ "raw": "'players'"
+ },
+ "value": "players"
+ },
+ {
+ "type": "MemberExpression",
+ "start": 2263,
+ "end": 2274,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 42
+ },
+ "end": {
+ "line": 58,
+ "column": 53
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 2263,
+ "end": 2267,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 42
+ },
+ "end": {
+ "line": 58,
+ "column": 46
+ },
+ "identifierName": "data"
+ },
+ "name": "data"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 2268,
+ "end": 2274,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 47
+ },
+ "end": {
+ "line": 58,
+ "column": 53
+ },
+ "identifierName": "player"
+ },
+ "name": "player"
+ },
+ "computed": false
+ },
+ {
+ "type": "StringLiteral",
+ "start": 2276,
+ "end": 2284,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 55
+ },
+ "end": {
+ "line": 58,
+ "column": 63
+ }
+ },
+ "extra": {
+ "rawValue": "shield",
+ "raw": "'shield'"
+ },
+ "value": "shield"
+ }
+ ]
+ }
+ ],
+ "leadingComments": null,
+ "trailingComments": null
+ },
+ "leadingComments": [
+ {
+ "type": "CommentLine",
+ "value": " Set defense to 0",
+ "start": 2201,
+ "end": 2220,
+ "loc": {
+ "start": {
+ "line": 57,
+ "column": 3
+ },
+ "end": {
+ "line": 57,
+ "column": 22
+ }
+ }
+ }
+ ],
"trailingComments": [
{
"type": "CommentLine",
"value": " Reset position to spawnpoint",
- "start": 2126,
- "end": 2157,
+ "start": 2291,
+ "end": 2322,
"loc": {
"start": {
- "line": 55,
+ "line": 60,
"column": 3
},
"end": {
- "line": 55,
+ "line": 60,
"column": 34
}
}
@@ -3585,43 +4054,43 @@
},
{
"type": "ExpressionStatement",
- "start": 2161,
- "end": 2305,
+ "start": 2326,
+ "end": 2470,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 3
},
"end": {
- "line": 56,
+ "line": 61,
"column": 147
}
},
"expression": {
"type": "CallExpression",
- "start": 2161,
- "end": 2305,
+ "start": 2326,
+ "end": 2470,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 3
},
"end": {
- "line": 56,
+ "line": 61,
"column": 147
}
},
"callee": {
"type": "Identifier",
- "start": 2161,
- "end": 2169,
+ "start": 2326,
+ "end": 2334,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 3
},
"end": {
- "line": 56,
+ "line": 61,
"column": 11
},
"identifierName": "setField"
@@ -3632,85 +4101,85 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 2170,
- "end": 2255,
+ "start": 2335,
+ "end": 2420,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 12
},
"end": {
- "line": 56,
+ "line": 61,
"column": 97
}
},
"left": {
"type": "BinaryExpression",
- "start": 2170,
- "end": 2251,
+ "start": 2335,
+ "end": 2416,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 12
},
"end": {
- "line": 56,
+ "line": 61,
"column": 93
}
},
"left": {
"type": "MemberExpression",
- "start": 2170,
- "end": 2229,
+ "start": 2335,
+ "end": 2394,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 12
},
"end": {
- "line": 56,
+ "line": 61,
"column": 71
}
},
"object": {
"type": "MemberExpression",
- "start": 2170,
- "end": 2227,
+ "start": 2335,
+ "end": 2392,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 12
},
"end": {
- "line": 56,
+ "line": 61,
"column": 69
}
},
"object": {
"type": "MemberExpression",
- "start": 2170,
- "end": 2189,
+ "start": 2335,
+ "end": 2354,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 12
},
"end": {
- "line": 56,
+ "line": 61,
"column": 31
}
},
"object": {
"type": "Identifier",
- "start": 2170,
- "end": 2176,
+ "start": 2335,
+ "end": 2341,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 12
},
"end": {
- "line": 56,
+ "line": 61,
"column": 18
},
"identifierName": "GLOBAL"
@@ -3719,15 +4188,15 @@
},
"property": {
"type": "Identifier",
- "start": 2177,
- "end": 2189,
+ "start": 2342,
+ "end": 2354,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 19
},
"end": {
- "line": 56,
+ "line": 61,
"column": 31
},
"identifierName": "SPAWN_POINTS"
@@ -3738,29 +4207,29 @@
},
"property": {
"type": "CallExpression",
- "start": 2190,
- "end": 2226,
+ "start": 2355,
+ "end": 2391,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 32
},
"end": {
- "line": 56,
+ "line": 61,
"column": 68
}
},
"callee": {
"type": "Identifier",
- "start": 2190,
- "end": 2203,
+ "start": 2355,
+ "end": 2368,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 32
},
"end": {
- "line": 56,
+ "line": 61,
"column": 45
},
"identifierName": "getTeamNumber"
@@ -3770,15 +4239,15 @@
"arguments": [
{
"type": "Identifier",
- "start": 2204,
- "end": 2208,
+ "start": 2369,
+ "end": 2373,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 46
},
"end": {
- "line": 56,
+ "line": 61,
"column": 50
},
"identifierName": "room"
@@ -3787,29 +4256,29 @@
},
{
"type": "MemberExpression",
- "start": 2210,
- "end": 2225,
+ "start": 2375,
+ "end": 2390,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 52
},
"end": {
- "line": 56,
+ "line": 61,
"column": 67
}
},
"object": {
"type": "Identifier",
- "start": 2210,
- "end": 2220,
+ "start": 2375,
+ "end": 2385,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 52
},
"end": {
- "line": 56,
+ "line": 61,
"column": 62
},
"identifierName": "thisPlayer"
@@ -3818,15 +4287,15 @@
},
"property": {
"type": "Identifier",
- "start": 2221,
- "end": 2225,
+ "start": 2386,
+ "end": 2390,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 63
},
"end": {
- "line": 56,
+ "line": 61,
"column": 67
},
"identifierName": "team"
@@ -3841,15 +4310,15 @@
},
"property": {
"type": "Identifier",
- "start": 2228,
- "end": 2229,
+ "start": 2393,
+ "end": 2394,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 70
},
"end": {
- "line": 56,
+ "line": 61,
"column": 71
},
"identifierName": "x"
@@ -3861,29 +4330,29 @@
"operator": "*",
"right": {
"type": "MemberExpression",
- "start": 2232,
- "end": 2251,
+ "start": 2397,
+ "end": 2416,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 74
},
"end": {
- "line": 56,
+ "line": 61,
"column": 93
}
},
"object": {
"type": "Identifier",
- "start": 2232,
- "end": 2238,
+ "start": 2397,
+ "end": 2403,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 74
},
"end": {
- "line": 56,
+ "line": 61,
"column": 80
},
"identifierName": "GLOBAL"
@@ -3892,15 +4361,15 @@
},
"property": {
"type": "Identifier",
- "start": 2239,
- "end": 2251,
+ "start": 2404,
+ "end": 2416,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 81
},
"end": {
- "line": 56,
+ "line": 61,
"column": 93
},
"identifierName": "GRID_SPACING"
@@ -3913,15 +4382,15 @@
"operator": "*",
"right": {
"type": "NumericLiteral",
- "start": 2254,
- "end": 2255,
+ "start": 2419,
+ "end": 2420,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 96
},
"end": {
- "line": 56,
+ "line": 61,
"column": 97
}
},
@@ -3934,30 +4403,30 @@
},
{
"type": "ArrayExpression",
- "start": 2257,
- "end": 2304,
+ "start": 2422,
+ "end": 2469,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 99
},
"end": {
- "line": 56,
+ "line": 61,
"column": 146
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 2258,
- "end": 2265,
+ "start": 2423,
+ "end": 2430,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 100
},
"end": {
- "line": 56,
+ "line": 61,
"column": 107
}
},
@@ -3969,15 +4438,15 @@
},
{
"type": "Identifier",
- "start": 2267,
- "end": 2271,
+ "start": 2432,
+ "end": 2436,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 109
},
"end": {
- "line": 56,
+ "line": 61,
"column": 113
},
"identifierName": "room"
@@ -3986,15 +4455,15 @@
},
{
"type": "StringLiteral",
- "start": 2273,
- "end": 2282,
+ "start": 2438,
+ "end": 2447,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 115
},
"end": {
- "line": 56,
+ "line": 61,
"column": 124
}
},
@@ -4006,29 +4475,29 @@
},
{
"type": "MemberExpression",
- "start": 2284,
- "end": 2295,
+ "start": 2449,
+ "end": 2460,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 126
},
"end": {
- "line": 56,
+ "line": 61,
"column": 137
}
},
"object": {
"type": "Identifier",
- "start": 2284,
- "end": 2288,
+ "start": 2449,
+ "end": 2453,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 126
},
"end": {
- "line": 56,
+ "line": 61,
"column": 130
},
"identifierName": "data"
@@ -4037,15 +4506,15 @@
},
"property": {
"type": "Identifier",
- "start": 2289,
- "end": 2295,
+ "start": 2454,
+ "end": 2460,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 131
},
"end": {
- "line": 56,
+ "line": 61,
"column": 137
},
"identifierName": "player"
@@ -4056,15 +4525,15 @@
},
{
"type": "StringLiteral",
- "start": 2297,
- "end": 2303,
+ "start": 2462,
+ "end": 2468,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 139
},
"end": {
- "line": 56,
+ "line": 61,
"column": 145
}
},
@@ -4083,15 +4552,15 @@
{
"type": "CommentLine",
"value": " Reset position to spawnpoint",
- "start": 2126,
- "end": 2157,
+ "start": 2291,
+ "end": 2322,
"loc": {
"start": {
- "line": 55,
+ "line": 60,
"column": 3
},
"end": {
- "line": 55,
+ "line": 60,
"column": 34
}
}
@@ -4100,43 +4569,43 @@
},
{
"type": "ExpressionStatement",
- "start": 2309,
- "end": 2453,
+ "start": 2474,
+ "end": 2618,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 3
},
"end": {
- "line": 57,
+ "line": 62,
"column": 147
}
},
"expression": {
"type": "CallExpression",
- "start": 2309,
- "end": 2453,
+ "start": 2474,
+ "end": 2618,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 3
},
"end": {
- "line": 57,
+ "line": 62,
"column": 147
}
},
"callee": {
"type": "Identifier",
- "start": 2309,
- "end": 2317,
+ "start": 2474,
+ "end": 2482,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 3
},
"end": {
- "line": 57,
+ "line": 62,
"column": 11
},
"identifierName": "setField"
@@ -4146,85 +4615,85 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 2318,
- "end": 2403,
+ "start": 2483,
+ "end": 2568,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 12
},
"end": {
- "line": 57,
+ "line": 62,
"column": 97
}
},
"left": {
"type": "BinaryExpression",
- "start": 2318,
- "end": 2399,
+ "start": 2483,
+ "end": 2564,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 12
},
"end": {
- "line": 57,
+ "line": 62,
"column": 93
}
},
"left": {
"type": "MemberExpression",
- "start": 2318,
- "end": 2377,
+ "start": 2483,
+ "end": 2542,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 12
},
"end": {
- "line": 57,
+ "line": 62,
"column": 71
}
},
"object": {
"type": "MemberExpression",
- "start": 2318,
- "end": 2375,
+ "start": 2483,
+ "end": 2540,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 12
},
"end": {
- "line": 57,
+ "line": 62,
"column": 69
}
},
"object": {
"type": "MemberExpression",
- "start": 2318,
- "end": 2337,
+ "start": 2483,
+ "end": 2502,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 12
},
"end": {
- "line": 57,
+ "line": 62,
"column": 31
}
},
"object": {
"type": "Identifier",
- "start": 2318,
- "end": 2324,
+ "start": 2483,
+ "end": 2489,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 12
},
"end": {
- "line": 57,
+ "line": 62,
"column": 18
},
"identifierName": "GLOBAL"
@@ -4233,15 +4702,15 @@
},
"property": {
"type": "Identifier",
- "start": 2325,
- "end": 2337,
+ "start": 2490,
+ "end": 2502,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 19
},
"end": {
- "line": 57,
+ "line": 62,
"column": 31
},
"identifierName": "SPAWN_POINTS"
@@ -4252,29 +4721,29 @@
},
"property": {
"type": "CallExpression",
- "start": 2338,
- "end": 2374,
+ "start": 2503,
+ "end": 2539,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 32
},
"end": {
- "line": 57,
+ "line": 62,
"column": 68
}
},
"callee": {
"type": "Identifier",
- "start": 2338,
- "end": 2351,
+ "start": 2503,
+ "end": 2516,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 32
},
"end": {
- "line": 57,
+ "line": 62,
"column": 45
},
"identifierName": "getTeamNumber"
@@ -4284,15 +4753,15 @@
"arguments": [
{
"type": "Identifier",
- "start": 2352,
- "end": 2356,
+ "start": 2517,
+ "end": 2521,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 46
},
"end": {
- "line": 57,
+ "line": 62,
"column": 50
},
"identifierName": "room"
@@ -4301,29 +4770,29 @@
},
{
"type": "MemberExpression",
- "start": 2358,
- "end": 2373,
+ "start": 2523,
+ "end": 2538,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 52
},
"end": {
- "line": 57,
+ "line": 62,
"column": 67
}
},
"object": {
"type": "Identifier",
- "start": 2358,
- "end": 2368,
+ "start": 2523,
+ "end": 2533,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 52
},
"end": {
- "line": 57,
+ "line": 62,
"column": 62
},
"identifierName": "thisPlayer"
@@ -4332,15 +4801,15 @@
},
"property": {
"type": "Identifier",
- "start": 2369,
- "end": 2373,
+ "start": 2534,
+ "end": 2538,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 63
},
"end": {
- "line": 57,
+ "line": 62,
"column": 67
},
"identifierName": "team"
@@ -4355,15 +4824,15 @@
},
"property": {
"type": "Identifier",
- "start": 2376,
- "end": 2377,
+ "start": 2541,
+ "end": 2542,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 70
},
"end": {
- "line": 57,
+ "line": 62,
"column": 71
},
"identifierName": "y"
@@ -4375,29 +4844,29 @@
"operator": "*",
"right": {
"type": "MemberExpression",
- "start": 2380,
- "end": 2399,
+ "start": 2545,
+ "end": 2564,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 74
},
"end": {
- "line": 57,
+ "line": 62,
"column": 93
}
},
"object": {
"type": "Identifier",
- "start": 2380,
- "end": 2386,
+ "start": 2545,
+ "end": 2551,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 74
},
"end": {
- "line": 57,
+ "line": 62,
"column": 80
},
"identifierName": "GLOBAL"
@@ -4406,15 +4875,15 @@
},
"property": {
"type": "Identifier",
- "start": 2387,
- "end": 2399,
+ "start": 2552,
+ "end": 2564,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 81
},
"end": {
- "line": 57,
+ "line": 62,
"column": 93
},
"identifierName": "GRID_SPACING"
@@ -4427,15 +4896,15 @@
"operator": "*",
"right": {
"type": "NumericLiteral",
- "start": 2402,
- "end": 2403,
+ "start": 2567,
+ "end": 2568,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 96
},
"end": {
- "line": 57,
+ "line": 62,
"column": 97
}
},
@@ -4448,30 +4917,30 @@
},
{
"type": "ArrayExpression",
- "start": 2405,
- "end": 2452,
+ "start": 2570,
+ "end": 2617,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 99
},
"end": {
- "line": 57,
+ "line": 62,
"column": 146
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 2406,
- "end": 2413,
+ "start": 2571,
+ "end": 2578,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 100
},
"end": {
- "line": 57,
+ "line": 62,
"column": 107
}
},
@@ -4483,15 +4952,15 @@
},
{
"type": "Identifier",
- "start": 2415,
- "end": 2419,
+ "start": 2580,
+ "end": 2584,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 109
},
"end": {
- "line": 57,
+ "line": 62,
"column": 113
},
"identifierName": "room"
@@ -4500,15 +4969,15 @@
},
{
"type": "StringLiteral",
- "start": 2421,
- "end": 2430,
+ "start": 2586,
+ "end": 2595,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 115
},
"end": {
- "line": 57,
+ "line": 62,
"column": 124
}
},
@@ -4520,29 +4989,29 @@
},
{
"type": "MemberExpression",
- "start": 2432,
- "end": 2443,
+ "start": 2597,
+ "end": 2608,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 126
},
"end": {
- "line": 57,
+ "line": 62,
"column": 137
}
},
"object": {
"type": "Identifier",
- "start": 2432,
- "end": 2436,
+ "start": 2597,
+ "end": 2601,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 126
},
"end": {
- "line": 57,
+ "line": 62,
"column": 130
},
"identifierName": "data"
@@ -4551,15 +5020,15 @@
},
"property": {
"type": "Identifier",
- "start": 2437,
- "end": 2443,
+ "start": 2602,
+ "end": 2608,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 131
},
"end": {
- "line": 57,
+ "line": 62,
"column": 137
},
"identifierName": "player"
@@ -4570,15 +5039,15 @@
},
{
"type": "StringLiteral",
- "start": 2445,
- "end": 2451,
+ "start": 2610,
+ "end": 2616,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 139
},
"end": {
- "line": 57,
+ "line": 62,
"column": 145
}
},
@@ -4595,43 +5064,43 @@
},
{
"type": "ExpressionStatement",
- "start": 2457,
- "end": 2535,
+ "start": 2622,
+ "end": 2700,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 3
},
"end": {
- "line": 58,
+ "line": 63,
"column": 81
}
},
"expression": {
"type": "CallExpression",
- "start": 2457,
- "end": 2535,
+ "start": 2622,
+ "end": 2700,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 3
},
"end": {
- "line": 58,
+ "line": 63,
"column": 81
}
},
"callee": {
"type": "Identifier",
- "start": 2457,
- "end": 2465,
+ "start": 2622,
+ "end": 2630,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 3
},
"end": {
- "line": 58,
+ "line": 63,
"column": 11
},
"identifierName": "setField"
@@ -4641,29 +5110,29 @@
"arguments": [
{
"type": "MemberExpression",
- "start": 2466,
- "end": 2483,
+ "start": 2631,
+ "end": 2648,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 12
},
"end": {
- "line": 58,
+ "line": 63,
"column": 29
}
},
"object": {
"type": "Identifier",
- "start": 2466,
- "end": 2472,
+ "start": 2631,
+ "end": 2637,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 12
},
"end": {
- "line": 58,
+ "line": 63,
"column": 18
},
"identifierName": "GLOBAL"
@@ -4672,15 +5141,15 @@
},
"property": {
"type": "Identifier",
- "start": 2473,
- "end": 2483,
+ "start": 2638,
+ "end": 2648,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 19
},
"end": {
- "line": 58,
+ "line": 63,
"column": 29
},
"identifierName": "MAX_HEALTH"
@@ -4691,30 +5160,30 @@
},
{
"type": "ArrayExpression",
- "start": 2485,
- "end": 2534,
+ "start": 2650,
+ "end": 2699,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 31
},
"end": {
- "line": 58,
+ "line": 63,
"column": 80
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 2486,
- "end": 2493,
+ "start": 2651,
+ "end": 2658,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 32
},
"end": {
- "line": 58,
+ "line": 63,
"column": 39
}
},
@@ -4726,15 +5195,15 @@
},
{
"type": "Identifier",
- "start": 2495,
- "end": 2499,
+ "start": 2660,
+ "end": 2664,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 41
},
"end": {
- "line": 58,
+ "line": 63,
"column": 45
},
"identifierName": "room"
@@ -4743,15 +5212,15 @@
},
{
"type": "StringLiteral",
- "start": 2501,
- "end": 2510,
+ "start": 2666,
+ "end": 2675,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 47
},
"end": {
- "line": 58,
+ "line": 63,
"column": 56
}
},
@@ -4763,29 +5232,29 @@
},
{
"type": "MemberExpression",
- "start": 2512,
- "end": 2523,
+ "start": 2677,
+ "end": 2688,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 58
},
"end": {
- "line": 58,
+ "line": 63,
"column": 69
}
},
"object": {
"type": "Identifier",
- "start": 2512,
- "end": 2516,
+ "start": 2677,
+ "end": 2681,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 58
},
"end": {
- "line": 58,
+ "line": 63,
"column": 62
},
"identifierName": "data"
@@ -4794,15 +5263,15 @@
},
"property": {
"type": "Identifier",
- "start": 2517,
- "end": 2523,
+ "start": 2682,
+ "end": 2688,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 63
},
"end": {
- "line": 58,
+ "line": 63,
"column": 69
},
"identifierName": "player"
@@ -4813,15 +5282,15 @@
},
{
"type": "StringLiteral",
- "start": 2525,
- "end": 2533,
+ "start": 2690,
+ "end": 2698,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 71
},
"end": {
- "line": 58,
+ "line": 63,
"column": 79
}
},
@@ -4838,43 +5307,43 @@
},
{
"type": "ExpressionStatement",
- "start": 2539,
- "end": 2602,
+ "start": 2704,
+ "end": 2767,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 3
},
"end": {
- "line": 59,
+ "line": 64,
"column": 66
}
},
"expression": {
"type": "CallExpression",
- "start": 2539,
- "end": 2602,
+ "start": 2704,
+ "end": 2767,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 3
},
"end": {
- "line": 59,
+ "line": 64,
"column": 66
}
},
"callee": {
"type": "Identifier",
- "start": 2539,
- "end": 2547,
+ "start": 2704,
+ "end": 2712,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 3
},
"end": {
- "line": 59,
+ "line": 64,
"column": 11
},
"identifierName": "setField"
@@ -4884,15 +5353,15 @@
"arguments": [
{
"type": "BooleanLiteral",
- "start": 2548,
- "end": 2552,
+ "start": 2713,
+ "end": 2717,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 12
},
"end": {
- "line": 59,
+ "line": 64,
"column": 16
}
},
@@ -4900,30 +5369,30 @@
},
{
"type": "ArrayExpression",
- "start": 2554,
- "end": 2601,
+ "start": 2719,
+ "end": 2766,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 18
},
"end": {
- "line": 59,
+ "line": 64,
"column": 65
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 2555,
- "end": 2562,
+ "start": 2720,
+ "end": 2727,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 19
},
"end": {
- "line": 59,
+ "line": 64,
"column": 26
}
},
@@ -4935,15 +5404,15 @@
},
{
"type": "Identifier",
- "start": 2564,
- "end": 2568,
+ "start": 2729,
+ "end": 2733,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 28
},
"end": {
- "line": 59,
+ "line": 64,
"column": 32
},
"identifierName": "room"
@@ -4952,15 +5421,15 @@
},
{
"type": "StringLiteral",
- "start": 2570,
- "end": 2579,
+ "start": 2735,
+ "end": 2744,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 34
},
"end": {
- "line": 59,
+ "line": 64,
"column": 43
}
},
@@ -4972,29 +5441,29 @@
},
{
"type": "MemberExpression",
- "start": 2581,
- "end": 2592,
+ "start": 2746,
+ "end": 2757,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 45
},
"end": {
- "line": 59,
+ "line": 64,
"column": 56
}
},
"object": {
"type": "Identifier",
- "start": 2581,
- "end": 2585,
+ "start": 2746,
+ "end": 2750,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 45
},
"end": {
- "line": 59,
+ "line": 64,
"column": 49
},
"identifierName": "data"
@@ -5003,15 +5472,15 @@
},
"property": {
"type": "Identifier",
- "start": 2586,
- "end": 2592,
+ "start": 2751,
+ "end": 2757,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 50
},
"end": {
- "line": 59,
+ "line": 64,
"column": 56
},
"identifierName": "player"
@@ -5022,15 +5491,15 @@
},
{
"type": "StringLiteral",
- "start": 2594,
- "end": 2600,
+ "start": 2759,
+ "end": 2765,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 58
},
"end": {
- "line": 59,
+ "line": 64,
"column": 64
}
},
@@ -5049,15 +5518,15 @@
{
"type": "CommentLine",
"value": " This will be reset when it has been verified that the player has been placed at the proper spawnpoint",
- "start": 2603,
- "end": 2707,
+ "start": 2768,
+ "end": 2872,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 67
},
"end": {
- "line": 59,
+ "line": 64,
"column": 171
}
}
@@ -5066,57 +5535,57 @@
},
{
"type": "IfStatement",
- "start": 2712,
- "end": 2909,
+ "start": 2877,
+ "end": 3074,
"loc": {
"start": {
- "line": 61,
+ "line": 66,
"column": 3
},
"end": {
- "line": 64,
+ "line": 69,
"column": 4
}
},
"test": {
"type": "BinaryExpression",
- "start": 2716,
- "end": 2741,
+ "start": 2881,
+ "end": 2906,
"loc": {
"start": {
- "line": 61,
+ "line": 66,
"column": 7
},
"end": {
- "line": 61,
+ "line": 66,
"column": 32
}
},
"left": {
"type": "MemberExpression",
- "start": 2716,
- "end": 2725,
+ "start": 2881,
+ "end": 2890,
"loc": {
"start": {
- "line": 61,
+ "line": 66,
"column": 7
},
"end": {
- "line": 61,
+ "line": 66,
"column": 16
}
},
"object": {
"type": "Identifier",
- "start": 2716,
- "end": 2722,
+ "start": 2881,
+ "end": 2887,
"loc": {
"start": {
- "line": 61,
+ "line": 66,
"column": 7
},
"end": {
- "line": 61,
+ "line": 66,
"column": 13
},
"identifierName": "socket"
@@ -5126,15 +5595,15 @@
},
"property": {
"type": "Identifier",
- "start": 2723,
- "end": 2725,
+ "start": 2888,
+ "end": 2890,
"loc": {
"start": {
- "line": 61,
+ "line": 66,
"column": 14
},
"end": {
- "line": 61,
+ "line": 66,
"column": 16
},
"identifierName": "id"
@@ -5147,29 +5616,29 @@
"operator": "===",
"right": {
"type": "MemberExpression",
- "start": 2730,
- "end": 2741,
+ "start": 2895,
+ "end": 2906,
"loc": {
"start": {
- "line": 61,
+ "line": 66,
"column": 21
},
"end": {
- "line": 61,
+ "line": 66,
"column": 32
}
},
"object": {
"type": "Identifier",
- "start": 2730,
- "end": 2734,
+ "start": 2895,
+ "end": 2899,
"loc": {
"start": {
- "line": 61,
+ "line": 66,
"column": 21
},
"end": {
- "line": 61,
+ "line": 66,
"column": 25
},
"identifierName": "data"
@@ -5178,15 +5647,15 @@
},
"property": {
"type": "Identifier",
- "start": 2735,
- "end": 2741,
+ "start": 2900,
+ "end": 2906,
"loc": {
"start": {
- "line": 61,
+ "line": 66,
"column": 26
},
"end": {
- "line": 61,
+ "line": 66,
"column": 32
},
"identifierName": "player"
@@ -5199,59 +5668,59 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 2743,
- "end": 2909,
+ "start": 2908,
+ "end": 3074,
"loc": {
"start": {
- "line": 61,
+ "line": 66,
"column": 34
},
"end": {
- "line": 64,
+ "line": 69,
"column": 4
}
},
"body": [
{
"type": "VariableDeclaration",
- "start": 2749,
- "end": 2807,
+ "start": 2914,
+ "end": 2972,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 4
},
"end": {
- "line": 62,
+ "line": 67,
"column": 62
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 2753,
- "end": 2807,
+ "start": 2918,
+ "end": 2972,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 8
},
"end": {
- "line": 62,
+ "line": 67,
"column": 62
}
},
"id": {
"type": "Identifier",
- "start": 2753,
- "end": 2755,
+ "start": 2918,
+ "end": 2920,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 8
},
"end": {
- "line": 62,
+ "line": 67,
"column": 10
},
"identifierName": "pl"
@@ -5260,29 +5729,29 @@
},
"init": {
"type": "CallExpression",
- "start": 2758,
- "end": 2807,
+ "start": 2923,
+ "end": 2972,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 13
},
"end": {
- "line": 62,
+ "line": 67,
"column": 62
}
},
"callee": {
"type": "Identifier",
- "start": 2758,
- "end": 2766,
+ "start": 2923,
+ "end": 2931,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 13
},
"end": {
- "line": 62,
+ "line": 67,
"column": 21
},
"identifierName": "getField"
@@ -5292,30 +5761,30 @@
"arguments": [
{
"type": "ArrayExpression",
- "start": 2767,
- "end": 2806,
+ "start": 2932,
+ "end": 2971,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 22
},
"end": {
- "line": 62,
+ "line": 67,
"column": 61
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 2768,
- "end": 2775,
+ "start": 2933,
+ "end": 2940,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 23
},
"end": {
- "line": 62,
+ "line": 67,
"column": 30
}
},
@@ -5327,15 +5796,15 @@
},
{
"type": "Identifier",
- "start": 2777,
- "end": 2781,
+ "start": 2942,
+ "end": 2946,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 32
},
"end": {
- "line": 62,
+ "line": 67,
"column": 36
},
"identifierName": "room"
@@ -5344,15 +5813,15 @@
},
{
"type": "StringLiteral",
- "start": 2783,
- "end": 2792,
+ "start": 2948,
+ "end": 2957,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 38
},
"end": {
- "line": 62,
+ "line": 67,
"column": 47
}
},
@@ -5364,29 +5833,29 @@
},
{
"type": "MemberExpression",
- "start": 2794,
- "end": 2805,
+ "start": 2959,
+ "end": 2970,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 49
},
"end": {
- "line": 62,
+ "line": 67,
"column": 60
}
},
"object": {
"type": "Identifier",
- "start": 2794,
- "end": 2798,
+ "start": 2959,
+ "end": 2963,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 49
},
"end": {
- "line": 62,
+ "line": 67,
"column": 53
},
"identifierName": "data"
@@ -5395,15 +5864,15 @@
},
"property": {
"type": "Identifier",
- "start": 2799,
- "end": 2805,
+ "start": 2964,
+ "end": 2970,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 54
},
"end": {
- "line": 62,
+ "line": 67,
"column": 60
},
"identifierName": "player"
@@ -5422,57 +5891,57 @@
},
{
"type": "ExpressionStatement",
- "start": 2812,
- "end": 2904,
+ "start": 2977,
+ "end": 3069,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 4
},
"end": {
- "line": 63,
+ "line": 68,
"column": 96
}
},
"expression": {
"type": "CallExpression",
- "start": 2812,
- "end": 2904,
+ "start": 2977,
+ "end": 3069,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 4
},
"end": {
- "line": 63,
+ "line": 68,
"column": 96
}
},
"callee": {
"type": "MemberExpression",
- "start": 2812,
- "end": 2823,
+ "start": 2977,
+ "end": 2988,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 4
},
"end": {
- "line": 63,
+ "line": 68,
"column": 15
}
},
"object": {
"type": "Identifier",
- "start": 2812,
- "end": 2818,
+ "start": 2977,
+ "end": 2983,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 4
},
"end": {
- "line": 63,
+ "line": 68,
"column": 10
},
"identifierName": "socket"
@@ -5481,15 +5950,15 @@
},
"property": {
"type": "Identifier",
- "start": 2819,
- "end": 2823,
+ "start": 2984,
+ "end": 2988,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 11
},
"end": {
- "line": 63,
+ "line": 68,
"column": 15
},
"identifierName": "emit"
@@ -5501,15 +5970,15 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 2824,
- "end": 2847,
+ "start": 2989,
+ "end": 3012,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 16
},
"end": {
- "line": 63,
+ "line": 68,
"column": 39
}
},
@@ -5521,30 +5990,30 @@
},
{
"type": "ObjectExpression",
- "start": 2849,
- "end": 2903,
+ "start": 3014,
+ "end": 3068,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 41
},
"end": {
- "line": 63,
+ "line": 68,
"column": 95
}
},
"properties": [
{
"type": "ObjectProperty",
- "start": 2851,
- "end": 2864,
+ "start": 3016,
+ "end": 3029,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 43
},
"end": {
- "line": 63,
+ "line": 68,
"column": 56
}
},
@@ -5553,15 +6022,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 2851,
- "end": 2855,
+ "start": 3016,
+ "end": 3020,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 43
},
"end": {
- "line": 63,
+ "line": 68,
"column": 47
},
"identifierName": "posX"
@@ -5570,29 +6039,29 @@
},
"value": {
"type": "MemberExpression",
- "start": 2857,
- "end": 2864,
+ "start": 3022,
+ "end": 3029,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 49
},
"end": {
- "line": 63,
+ "line": 68,
"column": 56
}
},
"object": {
"type": "Identifier",
- "start": 2857,
- "end": 2859,
+ "start": 3022,
+ "end": 3024,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 49
},
"end": {
- "line": 63,
+ "line": 68,
"column": 51
},
"identifierName": "pl"
@@ -5601,15 +6070,15 @@
},
"property": {
"type": "Identifier",
- "start": 2860,
- "end": 2864,
+ "start": 3025,
+ "end": 3029,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 52
},
"end": {
- "line": 63,
+ "line": 68,
"column": 56
},
"identifierName": "posX"
@@ -5621,15 +6090,15 @@
},
{
"type": "ObjectProperty",
- "start": 2866,
- "end": 2879,
+ "start": 3031,
+ "end": 3044,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 58
},
"end": {
- "line": 63,
+ "line": 68,
"column": 71
}
},
@@ -5638,15 +6107,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 2866,
- "end": 2870,
+ "start": 3031,
+ "end": 3035,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 58
},
"end": {
- "line": 63,
+ "line": 68,
"column": 62
},
"identifierName": "posY"
@@ -5655,29 +6124,29 @@
},
"value": {
"type": "MemberExpression",
- "start": 2872,
- "end": 2879,
+ "start": 3037,
+ "end": 3044,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 64
},
"end": {
- "line": 63,
+ "line": 68,
"column": 71
}
},
"object": {
"type": "Identifier",
- "start": 2872,
- "end": 2874,
+ "start": 3037,
+ "end": 3039,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 64
},
"end": {
- "line": 63,
+ "line": 68,
"column": 66
},
"identifierName": "pl"
@@ -5686,15 +6155,15 @@
},
"property": {
"type": "Identifier",
- "start": 2875,
- "end": 2879,
+ "start": 3040,
+ "end": 3044,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 67
},
"end": {
- "line": 63,
+ "line": 68,
"column": 71
},
"identifierName": "posY"
@@ -5706,15 +6175,15 @@
},
{
"type": "ObjectProperty",
- "start": 2881,
- "end": 2890,
+ "start": 3046,
+ "end": 3055,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 73
},
"end": {
- "line": 63,
+ "line": 68,
"column": 82
}
},
@@ -5723,15 +6192,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 2881,
- "end": 2883,
+ "start": 3046,
+ "end": 3048,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 73
},
"end": {
- "line": 63,
+ "line": 68,
"column": 75
},
"identifierName": "vx"
@@ -5740,29 +6209,29 @@
},
"value": {
"type": "MemberExpression",
- "start": 2885,
- "end": 2890,
+ "start": 3050,
+ "end": 3055,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 77
},
"end": {
- "line": 63,
+ "line": 68,
"column": 82
}
},
"object": {
"type": "Identifier",
- "start": 2885,
- "end": 2887,
+ "start": 3050,
+ "end": 3052,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 77
},
"end": {
- "line": 63,
+ "line": 68,
"column": 79
},
"identifierName": "pl"
@@ -5771,15 +6240,15 @@
},
"property": {
"type": "Identifier",
- "start": 2888,
- "end": 2890,
+ "start": 3053,
+ "end": 3055,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 80
},
"end": {
- "line": 63,
+ "line": 68,
"column": 82
},
"identifierName": "vx"
@@ -5791,15 +6260,15 @@
},
{
"type": "ObjectProperty",
- "start": 2892,
- "end": 2901,
+ "start": 3057,
+ "end": 3066,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 84
},
"end": {
- "line": 63,
+ "line": 68,
"column": 93
}
},
@@ -5808,15 +6277,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 2892,
- "end": 2894,
+ "start": 3057,
+ "end": 3059,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 84
},
"end": {
- "line": 63,
+ "line": 68,
"column": 86
},
"identifierName": "vy"
@@ -5825,29 +6294,29 @@
},
"value": {
"type": "MemberExpression",
- "start": 2896,
- "end": 2901,
+ "start": 3061,
+ "end": 3066,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 88
},
"end": {
- "line": 63,
+ "line": 68,
"column": 93
}
},
"object": {
"type": "Identifier",
- "start": 2896,
- "end": 2898,
+ "start": 3061,
+ "end": 3063,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 88
},
"end": {
- "line": 63,
+ "line": 68,
"column": 90
},
"identifierName": "pl"
@@ -5856,15 +6325,15 @@
},
"property": {
"type": "Identifier",
- "start": 2899,
- "end": 2901,
+ "start": 3064,
+ "end": 3066,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 91
},
"end": {
- "line": 63,
+ "line": 68,
"column": 93
},
"identifierName": "vy"
@@ -5887,15 +6356,15 @@
{
"type": "CommentLine",
"value": " This will be reset when it has been verified that the player has been placed at the proper spawnpoint",
- "start": 2603,
- "end": 2707,
+ "start": 2768,
+ "end": 2872,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 67
},
"end": {
- "line": 59,
+ "line": 64,
"column": 171
}
}
@@ -5904,57 +6373,57 @@
},
{
"type": "IfStatement",
- "start": 2914,
- "end": 5262,
+ "start": 3079,
+ "end": 5427,
"loc": {
"start": {
- "line": 66,
+ "line": 71,
"column": 3
},
"end": {
- "line": 131,
+ "line": 136,
"column": 4
}
},
"test": {
"type": "BinaryExpression",
- "start": 2918,
- "end": 2939,
+ "start": 3083,
+ "end": 3104,
"loc": {
"start": {
- "line": 66,
+ "line": 71,
"column": 7
},
"end": {
- "line": 66,
+ "line": 71,
"column": 28
}
},
"left": {
"type": "MemberExpression",
- "start": 2918,
- "end": 2925,
+ "start": 3083,
+ "end": 3090,
"loc": {
"start": {
- "line": 66,
+ "line": 71,
"column": 7
},
"end": {
- "line": 66,
+ "line": 71,
"column": 14
}
},
"object": {
"type": "Identifier",
- "start": 2918,
- "end": 2922,
+ "start": 3083,
+ "end": 3087,
"loc": {
"start": {
- "line": 66,
+ "line": 71,
"column": 7
},
"end": {
- "line": 66,
+ "line": 71,
"column": 11
},
"identifierName": "data"
@@ -5963,15 +6432,15 @@
},
"property": {
"type": "Identifier",
- "start": 2923,
- "end": 2925,
+ "start": 3088,
+ "end": 3090,
"loc": {
"start": {
- "line": 66,
+ "line": 71,
"column": 12
},
"end": {
- "line": 66,
+ "line": 71,
"column": 14
},
"identifierName": "id"
@@ -5983,15 +6452,15 @@
"operator": "!==",
"right": {
"type": "Identifier",
- "start": 2930,
- "end": 2939,
+ "start": 3095,
+ "end": 3104,
"loc": {
"start": {
- "line": 66,
+ "line": 71,
"column": 19
},
"end": {
- "line": 66,
+ "line": 71,
"column": 28
},
"identifierName": "undefined"
@@ -6001,59 +6470,59 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 2941,
- "end": 5262,
+ "start": 3106,
+ "end": 5427,
"loc": {
"start": {
- "line": 66,
+ "line": 71,
"column": 30
},
"end": {
- "line": 131,
+ "line": 136,
"column": 4
}
},
"body": [
{
"type": "VariableDeclaration",
- "start": 3007,
- "end": 3021,
+ "start": 3172,
+ "end": 3186,
"loc": {
"start": {
- "line": 68,
+ "line": 73,
"column": 4
},
"end": {
- "line": 68,
+ "line": 73,
"column": 18
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 3011,
- "end": 3021,
+ "start": 3176,
+ "end": 3186,
"loc": {
"start": {
- "line": 68,
+ "line": 73,
"column": 8
},
"end": {
- "line": 68,
+ "line": 73,
"column": 18
}
},
"id": {
"type": "Identifier",
- "start": 3011,
- "end": 3014,
+ "start": 3176,
+ "end": 3179,
"loc": {
"start": {
- "line": 68,
+ "line": 73,
"column": 8
},
"end": {
- "line": 68,
+ "line": 73,
"column": 11
},
"identifierName": "max"
@@ -6063,15 +6532,15 @@
},
"init": {
"type": "NullLiteral",
- "start": 3017,
- "end": 3021,
+ "start": 3182,
+ "end": 3186,
"loc": {
"start": {
- "line": 68,
+ "line": 73,
"column": 14
},
"end": {
- "line": 68,
+ "line": 73,
"column": 18
}
}
@@ -6084,15 +6553,15 @@
{
"type": "CommentLine",
"value": " Read damagedBy to award points, clear in the process",
- "start": 2947,
- "end": 3002,
+ "start": 3112,
+ "end": 3167,
"loc": {
"start": {
- "line": 67,
+ "line": 72,
"column": 4
},
"end": {
- "line": 67,
+ "line": 72,
"column": 59
}
}
@@ -6101,44 +6570,44 @@
},
{
"type": "VariableDeclaration",
- "start": 3026,
- "end": 3040,
+ "start": 3191,
+ "end": 3205,
"loc": {
"start": {
- "line": 69,
+ "line": 74,
"column": 4
},
"end": {
- "line": 69,
+ "line": 74,
"column": 18
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 3030,
- "end": 3040,
+ "start": 3195,
+ "end": 3205,
"loc": {
"start": {
- "line": 69,
+ "line": 74,
"column": 8
},
"end": {
- "line": 69,
+ "line": 74,
"column": 18
}
},
"id": {
"type": "Identifier",
- "start": 3030,
- "end": 3040,
+ "start": 3195,
+ "end": 3205,
"loc": {
"start": {
- "line": 69,
+ "line": 74,
"column": 8
},
"end": {
- "line": 69,
+ "line": 74,
"column": 18
},
"identifierName": "dataToSend"
@@ -6152,58 +6621,58 @@
},
{
"type": "ForInStatement",
- "start": 3045,
- "end": 3784,
+ "start": 3210,
+ "end": 3949,
"loc": {
"start": {
- "line": 70,
+ "line": 75,
"column": 4
},
"end": {
- "line": 86,
+ "line": 91,
"column": 5
}
},
"left": {
"type": "VariableDeclaration",
- "start": 3050,
- "end": 3056,
+ "start": 3215,
+ "end": 3221,
"loc": {
"start": {
- "line": 70,
+ "line": 75,
"column": 9
},
"end": {
- "line": 70,
+ "line": 75,
"column": 15
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 3054,
- "end": 3056,
+ "start": 3219,
+ "end": 3221,
"loc": {
"start": {
- "line": 70,
+ "line": 75,
"column": 13
},
"end": {
- "line": 70,
+ "line": 75,
"column": 15
}
},
"id": {
"type": "Identifier",
- "start": 3054,
- "end": 3056,
+ "start": 3219,
+ "end": 3221,
"loc": {
"start": {
- "line": 70,
+ "line": 75,
"column": 13
},
"end": {
- "line": 70,
+ "line": 75,
"column": 15
},
"identifierName": "pl"
@@ -6217,29 +6686,29 @@
},
"right": {
"type": "MemberExpression",
- "start": 3060,
- "end": 3080,
+ "start": 3225,
+ "end": 3245,
"loc": {
"start": {
- "line": 70,
+ "line": 75,
"column": 19
},
"end": {
- "line": 70,
+ "line": 75,
"column": 39
}
},
"object": {
"type": "Identifier",
- "start": 3060,
- "end": 3070,
+ "start": 3225,
+ "end": 3235,
"loc": {
"start": {
- "line": 70,
+ "line": 75,
"column": 19
},
"end": {
- "line": 70,
+ "line": 75,
"column": 29
},
"identifierName": "thisPlayer"
@@ -6248,15 +6717,15 @@
},
"property": {
"type": "Identifier",
- "start": 3071,
- "end": 3080,
+ "start": 3236,
+ "end": 3245,
"loc": {
"start": {
- "line": 70,
+ "line": 75,
"column": 30
},
"end": {
- "line": 70,
+ "line": 75,
"column": 39
},
"identifierName": "damagedBy"
@@ -6267,59 +6736,59 @@
},
"body": {
"type": "BlockStatement",
- "start": 3082,
- "end": 3784,
+ "start": 3247,
+ "end": 3949,
"loc": {
"start": {
- "line": 70,
+ "line": 75,
"column": 41
},
"end": {
- "line": 86,
+ "line": 91,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
- "start": 3089,
- "end": 3262,
+ "start": 3254,
+ "end": 3427,
"loc": {
"start": {
- "line": 71,
+ "line": 76,
"column": 5
},
"end": {
- "line": 76,
+ "line": 81,
"column": 6
}
},
"expression": {
"type": "AssignmentExpression",
- "start": 3089,
- "end": 3262,
+ "start": 3254,
+ "end": 3427,
"loc": {
"start": {
- "line": 71,
+ "line": 76,
"column": 5
},
"end": {
- "line": 76,
+ "line": 81,
"column": 6
}
},
"operator": "=",
"left": {
"type": "Identifier",
- "start": 3089,
- "end": 3099,
+ "start": 3254,
+ "end": 3264,
"loc": {
"start": {
- "line": 71,
+ "line": 76,
"column": 5
},
"end": {
- "line": 71,
+ "line": 76,
"column": 15
},
"identifierName": "dataToSend"
@@ -6328,30 +6797,30 @@
},
"right": {
"type": "ObjectExpression",
- "start": 3102,
- "end": 3262,
+ "start": 3267,
+ "end": 3427,
"loc": {
"start": {
- "line": 71,
+ "line": 76,
"column": 18
},
"end": {
- "line": 76,
+ "line": 81,
"column": 6
}
},
"properties": [
{
"type": "ObjectProperty",
- "start": 3110,
- "end": 3120,
+ "start": 3275,
+ "end": 3285,
"loc": {
"start": {
- "line": 72,
+ "line": 77,
"column": 6
},
"end": {
- "line": 72,
+ "line": 77,
"column": 16
}
},
@@ -6360,15 +6829,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3110,
- "end": 3116,
+ "start": 3275,
+ "end": 3281,
"loc": {
"start": {
- "line": 72,
+ "line": 77,
"column": 6
},
"end": {
- "line": 72,
+ "line": 77,
"column": 12
},
"identifierName": "player"
@@ -6377,15 +6846,15 @@
},
"value": {
"type": "Identifier",
- "start": 3118,
- "end": 3120,
+ "start": 3283,
+ "end": 3285,
"loc": {
"start": {
- "line": 72,
+ "line": 77,
"column": 14
},
"end": {
- "line": 72,
+ "line": 77,
"column": 16
},
"identifierName": "pl"
@@ -6395,15 +6864,15 @@
},
{
"type": "ObjectProperty",
- "start": 3128,
- "end": 3198,
+ "start": 3293,
+ "end": 3363,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 6
},
"end": {
- "line": 73,
+ "line": 78,
"column": 76
}
},
@@ -6412,15 +6881,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3128,
- "end": 3136,
+ "start": 3293,
+ "end": 3301,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 6
},
"end": {
- "line": 73,
+ "line": 78,
"column": 14
},
"identifierName": "teamSlot"
@@ -6429,29 +6898,29 @@
},
"value": {
"type": "CallExpression",
- "start": 3138,
- "end": 3198,
+ "start": 3303,
+ "end": 3363,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 16
},
"end": {
- "line": 73,
+ "line": 78,
"column": 76
}
},
"callee": {
"type": "Identifier",
- "start": 3138,
- "end": 3151,
+ "start": 3303,
+ "end": 3316,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 16
},
"end": {
- "line": 73,
+ "line": 78,
"column": 29
},
"identifierName": "getTeamNumber"
@@ -6461,15 +6930,15 @@
"arguments": [
{
"type": "Identifier",
- "start": 3152,
- "end": 3156,
+ "start": 3317,
+ "end": 3321,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 30
},
"end": {
- "line": 73,
+ "line": 78,
"column": 34
},
"identifierName": "room"
@@ -6478,57 +6947,57 @@
},
{
"type": "MemberExpression",
- "start": 3158,
- "end": 3197,
+ "start": 3323,
+ "end": 3362,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 36
},
"end": {
- "line": 73,
+ "line": 78,
"column": 75
}
},
"object": {
"type": "MemberExpression",
- "start": 3158,
- "end": 3185,
+ "start": 3323,
+ "end": 3350,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 36
},
"end": {
- "line": 73,
+ "line": 78,
"column": 63
}
},
"object": {
"type": "MemberExpression",
- "start": 3158,
- "end": 3176,
+ "start": 3323,
+ "end": 3341,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 36
},
"end": {
- "line": 73,
+ "line": 78,
"column": 54
}
},
"object": {
"type": "Identifier",
- "start": 3158,
- "end": 3166,
+ "start": 3323,
+ "end": 3331,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 36
},
"end": {
- "line": 73,
+ "line": 78,
"column": 44
},
"identifierName": "thisRoom"
@@ -6537,15 +7006,15 @@
},
"property": {
"type": "Identifier",
- "start": 3167,
- "end": 3176,
+ "start": 3332,
+ "end": 3341,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 45
},
"end": {
- "line": 73,
+ "line": 78,
"column": 54
},
"identifierName": "compounds"
@@ -6556,29 +7025,29 @@
},
"property": {
"type": "MemberExpression",
- "start": 3177,
- "end": 3184,
+ "start": 3342,
+ "end": 3349,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 55
},
"end": {
- "line": 73,
+ "line": 78,
"column": 62
}
},
"object": {
"type": "Identifier",
- "start": 3177,
- "end": 3181,
+ "start": 3342,
+ "end": 3346,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 55
},
"end": {
- "line": 73,
+ "line": 78,
"column": 59
},
"identifierName": "data"
@@ -6587,15 +7056,15 @@
},
"property": {
"type": "Identifier",
- "start": 3182,
- "end": 3184,
+ "start": 3347,
+ "end": 3349,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 60
},
"end": {
- "line": 73,
+ "line": 78,
"column": 62
},
"identifierName": "id"
@@ -6608,15 +7077,15 @@
},
"property": {
"type": "Identifier",
- "start": 3186,
- "end": 3197,
+ "start": 3351,
+ "end": 3362,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 64
},
"end": {
- "line": 73,
+ "line": 78,
"column": 75
},
"identifierName": "sendingTeam"
@@ -6630,15 +7099,15 @@
},
{
"type": "ObjectProperty",
- "start": 3206,
- "end": 3236,
+ "start": 3371,
+ "end": 3401,
"loc": {
"start": {
- "line": 74,
+ "line": 79,
"column": 6
},
"end": {
- "line": 74,
+ "line": 79,
"column": 36
}
},
@@ -6647,15 +7116,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3206,
- "end": 3215,
+ "start": 3371,
+ "end": 3380,
"loc": {
"start": {
- "line": 74,
+ "line": 79,
"column": 6
},
"end": {
- "line": 74,
+ "line": 79,
"column": 15
},
"identifierName": "increment"
@@ -6664,29 +7133,29 @@
},
"value": {
"type": "MemberExpression",
- "start": 3217,
- "end": 3236,
+ "start": 3382,
+ "end": 3401,
"loc": {
"start": {
- "line": 74,
+ "line": 79,
"column": 17
},
"end": {
- "line": 74,
+ "line": 79,
"column": 36
}
},
"object": {
"type": "Identifier",
- "start": 3217,
- "end": 3223,
+ "start": 3382,
+ "end": 3388,
"loc": {
"start": {
- "line": 74,
+ "line": 79,
"column": 17
},
"end": {
- "line": 74,
+ "line": 79,
"column": 23
},
"identifierName": "GLOBAL"
@@ -6695,15 +7164,15 @@
},
"property": {
"type": "Identifier",
- "start": 3224,
- "end": 3236,
+ "start": 3389,
+ "end": 3401,
"loc": {
"start": {
- "line": 74,
+ "line": 79,
"column": 24
},
"end": {
- "line": 74,
+ "line": 79,
"column": 36
},
"identifierName": "ASSIST_SCORE"
@@ -6715,15 +7184,15 @@
},
{
"type": "ObjectProperty",
- "start": 3244,
- "end": 3255,
+ "start": 3409,
+ "end": 3420,
"loc": {
"start": {
- "line": 75,
+ "line": 80,
"column": 6
},
"end": {
- "line": 75,
+ "line": 80,
"column": 17
}
},
@@ -6732,15 +7201,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3244,
- "end": 3248,
+ "start": 3409,
+ "end": 3413,
"loc": {
"start": {
- "line": 75,
+ "line": 80,
"column": 6
},
"end": {
- "line": 75,
+ "line": 80,
"column": 10
},
"identifierName": "kill"
@@ -6749,15 +7218,15 @@
},
"value": {
"type": "BooleanLiteral",
- "start": 3250,
- "end": 3255,
+ "start": 3415,
+ "end": 3420,
"loc": {
"start": {
- "line": 75,
+ "line": 80,
"column": 12
},
"end": {
- "line": 75,
+ "line": 80,
"column": 17
}
},
@@ -6767,15 +7236,15 @@
{
"type": "CommentLine",
"value": " Add to team score, checking if team score is initialized",
- "start": 3269,
- "end": 3328,
+ "start": 3434,
+ "end": 3493,
"loc": {
"start": {
- "line": 78,
+ "line": 83,
"column": 5
},
"end": {
- "line": 78,
+ "line": 83,
"column": 64
}
}
@@ -6791,15 +7260,15 @@
{
"type": "CommentLine",
"value": " Add to team score, checking if team score is initialized",
- "start": 3269,
- "end": 3328,
+ "start": 3434,
+ "end": 3493,
"loc": {
"start": {
- "line": 78,
+ "line": 83,
"column": 5
},
"end": {
- "line": 78,
+ "line": 83,
"column": 64
}
}
@@ -6808,43 +7277,43 @@
},
{
"type": "ExpressionStatement",
- "start": 3334,
- "end": 3547,
+ "start": 3499,
+ "end": 3712,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 5
},
"end": {
- "line": 79,
+ "line": 84,
"column": 218
}
},
"expression": {
"type": "CallExpression",
- "start": 3334,
- "end": 3547,
+ "start": 3499,
+ "end": 3712,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 5
},
"end": {
- "line": 79,
+ "line": 84,
"column": 218
}
},
"callee": {
"type": "Identifier",
- "start": 3334,
- "end": 3342,
+ "start": 3499,
+ "end": 3507,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 5
},
"end": {
- "line": 79,
+ "line": 84,
"column": 13
},
"identifierName": "setField"
@@ -6854,85 +7323,85 @@
"arguments": [
{
"type": "ConditionalExpression",
- "start": 3343,
- "end": 3490,
+ "start": 3508,
+ "end": 3655,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 14
},
"end": {
- "line": 79,
+ "line": 84,
"column": 161
}
},
"test": {
"type": "BinaryExpression",
- "start": 3344,
- "end": 3399,
+ "start": 3509,
+ "end": 3564,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 15
},
"end": {
- "line": 79,
+ "line": 84,
"column": 70
}
},
"left": {
"type": "MemberExpression",
- "start": 3344,
- "end": 3385,
+ "start": 3509,
+ "end": 3550,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 15
},
"end": {
- "line": 79,
+ "line": 84,
"column": 56
}
},
"object": {
"type": "MemberExpression",
- "start": 3344,
- "end": 3379,
+ "start": 3509,
+ "end": 3544,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 15
},
"end": {
- "line": 79,
+ "line": 84,
"column": 50
}
},
"object": {
"type": "MemberExpression",
- "start": 3344,
- "end": 3358,
+ "start": 3509,
+ "end": 3523,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 15
},
"end": {
- "line": 79,
+ "line": 84,
"column": 29
}
},
"object": {
"type": "Identifier",
- "start": 3344,
- "end": 3352,
+ "start": 3509,
+ "end": 3517,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 15
},
"end": {
- "line": 79,
+ "line": 84,
"column": 23
},
"identifierName": "thisRoom"
@@ -6941,15 +7410,15 @@
},
"property": {
"type": "Identifier",
- "start": 3353,
- "end": 3358,
+ "start": 3518,
+ "end": 3523,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 24
},
"end": {
- "line": 79,
+ "line": 84,
"column": 29
},
"identifierName": "teams"
@@ -6960,29 +7429,29 @@
},
"property": {
"type": "MemberExpression",
- "start": 3359,
- "end": 3378,
+ "start": 3524,
+ "end": 3543,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 30
},
"end": {
- "line": 79,
+ "line": 84,
"column": 49
}
},
"object": {
"type": "Identifier",
- "start": 3359,
- "end": 3369,
+ "start": 3524,
+ "end": 3534,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 30
},
"end": {
- "line": 79,
+ "line": 84,
"column": 40
},
"identifierName": "dataToSend"
@@ -6991,15 +7460,15 @@
},
"property": {
"type": "Identifier",
- "start": 3370,
- "end": 3378,
+ "start": 3535,
+ "end": 3543,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 41
},
"end": {
- "line": 79,
+ "line": 84,
"column": 49
},
"identifierName": "teamSlot"
@@ -7012,15 +7481,15 @@
},
"property": {
"type": "Identifier",
- "start": 3380,
- "end": 3385,
+ "start": 3545,
+ "end": 3550,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 51
},
"end": {
- "line": 79,
+ "line": 84,
"column": 56
},
"identifierName": "score"
@@ -7032,15 +7501,15 @@
"operator": "===",
"right": {
"type": "Identifier",
- "start": 3390,
- "end": 3399,
+ "start": 3555,
+ "end": 3564,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 61
},
"end": {
- "line": 79,
+ "line": 84,
"column": 70
},
"identifierName": "undefined"
@@ -7049,34 +7518,34 @@
},
"extra": {
"parenthesized": true,
- "parenStart": 3343
+ "parenStart": 3508
}
},
"consequent": {
"type": "MemberExpression",
- "start": 3403,
- "end": 3423,
+ "start": 3568,
+ "end": 3588,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 74
},
"end": {
- "line": 79,
+ "line": 84,
"column": 94
}
},
"object": {
"type": "Identifier",
- "start": 3403,
- "end": 3413,
+ "start": 3568,
+ "end": 3578,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 74
},
"end": {
- "line": 79,
+ "line": 84,
"column": 84
},
"identifierName": "dataToSend"
@@ -7085,15 +7554,15 @@
},
"property": {
"type": "Identifier",
- "start": 3414,
- "end": 3423,
+ "start": 3579,
+ "end": 3588,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 85
},
"end": {
- "line": 79,
+ "line": 84,
"column": 94
},
"identifierName": "increment"
@@ -7104,71 +7573,71 @@
},
"alternate": {
"type": "BinaryExpression",
- "start": 3426,
- "end": 3490,
+ "start": 3591,
+ "end": 3655,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 97
},
"end": {
- "line": 79,
+ "line": 84,
"column": 161
}
},
"left": {
"type": "MemberExpression",
- "start": 3426,
- "end": 3467,
+ "start": 3591,
+ "end": 3632,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 97
},
"end": {
- "line": 79,
+ "line": 84,
"column": 138
}
},
"object": {
"type": "MemberExpression",
- "start": 3426,
- "end": 3461,
+ "start": 3591,
+ "end": 3626,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 97
},
"end": {
- "line": 79,
+ "line": 84,
"column": 132
}
},
"object": {
"type": "MemberExpression",
- "start": 3426,
- "end": 3440,
+ "start": 3591,
+ "end": 3605,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 97
},
"end": {
- "line": 79,
+ "line": 84,
"column": 111
}
},
"object": {
"type": "Identifier",
- "start": 3426,
- "end": 3434,
+ "start": 3591,
+ "end": 3599,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 97
},
"end": {
- "line": 79,
+ "line": 84,
"column": 105
},
"identifierName": "thisRoom"
@@ -7177,15 +7646,15 @@
},
"property": {
"type": "Identifier",
- "start": 3435,
- "end": 3440,
+ "start": 3600,
+ "end": 3605,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 106
},
"end": {
- "line": 79,
+ "line": 84,
"column": 111
},
"identifierName": "teams"
@@ -7196,29 +7665,29 @@
},
"property": {
"type": "MemberExpression",
- "start": 3441,
- "end": 3460,
+ "start": 3606,
+ "end": 3625,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 112
},
"end": {
- "line": 79,
+ "line": 84,
"column": 131
}
},
"object": {
"type": "Identifier",
- "start": 3441,
- "end": 3451,
+ "start": 3606,
+ "end": 3616,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 112
},
"end": {
- "line": 79,
+ "line": 84,
"column": 122
},
"identifierName": "dataToSend"
@@ -7227,15 +7696,15 @@
},
"property": {
"type": "Identifier",
- "start": 3452,
- "end": 3460,
+ "start": 3617,
+ "end": 3625,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 123
},
"end": {
- "line": 79,
+ "line": 84,
"column": 131
},
"identifierName": "teamSlot"
@@ -7248,15 +7717,15 @@
},
"property": {
"type": "Identifier",
- "start": 3462,
- "end": 3467,
+ "start": 3627,
+ "end": 3632,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 133
},
"end": {
- "line": 79,
+ "line": 84,
"column": 138
},
"identifierName": "score"
@@ -7268,29 +7737,29 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 3470,
- "end": 3490,
+ "start": 3635,
+ "end": 3655,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 141
},
"end": {
- "line": 79,
+ "line": 84,
"column": 161
}
},
"object": {
"type": "Identifier",
- "start": 3470,
- "end": 3480,
+ "start": 3635,
+ "end": 3645,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 141
},
"end": {
- "line": 79,
+ "line": 84,
"column": 151
},
"identifierName": "dataToSend"
@@ -7299,15 +7768,15 @@
},
"property": {
"type": "Identifier",
- "start": 3481,
- "end": 3490,
+ "start": 3646,
+ "end": 3655,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 152
},
"end": {
- "line": 79,
+ "line": 84,
"column": 161
},
"identifierName": "increment"
@@ -7320,30 +7789,30 @@
},
{
"type": "ArrayExpression",
- "start": 3492,
- "end": 3546,
+ "start": 3657,
+ "end": 3711,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 163
},
"end": {
- "line": 79,
+ "line": 84,
"column": 217
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 3493,
- "end": 3500,
+ "start": 3658,
+ "end": 3665,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 164
},
"end": {
- "line": 79,
+ "line": 84,
"column": 171
}
},
@@ -7355,15 +7824,15 @@
},
{
"type": "Identifier",
- "start": 3502,
- "end": 3506,
+ "start": 3667,
+ "end": 3671,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 173
},
"end": {
- "line": 79,
+ "line": 84,
"column": 177
},
"identifierName": "room"
@@ -7372,15 +7841,15 @@
},
{
"type": "StringLiteral",
- "start": 3508,
- "end": 3515,
+ "start": 3673,
+ "end": 3680,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 179
},
"end": {
- "line": 79,
+ "line": 84,
"column": 186
}
},
@@ -7392,29 +7861,29 @@
},
{
"type": "MemberExpression",
- "start": 3517,
- "end": 3536,
+ "start": 3682,
+ "end": 3701,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 188
},
"end": {
- "line": 79,
+ "line": 84,
"column": 207
}
},
"object": {
"type": "Identifier",
- "start": 3517,
- "end": 3527,
+ "start": 3682,
+ "end": 3692,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 188
},
"end": {
- "line": 79,
+ "line": 84,
"column": 198
},
"identifierName": "dataToSend"
@@ -7423,15 +7892,15 @@
},
"property": {
"type": "Identifier",
- "start": 3528,
- "end": 3536,
+ "start": 3693,
+ "end": 3701,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 199
},
"end": {
- "line": 79,
+ "line": 84,
"column": 207
},
"identifierName": "teamSlot"
@@ -7442,15 +7911,15 @@
},
{
"type": "StringLiteral",
- "start": 3538,
- "end": 3545,
+ "start": 3703,
+ "end": 3710,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 209
},
"end": {
- "line": 79,
+ "line": 84,
"column": 216
}
},
@@ -7467,99 +7936,99 @@
},
{
"type": "ExpressionStatement",
- "start": 3554,
- "end": 3621,
+ "start": 3719,
+ "end": 3786,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 5
},
"end": {
- "line": 81,
+ "line": 86,
"column": 72
}
},
"expression": {
"type": "CallExpression",
- "start": 3554,
- "end": 3621,
+ "start": 3719,
+ "end": 3786,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 5
},
"end": {
- "line": 81,
+ "line": 86,
"column": 72
}
},
"callee": {
"type": "MemberExpression",
- "start": 3554,
- "end": 3584,
+ "start": 3719,
+ "end": 3749,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 5
},
"end": {
- "line": 81,
+ "line": 86,
"column": 35
}
},
"object": {
"type": "MemberExpression",
- "start": 3554,
- "end": 3579,
+ "start": 3719,
+ "end": 3744,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 5
},
"end": {
- "line": 81,
+ "line": 86,
"column": 30
}
},
"object": {
"type": "CallExpression",
- "start": 3554,
- "end": 3569,
+ "start": 3719,
+ "end": 3734,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 5
},
"end": {
- "line": 81,
+ "line": 86,
"column": 20
}
},
"callee": {
"type": "MemberExpression",
- "start": 3554,
- "end": 3563,
+ "start": 3719,
+ "end": 3728,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 5
},
"end": {
- "line": 81,
+ "line": 86,
"column": 14
}
},
"object": {
"type": "Identifier",
- "start": 3554,
- "end": 3560,
+ "start": 3719,
+ "end": 3725,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 5
},
"end": {
- "line": 81,
+ "line": 86,
"column": 11
},
"identifierName": "socket"
@@ -7568,15 +8037,15 @@
},
"property": {
"type": "Identifier",
- "start": 3561,
- "end": 3563,
+ "start": 3726,
+ "end": 3728,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 12
},
"end": {
- "line": 81,
+ "line": 86,
"column": 14
},
"identifierName": "to"
@@ -7588,15 +8057,15 @@
"arguments": [
{
"type": "Identifier",
- "start": 3564,
- "end": 3568,
+ "start": 3729,
+ "end": 3733,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 15
},
"end": {
- "line": 81,
+ "line": 86,
"column": 19
},
"identifierName": "room"
@@ -7607,15 +8076,15 @@
},
"property": {
"type": "Identifier",
- "start": 3570,
- "end": 3579,
+ "start": 3735,
+ "end": 3744,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 21
},
"end": {
- "line": 81,
+ "line": 86,
"column": 30
},
"identifierName": "broadcast"
@@ -7626,15 +8095,15 @@
},
"property": {
"type": "Identifier",
- "start": 3580,
- "end": 3584,
+ "start": 3745,
+ "end": 3749,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 31
},
"end": {
- "line": 81,
+ "line": 86,
"column": 35
},
"identifierName": "emit"
@@ -7646,15 +8115,15 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 3585,
- "end": 3608,
+ "start": 3750,
+ "end": 3773,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 36
},
"end": {
- "line": 81,
+ "line": 86,
"column": 59
}
},
@@ -7666,15 +8135,15 @@
},
{
"type": "Identifier",
- "start": 3610,
- "end": 3620,
+ "start": 3775,
+ "end": 3785,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 61
},
"end": {
- "line": 81,
+ "line": 86,
"column": 71
},
"identifierName": "dataToSend"
@@ -7686,57 +8155,57 @@
},
{
"type": "ExpressionStatement",
- "start": 3627,
- "end": 3675,
+ "start": 3792,
+ "end": 3840,
"loc": {
"start": {
- "line": 82,
+ "line": 87,
"column": 5
},
"end": {
- "line": 82,
+ "line": 87,
"column": 53
}
},
"expression": {
"type": "CallExpression",
- "start": 3627,
- "end": 3675,
+ "start": 3792,
+ "end": 3840,
"loc": {
"start": {
- "line": 82,
+ "line": 87,
"column": 5
},
"end": {
- "line": 82,
+ "line": 87,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
- "start": 3627,
- "end": 3638,
+ "start": 3792,
+ "end": 3803,
"loc": {
"start": {
- "line": 82,
+ "line": 87,
"column": 5
},
"end": {
- "line": 82,
+ "line": 87,
"column": 16
}
},
"object": {
"type": "Identifier",
- "start": 3627,
- "end": 3633,
+ "start": 3792,
+ "end": 3798,
"loc": {
"start": {
- "line": 82,
+ "line": 87,
"column": 5
},
"end": {
- "line": 82,
+ "line": 87,
"column": 11
},
"identifierName": "socket"
@@ -7745,15 +8214,15 @@
},
"property": {
"type": "Identifier",
- "start": 3634,
- "end": 3638,
+ "start": 3799,
+ "end": 3803,
"loc": {
"start": {
- "line": 82,
+ "line": 87,
"column": 12
},
"end": {
- "line": 82,
+ "line": 87,
"column": 16
},
"identifierName": "emit"
@@ -7765,15 +8234,15 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 3639,
- "end": 3662,
+ "start": 3804,
+ "end": 3827,
"loc": {
"start": {
- "line": 82,
+ "line": 87,
"column": 17
},
"end": {
- "line": 82,
+ "line": 87,
"column": 40
}
},
@@ -7785,15 +8254,15 @@
},
{
"type": "Identifier",
- "start": 3664,
- "end": 3674,
+ "start": 3829,
+ "end": 3839,
"loc": {
"start": {
- "line": 82,
+ "line": 87,
"column": 42
},
"end": {
- "line": 82,
+ "line": 87,
"column": 52
},
"identifierName": "dataToSend"
@@ -7805,57 +8274,57 @@
},
{
"type": "IfStatement",
- "start": 3681,
- "end": 3778,
+ "start": 3846,
+ "end": 3943,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 5
},
"end": {
- "line": 85,
+ "line": 90,
"column": 6
}
},
"test": {
"type": "LogicalExpression",
- "start": 3685,
- "end": 3753,
+ "start": 3850,
+ "end": 3918,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 9
},
"end": {
- "line": 83,
+ "line": 88,
"column": 77
}
},
"left": {
"type": "BinaryExpression",
- "start": 3685,
- "end": 3697,
+ "start": 3850,
+ "end": 3862,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 9
},
"end": {
- "line": 83,
+ "line": 88,
"column": 21
}
},
"left": {
"type": "Identifier",
- "start": 3685,
- "end": 3688,
+ "start": 3850,
+ "end": 3853,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 9
},
"end": {
- "line": 83,
+ "line": 88,
"column": 12
},
"identifierName": "max"
@@ -7865,15 +8334,15 @@
"operator": "===",
"right": {
"type": "NullLiteral",
- "start": 3693,
- "end": 3697,
+ "start": 3858,
+ "end": 3862,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 17
},
"end": {
- "line": 83,
+ "line": 88,
"column": 21
}
}
@@ -7882,57 +8351,57 @@
"operator": "||",
"right": {
"type": "BinaryExpression",
- "start": 3701,
- "end": 3753,
+ "start": 3866,
+ "end": 3918,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 25
},
"end": {
- "line": 83,
+ "line": 88,
"column": 77
}
},
"left": {
"type": "MemberExpression",
- "start": 3701,
- "end": 3725,
+ "start": 3866,
+ "end": 3890,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 25
},
"end": {
- "line": 83,
+ "line": 88,
"column": 49
}
},
"object": {
"type": "MemberExpression",
- "start": 3701,
- "end": 3721,
+ "start": 3866,
+ "end": 3886,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 25
},
"end": {
- "line": 83,
+ "line": 88,
"column": 45
}
},
"object": {
"type": "Identifier",
- "start": 3701,
- "end": 3711,
+ "start": 3866,
+ "end": 3876,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 25
},
"end": {
- "line": 83,
+ "line": 88,
"column": 35
},
"identifierName": "thisPlayer"
@@ -7941,15 +8410,15 @@
},
"property": {
"type": "Identifier",
- "start": 3712,
- "end": 3721,
+ "start": 3877,
+ "end": 3886,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 36
},
"end": {
- "line": 83,
+ "line": 88,
"column": 45
},
"identifierName": "damagedBy"
@@ -7960,15 +8429,15 @@
},
"property": {
"type": "Identifier",
- "start": 3722,
- "end": 3724,
+ "start": 3887,
+ "end": 3889,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 46
},
"end": {
- "line": 83,
+ "line": 88,
"column": 48
},
"identifierName": "pl"
@@ -7980,43 +8449,43 @@
"operator": ">",
"right": {
"type": "MemberExpression",
- "start": 3728,
- "end": 3753,
+ "start": 3893,
+ "end": 3918,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 52
},
"end": {
- "line": 83,
+ "line": 88,
"column": 77
}
},
"object": {
"type": "MemberExpression",
- "start": 3728,
- "end": 3748,
+ "start": 3893,
+ "end": 3913,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 52
},
"end": {
- "line": 83,
+ "line": 88,
"column": 72
}
},
"object": {
"type": "Identifier",
- "start": 3728,
- "end": 3738,
+ "start": 3893,
+ "end": 3903,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 52
},
"end": {
- "line": 83,
+ "line": 88,
"column": 62
},
"identifierName": "thisPlayer"
@@ -8025,15 +8494,15 @@
},
"property": {
"type": "Identifier",
- "start": 3739,
- "end": 3748,
+ "start": 3904,
+ "end": 3913,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 63
},
"end": {
- "line": 83,
+ "line": 88,
"column": 72
},
"identifierName": "damagedBy"
@@ -8044,15 +8513,15 @@
},
"property": {
"type": "Identifier",
- "start": 3749,
- "end": 3752,
+ "start": 3914,
+ "end": 3917,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 73
},
"end": {
- "line": 83,
+ "line": 88,
"column": 76
},
"identifierName": "max"
@@ -8065,59 +8534,59 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 3755,
- "end": 3778,
+ "start": 3920,
+ "end": 3943,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 79
},
"end": {
- "line": 85,
+ "line": 90,
"column": 6
}
},
"body": [
{
"type": "ExpressionStatement",
- "start": 3763,
- "end": 3771,
+ "start": 3928,
+ "end": 3936,
"loc": {
"start": {
- "line": 84,
+ "line": 89,
"column": 6
},
"end": {
- "line": 84,
+ "line": 89,
"column": 14
}
},
"expression": {
"type": "AssignmentExpression",
- "start": 3763,
- "end": 3771,
+ "start": 3928,
+ "end": 3936,
"loc": {
"start": {
- "line": 84,
+ "line": 89,
"column": 6
},
"end": {
- "line": 84,
+ "line": 89,
"column": 14
}
},
"operator": "=",
"left": {
"type": "Identifier",
- "start": 3763,
- "end": 3766,
+ "start": 3928,
+ "end": 3931,
"loc": {
"start": {
- "line": 84,
+ "line": 89,
"column": 6
},
"end": {
- "line": 84,
+ "line": 89,
"column": 9
},
"identifierName": "max"
@@ -8126,15 +8595,15 @@
},
"right": {
"type": "Identifier",
- "start": 3769,
- "end": 3771,
+ "start": 3934,
+ "end": 3936,
"loc": {
"start": {
- "line": 84,
+ "line": 89,
"column": 12
},
"end": {
- "line": 84,
+ "line": 89,
"column": 14
},
"identifierName": "pl"
@@ -8156,15 +8625,15 @@
{
"type": "CommentLine",
"value": " Add to score of person who dealt the most damage",
- "start": 3790,
- "end": 3841,
+ "start": 3955,
+ "end": 4006,
"loc": {
"start": {
- "line": 88,
+ "line": 93,
"column": 4
},
"end": {
- "line": 88,
+ "line": 93,
"column": 55
}
}
@@ -8173,58 +8642,58 @@
},
{
"type": "ExpressionStatement",
- "start": 3846,
- "end": 3869,
+ "start": 4011,
+ "end": 4034,
"loc": {
"start": {
- "line": 89,
+ "line": 94,
"column": 4
},
"end": {
- "line": 89,
+ "line": 94,
"column": 27
}
},
"expression": {
"type": "AssignmentExpression",
- "start": 3846,
- "end": 3869,
+ "start": 4011,
+ "end": 4034,
"loc": {
"start": {
- "line": 89,
+ "line": 94,
"column": 4
},
"end": {
- "line": 89,
+ "line": 94,
"column": 27
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 3846,
- "end": 3863,
+ "start": 4011,
+ "end": 4028,
"loc": {
"start": {
- "line": 89,
+ "line": 94,
"column": 4
},
"end": {
- "line": 89,
+ "line": 94,
"column": 21
}
},
"object": {
"type": "Identifier",
- "start": 3846,
- "end": 3856,
+ "start": 4011,
+ "end": 4021,
"loc": {
"start": {
- "line": 89,
+ "line": 94,
"column": 4
},
"end": {
- "line": 89,
+ "line": 94,
"column": 14
},
"identifierName": "dataToSend"
@@ -8234,15 +8703,15 @@
},
"property": {
"type": "Identifier",
- "start": 3857,
- "end": 3863,
+ "start": 4022,
+ "end": 4028,
"loc": {
"start": {
- "line": 89,
+ "line": 94,
"column": 15
},
"end": {
- "line": 89,
+ "line": 94,
"column": 21
},
"identifierName": "player"
@@ -8254,15 +8723,15 @@
},
"right": {
"type": "Identifier",
- "start": 3866,
- "end": 3869,
+ "start": 4031,
+ "end": 4034,
"loc": {
"start": {
- "line": 89,
+ "line": 94,
"column": 24
},
"end": {
- "line": 89,
+ "line": 94,
"column": 27
},
"identifierName": "max"
@@ -8275,15 +8744,15 @@
{
"type": "CommentLine",
"value": " Add to score of person who dealt the most damage",
- "start": 3790,
- "end": 3841,
+ "start": 3955,
+ "end": 4006,
"loc": {
"start": {
- "line": 88,
+ "line": 93,
"column": 4
},
"end": {
- "line": 88,
+ "line": 93,
"column": 55
}
}
@@ -8292,58 +8761,58 @@
},
{
"type": "ExpressionStatement",
- "start": 3874,
- "end": 3936,
+ "start": 4039,
+ "end": 4101,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 4
},
"end": {
- "line": 90,
+ "line": 95,
"column": 66
}
},
"expression": {
"type": "AssignmentExpression",
- "start": 3874,
- "end": 3936,
+ "start": 4039,
+ "end": 4101,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 4
},
"end": {
- "line": 90,
+ "line": 95,
"column": 66
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 3874,
- "end": 3894,
+ "start": 4039,
+ "end": 4059,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 4
},
"end": {
- "line": 90,
+ "line": 95,
"column": 24
}
},
"object": {
"type": "Identifier",
- "start": 3874,
- "end": 3884,
+ "start": 4039,
+ "end": 4049,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 4
},
"end": {
- "line": 90,
+ "line": 95,
"column": 14
},
"identifierName": "dataToSend"
@@ -8352,15 +8821,15 @@
},
"property": {
"type": "Identifier",
- "start": 3885,
- "end": 3894,
+ "start": 4050,
+ "end": 4059,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 15
},
"end": {
- "line": 90,
+ "line": 95,
"column": 24
},
"identifierName": "increment"
@@ -8371,43 +8840,43 @@
},
"right": {
"type": "BinaryExpression",
- "start": 3897,
- "end": 3936,
+ "start": 4062,
+ "end": 4101,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 27
},
"end": {
- "line": 90,
+ "line": 95,
"column": 66
}
},
"left": {
"type": "MemberExpression",
- "start": 3897,
- "end": 3914,
+ "start": 4062,
+ "end": 4079,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 27
},
"end": {
- "line": 90,
+ "line": 95,
"column": 44
}
},
"object": {
"type": "Identifier",
- "start": 3897,
- "end": 3903,
+ "start": 4062,
+ "end": 4068,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 27
},
"end": {
- "line": 90,
+ "line": 95,
"column": 33
},
"identifierName": "GLOBAL"
@@ -8416,15 +8885,15 @@
},
"property": {
"type": "Identifier",
- "start": 3904,
- "end": 3914,
+ "start": 4069,
+ "end": 4079,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 34
},
"end": {
- "line": 90,
+ "line": 95,
"column": 44
},
"identifierName": "KILL_SCORE"
@@ -8436,29 +8905,29 @@
"operator": "-",
"right": {
"type": "MemberExpression",
- "start": 3917,
- "end": 3936,
+ "start": 4082,
+ "end": 4101,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 47
},
"end": {
- "line": 90,
+ "line": 95,
"column": 66
}
},
"object": {
"type": "Identifier",
- "start": 3917,
- "end": 3923,
+ "start": 4082,
+ "end": 4088,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 47
},
"end": {
- "line": 90,
+ "line": 95,
"column": 53
},
"identifierName": "GLOBAL"
@@ -8467,15 +8936,15 @@
},
"property": {
"type": "Identifier",
- "start": 3924,
- "end": 3936,
+ "start": 4089,
+ "end": 4101,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 54
},
"end": {
- "line": 90,
+ "line": 95,
"column": 66
},
"identifierName": "ASSIST_SCORE"
@@ -8489,58 +8958,58 @@
},
{
"type": "ExpressionStatement",
- "start": 3941,
- "end": 3963,
+ "start": 4106,
+ "end": 4128,
"loc": {
"start": {
- "line": 91,
+ "line": 96,
"column": 4
},
"end": {
- "line": 91,
+ "line": 96,
"column": 26
}
},
"expression": {
"type": "AssignmentExpression",
- "start": 3941,
- "end": 3963,
+ "start": 4106,
+ "end": 4128,
"loc": {
"start": {
- "line": 91,
+ "line": 96,
"column": 4
},
"end": {
- "line": 91,
+ "line": 96,
"column": 26
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 3941,
- "end": 3956,
+ "start": 4106,
+ "end": 4121,
"loc": {
"start": {
- "line": 91,
+ "line": 96,
"column": 4
},
"end": {
- "line": 91,
+ "line": 96,
"column": 19
}
},
"object": {
"type": "Identifier",
- "start": 3941,
- "end": 3951,
+ "start": 4106,
+ "end": 4116,
"loc": {
"start": {
- "line": 91,
+ "line": 96,
"column": 4
},
"end": {
- "line": 91,
+ "line": 96,
"column": 14
},
"identifierName": "dataToSend"
@@ -8549,15 +9018,15 @@
},
"property": {
"type": "Identifier",
- "start": 3952,
- "end": 3956,
+ "start": 4117,
+ "end": 4121,
"loc": {
"start": {
- "line": 91,
+ "line": 96,
"column": 15
},
"end": {
- "line": 91,
+ "line": 96,
"column": 19
},
"identifierName": "kill"
@@ -8568,15 +9037,15 @@
},
"right": {
"type": "BooleanLiteral",
- "start": 3959,
- "end": 3963,
+ "start": 4124,
+ "end": 4128,
"loc": {
"start": {
- "line": 91,
+ "line": 96,
"column": 22
},
"end": {
- "line": 91,
+ "line": 96,
"column": 26
}
},
@@ -8586,99 +9055,99 @@
},
{
"type": "ExpressionStatement",
- "start": 3968,
- "end": 4035,
+ "start": 4133,
+ "end": 4200,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 4
},
"end": {
- "line": 92,
+ "line": 97,
"column": 71
}
},
"expression": {
"type": "CallExpression",
- "start": 3968,
- "end": 4035,
+ "start": 4133,
+ "end": 4200,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 4
},
"end": {
- "line": 92,
+ "line": 97,
"column": 71
}
},
"callee": {
"type": "MemberExpression",
- "start": 3968,
- "end": 3998,
+ "start": 4133,
+ "end": 4163,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 4
},
"end": {
- "line": 92,
+ "line": 97,
"column": 34
}
},
"object": {
"type": "MemberExpression",
- "start": 3968,
- "end": 3993,
+ "start": 4133,
+ "end": 4158,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 4
},
"end": {
- "line": 92,
+ "line": 97,
"column": 29
}
},
"object": {
"type": "CallExpression",
- "start": 3968,
- "end": 3983,
+ "start": 4133,
+ "end": 4148,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 4
},
"end": {
- "line": 92,
+ "line": 97,
"column": 19
}
},
"callee": {
"type": "MemberExpression",
- "start": 3968,
- "end": 3977,
+ "start": 4133,
+ "end": 4142,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 4
},
"end": {
- "line": 92,
+ "line": 97,
"column": 13
}
},
"object": {
"type": "Identifier",
- "start": 3968,
- "end": 3974,
+ "start": 4133,
+ "end": 4139,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 4
},
"end": {
- "line": 92,
+ "line": 97,
"column": 10
},
"identifierName": "socket"
@@ -8687,15 +9156,15 @@
},
"property": {
"type": "Identifier",
- "start": 3975,
- "end": 3977,
+ "start": 4140,
+ "end": 4142,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 11
},
"end": {
- "line": 92,
+ "line": 97,
"column": 13
},
"identifierName": "to"
@@ -8707,15 +9176,15 @@
"arguments": [
{
"type": "Identifier",
- "start": 3978,
- "end": 3982,
+ "start": 4143,
+ "end": 4147,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 14
},
"end": {
- "line": 92,
+ "line": 97,
"column": 18
},
"identifierName": "room"
@@ -8726,15 +9195,15 @@
},
"property": {
"type": "Identifier",
- "start": 3984,
- "end": 3993,
+ "start": 4149,
+ "end": 4158,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 20
},
"end": {
- "line": 92,
+ "line": 97,
"column": 29
},
"identifierName": "broadcast"
@@ -8745,15 +9214,15 @@
},
"property": {
"type": "Identifier",
- "start": 3994,
- "end": 3998,
+ "start": 4159,
+ "end": 4163,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 30
},
"end": {
- "line": 92,
+ "line": 97,
"column": 34
},
"identifierName": "emit"
@@ -8765,15 +9234,15 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 3999,
- "end": 4022,
+ "start": 4164,
+ "end": 4187,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 35
},
"end": {
- "line": 92,
+ "line": 97,
"column": 58
}
},
@@ -8785,15 +9254,15 @@
},
{
"type": "Identifier",
- "start": 4024,
- "end": 4034,
+ "start": 4189,
+ "end": 4199,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 60
},
"end": {
- "line": 92,
+ "line": 97,
"column": 70
},
"identifierName": "dataToSend"
@@ -8805,57 +9274,57 @@
},
{
"type": "ExpressionStatement",
- "start": 4040,
- "end": 4088,
+ "start": 4205,
+ "end": 4253,
"loc": {
"start": {
- "line": 93,
+ "line": 98,
"column": 4
},
"end": {
- "line": 93,
+ "line": 98,
"column": 52
}
},
"expression": {
"type": "CallExpression",
- "start": 4040,
- "end": 4088,
+ "start": 4205,
+ "end": 4253,
"loc": {
"start": {
- "line": 93,
+ "line": 98,
"column": 4
},
"end": {
- "line": 93,
+ "line": 98,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
- "start": 4040,
- "end": 4051,
+ "start": 4205,
+ "end": 4216,
"loc": {
"start": {
- "line": 93,
+ "line": 98,
"column": 4
},
"end": {
- "line": 93,
+ "line": 98,
"column": 15
}
},
"object": {
"type": "Identifier",
- "start": 4040,
- "end": 4046,
+ "start": 4205,
+ "end": 4211,
"loc": {
"start": {
- "line": 93,
+ "line": 98,
"column": 4
},
"end": {
- "line": 93,
+ "line": 98,
"column": 10
},
"identifierName": "socket"
@@ -8864,15 +9333,15 @@
},
"property": {
"type": "Identifier",
- "start": 4047,
- "end": 4051,
+ "start": 4212,
+ "end": 4216,
"loc": {
"start": {
- "line": 93,
+ "line": 98,
"column": 11
},
"end": {
- "line": 93,
+ "line": 98,
"column": 15
},
"identifierName": "emit"
@@ -8884,15 +9353,15 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 4052,
- "end": 4075,
+ "start": 4217,
+ "end": 4240,
"loc": {
"start": {
- "line": 93,
+ "line": 98,
"column": 16
},
"end": {
- "line": 93,
+ "line": 98,
"column": 39
}
},
@@ -8904,15 +9373,15 @@
},
{
"type": "Identifier",
- "start": 4077,
- "end": 4087,
+ "start": 4242,
+ "end": 4252,
"loc": {
"start": {
- "line": 93,
+ "line": 98,
"column": 41
},
"end": {
- "line": 93,
+ "line": 98,
"column": 51
},
"identifierName": "dataToSend"
@@ -8926,15 +9395,15 @@
{
"type": "CommentLine",
"value": " Add to team score",
- "start": 4094,
- "end": 4114,
+ "start": 4259,
+ "end": 4279,
"loc": {
"start": {
- "line": 95,
+ "line": 100,
"column": 4
},
"end": {
- "line": 95,
+ "line": 100,
"column": 24
}
}
@@ -8943,43 +9412,43 @@
},
{
"type": "ExpressionStatement",
- "start": 4119,
- "end": 4211,
+ "start": 4284,
+ "end": 4376,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 4
},
"end": {
- "line": 96,
+ "line": 101,
"column": 96
}
},
"expression": {
"type": "CallExpression",
- "start": 4119,
- "end": 4211,
+ "start": 4284,
+ "end": 4376,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 4
},
"end": {
- "line": 96,
+ "line": 101,
"column": 96
}
},
"callee": {
"type": "Identifier",
- "start": 4119,
- "end": 4133,
+ "start": 4284,
+ "end": 4298,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 4
},
"end": {
- "line": 96,
+ "line": 101,
"column": 18
},
"identifierName": "incrementField"
@@ -8990,29 +9459,29 @@
"arguments": [
{
"type": "MemberExpression",
- "start": 4134,
- "end": 4154,
+ "start": 4299,
+ "end": 4319,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 19
},
"end": {
- "line": 96,
+ "line": 101,
"column": 39
}
},
"object": {
"type": "Identifier",
- "start": 4134,
- "end": 4144,
+ "start": 4299,
+ "end": 4309,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 19
},
"end": {
- "line": 96,
+ "line": 101,
"column": 29
},
"identifierName": "dataToSend"
@@ -9021,15 +9490,15 @@
},
"property": {
"type": "Identifier",
- "start": 4145,
- "end": 4154,
+ "start": 4310,
+ "end": 4319,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 30
},
"end": {
- "line": 96,
+ "line": 101,
"column": 39
},
"identifierName": "increment"
@@ -9040,30 +9509,30 @@
},
{
"type": "ArrayExpression",
- "start": 4156,
- "end": 4210,
+ "start": 4321,
+ "end": 4375,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 41
},
"end": {
- "line": 96,
+ "line": 101,
"column": 95
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 4157,
- "end": 4164,
+ "start": 4322,
+ "end": 4329,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 42
},
"end": {
- "line": 96,
+ "line": 101,
"column": 49
}
},
@@ -9075,15 +9544,15 @@
},
{
"type": "Identifier",
- "start": 4166,
- "end": 4170,
+ "start": 4331,
+ "end": 4335,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 51
},
"end": {
- "line": 96,
+ "line": 101,
"column": 55
},
"identifierName": "room"
@@ -9092,15 +9561,15 @@
},
{
"type": "StringLiteral",
- "start": 4172,
- "end": 4179,
+ "start": 4337,
+ "end": 4344,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 57
},
"end": {
- "line": 96,
+ "line": 101,
"column": 64
}
},
@@ -9112,29 +9581,29 @@
},
{
"type": "MemberExpression",
- "start": 4181,
- "end": 4200,
+ "start": 4346,
+ "end": 4365,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 66
},
"end": {
- "line": 96,
+ "line": 101,
"column": 85
}
},
"object": {
"type": "Identifier",
- "start": 4181,
- "end": 4191,
+ "start": 4346,
+ "end": 4356,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 66
},
"end": {
- "line": 96,
+ "line": 101,
"column": 76
},
"identifierName": "dataToSend"
@@ -9143,15 +9612,15 @@
},
"property": {
"type": "Identifier",
- "start": 4192,
- "end": 4200,
+ "start": 4357,
+ "end": 4365,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 77
},
"end": {
- "line": 96,
+ "line": 101,
"column": 85
},
"identifierName": "teamSlot"
@@ -9162,15 +9631,15 @@
},
{
"type": "StringLiteral",
- "start": 4202,
- "end": 4209,
+ "start": 4367,
+ "end": 4374,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 87
},
"end": {
- "line": 96,
+ "line": 101,
"column": 94
}
},
@@ -9190,15 +9659,15 @@
{
"type": "CommentLine",
"value": " Add to team score",
- "start": 4094,
- "end": 4114,
+ "start": 4259,
+ "end": 4279,
"loc": {
"start": {
- "line": 95,
+ "line": 100,
"column": 4
},
"end": {
- "line": 95,
+ "line": 100,
"column": 24
}
}
@@ -9208,15 +9677,15 @@
{
"type": "CommentLine",
"value": " Clear damagedBy values",
- "start": 4217,
- "end": 4242,
+ "start": 4382,
+ "end": 4407,
"loc": {
"start": {
- "line": 98,
+ "line": 103,
"column": 4
},
"end": {
- "line": 98,
+ "line": 103,
"column": 29
}
}
@@ -9225,58 +9694,58 @@
},
{
"type": "ForInStatement",
- "start": 4247,
- "end": 4366,
+ "start": 4412,
+ "end": 4531,
"loc": {
"start": {
- "line": 99,
+ "line": 104,
"column": 4
},
"end": {
- "line": 101,
+ "line": 106,
"column": 5
}
},
"left": {
"type": "VariableDeclaration",
- "start": 4252,
- "end": 4258,
+ "start": 4417,
+ "end": 4423,
"loc": {
"start": {
- "line": 99,
+ "line": 104,
"column": 9
},
"end": {
- "line": 99,
+ "line": 104,
"column": 15
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 4256,
- "end": 4258,
+ "start": 4421,
+ "end": 4423,
"loc": {
"start": {
- "line": 99,
+ "line": 104,
"column": 13
},
"end": {
- "line": 99,
+ "line": 104,
"column": 15
}
},
"id": {
"type": "Identifier",
- "start": 4256,
- "end": 4258,
+ "start": 4421,
+ "end": 4423,
"loc": {
"start": {
- "line": 99,
+ "line": 104,
"column": 13
},
"end": {
- "line": 99,
+ "line": 104,
"column": 15
},
"identifierName": "pl"
@@ -9293,29 +9762,29 @@
},
"right": {
"type": "MemberExpression",
- "start": 4262,
- "end": 4282,
+ "start": 4427,
+ "end": 4447,
"loc": {
"start": {
- "line": 99,
+ "line": 104,
"column": 19
},
"end": {
- "line": 99,
+ "line": 104,
"column": 39
}
},
"object": {
"type": "Identifier",
- "start": 4262,
- "end": 4272,
+ "start": 4427,
+ "end": 4437,
"loc": {
"start": {
- "line": 99,
+ "line": 104,
"column": 19
},
"end": {
- "line": 99,
+ "line": 104,
"column": 29
},
"identifierName": "thisPlayer"
@@ -9324,15 +9793,15 @@
},
"property": {
"type": "Identifier",
- "start": 4273,
- "end": 4282,
+ "start": 4438,
+ "end": 4447,
"loc": {
"start": {
- "line": 99,
+ "line": 104,
"column": 30
},
"end": {
- "line": 99,
+ "line": 104,
"column": 39
},
"identifierName": "damagedBy"
@@ -9343,58 +9812,58 @@
},
"body": {
"type": "BlockStatement",
- "start": 4284,
- "end": 4366,
+ "start": 4449,
+ "end": 4531,
"loc": {
"start": {
- "line": 99,
+ "line": 104,
"column": 41
},
"end": {
- "line": 101,
+ "line": 106,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
- "start": 4291,
- "end": 4360,
+ "start": 4456,
+ "end": 4525,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 5
},
"end": {
- "line": 100,
+ "line": 105,
"column": 74
}
},
"expression": {
"type": "CallExpression",
- "start": 4291,
- "end": 4360,
+ "start": 4456,
+ "end": 4525,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 5
},
"end": {
- "line": 100,
+ "line": 105,
"column": 74
}
},
"callee": {
"type": "Identifier",
- "start": 4291,
- "end": 4299,
+ "start": 4456,
+ "end": 4464,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 5
},
"end": {
- "line": 100,
+ "line": 105,
"column": 13
},
"identifierName": "setField"
@@ -9404,15 +9873,15 @@
"arguments": [
{
"type": "NumericLiteral",
- "start": 4300,
- "end": 4301,
+ "start": 4465,
+ "end": 4466,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 14
},
"end": {
- "line": 100,
+ "line": 105,
"column": 15
}
},
@@ -9424,30 +9893,30 @@
},
{
"type": "ArrayExpression",
- "start": 4303,
- "end": 4359,
+ "start": 4468,
+ "end": 4524,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 17
},
"end": {
- "line": 100,
+ "line": 105,
"column": 73
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 4304,
- "end": 4311,
+ "start": 4469,
+ "end": 4476,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 18
},
"end": {
- "line": 100,
+ "line": 105,
"column": 25
}
},
@@ -9459,15 +9928,15 @@
},
{
"type": "Identifier",
- "start": 4313,
- "end": 4317,
+ "start": 4478,
+ "end": 4482,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 27
},
"end": {
- "line": 100,
+ "line": 105,
"column": 31
},
"identifierName": "room"
@@ -9476,15 +9945,15 @@
},
{
"type": "StringLiteral",
- "start": 4319,
- "end": 4328,
+ "start": 4484,
+ "end": 4493,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 33
},
"end": {
- "line": 100,
+ "line": 105,
"column": 42
}
},
@@ -9496,29 +9965,29 @@
},
{
"type": "MemberExpression",
- "start": 4330,
- "end": 4341,
+ "start": 4495,
+ "end": 4506,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 44
},
"end": {
- "line": 100,
+ "line": 105,
"column": 55
}
},
"object": {
"type": "Identifier",
- "start": 4330,
- "end": 4334,
+ "start": 4495,
+ "end": 4499,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 44
},
"end": {
- "line": 100,
+ "line": 105,
"column": 48
},
"identifierName": "data"
@@ -9527,15 +9996,15 @@
},
"property": {
"type": "Identifier",
- "start": 4335,
- "end": 4341,
+ "start": 4500,
+ "end": 4506,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 49
},
"end": {
- "line": 100,
+ "line": 105,
"column": 55
},
"identifierName": "player"
@@ -9546,15 +10015,15 @@
},
{
"type": "StringLiteral",
- "start": 4343,
- "end": 4354,
+ "start": 4508,
+ "end": 4519,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 57
},
"end": {
- "line": 100,
+ "line": 105,
"column": 68
}
},
@@ -9566,15 +10035,15 @@
},
{
"type": "Identifier",
- "start": 4356,
- "end": 4358,
+ "start": 4521,
+ "end": 4523,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 70
},
"end": {
- "line": 100,
+ "line": 105,
"column": 72
},
"identifierName": "pl"
@@ -9594,15 +10063,15 @@
{
"type": "CommentLine",
"value": " Clear damagedBy values",
- "start": 4217,
- "end": 4242,
+ "start": 4382,
+ "end": 4407,
"loc": {
"start": {
- "line": 98,
+ "line": 103,
"column": 4
},
"end": {
- "line": 98,
+ "line": 103,
"column": 29
}
}
@@ -9612,15 +10081,15 @@
{
"type": "CommentLine",
"value": " Check if a team won",
- "start": 4372,
- "end": 4394,
+ "start": 4537,
+ "end": 4559,
"loc": {
"start": {
- "line": 103,
+ "line": 108,
"column": 4
},
"end": {
- "line": 103,
+ "line": 108,
"column": 26
}
}
@@ -9629,44 +10098,44 @@
},
{
"type": "VariableDeclaration",
- "start": 4399,
- "end": 4418,
+ "start": 4564,
+ "end": 4583,
"loc": {
"start": {
- "line": 104,
+ "line": 109,
"column": 4
},
"end": {
- "line": 104,
+ "line": 109,
"column": 23
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 4403,
- "end": 4418,
+ "start": 4568,
+ "end": 4583,
"loc": {
"start": {
- "line": 104,
+ "line": 109,
"column": 8
},
"end": {
- "line": 104,
+ "line": 109,
"column": 23
}
},
"id": {
"type": "Identifier",
- "start": 4403,
- "end": 4413,
+ "start": 4568,
+ "end": 4578,
"loc": {
"start": {
- "line": 104,
+ "line": 109,
"column": 8
},
"end": {
- "line": 104,
+ "line": 109,
"column": 18
},
"identifierName": "highScores"
@@ -9676,15 +10145,15 @@
},
"init": {
"type": "ArrayExpression",
- "start": 4416,
- "end": 4418,
+ "start": 4581,
+ "end": 4583,
"loc": {
"start": {
- "line": 104,
+ "line": 109,
"column": 21
},
"end": {
- "line": 104,
+ "line": 109,
"column": 23
}
},
@@ -9701,15 +10170,15 @@
{
"type": "CommentLine",
"value": " Check if a team won",
- "start": 4372,
- "end": 4394,
+ "start": 4537,
+ "end": 4559,
"loc": {
"start": {
- "line": 103,
+ "line": 108,
"column": 4
},
"end": {
- "line": 103,
+ "line": 108,
"column": 26
}
}
@@ -9719,15 +10188,15 @@
{
"type": "CommentLine",
"value": " Possible winning teams",
- "start": 4419,
- "end": 4444,
+ "start": 4584,
+ "end": 4609,
"loc": {
"start": {
- "line": 104,
+ "line": 109,
"column": 24
},
"end": {
- "line": 104,
+ "line": 109,
"column": 49
}
}
@@ -9736,44 +10205,44 @@
},
{
"type": "VariableDeclaration",
- "start": 4449,
- "end": 4465,
+ "start": 4614,
+ "end": 4630,
"loc": {
"start": {
- "line": 105,
+ "line": 110,
"column": 4
},
"end": {
- "line": 105,
+ "line": 110,
"column": 20
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 4453,
- "end": 4465,
+ "start": 4618,
+ "end": 4630,
"loc": {
"start": {
- "line": 105,
+ "line": 110,
"column": 8
},
"end": {
- "line": 105,
+ "line": 110,
"column": 20
}
},
"id": {
"type": "Identifier",
- "start": 4453,
- "end": 4461,
+ "start": 4618,
+ "end": 4626,
"loc": {
"start": {
- "line": 105,
+ "line": 110,
"column": 8
},
"end": {
- "line": 105,
+ "line": 110,
"column": 16
},
"identifierName": "maxScore"
@@ -9783,15 +10252,15 @@
},
"init": {
"type": "NumericLiteral",
- "start": 4464,
- "end": 4465,
+ "start": 4629,
+ "end": 4630,
"loc": {
"start": {
- "line": 105,
+ "line": 110,
"column": 19
},
"end": {
- "line": 105,
+ "line": 110,
"column": 20
}
},
@@ -9809,15 +10278,15 @@
{
"type": "CommentLine",
"value": " Possible winning teams",
- "start": 4419,
- "end": 4444,
+ "start": 4584,
+ "end": 4609,
"loc": {
"start": {
- "line": 104,
+ "line": 109,
"column": 24
},
"end": {
- "line": 104,
+ "line": 109,
"column": 49
}
}
@@ -9826,58 +10295,58 @@
},
{
"type": "ForOfStatement",
- "start": 4470,
- "end": 4654,
+ "start": 4635,
+ "end": 4819,
"loc": {
"start": {
- "line": 106,
+ "line": 111,
"column": 4
},
"end": {
- "line": 113,
+ "line": 118,
"column": 5
}
},
"left": {
"type": "VariableDeclaration",
- "start": 4475,
- "end": 4481,
+ "start": 4640,
+ "end": 4646,
"loc": {
"start": {
- "line": 106,
+ "line": 111,
"column": 9
},
"end": {
- "line": 106,
+ "line": 111,
"column": 15
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 4479,
- "end": 4481,
+ "start": 4644,
+ "end": 4646,
"loc": {
"start": {
- "line": 106,
+ "line": 111,
"column": 13
},
"end": {
- "line": 106,
+ "line": 111,
"column": 15
}
},
"id": {
"type": "Identifier",
- "start": 4479,
- "end": 4481,
+ "start": 4644,
+ "end": 4646,
"loc": {
"start": {
- "line": 106,
+ "line": 111,
"column": 13
},
"end": {
- "line": 106,
+ "line": 111,
"column": 15
},
"identifierName": "tm"
@@ -9891,29 +10360,29 @@
},
"right": {
"type": "MemberExpression",
- "start": 4485,
- "end": 4499,
+ "start": 4650,
+ "end": 4664,
"loc": {
"start": {
- "line": 106,
+ "line": 111,
"column": 19
},
"end": {
- "line": 106,
+ "line": 111,
"column": 33
}
},
"object": {
"type": "Identifier",
- "start": 4485,
- "end": 4493,
+ "start": 4650,
+ "end": 4658,
"loc": {
"start": {
- "line": 106,
+ "line": 111,
"column": 19
},
"end": {
- "line": 106,
+ "line": 111,
"column": 27
},
"identifierName": "thisRoom"
@@ -9922,15 +10391,15 @@
},
"property": {
"type": "Identifier",
- "start": 4494,
- "end": 4499,
+ "start": 4659,
+ "end": 4664,
"loc": {
"start": {
- "line": 106,
+ "line": 111,
"column": 28
},
"end": {
- "line": 106,
+ "line": 111,
"column": 33
},
"identifierName": "teams"
@@ -9941,72 +10410,72 @@
},
"body": {
"type": "BlockStatement",
- "start": 4501,
- "end": 4654,
+ "start": 4666,
+ "end": 4819,
"loc": {
"start": {
- "line": 106,
+ "line": 111,
"column": 35
},
"end": {
- "line": 113,
+ "line": 118,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
- "start": 4508,
- "end": 4648,
+ "start": 4673,
+ "end": 4813,
"loc": {
"start": {
- "line": 107,
+ "line": 112,
"column": 5
},
"end": {
- "line": 112,
+ "line": 117,
"column": 6
}
},
"test": {
"type": "BinaryExpression",
- "start": 4512,
- "end": 4544,
+ "start": 4677,
+ "end": 4709,
"loc": {
"start": {
- "line": 107,
+ "line": 112,
"column": 9
},
"end": {
- "line": 107,
+ "line": 112,
"column": 41
}
},
"left": {
"type": "MemberExpression",
- "start": 4512,
- "end": 4520,
+ "start": 4677,
+ "end": 4685,
"loc": {
"start": {
- "line": 107,
+ "line": 112,
"column": 9
},
"end": {
- "line": 107,
+ "line": 112,
"column": 17
}
},
"object": {
"type": "Identifier",
- "start": 4512,
- "end": 4514,
+ "start": 4677,
+ "end": 4679,
"loc": {
"start": {
- "line": 107,
+ "line": 112,
"column": 9
},
"end": {
- "line": 107,
+ "line": 112,
"column": 11
},
"identifierName": "tm"
@@ -10015,15 +10484,15 @@
},
"property": {
"type": "Identifier",
- "start": 4515,
- "end": 4520,
+ "start": 4680,
+ "end": 4685,
"loc": {
"start": {
- "line": 107,
+ "line": 112,
"column": 12
},
"end": {
- "line": 107,
+ "line": 112,
"column": 17
},
"identifierName": "score"
@@ -10035,29 +10504,29 @@
"operator": ">=",
"right": {
"type": "MemberExpression",
- "start": 4524,
- "end": 4544,
+ "start": 4689,
+ "end": 4709,
"loc": {
"start": {
- "line": 107,
+ "line": 112,
"column": 21
},
"end": {
- "line": 107,
+ "line": 112,
"column": 41
}
},
"object": {
"type": "Identifier",
- "start": 4524,
- "end": 4530,
+ "start": 4689,
+ "end": 4695,
"loc": {
"start": {
- "line": 107,
+ "line": 112,
"column": 21
},
"end": {
- "line": 107,
+ "line": 112,
"column": 27
},
"identifierName": "GLOBAL"
@@ -10066,15 +10535,15 @@
},
"property": {
"type": "Identifier",
- "start": 4531,
- "end": 4544,
+ "start": 4696,
+ "end": 4709,
"loc": {
"start": {
- "line": 107,
+ "line": 112,
"column": 28
},
"end": {
- "line": 107,
+ "line": 112,
"column": 41
},
"identifierName": "WINNING_SCORE"
@@ -10086,72 +10555,72 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 4546,
- "end": 4648,
+ "start": 4711,
+ "end": 4813,
"loc": {
"start": {
- "line": 107,
+ "line": 112,
"column": 43
},
"end": {
- "line": 112,
+ "line": 117,
"column": 6
}
},
"body": [
{
"type": "ExpressionStatement",
- "start": 4554,
- "end": 4573,
+ "start": 4719,
+ "end": 4738,
"loc": {
"start": {
- "line": 108,
+ "line": 113,
"column": 6
},
"end": {
- "line": 108,
+ "line": 113,
"column": 25
}
},
"expression": {
"type": "CallExpression",
- "start": 4554,
- "end": 4573,
+ "start": 4719,
+ "end": 4738,
"loc": {
"start": {
- "line": 108,
+ "line": 113,
"column": 6
},
"end": {
- "line": 108,
+ "line": 113,
"column": 25
}
},
"callee": {
"type": "MemberExpression",
- "start": 4554,
- "end": 4569,
+ "start": 4719,
+ "end": 4734,
"loc": {
"start": {
- "line": 108,
+ "line": 113,
"column": 6
},
"end": {
- "line": 108,
+ "line": 113,
"column": 21
}
},
"object": {
"type": "Identifier",
- "start": 4554,
- "end": 4564,
+ "start": 4719,
+ "end": 4729,
"loc": {
"start": {
- "line": 108,
+ "line": 113,
"column": 6
},
"end": {
- "line": 108,
+ "line": 113,
"column": 16
},
"identifierName": "highScores"
@@ -10160,15 +10629,15 @@
},
"property": {
"type": "Identifier",
- "start": 4565,
- "end": 4569,
+ "start": 4730,
+ "end": 4734,
"loc": {
"start": {
- "line": 108,
+ "line": 113,
"column": 17
},
"end": {
- "line": 108,
+ "line": 113,
"column": 21
},
"identifierName": "push"
@@ -10180,15 +10649,15 @@
"arguments": [
{
"type": "Identifier",
- "start": 4570,
- "end": 4572,
+ "start": 4735,
+ "end": 4737,
"loc": {
"start": {
- "line": 108,
+ "line": 113,
"column": 22
},
"end": {
- "line": 108,
+ "line": 113,
"column": 24
},
"identifierName": "tm"
@@ -10200,43 +10669,43 @@
},
{
"type": "IfStatement",
- "start": 4580,
- "end": 4641,
+ "start": 4745,
+ "end": 4806,
"loc": {
"start": {
- "line": 109,
+ "line": 114,
"column": 6
},
"end": {
- "line": 111,
+ "line": 116,
"column": 7
}
},
"test": {
"type": "BinaryExpression",
- "start": 4584,
- "end": 4603,
+ "start": 4749,
+ "end": 4768,
"loc": {
"start": {
- "line": 109,
+ "line": 114,
"column": 10
},
"end": {
- "line": 109,
+ "line": 114,
"column": 29
}
},
"left": {
"type": "Identifier",
- "start": 4584,
- "end": 4592,
+ "start": 4749,
+ "end": 4757,
"loc": {
"start": {
- "line": 109,
+ "line": 114,
"column": 10
},
"end": {
- "line": 109,
+ "line": 114,
"column": 18
},
"identifierName": "maxScore"
@@ -10246,29 +10715,29 @@
"operator": "<",
"right": {
"type": "MemberExpression",
- "start": 4595,
- "end": 4603,
+ "start": 4760,
+ "end": 4768,
"loc": {
"start": {
- "line": 109,
+ "line": 114,
"column": 21
},
"end": {
- "line": 109,
+ "line": 114,
"column": 29
}
},
"object": {
"type": "Identifier",
- "start": 4595,
- "end": 4597,
+ "start": 4760,
+ "end": 4762,
"loc": {
"start": {
- "line": 109,
+ "line": 114,
"column": 21
},
"end": {
- "line": 109,
+ "line": 114,
"column": 23
},
"identifierName": "tm"
@@ -10277,15 +10746,15 @@
},
"property": {
"type": "Identifier",
- "start": 4598,
- "end": 4603,
+ "start": 4763,
+ "end": 4768,
"loc": {
"start": {
- "line": 109,
+ "line": 114,
"column": 24
},
"end": {
- "line": 109,
+ "line": 114,
"column": 29
},
"identifierName": "score"
@@ -10297,59 +10766,59 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 4605,
- "end": 4641,
+ "start": 4770,
+ "end": 4806,
"loc": {
"start": {
- "line": 109,
+ "line": 114,
"column": 31
},
"end": {
- "line": 111,
+ "line": 116,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
- "start": 4614,
- "end": 4633,
+ "start": 4779,
+ "end": 4798,
"loc": {
"start": {
- "line": 110,
+ "line": 115,
"column": 7
},
"end": {
- "line": 110,
+ "line": 115,
"column": 26
}
},
"expression": {
"type": "AssignmentExpression",
- "start": 4614,
- "end": 4633,
+ "start": 4779,
+ "end": 4798,
"loc": {
"start": {
- "line": 110,
+ "line": 115,
"column": 7
},
"end": {
- "line": 110,
+ "line": 115,
"column": 26
}
},
"operator": "=",
"left": {
"type": "Identifier",
- "start": 4614,
- "end": 4622,
+ "start": 4779,
+ "end": 4787,
"loc": {
"start": {
- "line": 110,
+ "line": 115,
"column": 7
},
"end": {
- "line": 110,
+ "line": 115,
"column": 15
},
"identifierName": "maxScore"
@@ -10358,29 +10827,29 @@
},
"right": {
"type": "MemberExpression",
- "start": 4625,
- "end": 4633,
+ "start": 4790,
+ "end": 4798,
"loc": {
"start": {
- "line": 110,
+ "line": 115,
"column": 18
},
"end": {
- "line": 110,
+ "line": 115,
"column": 26
}
},
"object": {
"type": "Identifier",
- "start": 4625,
- "end": 4627,
+ "start": 4790,
+ "end": 4792,
"loc": {
"start": {
- "line": 110,
+ "line": 115,
"column": 18
},
"end": {
- "line": 110,
+ "line": 115,
"column": 20
},
"identifierName": "tm"
@@ -10389,15 +10858,15 @@
},
"property": {
"type": "Identifier",
- "start": 4628,
- "end": 4633,
+ "start": 4793,
+ "end": 4798,
"loc": {
"start": {
- "line": 110,
+ "line": 115,
"column": 21
},
"end": {
- "line": 110,
+ "line": 115,
"column": 26
},
"identifierName": "score"
@@ -10424,58 +10893,58 @@
},
{
"type": "ForOfStatement",
- "start": 4659,
- "end": 5257,
+ "start": 4824,
+ "end": 5422,
"loc": {
"start": {
- "line": 114,
+ "line": 119,
"column": 4
},
"end": {
- "line": 130,
+ "line": 135,
"column": 5
}
},
"left": {
"type": "VariableDeclaration",
- "start": 4664,
- "end": 4677,
+ "start": 4829,
+ "end": 4842,
"loc": {
"start": {
- "line": 114,
+ "line": 119,
"column": 9
},
"end": {
- "line": 114,
+ "line": 119,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 4668,
- "end": 4677,
+ "start": 4833,
+ "end": 4842,
"loc": {
"start": {
- "line": 114,
+ "line": 119,
"column": 13
},
"end": {
- "line": 114,
+ "line": 119,
"column": 22
}
},
"id": {
"type": "Identifier",
- "start": 4668,
- "end": 4677,
+ "start": 4833,
+ "end": 4842,
"loc": {
"start": {
- "line": 114,
+ "line": 119,
"column": 13
},
"end": {
- "line": 114,
+ "line": 119,
"column": 22
},
"identifierName": "winningTm"
@@ -10489,15 +10958,15 @@
},
"right": {
"type": "Identifier",
- "start": 4681,
- "end": 4691,
+ "start": 4846,
+ "end": 4856,
"loc": {
"start": {
- "line": 114,
+ "line": 119,
"column": 26
},
"end": {
- "line": 114,
+ "line": 119,
"column": 36
},
"identifierName": "highScores"
@@ -10506,72 +10975,72 @@
},
"body": {
"type": "BlockStatement",
- "start": 4693,
- "end": 5257,
+ "start": 4858,
+ "end": 5422,
"loc": {
"start": {
- "line": 114,
+ "line": 119,
"column": 38
},
"end": {
- "line": 130,
+ "line": 135,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
- "start": 4700,
- "end": 5251,
+ "start": 4865,
+ "end": 5416,
"loc": {
"start": {
- "line": 115,
+ "line": 120,
"column": 5
},
"end": {
- "line": 129,
+ "line": 134,
"column": 6
}
},
"test": {
"type": "BinaryExpression",
- "start": 4704,
- "end": 4732,
+ "start": 4869,
+ "end": 4897,
"loc": {
"start": {
- "line": 115,
+ "line": 120,
"column": 9
},
"end": {
- "line": 115,
+ "line": 120,
"column": 37
}
},
"left": {
"type": "MemberExpression",
- "start": 4704,
- "end": 4719,
+ "start": 4869,
+ "end": 4884,
"loc": {
"start": {
- "line": 115,
+ "line": 120,
"column": 9
},
"end": {
- "line": 115,
+ "line": 120,
"column": 24
}
},
"object": {
"type": "Identifier",
- "start": 4704,
- "end": 4713,
+ "start": 4869,
+ "end": 4878,
"loc": {
"start": {
- "line": 115,
+ "line": 120,
"column": 9
},
"end": {
- "line": 115,
+ "line": 120,
"column": 18
},
"identifierName": "winningTm"
@@ -10580,15 +11049,15 @@
},
"property": {
"type": "Identifier",
- "start": 4714,
- "end": 4719,
+ "start": 4879,
+ "end": 4884,
"loc": {
"start": {
- "line": 115,
+ "line": 120,
"column": 19
},
"end": {
- "line": 115,
+ "line": 120,
"column": 24
},
"identifierName": "score"
@@ -10600,15 +11069,15 @@
"operator": "===",
"right": {
"type": "Identifier",
- "start": 4724,
- "end": 4732,
+ "start": 4889,
+ "end": 4897,
"loc": {
"start": {
- "line": 115,
+ "line": 120,
"column": 29
},
"end": {
- "line": 115,
+ "line": 120,
"column": 37
},
"identifierName": "maxScore"
@@ -10618,59 +11087,59 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 4734,
- "end": 5251,
+ "start": 4899,
+ "end": 5416,
"loc": {
"start": {
- "line": 115,
+ "line": 120,
"column": 39
},
"end": {
- "line": 129,
+ "line": 134,
"column": 6
}
},
"body": [
{
"type": "VariableDeclaration",
- "start": 4742,
- "end": 4900,
+ "start": 4907,
+ "end": 5065,
"loc": {
"start": {
- "line": 116,
+ "line": 121,
"column": 6
},
"end": {
- "line": 120,
+ "line": 125,
"column": 7
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 4746,
- "end": 4900,
+ "start": 4911,
+ "end": 5065,
"loc": {
"start": {
- "line": 116,
+ "line": 121,
"column": 10
},
"end": {
- "line": 120,
+ "line": 125,
"column": 7
}
},
"id": {
"type": "Identifier",
- "start": 4746,
- "end": 4756,
+ "start": 4911,
+ "end": 4921,
"loc": {
"start": {
- "line": 116,
+ "line": 121,
"column": 10
},
"end": {
- "line": 116,
+ "line": 121,
"column": 20
},
"identifierName": "dataToSend"
@@ -10679,30 +11148,30 @@
},
"init": {
"type": "ObjectExpression",
- "start": 4759,
- "end": 4900,
+ "start": 4924,
+ "end": 5065,
"loc": {
"start": {
- "line": 116,
+ "line": 121,
"column": 23
},
"end": {
- "line": 120,
+ "line": 125,
"column": 7
}
},
"properties": [
{
"type": "ObjectProperty",
- "start": 4768,
- "end": 4785,
+ "start": 4933,
+ "end": 4950,
"loc": {
"start": {
- "line": 117,
+ "line": 122,
"column": 7
},
"end": {
- "line": 117,
+ "line": 122,
"column": 24
}
},
@@ -10711,15 +11180,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4768,
- "end": 4774,
+ "start": 4933,
+ "end": 4939,
"loc": {
"start": {
- "line": 117,
+ "line": 122,
"column": 7
},
"end": {
- "line": 117,
+ "line": 122,
"column": 13
},
"identifierName": "winner"
@@ -10728,15 +11197,15 @@
},
"value": {
"type": "Identifier",
- "start": 4776,
- "end": 4785,
+ "start": 4941,
+ "end": 4950,
"loc": {
"start": {
- "line": 117,
+ "line": 122,
"column": 15
},
"end": {
- "line": 117,
+ "line": 122,
"column": 24
},
"identifierName": "winningTm"
@@ -10749,15 +11218,15 @@
{
"type": "CommentLine",
"value": " teamScore: thisRoom.teams[dataToSend.teamSlot].score",
- "start": 4793,
- "end": 4848,
+ "start": 4958,
+ "end": 5013,
"loc": {
"start": {
- "line": 118,
+ "line": 123,
"column": 7
},
"end": {
- "line": 118,
+ "line": 123,
"column": 62
}
}
@@ -10765,15 +11234,15 @@
{
"type": "CommentLine",
"value": " other data here TODO post ranking",
- "start": 4856,
- "end": 4892,
+ "start": 5021,
+ "end": 5057,
"loc": {
"start": {
- "line": 119,
+ "line": 124,
"column": 7
},
"end": {
- "line": 119,
+ "line": 124,
"column": 43
}
}
@@ -10788,99 +11257,99 @@
},
{
"type": "ExpressionStatement",
- "start": 4907,
- "end": 4969,
+ "start": 5072,
+ "end": 5134,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 6
},
"end": {
- "line": 121,
+ "line": 126,
"column": 68
}
},
"expression": {
"type": "CallExpression",
- "start": 4907,
- "end": 4969,
+ "start": 5072,
+ "end": 5134,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 6
},
"end": {
- "line": 121,
+ "line": 126,
"column": 68
}
},
"callee": {
"type": "MemberExpression",
- "start": 4907,
- "end": 4937,
+ "start": 5072,
+ "end": 5102,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 6
},
"end": {
- "line": 121,
+ "line": 126,
"column": 36
}
},
"object": {
"type": "MemberExpression",
- "start": 4907,
- "end": 4932,
+ "start": 5072,
+ "end": 5097,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 6
},
"end": {
- "line": 121,
+ "line": 126,
"column": 31
}
},
"object": {
"type": "CallExpression",
- "start": 4907,
- "end": 4922,
+ "start": 5072,
+ "end": 5087,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 6
},
"end": {
- "line": 121,
+ "line": 126,
"column": 21
}
},
"callee": {
"type": "MemberExpression",
- "start": 4907,
- "end": 4916,
+ "start": 5072,
+ "end": 5081,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 6
},
"end": {
- "line": 121,
+ "line": 126,
"column": 15
}
},
"object": {
"type": "Identifier",
- "start": 4907,
- "end": 4913,
+ "start": 5072,
+ "end": 5078,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 6
},
"end": {
- "line": 121,
+ "line": 126,
"column": 12
},
"identifierName": "socket"
@@ -10889,15 +11358,15 @@
},
"property": {
"type": "Identifier",
- "start": 4914,
- "end": 4916,
+ "start": 5079,
+ "end": 5081,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 13
},
"end": {
- "line": 121,
+ "line": 126,
"column": 15
},
"identifierName": "to"
@@ -10909,15 +11378,15 @@
"arguments": [
{
"type": "Identifier",
- "start": 4917,
- "end": 4921,
+ "start": 5082,
+ "end": 5086,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 16
},
"end": {
- "line": 121,
+ "line": 126,
"column": 20
},
"identifierName": "room"
@@ -10928,15 +11397,15 @@
},
"property": {
"type": "Identifier",
- "start": 4923,
- "end": 4932,
+ "start": 5088,
+ "end": 5097,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 22
},
"end": {
- "line": 121,
+ "line": 126,
"column": 31
},
"identifierName": "broadcast"
@@ -10947,15 +11416,15 @@
},
"property": {
"type": "Identifier",
- "start": 4933,
- "end": 4937,
+ "start": 5098,
+ "end": 5102,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 32
},
"end": {
- "line": 121,
+ "line": 126,
"column": 36
},
"identifierName": "emit"
@@ -10967,15 +11436,15 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 4938,
- "end": 4956,
+ "start": 5103,
+ "end": 5121,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 37
},
"end": {
- "line": 121,
+ "line": 126,
"column": 55
}
},
@@ -10987,15 +11456,15 @@
},
{
"type": "Identifier",
- "start": 4958,
- "end": 4968,
+ "start": 5123,
+ "end": 5133,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 57
},
"end": {
- "line": 121,
+ "line": 126,
"column": 67
},
"identifierName": "dataToSend"
@@ -11007,57 +11476,57 @@
},
{
"type": "ExpressionStatement",
- "start": 4976,
- "end": 5019,
+ "start": 5141,
+ "end": 5184,
"loc": {
"start": {
- "line": 122,
+ "line": 127,
"column": 6
},
"end": {
- "line": 122,
+ "line": 127,
"column": 49
}
},
"expression": {
"type": "CallExpression",
- "start": 4976,
- "end": 5019,
+ "start": 5141,
+ "end": 5184,
"loc": {
"start": {
- "line": 122,
+ "line": 127,
"column": 6
},
"end": {
- "line": 122,
+ "line": 127,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
- "start": 4976,
- "end": 4987,
+ "start": 5141,
+ "end": 5152,
"loc": {
"start": {
- "line": 122,
+ "line": 127,
"column": 6
},
"end": {
- "line": 122,
+ "line": 127,
"column": 17
}
},
"object": {
"type": "Identifier",
- "start": 4976,
- "end": 4982,
+ "start": 5141,
+ "end": 5147,
"loc": {
"start": {
- "line": 122,
+ "line": 127,
"column": 6
},
"end": {
- "line": 122,
+ "line": 127,
"column": 12
},
"identifierName": "socket"
@@ -11066,15 +11535,15 @@
},
"property": {
"type": "Identifier",
- "start": 4983,
- "end": 4987,
+ "start": 5148,
+ "end": 5152,
"loc": {
"start": {
- "line": 122,
+ "line": 127,
"column": 13
},
"end": {
- "line": 122,
+ "line": 127,
"column": 17
},
"identifierName": "emit"
@@ -11086,15 +11555,15 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 4988,
- "end": 5006,
+ "start": 5153,
+ "end": 5171,
"loc": {
"start": {
- "line": 122,
+ "line": 127,
"column": 18
},
"end": {
- "line": 122,
+ "line": 127,
"column": 36
}
},
@@ -11106,15 +11575,15 @@
},
{
"type": "Identifier",
- "start": 5008,
- "end": 5018,
+ "start": 5173,
+ "end": 5183,
"loc": {
"start": {
- "line": 122,
+ "line": 127,
"column": 38
},
"end": {
- "line": 122,
+ "line": 127,
"column": 48
},
"identifierName": "dataToSend"
@@ -11128,15 +11597,15 @@
{
"type": "CommentLine",
"value": " Close room after delay (kick all players)",
- "start": 5027,
- "end": 5071,
+ "start": 5192,
+ "end": 5236,
"loc": {
"start": {
- "line": 124,
+ "line": 129,
"column": 6
},
"end": {
- "line": 124,
+ "line": 129,
"column": 50
}
}
@@ -11145,43 +11614,43 @@
},
{
"type": "ExpressionStatement",
- "start": 5078,
- "end": 5244,
+ "start": 5243,
+ "end": 5409,
"loc": {
"start": {
- "line": 125,
+ "line": 130,
"column": 6
},
"end": {
- "line": 128,
+ "line": 133,
"column": 34
}
},
"expression": {
"type": "CallExpression",
- "start": 5078,
- "end": 5244,
+ "start": 5243,
+ "end": 5409,
"loc": {
"start": {
- "line": 125,
+ "line": 130,
"column": 6
},
"end": {
- "line": 128,
+ "line": 133,
"column": 34
}
},
"callee": {
"type": "Identifier",
- "start": 5078,
- "end": 5088,
+ "start": 5243,
+ "end": 5253,
"loc": {
"start": {
- "line": 125,
+ "line": 130,
"column": 6
},
"end": {
- "line": 125,
+ "line": 130,
"column": 16
},
"identifierName": "setTimeout"
@@ -11192,15 +11661,15 @@
"arguments": [
{
"type": "ArrowFunctionExpression",
- "start": 5089,
- "end": 5217,
+ "start": 5254,
+ "end": 5382,
"loc": {
"start": {
- "line": 125,
+ "line": 130,
"column": 17
},
"end": {
- "line": 128,
+ "line": 133,
"column": 7
}
},
@@ -11211,72 +11680,72 @@
"params": [],
"body": {
"type": "BlockStatement",
- "start": 5095,
- "end": 5217,
+ "start": 5260,
+ "end": 5382,
"loc": {
"start": {
- "line": 125,
+ "line": 130,
"column": 23
},
"end": {
- "line": 128,
+ "line": 133,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
- "start": 5104,
- "end": 5143,
+ "start": 5269,
+ "end": 5308,
"loc": {
"start": {
- "line": 126,
+ "line": 131,
"column": 7
},
"end": {
- "line": 126,
+ "line": 131,
"column": 46
}
},
"expression": {
"type": "CallExpression",
- "start": 5104,
- "end": 5143,
+ "start": 5269,
+ "end": 5308,
"loc": {
"start": {
- "line": 126,
+ "line": 131,
"column": 7
},
"end": {
- "line": 126,
+ "line": 131,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
- "start": 5104,
- "end": 5115,
+ "start": 5269,
+ "end": 5280,
"loc": {
"start": {
- "line": 126,
+ "line": 131,
"column": 7
},
"end": {
- "line": 126,
+ "line": 131,
"column": 18
}
},
"object": {
"type": "Identifier",
- "start": 5104,
- "end": 5110,
+ "start": 5269,
+ "end": 5275,
"loc": {
"start": {
- "line": 126,
+ "line": 131,
"column": 7
},
"end": {
- "line": 126,
+ "line": 131,
"column": 13
},
"identifierName": "socket"
@@ -11285,15 +11754,15 @@
},
"property": {
"type": "Identifier",
- "start": 5111,
- "end": 5115,
+ "start": 5276,
+ "end": 5280,
"loc": {
"start": {
- "line": 126,
+ "line": 131,
"column": 14
},
"end": {
- "line": 126,
+ "line": 131,
"column": 18
},
"identifierName": "emit"
@@ -11305,15 +11774,15 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 5116,
- "end": 5138,
+ "start": 5281,
+ "end": 5303,
"loc": {
"start": {
- "line": 126,
+ "line": 131,
"column": 19
},
"end": {
- "line": 126,
+ "line": 131,
"column": 41
}
},
@@ -11325,15 +11794,15 @@
},
{
"type": "ObjectExpression",
- "start": 5140,
- "end": 5142,
+ "start": 5305,
+ "end": 5307,
"loc": {
"start": {
- "line": 126,
+ "line": 131,
"column": 43
},
"end": {
- "line": 126,
+ "line": 131,
"column": 45
}
},
@@ -11344,99 +11813,99 @@
},
{
"type": "ExpressionStatement",
- "start": 5151,
- "end": 5209,
+ "start": 5316,
+ "end": 5374,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 7
},
"end": {
- "line": 127,
+ "line": 132,
"column": 65
}
},
"expression": {
"type": "CallExpression",
- "start": 5151,
- "end": 5209,
+ "start": 5316,
+ "end": 5374,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 7
},
"end": {
- "line": 127,
+ "line": 132,
"column": 65
}
},
"callee": {
"type": "MemberExpression",
- "start": 5151,
- "end": 5181,
+ "start": 5316,
+ "end": 5346,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 7
},
"end": {
- "line": 127,
+ "line": 132,
"column": 37
}
},
"object": {
"type": "MemberExpression",
- "start": 5151,
- "end": 5176,
+ "start": 5316,
+ "end": 5341,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 7
},
"end": {
- "line": 127,
+ "line": 132,
"column": 32
}
},
"object": {
"type": "CallExpression",
- "start": 5151,
- "end": 5166,
+ "start": 5316,
+ "end": 5331,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 7
},
"end": {
- "line": 127,
+ "line": 132,
"column": 22
}
},
"callee": {
"type": "MemberExpression",
- "start": 5151,
- "end": 5160,
+ "start": 5316,
+ "end": 5325,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 7
},
"end": {
- "line": 127,
+ "line": 132,
"column": 16
}
},
"object": {
"type": "Identifier",
- "start": 5151,
- "end": 5157,
+ "start": 5316,
+ "end": 5322,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 7
},
"end": {
- "line": 127,
+ "line": 132,
"column": 13
},
"identifierName": "socket"
@@ -11445,15 +11914,15 @@
},
"property": {
"type": "Identifier",
- "start": 5158,
- "end": 5160,
+ "start": 5323,
+ "end": 5325,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 14
},
"end": {
- "line": 127,
+ "line": 132,
"column": 16
},
"identifierName": "to"
@@ -11465,15 +11934,15 @@
"arguments": [
{
"type": "Identifier",
- "start": 5161,
- "end": 5165,
+ "start": 5326,
+ "end": 5330,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 17
},
"end": {
- "line": 127,
+ "line": 132,
"column": 21
},
"identifierName": "room"
@@ -11484,15 +11953,15 @@
},
"property": {
"type": "Identifier",
- "start": 5167,
- "end": 5176,
+ "start": 5332,
+ "end": 5341,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 23
},
"end": {
- "line": 127,
+ "line": 132,
"column": 32
},
"identifierName": "broadcast"
@@ -11503,15 +11972,15 @@
},
"property": {
"type": "Identifier",
- "start": 5177,
- "end": 5181,
+ "start": 5342,
+ "end": 5346,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 33
},
"end": {
- "line": 127,
+ "line": 132,
"column": 37
},
"identifierName": "emit"
@@ -11523,15 +11992,15 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 5182,
- "end": 5204,
+ "start": 5347,
+ "end": 5369,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 38
},
"end": {
- "line": 127,
+ "line": 132,
"column": 60
}
},
@@ -11543,15 +12012,15 @@
},
{
"type": "ObjectExpression",
- "start": 5206,
- "end": 5208,
+ "start": 5371,
+ "end": 5373,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 62
},
"end": {
- "line": 127,
+ "line": 132,
"column": 64
}
},
@@ -11566,29 +12035,29 @@
},
{
"type": "MemberExpression",
- "start": 5219,
- "end": 5243,
+ "start": 5384,
+ "end": 5408,
"loc": {
"start": {
- "line": 128,
+ "line": 133,
"column": 9
},
"end": {
- "line": 128,
+ "line": 133,
"column": 33
}
},
"object": {
"type": "Identifier",
- "start": 5219,
- "end": 5225,
+ "start": 5384,
+ "end": 5390,
"loc": {
"start": {
- "line": 128,
+ "line": 133,
"column": 9
},
"end": {
- "line": 128,
+ "line": 133,
"column": 15
},
"identifierName": "GLOBAL"
@@ -11597,15 +12066,15 @@
},
"property": {
"type": "Identifier",
- "start": 5226,
- "end": 5243,
+ "start": 5391,
+ "end": 5408,
"loc": {
"start": {
- "line": 128,
+ "line": 133,
"column": 16
},
"end": {
- "line": 128,
+ "line": 133,
"column": 33
},
"identifierName": "ROOM_DELETE_DELAY"
@@ -11621,15 +12090,15 @@
{
"type": "CommentLine",
"value": " Close room after delay (kick all players)",
- "start": 5027,
- "end": 5071,
+ "start": 5192,
+ "end": 5236,
"loc": {
"start": {
- "line": 124,
+ "line": 129,
"column": 6
},
"end": {
- "line": 124,
+ "line": 129,
"column": 50
}
}
@@ -11658,15 +12127,15 @@
{
"type": "CommentLine",
"value": " Check if the player has died.",
- "start": 1596,
- "end": 1628,
+ "start": 1671,
+ "end": 1703,
"loc": {
"start": {
- "line": 41,
+ "line": 43,
"column": 2
},
"end": {
- "line": 41,
+ "line": 43,
"column": 34
}
}
@@ -11678,72 +12147,72 @@
},
"alternate": {
"type": "BlockStatement",
- "start": 5276,
- "end": 5379,
+ "start": 5441,
+ "end": 5544,
"loc": {
"start": {
- "line": 134,
+ "line": 139,
"column": 6
},
"end": {
- "line": 136,
+ "line": 141,
"column": 2
}
},
"body": [
{
"type": "ExpressionStatement",
- "start": 5280,
- "end": 5376,
+ "start": 5445,
+ "end": 5541,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 2
},
"end": {
- "line": 135,
+ "line": 140,
"column": 98
}
},
"expression": {
"type": "CallExpression",
- "start": 5280,
- "end": 5376,
+ "start": 5445,
+ "end": 5541,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 2
},
"end": {
- "line": 135,
+ "line": 140,
"column": 98
}
},
"callee": {
"type": "MemberExpression",
- "start": 5280,
- "end": 5292,
+ "start": 5445,
+ "end": 5457,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 2
},
"end": {
- "line": 135,
+ "line": 140,
"column": 14
}
},
"object": {
"type": "Identifier",
- "start": 5280,
- "end": 5287,
+ "start": 5445,
+ "end": 5452,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 2
},
"end": {
- "line": 135,
+ "line": 140,
"column": 9
},
"identifierName": "console"
@@ -11752,15 +12221,15 @@
},
"property": {
"type": "Identifier",
- "start": 5288,
- "end": 5292,
+ "start": 5453,
+ "end": 5457,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 10
},
"end": {
- "line": 135,
+ "line": 140,
"column": 14
},
"identifierName": "warn"
@@ -11772,43 +12241,43 @@
"arguments": [
{
"type": "BinaryExpression",
- "start": 5293,
- "end": 5375,
+ "start": 5458,
+ "end": 5540,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 15
},
"end": {
- "line": 135,
+ "line": 140,
"column": 97
}
},
"left": {
"type": "BinaryExpression",
- "start": 5293,
- "end": 5322,
+ "start": 5458,
+ "end": 5487,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 15
},
"end": {
- "line": 135,
+ "line": 140,
"column": 44
}
},
"left": {
"type": "StringLiteral",
- "start": 5293,
- "end": 5308,
+ "start": 5458,
+ "end": 5473,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 15
},
"end": {
- "line": 135,
+ "line": 140,
"column": 30
}
},
@@ -11821,29 +12290,29 @@
"operator": "+",
"right": {
"type": "MemberExpression",
- "start": 5311,
- "end": 5322,
+ "start": 5476,
+ "end": 5487,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 33
},
"end": {
- "line": 135,
+ "line": 140,
"column": 44
}
},
"object": {
"type": "Identifier",
- "start": 5311,
- "end": 5315,
+ "start": 5476,
+ "end": 5480,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 33
},
"end": {
- "line": 135,
+ "line": 140,
"column": 37
},
"identifierName": "data"
@@ -11852,15 +12321,15 @@
},
"property": {
"type": "Identifier",
- "start": 5316,
- "end": 5322,
+ "start": 5481,
+ "end": 5487,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 38
},
"end": {
- "line": 135,
+ "line": 140,
"column": 44
},
"identifierName": "player"
@@ -11873,15 +12342,15 @@
"operator": "+",
"right": {
"type": "StringLiteral",
- "start": 5325,
- "end": 5375,
+ "start": 5490,
+ "end": 5540,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 47
},
"end": {
- "line": 135,
+ "line": 140,
"column": 97
}
},
@@ -11975,15 +12444,15 @@
},
{
"type": "ExportNamedDeclaration",
- "start": 5383,
- "end": 7734,
+ "start": 5548,
+ "end": 7899,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 0
},
"end": {
- "line": 190,
+ "line": 195,
"column": 1
}
},
@@ -11991,29 +12460,29 @@
"source": null,
"declaration": {
"type": "FunctionDeclaration",
- "start": 5390,
- "end": 7734,
+ "start": 5555,
+ "end": 7899,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 7
},
"end": {
- "line": 190,
+ "line": 195,
"column": 1
}
},
"id": {
"type": "Identifier",
- "start": 5399,
- "end": 5409,
+ "start": 5564,
+ "end": 5574,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 16
},
"end": {
- "line": 139,
+ "line": 144,
"column": 26
},
"identifierName": "damageTile"
@@ -12026,15 +12495,15 @@
"params": [
{
"type": "Identifier",
- "start": 5411,
- "end": 5417,
+ "start": 5576,
+ "end": 5582,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 28
},
"end": {
- "line": 139,
+ "line": 144,
"column": 34
},
"identifierName": "tileID"
@@ -12043,15 +12512,15 @@
},
{
"type": "Identifier",
- "start": 5419,
- "end": 5431,
+ "start": 5584,
+ "end": 5596,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 36
},
"end": {
- "line": 139,
+ "line": 144,
"column": 48
},
"identifierName": "damageAmount"
@@ -12060,15 +12529,15 @@
},
{
"type": "Identifier",
- "start": 5433,
- "end": 5439,
+ "start": 5598,
+ "end": 5604,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 50
},
"end": {
- "line": 139,
+ "line": 144,
"column": 56
},
"identifierName": "player"
@@ -12077,15 +12546,15 @@
},
{
"type": "Identifier",
- "start": 5441,
- "end": 5445,
+ "start": 5606,
+ "end": 5610,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 58
},
"end": {
- "line": 139,
+ "line": 144,
"column": 62
},
"identifierName": "room"
@@ -12094,15 +12563,15 @@
},
{
"type": "Identifier",
- "start": 5447,
- "end": 5453,
+ "start": 5612,
+ "end": 5618,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 64
},
"end": {
- "line": 139,
+ "line": 144,
"column": 70
},
"identifierName": "socket"
@@ -12112,58 +12581,58 @@
],
"body": {
"type": "BlockStatement",
- "start": 5455,
- "end": 7734,
+ "start": 5620,
+ "end": 7899,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 72
},
"end": {
- "line": 190,
+ "line": 195,
"column": 1
}
},
"body": [
{
"type": "ExpressionStatement",
- "start": 5458,
- "end": 5531,
+ "start": 5623,
+ "end": 5696,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 1
},
"end": {
- "line": 140,
+ "line": 145,
"column": 74
}
},
"expression": {
"type": "CallExpression",
- "start": 5458,
- "end": 5531,
+ "start": 5623,
+ "end": 5696,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 1
},
"end": {
- "line": 140,
+ "line": 145,
"column": 74
}
},
"callee": {
"type": "Identifier",
- "start": 5458,
- "end": 5472,
+ "start": 5623,
+ "end": 5637,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 1
},
"end": {
- "line": 140,
+ "line": 145,
"column": 15
},
"identifierName": "incrementField"
@@ -12173,15 +12642,15 @@
"arguments": [
{
"type": "UnaryExpression",
- "start": 5473,
- "end": 5486,
+ "start": 5638,
+ "end": 5651,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 16
},
"end": {
- "line": 140,
+ "line": 145,
"column": 29
}
},
@@ -12189,15 +12658,15 @@
"prefix": true,
"argument": {
"type": "Identifier",
- "start": 5474,
- "end": 5486,
+ "start": 5639,
+ "end": 5651,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 17
},
"end": {
- "line": 140,
+ "line": 145,
"column": 29
},
"identifierName": "damageAmount"
@@ -12210,30 +12679,30 @@
},
{
"type": "ArrayExpression",
- "start": 5488,
- "end": 5530,
+ "start": 5653,
+ "end": 5695,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 31
},
"end": {
- "line": 140,
+ "line": 145,
"column": 73
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 5489,
- "end": 5496,
+ "start": 5654,
+ "end": 5661,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 32
},
"end": {
- "line": 140,
+ "line": 145,
"column": 39
}
},
@@ -12245,15 +12714,15 @@
},
{
"type": "Identifier",
- "start": 5498,
- "end": 5502,
+ "start": 5663,
+ "end": 5667,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 41
},
"end": {
- "line": 140,
+ "line": 145,
"column": 45
},
"identifierName": "room"
@@ -12262,15 +12731,15 @@
},
{
"type": "StringLiteral",
- "start": 5504,
- "end": 5511,
+ "start": 5669,
+ "end": 5676,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 47
},
"end": {
- "line": 140,
+ "line": 145,
"column": 54
}
},
@@ -12282,15 +12751,15 @@
},
{
"type": "Identifier",
- "start": 5513,
- "end": 5519,
+ "start": 5678,
+ "end": 5684,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 56
},
"end": {
- "line": 140,
+ "line": 145,
"column": 62
},
"identifierName": "tileID"
@@ -12299,15 +12768,15 @@
},
{
"type": "StringLiteral",
- "start": 5521,
- "end": 5529,
+ "start": 5686,
+ "end": 5694,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 64
},
"end": {
- "line": 140,
+ "line": 145,
"column": 72
}
},
@@ -12326,15 +12795,15 @@
{
"type": "CommentLine",
"value": " console.log('tile ' + tileID + ' is now at ' + getField(['rooms', room, 'tiles', tileID, 'health']))",
- "start": 5534,
- "end": 5637,
+ "start": 5699,
+ "end": 5802,
"loc": {
"start": {
- "line": 142,
+ "line": 147,
"column": 1
},
"end": {
- "line": 142,
+ "line": 147,
"column": 104
}
}
@@ -12343,44 +12812,44 @@
},
{
"type": "VariableDeclaration",
- "start": 5639,
- "end": 5850,
+ "start": 5804,
+ "end": 6015,
"loc": {
"start": {
- "line": 143,
+ "line": 148,
"column": 1
},
"end": {
- "line": 147,
+ "line": 152,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 5643,
- "end": 5850,
+ "start": 5808,
+ "end": 6015,
"loc": {
"start": {
- "line": 143,
+ "line": 148,
"column": 5
},
"end": {
- "line": 147,
+ "line": 152,
"column": 2
}
},
"id": {
"type": "Identifier",
- "start": 5643,
- "end": 5649,
+ "start": 5808,
+ "end": 5814,
"loc": {
"start": {
- "line": 143,
+ "line": 148,
"column": 5
},
"end": {
- "line": 143,
+ "line": 148,
"column": 11
},
"identifierName": "hpData"
@@ -12390,30 +12859,30 @@
},
"init": {
"type": "ObjectExpression",
- "start": 5652,
- "end": 5850,
+ "start": 5817,
+ "end": 6015,
"loc": {
"start": {
- "line": 143,
+ "line": 148,
"column": 14
},
"end": {
- "line": 147,
+ "line": 152,
"column": 2
}
},
"properties": [
{
"type": "ObjectProperty",
- "start": 5656,
- "end": 5719,
+ "start": 5821,
+ "end": 5884,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 2
},
"end": {
- "line": 144,
+ "line": 149,
"column": 65
}
},
@@ -12422,15 +12891,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 5656,
- "end": 5665,
+ "start": 5821,
+ "end": 5830,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 2
},
"end": {
- "line": 144,
+ "line": 149,
"column": 11
},
"identifierName": "newHealth"
@@ -12439,29 +12908,29 @@
},
"value": {
"type": "CallExpression",
- "start": 5667,
- "end": 5719,
+ "start": 5832,
+ "end": 5884,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 13
},
"end": {
- "line": 144,
+ "line": 149,
"column": 65
}
},
"callee": {
"type": "Identifier",
- "start": 5667,
- "end": 5675,
+ "start": 5832,
+ "end": 5840,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 13
},
"end": {
- "line": 144,
+ "line": 149,
"column": 21
},
"identifierName": "getField"
@@ -12471,30 +12940,30 @@
"arguments": [
{
"type": "ArrayExpression",
- "start": 5676,
- "end": 5718,
+ "start": 5841,
+ "end": 5883,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 22
},
"end": {
- "line": 144,
+ "line": 149,
"column": 64
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 5677,
- "end": 5684,
+ "start": 5842,
+ "end": 5849,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 23
},
"end": {
- "line": 144,
+ "line": 149,
"column": 30
}
},
@@ -12506,15 +12975,15 @@
},
{
"type": "Identifier",
- "start": 5686,
- "end": 5690,
+ "start": 5851,
+ "end": 5855,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 32
},
"end": {
- "line": 144,
+ "line": 149,
"column": 36
},
"identifierName": "room"
@@ -12523,15 +12992,15 @@
},
{
"type": "StringLiteral",
- "start": 5692,
- "end": 5699,
+ "start": 5857,
+ "end": 5864,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 38
},
"end": {
- "line": 144,
+ "line": 149,
"column": 45
}
},
@@ -12543,15 +13012,15 @@
},
{
"type": "Identifier",
- "start": 5701,
- "end": 5707,
+ "start": 5866,
+ "end": 5872,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 47
},
"end": {
- "line": 144,
+ "line": 149,
"column": 53
},
"identifierName": "tileID"
@@ -12560,15 +13029,15 @@
},
{
"type": "StringLiteral",
- "start": 5709,
- "end": 5717,
+ "start": 5874,
+ "end": 5882,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 55
},
"end": {
- "line": 144,
+ "line": 149,
"column": 63
}
},
@@ -12585,15 +13054,15 @@
},
{
"type": "ObjectProperty",
- "start": 5723,
- "end": 5783,
+ "start": 5888,
+ "end": 5948,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 2
},
"end": {
- "line": 145,
+ "line": 150,
"column": 62
}
},
@@ -12602,15 +13071,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 5723,
- "end": 5728,
+ "start": 5888,
+ "end": 5893,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 2
},
"end": {
- "line": 145,
+ "line": 150,
"column": 7
},
"identifierName": "tileX"
@@ -12619,29 +13088,29 @@
},
"value": {
"type": "CallExpression",
- "start": 5730,
- "end": 5783,
+ "start": 5895,
+ "end": 5948,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 9
},
"end": {
- "line": 145,
+ "line": 150,
"column": 62
}
},
"callee": {
"type": "Identifier",
- "start": 5730,
- "end": 5738,
+ "start": 5895,
+ "end": 5903,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 9
},
"end": {
- "line": 145,
+ "line": 150,
"column": 17
},
"identifierName": "getField"
@@ -12651,30 +13120,30 @@
"arguments": [
{
"type": "ArrayExpression",
- "start": 5739,
- "end": 5782,
+ "start": 5904,
+ "end": 5947,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 18
},
"end": {
- "line": 145,
+ "line": 150,
"column": 61
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 5740,
- "end": 5747,
+ "start": 5905,
+ "end": 5912,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 19
},
"end": {
- "line": 145,
+ "line": 150,
"column": 26
}
},
@@ -12686,15 +13155,15 @@
},
{
"type": "Identifier",
- "start": 5749,
- "end": 5753,
+ "start": 5914,
+ "end": 5918,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 28
},
"end": {
- "line": 145,
+ "line": 150,
"column": 32
},
"identifierName": "room"
@@ -12703,15 +13172,15 @@
},
{
"type": "StringLiteral",
- "start": 5755,
- "end": 5762,
+ "start": 5920,
+ "end": 5927,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 34
},
"end": {
- "line": 145,
+ "line": 150,
"column": 41
}
},
@@ -12723,15 +13192,15 @@
},
{
"type": "Identifier",
- "start": 5764,
- "end": 5770,
+ "start": 5929,
+ "end": 5935,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 43
},
"end": {
- "line": 145,
+ "line": 150,
"column": 49
},
"identifierName": "tileID"
@@ -12740,15 +13209,15 @@
},
{
"type": "StringLiteral",
- "start": 5772,
- "end": 5781,
+ "start": 5937,
+ "end": 5946,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 51
},
"end": {
- "line": 145,
+ "line": 150,
"column": 60
}
},
@@ -12765,15 +13234,15 @@
},
{
"type": "ObjectProperty",
- "start": 5787,
- "end": 5847,
+ "start": 5952,
+ "end": 6012,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 2
},
"end": {
- "line": 146,
+ "line": 151,
"column": 62
}
},
@@ -12782,15 +13251,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 5787,
- "end": 5792,
+ "start": 5952,
+ "end": 5957,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 2
},
"end": {
- "line": 146,
+ "line": 151,
"column": 7
},
"identifierName": "tileY"
@@ -12799,29 +13268,29 @@
},
"value": {
"type": "CallExpression",
- "start": 5794,
- "end": 5847,
+ "start": 5959,
+ "end": 6012,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 9
},
"end": {
- "line": 146,
+ "line": 151,
"column": 62
}
},
"callee": {
"type": "Identifier",
- "start": 5794,
- "end": 5802,
+ "start": 5959,
+ "end": 5967,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 9
},
"end": {
- "line": 146,
+ "line": 151,
"column": 17
},
"identifierName": "getField"
@@ -12831,30 +13300,30 @@
"arguments": [
{
"type": "ArrayExpression",
- "start": 5803,
- "end": 5846,
+ "start": 5968,
+ "end": 6011,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 18
},
"end": {
- "line": 146,
+ "line": 151,
"column": 61
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 5804,
- "end": 5811,
+ "start": 5969,
+ "end": 5976,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 19
},
"end": {
- "line": 146,
+ "line": 151,
"column": 26
}
},
@@ -12866,15 +13335,15 @@
},
{
"type": "Identifier",
- "start": 5813,
- "end": 5817,
+ "start": 5978,
+ "end": 5982,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 28
},
"end": {
- "line": 146,
+ "line": 151,
"column": 32
},
"identifierName": "room"
@@ -12883,15 +13352,15 @@
},
{
"type": "StringLiteral",
- "start": 5819,
- "end": 5826,
+ "start": 5984,
+ "end": 5991,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 34
},
"end": {
- "line": 146,
+ "line": 151,
"column": 41
}
},
@@ -12903,15 +13372,15 @@
},
{
"type": "Identifier",
- "start": 5828,
- "end": 5834,
+ "start": 5993,
+ "end": 5999,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 43
},
"end": {
- "line": 146,
+ "line": 151,
"column": 49
},
"identifierName": "tileID"
@@ -12920,15 +13389,15 @@
},
{
"type": "StringLiteral",
- "start": 5836,
- "end": 5845,
+ "start": 6001,
+ "end": 6010,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 51
},
"end": {
- "line": 146,
+ "line": 151,
"column": 60
}
},
@@ -12953,15 +13422,15 @@
{
"type": "CommentLine",
"value": " console.log('tile ' + tileID + ' is now at ' + getField(['rooms', room, 'tiles', tileID, 'health']))",
- "start": 5534,
- "end": 5637,
+ "start": 5699,
+ "end": 5802,
"loc": {
"start": {
- "line": 142,
+ "line": 147,
"column": 1
},
"end": {
- "line": 142,
+ "line": 147,
"column": 104
}
}
@@ -12970,85 +13439,85 @@
},
{
"type": "ExpressionStatement",
- "start": 5852,
- "end": 5904,
+ "start": 6017,
+ "end": 6069,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 1
},
"end": {
- "line": 148,
+ "line": 153,
"column": 53
}
},
"expression": {
"type": "CallExpression",
- "start": 5852,
- "end": 5904,
+ "start": 6017,
+ "end": 6069,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 1
},
"end": {
- "line": 148,
+ "line": 153,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
- "start": 5852,
- "end": 5872,
+ "start": 6017,
+ "end": 6037,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 1
},
"end": {
- "line": 148,
+ "line": 153,
"column": 21
}
},
"object": {
"type": "CallExpression",
- "start": 5852,
- "end": 5867,
+ "start": 6017,
+ "end": 6032,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 1
},
"end": {
- "line": 148,
+ "line": 153,
"column": 16
}
},
"callee": {
"type": "MemberExpression",
- "start": 5852,
- "end": 5861,
+ "start": 6017,
+ "end": 6026,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 1
},
"end": {
- "line": 148,
+ "line": 153,
"column": 10
}
},
"object": {
"type": "Identifier",
- "start": 5852,
- "end": 5858,
+ "start": 6017,
+ "end": 6023,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 1
},
"end": {
- "line": 148,
+ "line": 153,
"column": 7
},
"identifierName": "socket"
@@ -13057,15 +13526,15 @@
},
"property": {
"type": "Identifier",
- "start": 5859,
- "end": 5861,
+ "start": 6024,
+ "end": 6026,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 8
},
"end": {
- "line": 148,
+ "line": 153,
"column": 10
},
"identifierName": "to"
@@ -13077,15 +13546,15 @@
"arguments": [
{
"type": "Identifier",
- "start": 5862,
- "end": 5866,
+ "start": 6027,
+ "end": 6031,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 11
},
"end": {
- "line": 148,
+ "line": 153,
"column": 15
},
"identifierName": "room"
@@ -13096,15 +13565,15 @@
},
"property": {
"type": "Identifier",
- "start": 5868,
- "end": 5872,
+ "start": 6033,
+ "end": 6037,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 17
},
"end": {
- "line": 148,
+ "line": 153,
"column": 21
},
"identifierName": "emit"
@@ -13116,15 +13585,15 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 5873,
- "end": 5895,
+ "start": 6038,
+ "end": 6060,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 22
},
"end": {
- "line": 148,
+ "line": 153,
"column": 44
}
},
@@ -13136,15 +13605,15 @@
},
{
"type": "Identifier",
- "start": 5897,
- "end": 5903,
+ "start": 6062,
+ "end": 6068,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 46
},
"end": {
- "line": 148,
+ "line": 153,
"column": 52
},
"identifierName": "hpData"
@@ -13156,57 +13625,57 @@
},
{
"type": "ExpressionStatement",
- "start": 5906,
- "end": 5949,
+ "start": 6071,
+ "end": 6114,
"loc": {
"start": {
- "line": 149,
+ "line": 154,
"column": 1
},
"end": {
- "line": 149,
+ "line": 154,
"column": 44
}
},
"expression": {
"type": "CallExpression",
- "start": 5906,
- "end": 5949,
+ "start": 6071,
+ "end": 6114,
"loc": {
"start": {
- "line": 149,
+ "line": 154,
"column": 1
},
"end": {
- "line": 149,
+ "line": 154,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
- "start": 5906,
- "end": 5917,
+ "start": 6071,
+ "end": 6082,
"loc": {
"start": {
- "line": 149,
+ "line": 154,
"column": 1
},
"end": {
- "line": 149,
+ "line": 154,
"column": 12
}
},
"object": {
"type": "Identifier",
- "start": 5906,
- "end": 5912,
+ "start": 6071,
+ "end": 6077,
"loc": {
"start": {
- "line": 149,
+ "line": 154,
"column": 1
},
"end": {
- "line": 149,
+ "line": 154,
"column": 7
},
"identifierName": "socket"
@@ -13215,15 +13684,15 @@
},
"property": {
"type": "Identifier",
- "start": 5913,
- "end": 5917,
+ "start": 6078,
+ "end": 6082,
"loc": {
"start": {
- "line": 149,
+ "line": 154,
"column": 8
},
"end": {
- "line": 149,
+ "line": 154,
"column": 12
},
"identifierName": "emit"
@@ -13235,15 +13704,15 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 5918,
- "end": 5940,
+ "start": 6083,
+ "end": 6105,
"loc": {
"start": {
- "line": 149,
+ "line": 154,
"column": 13
},
"end": {
- "line": 149,
+ "line": 154,
"column": 35
}
},
@@ -13255,15 +13724,15 @@
},
{
"type": "Identifier",
- "start": 5942,
- "end": 5948,
+ "start": 6107,
+ "end": 6113,
"loc": {
"start": {
- "line": 149,
+ "line": 154,
"column": 37
},
"end": {
- "line": 149,
+ "line": 154,
"column": 43
},
"identifierName": "hpData"
@@ -13277,15 +13746,15 @@
{
"type": "CommentLine",
"value": " Check if tile is fully captured",
- "start": 5952,
- "end": 5986,
+ "start": 6117,
+ "end": 6151,
"loc": {
"start": {
- "line": 151,
+ "line": 156,
"column": 1
},
"end": {
- "line": 151,
+ "line": 156,
"column": 35
}
}
@@ -13294,57 +13763,57 @@
},
{
"type": "IfStatement",
- "start": 5988,
- "end": 7732,
+ "start": 6153,
+ "end": 7897,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 1
},
"end": {
- "line": 189,
+ "line": 194,
"column": 2
}
},
"test": {
"type": "BinaryExpression",
- "start": 5992,
- "end": 6049,
+ "start": 6157,
+ "end": 6214,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 5
},
"end": {
- "line": 152,
+ "line": 157,
"column": 62
}
},
"left": {
"type": "CallExpression",
- "start": 5992,
- "end": 6044,
+ "start": 6157,
+ "end": 6209,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 5
},
"end": {
- "line": 152,
+ "line": 157,
"column": 57
}
},
"callee": {
"type": "Identifier",
- "start": 5992,
- "end": 6000,
+ "start": 6157,
+ "end": 6165,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 5
},
"end": {
- "line": 152,
+ "line": 157,
"column": 13
},
"identifierName": "getField"
@@ -13355,30 +13824,30 @@
"arguments": [
{
"type": "ArrayExpression",
- "start": 6001,
- "end": 6043,
+ "start": 6166,
+ "end": 6208,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 14
},
"end": {
- "line": 152,
+ "line": 157,
"column": 56
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 6002,
- "end": 6009,
+ "start": 6167,
+ "end": 6174,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 15
},
"end": {
- "line": 152,
+ "line": 157,
"column": 22
}
},
@@ -13390,15 +13859,15 @@
},
{
"type": "Identifier",
- "start": 6011,
- "end": 6015,
+ "start": 6176,
+ "end": 6180,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 24
},
"end": {
- "line": 152,
+ "line": 157,
"column": 28
},
"identifierName": "room"
@@ -13407,15 +13876,15 @@
},
{
"type": "StringLiteral",
- "start": 6017,
- "end": 6024,
+ "start": 6182,
+ "end": 6189,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 30
},
"end": {
- "line": 152,
+ "line": 157,
"column": 37
}
},
@@ -13427,15 +13896,15 @@
},
{
"type": "Identifier",
- "start": 6026,
- "end": 6032,
+ "start": 6191,
+ "end": 6197,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 39
},
"end": {
- "line": 152,
+ "line": 157,
"column": 45
},
"identifierName": "tileID"
@@ -13444,15 +13913,15 @@
},
{
"type": "StringLiteral",
- "start": 6034,
- "end": 6042,
+ "start": 6199,
+ "end": 6207,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 47
},
"end": {
- "line": 152,
+ "line": 157,
"column": 55
}
},
@@ -13470,15 +13939,15 @@
"operator": "<=",
"right": {
"type": "NumericLiteral",
- "start": 6048,
- "end": 6049,
+ "start": 6213,
+ "end": 6214,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 61
},
"end": {
- "line": 152,
+ "line": 157,
"column": 62
}
},
@@ -13492,73 +13961,73 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 6051,
- "end": 7732,
+ "start": 6216,
+ "end": 7897,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 64
},
"end": {
- "line": 189,
+ "line": 194,
"column": 2
}
},
"body": [
{
"type": "ForStatement",
- "start": 6055,
- "end": 7729,
+ "start": 6220,
+ "end": 7894,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 2
},
"end": {
- "line": 188,
+ "line": 193,
"column": 3
}
},
"init": {
"type": "VariableDeclaration",
- "start": 6060,
- "end": 6069,
+ "start": 6225,
+ "end": 6234,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 7
},
"end": {
- "line": 153,
+ "line": 158,
"column": 16
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 6064,
- "end": 6069,
+ "start": 6229,
+ "end": 6234,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 11
},
"end": {
- "line": 153,
+ "line": 158,
"column": 16
}
},
"id": {
"type": "Identifier",
- "start": 6064,
- "end": 6065,
+ "start": 6229,
+ "end": 6230,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 11
},
"end": {
- "line": 153,
+ "line": 158,
"column": 12
},
"identifierName": "i"
@@ -13567,15 +14036,15 @@
},
"init": {
"type": "NumericLiteral",
- "start": 6068,
- "end": 6069,
+ "start": 6233,
+ "end": 6234,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 15
},
"end": {
- "line": 153,
+ "line": 158,
"column": 16
}
},
@@ -13591,29 +14060,29 @@
},
"test": {
"type": "BinaryExpression",
- "start": 6071,
- "end": 6076,
+ "start": 6236,
+ "end": 6241,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 18
},
"end": {
- "line": 153,
+ "line": 158,
"column": 23
}
},
"left": {
"type": "Identifier",
- "start": 6071,
- "end": 6072,
+ "start": 6236,
+ "end": 6237,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 18
},
"end": {
- "line": 153,
+ "line": 158,
"column": 19
},
"identifierName": "i"
@@ -13623,15 +14092,15 @@
"operator": "<",
"right": {
"type": "NumericLiteral",
- "start": 6075,
- "end": 6076,
+ "start": 6240,
+ "end": 6241,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 22
},
"end": {
- "line": 153,
+ "line": 158,
"column": 23
}
},
@@ -13644,15 +14113,15 @@
},
"update": {
"type": "UpdateExpression",
- "start": 6078,
- "end": 6081,
+ "start": 6243,
+ "end": 6246,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 25
},
"end": {
- "line": 153,
+ "line": 158,
"column": 28
}
},
@@ -13660,15 +14129,15 @@
"prefix": false,
"argument": {
"type": "Identifier",
- "start": 6078,
- "end": 6079,
+ "start": 6243,
+ "end": 6244,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 25
},
"end": {
- "line": 153,
+ "line": 158,
"column": 26
},
"identifierName": "i"
@@ -13678,86 +14147,86 @@
},
"body": {
"type": "BlockStatement",
- "start": 6083,
- "end": 7729,
+ "start": 6248,
+ "end": 7894,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 30
},
"end": {
- "line": 188,
+ "line": 193,
"column": 3
}
},
"body": [
{
"type": "IfStatement",
- "start": 6088,
- "end": 7725,
+ "start": 6253,
+ "end": 7890,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 3
},
"end": {
- "line": 187,
+ "line": 192,
"column": 4
}
},
"test": {
"type": "BinaryExpression",
- "start": 6092,
- "end": 6191,
+ "start": 6257,
+ "end": 6356,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 7
},
"end": {
- "line": 154,
+ "line": 159,
"column": 106
}
},
"left": {
"type": "MemberExpression",
- "start": 6092,
- "end": 6134,
+ "start": 6257,
+ "end": 6299,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 7
},
"end": {
- "line": 154,
+ "line": 159,
"column": 49
}
},
"object": {
"type": "CallExpression",
- "start": 6092,
- "end": 6129,
+ "start": 6257,
+ "end": 6294,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 7
},
"end": {
- "line": 154,
+ "line": 159,
"column": 44
}
},
"callee": {
"type": "Identifier",
- "start": 6092,
- "end": 6100,
+ "start": 6257,
+ "end": 6265,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 7
},
"end": {
- "line": 154,
+ "line": 159,
"column": 15
},
"identifierName": "getField"
@@ -13767,30 +14236,30 @@
"arguments": [
{
"type": "ArrayExpression",
- "start": 6101,
- "end": 6128,
+ "start": 6266,
+ "end": 6293,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 16
},
"end": {
- "line": 154,
+ "line": 159,
"column": 43
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 6102,
- "end": 6109,
+ "start": 6267,
+ "end": 6274,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 17
},
"end": {
- "line": 154,
+ "line": 159,
"column": 24
}
},
@@ -13802,15 +14271,15 @@
},
{
"type": "Identifier",
- "start": 6111,
- "end": 6115,
+ "start": 6276,
+ "end": 6280,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 26
},
"end": {
- "line": 154,
+ "line": 159,
"column": 30
},
"identifierName": "room"
@@ -13819,15 +14288,15 @@
},
{
"type": "StringLiteral",
- "start": 6117,
- "end": 6124,
+ "start": 6282,
+ "end": 6289,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 32
},
"end": {
- "line": 154,
+ "line": 159,
"column": 39
}
},
@@ -13839,15 +14308,15 @@
},
{
"type": "Identifier",
- "start": 6126,
- "end": 6127,
+ "start": 6291,
+ "end": 6292,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 41
},
"end": {
- "line": 154,
+ "line": 159,
"column": 42
},
"identifierName": "i"
@@ -13860,15 +14329,15 @@
},
"property": {
"type": "Identifier",
- "start": 6130,
- "end": 6134,
+ "start": 6295,
+ "end": 6299,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 45
},
"end": {
- "line": 154,
+ "line": 159,
"column": 49
},
"identifierName": "name"
@@ -13880,29 +14349,29 @@
"operator": "===",
"right": {
"type": "CallExpression",
- "start": 6139,
- "end": 6191,
+ "start": 6304,
+ "end": 6356,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 54
},
"end": {
- "line": 154,
+ "line": 159,
"column": 106
}
},
"callee": {
"type": "Identifier",
- "start": 6139,
- "end": 6147,
+ "start": 6304,
+ "end": 6312,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 54
},
"end": {
- "line": 154,
+ "line": 159,
"column": 62
},
"identifierName": "getField"
@@ -13912,30 +14381,30 @@
"arguments": [
{
"type": "ArrayExpression",
- "start": 6148,
- "end": 6190,
+ "start": 6313,
+ "end": 6355,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 63
},
"end": {
- "line": 154,
+ "line": 159,
"column": 105
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 6149,
- "end": 6156,
+ "start": 6314,
+ "end": 6321,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 64
},
"end": {
- "line": 154,
+ "line": 159,
"column": 71
}
},
@@ -13947,15 +14416,15 @@
},
{
"type": "Identifier",
- "start": 6158,
- "end": 6162,
+ "start": 6323,
+ "end": 6327,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 73
},
"end": {
- "line": 154,
+ "line": 159,
"column": 77
},
"identifierName": "room"
@@ -13964,15 +14433,15 @@
},
{
"type": "StringLiteral",
- "start": 6164,
- "end": 6173,
+ "start": 6329,
+ "end": 6338,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 79
},
"end": {
- "line": 154,
+ "line": 159,
"column": 88
}
},
@@ -13984,15 +14453,15 @@
},
{
"type": "Identifier",
- "start": 6175,
- "end": 6181,
+ "start": 6340,
+ "end": 6346,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 90
},
"end": {
- "line": 154,
+ "line": 159,
"column": 96
},
"identifierName": "player"
@@ -14001,15 +14470,15 @@
},
{
"type": "StringLiteral",
- "start": 6183,
- "end": 6189,
+ "start": 6348,
+ "end": 6354,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 98
},
"end": {
- "line": 154,
+ "line": 159,
"column": 104
}
},
@@ -14026,59 +14495,59 @@
},
"consequent": {
"type": "BlockStatement",
- "start": 6193,
- "end": 7725,
+ "start": 6358,
+ "end": 7890,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 108
},
"end": {
- "line": 187,
+ "line": 192,
"column": 4
}
},
"body": [
{
"type": "VariableDeclaration",
- "start": 6239,
- "end": 6410,
+ "start": 6404,
+ "end": 6575,
"loc": {
"start": {
- "line": 156,
+ "line": 161,
"column": 4
},
"end": {
- "line": 160,
+ "line": 165,
"column": 5
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 6243,
- "end": 6410,
+ "start": 6408,
+ "end": 6575,
"loc": {
"start": {
- "line": 156,
+ "line": 161,
"column": 8
},
"end": {
- "line": 160,
+ "line": 165,
"column": 5
}
},
"id": {
"type": "Identifier",
- "start": 6243,
- "end": 6247,
+ "start": 6408,
+ "end": 6412,
"loc": {
"start": {
- "line": 156,
+ "line": 161,
"column": 8
},
"end": {
- "line": 156,
+ "line": 161,
"column": 12
},
"identifierName": "data"
@@ -14088,30 +14557,30 @@
},
"init": {
"type": "ObjectExpression",
- "start": 6250,
- "end": 6410,
+ "start": 6415,
+ "end": 6575,
"loc": {
"start": {
- "line": 156,
+ "line": 161,
"column": 15
},
"end": {
- "line": 160,
+ "line": 165,
"column": 5
}
},
"properties": [
{
"type": "ObjectProperty",
- "start": 6257,
- "end": 6270,
+ "start": 6422,
+ "end": 6435,
"loc": {
"start": {
- "line": 157,
+ "line": 162,
"column": 5
},
"end": {
- "line": 157,
+ "line": 162,
"column": 18
}
},
@@ -14120,15 +14589,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 6257,
- "end": 6267,
+ "start": 6422,
+ "end": 6432,
"loc": {
"start": {
- "line": 157,
+ "line": 162,
"column": 5
},
"end": {
- "line": 157,
+ "line": 162,
"column": 15
},
"identifierName": "teamNumber"
@@ -14137,15 +14606,15 @@
},
"value": {
"type": "Identifier",
- "start": 6269,
- "end": 6270,
+ "start": 6434,
+ "end": 6435,
"loc": {
"start": {
- "line": 157,
+ "line": 162,
"column": 17
},
"end": {
- "line": 157,
+ "line": 162,
"column": 18
},
"identifierName": "i"
@@ -14155,15 +14624,15 @@
},
{
"type": "ObjectProperty",
- "start": 6277,
- "end": 6337,
+ "start": 6442,
+ "end": 6502,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 5
},
"end": {
- "line": 158,
+ "line": 163,
"column": 65
}
},
@@ -14172,15 +14641,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 6277,
- "end": 6282,
+ "start": 6442,
+ "end": 6447,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 5
},
"end": {
- "line": 158,
+ "line": 163,
"column": 10
},
"identifierName": "tileX"
@@ -14189,29 +14658,29 @@
},
"value": {
"type": "CallExpression",
- "start": 6284,
- "end": 6337,
+ "start": 6449,
+ "end": 6502,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 12
},
"end": {
- "line": 158,
+ "line": 163,
"column": 65
}
},
"callee": {
"type": "Identifier",
- "start": 6284,
- "end": 6292,
+ "start": 6449,
+ "end": 6457,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 12
},
"end": {
- "line": 158,
+ "line": 163,
"column": 20
},
"identifierName": "getField"
@@ -14221,30 +14690,30 @@
"arguments": [
{
"type": "ArrayExpression",
- "start": 6293,
- "end": 6336,
+ "start": 6458,
+ "end": 6501,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 21
},
"end": {
- "line": 158,
+ "line": 163,
"column": 64
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 6294,
- "end": 6301,
+ "start": 6459,
+ "end": 6466,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 22
},
"end": {
- "line": 158,
+ "line": 163,
"column": 29
}
},
@@ -14256,15 +14725,15 @@
},
{
"type": "Identifier",
- "start": 6303,
- "end": 6307,
+ "start": 6468,
+ "end": 6472,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 31
},
"end": {
- "line": 158,
+ "line": 163,
"column": 35
},
"identifierName": "room"
@@ -14273,15 +14742,15 @@
},
{
"type": "StringLiteral",
- "start": 6309,
- "end": 6316,
+ "start": 6474,
+ "end": 6481,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 37
},
"end": {
- "line": 158,
+ "line": 163,
"column": 44
}
},
@@ -14293,15 +14762,15 @@
},
{
"type": "Identifier",
- "start": 6318,
- "end": 6324,
+ "start": 6483,
+ "end": 6489,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 46
},
"end": {
- "line": 158,
+ "line": 163,
"column": 52
},
"identifierName": "tileID"
@@ -14310,15 +14779,15 @@
},
{
"type": "StringLiteral",
- "start": 6326,
- "end": 6335,
+ "start": 6491,
+ "end": 6500,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 54
},
"end": {
- "line": 158,
+ "line": 163,
"column": 63
}
},
@@ -14335,15 +14804,15 @@
},
{
"type": "ObjectProperty",
- "start": 6344,
- "end": 6404,
+ "start": 6509,
+ "end": 6569,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 5
},
"end": {
- "line": 159,
+ "line": 164,
"column": 65
}
},
@@ -14352,15 +14821,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 6344,
- "end": 6349,
+ "start": 6509,
+ "end": 6514,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 5
},
"end": {
- "line": 159,
+ "line": 164,
"column": 10
},
"identifierName": "tileY"
@@ -14369,29 +14838,29 @@
},
"value": {
"type": "CallExpression",
- "start": 6351,
- "end": 6404,
+ "start": 6516,
+ "end": 6569,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 12
},
"end": {
- "line": 159,
+ "line": 164,
"column": 65
}
},
"callee": {
"type": "Identifier",
- "start": 6351,
- "end": 6359,
+ "start": 6516,
+ "end": 6524,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 12
},
"end": {
- "line": 159,
+ "line": 164,
"column": 20
},
"identifierName": "getField"
@@ -14401,30 +14870,30 @@
"arguments": [
{
"type": "ArrayExpression",
- "start": 6360,
- "end": 6403,
+ "start": 6525,
+ "end": 6568,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 21
},
"end": {
- "line": 159,
+ "line": 164,
"column": 64
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 6361,
- "end": 6368,
+ "start": 6526,
+ "end": 6533,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 22
},
"end": {
- "line": 159,
+ "line": 164,
"column": 29
}
},
@@ -14436,15 +14905,15 @@
},
{
"type": "Identifier",
- "start": 6370,
- "end": 6374,
+ "start": 6535,
+ "end": 6539,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 31
},
"end": {
- "line": 159,
+ "line": 164,
"column": 35
},
"identifierName": "room"
@@ -14453,15 +14922,15 @@
},
{
"type": "StringLiteral",
- "start": 6376,
- "end": 6383,
+ "start": 6541,
+ "end": 6548,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 37
},
"end": {
- "line": 159,
+ "line": 164,
"column": 44
}
},
@@ -14473,15 +14942,15 @@
},
{
"type": "Identifier",
- "start": 6385,
- "end": 6391,
+ "start": 6550,
+ "end": 6556,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 46
},
"end": {
- "line": 159,
+ "line": 164,
"column": 52
},
"identifierName": "tileID"
@@ -14490,15 +14959,15 @@
},
{
"type": "StringLiteral",
- "start": 6393,
- "end": 6402,
+ "start": 6558,
+ "end": 6567,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 54
},
"end": {
- "line": 159,
+ "line": 164,
"column": 63
}
},
@@ -14523,15 +14992,15 @@
{
"type": "CommentLine",
"value": " Notify clients of texture change",
- "start": 6199,
- "end": 6234,
+ "start": 6364,
+ "end": 6399,
"loc": {
"start": {
- "line": 155,
+ "line": 160,
"column": 4
},
"end": {
- "line": 155,
+ "line": 160,
"column": 39
}
}
@@ -14540,85 +15009,85 @@
},
{
"type": "ExpressionStatement",
- "start": 6415,
- "end": 6466,
+ "start": 6580,
+ "end": 6631,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 4
},
"end": {
- "line": 161,
+ "line": 166,
"column": 55
}
},
"expression": {
"type": "CallExpression",
- "start": 6415,
- "end": 6466,
+ "start": 6580,
+ "end": 6631,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 4
},
"end": {
- "line": 161,
+ "line": 166,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
- "start": 6415,
- "end": 6435,
+ "start": 6580,
+ "end": 6600,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 4
},
"end": {
- "line": 161,
+ "line": 166,
"column": 24
}
},
"object": {
"type": "CallExpression",
- "start": 6415,
- "end": 6430,
+ "start": 6580,
+ "end": 6595,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 4
},
"end": {
- "line": 161,
+ "line": 166,
"column": 19
}
},
"callee": {
"type": "MemberExpression",
- "start": 6415,
- "end": 6424,
+ "start": 6580,
+ "end": 6589,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 4
},
"end": {
- "line": 161,
+ "line": 166,
"column": 13
}
},
"object": {
"type": "Identifier",
- "start": 6415,
- "end": 6421,
+ "start": 6580,
+ "end": 6586,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 4
},
"end": {
- "line": 161,
+ "line": 166,
"column": 10
},
"identifierName": "socket"
@@ -14627,15 +15096,15 @@
},
"property": {
"type": "Identifier",
- "start": 6422,
- "end": 6424,
+ "start": 6587,
+ "end": 6589,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 11
},
"end": {
- "line": 161,
+ "line": 166,
"column": 13
},
"identifierName": "to"
@@ -14647,15 +15116,15 @@
"arguments": [
{
"type": "Identifier",
- "start": 6425,
- "end": 6429,
+ "start": 6590,
+ "end": 6594,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 14
},
"end": {
- "line": 161,
+ "line": 166,
"column": 18
},
"identifierName": "room"
@@ -14666,15 +15135,15 @@
},
"property": {
"type": "Identifier",
- "start": 6431,
- "end": 6435,
+ "start": 6596,
+ "end": 6600,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 20
},
"end": {
- "line": 161,
+ "line": 166,
"column": 24
},
"identifierName": "emit"
@@ -14686,15 +15155,15 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 6436,
- "end": 6459,
+ "start": 6601,
+ "end": 6624,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 25
},
"end": {
- "line": 161,
+ "line": 166,
"column": 48
}
},
@@ -14706,15 +15175,15 @@
},
{
"type": "Identifier",
- "start": 6461,
- "end": 6465,
+ "start": 6626,
+ "end": 6630,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 50
},
"end": {
- "line": 161,
+ "line": 166,
"column": 54
},
"identifierName": "data"
@@ -14726,57 +15195,57 @@
},
{
"type": "ExpressionStatement",
- "start": 6471,
- "end": 6513,
+ "start": 6636,
+ "end": 6678,
"loc": {
"start": {
- "line": 162,
+ "line": 167,
"column": 4
},
"end": {
- "line": 162,
+ "line": 167,
"column": 46
}
},
"expression": {
"type": "CallExpression",
- "start": 6471,
- "end": 6513,
+ "start": 6636,
+ "end": 6678,
"loc": {
"start": {
- "line": 162,
+ "line": 167,
"column": 4
},
"end": {
- "line": 162,
+ "line": 167,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
- "start": 6471,
- "end": 6482,
+ "start": 6636,
+ "end": 6647,
"loc": {
"start": {
- "line": 162,
+ "line": 167,
"column": 4
},
"end": {
- "line": 162,
+ "line": 167,
"column": 15
}
},
"object": {
"type": "Identifier",
- "start": 6471,
- "end": 6477,
+ "start": 6636,
+ "end": 6642,
"loc": {
"start": {
- "line": 162,
+ "line": 167,
"column": 4
},
"end": {
- "line": 162,
+ "line": 167,
"column": 10
},
"identifierName": "socket"
@@ -14785,15 +15254,15 @@
},
"property": {
"type": "Identifier",
- "start": 6478,
- "end": 6482,
+ "start": 6643,
+ "end": 6647,
"loc": {
"start": {
- "line": 162,
+ "line": 167,
"column": 11
},
"end": {
- "line": 162,
+ "line": 167,
"column": 15
},
"identifierName": "emit"
@@ -14805,15 +15274,15 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 6483,
- "end": 6506,
+ "start": 6648,
+ "end": 6671,
"loc": {
"start": {
- "line": 162,
+ "line": 167,
"column": 16
},
"end": {
- "line": 162,
+ "line": 167,
"column": 39
}
},
@@ -14825,15 +15294,15 @@
},
{
"type": "Identifier",
- "start": 6508,
- "end": 6512,
+ "start": 6673,
+ "end": 6677,
"loc": {
"start": {
- "line": 162,
+ "line": 167,
"column": 41
},
"end": {
- "line": 162,
+ "line": 167,
"column": 45
},
"identifierName": "data"
@@ -14845,44 +15314,44 @@
},
{
"type": "VariableDeclaration",
- "start": 6518,
- "end": 6772,
+ "start": 6683,
+ "end": 6937,
"loc": {
"start": {
- "line": 163,
+ "line": 168,
"column": 4
},
"end": {
- "line": 166,
+ "line": 171,
"column": 5
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 6522,
- "end": 6772,
+ "start": 6687,
+ "end": 6937,
"loc": {
"start": {
- "line": 163,
+ "line": 168,
"column": 8
},
"end": {
- "line": 166,
+ "line": 171,
"column": 5
}
},
"id": {
"type": "Identifier",
- "start": 6522,
- "end": 6536,
+ "start": 6687,
+ "end": 6701,
"loc": {
"start": {
- "line": 163,
+ "line": 168,
"column": 8
},
"end": {
- "line": 163,
+ "line": 168,
"column": 22
},
"identifierName": "tileCaptureMSG"
@@ -14891,30 +15360,30 @@
},
"init": {
"type": "ObjectExpression",
- "start": 6539,
- "end": 6772,
+ "start": 6704,
+ "end": 6937,
"loc": {
"start": {
- "line": 163,
+ "line": 168,
"column": 25
},
"end": {
- "line": 166,
+ "line": 171,
"column": 5
}
},
"properties": [
{
"type": "ObjectProperty",
- "start": 6546,
- "end": 6694,
+ "start": 6711,
+ "end": 6859,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 5
},
"end": {
- "line": 164,
+ "line": 169,
"column": 153
}
},
@@ -14923,15 +15392,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 6546,
- "end": 6553,
+ "start": 6711,
+ "end": 6718,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 5
},
"end": {
- "line": 164,
+ "line": 169,
"column": 12
},
"identifierName": "message"
@@ -14940,57 +15409,57 @@
},
"value": {
"type": "BinaryExpression",
- "start": 6555,
- "end": 6694,
+ "start": 6720,
+ "end": 6859,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 14
},
"end": {
- "line": 164,
+ "line": 169,
"column": 153
}
},
"left": {
"type": "BinaryExpression",
- "start": 6555,
- "end": 6639,
+ "start": 6720,
+ "end": 6804,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 14
},
"end": {
- "line": 164,
+ "line": 169,
"column": 98
}
},
"left": {
"type": "BinaryExpression",
- "start": 6555,
- "end": 6612,
+ "start": 6720,
+ "end": 6777,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 14
},
"end": {
- "line": 164,
+ "line": 169,
"column": 71
}
},
"left": {
"type": "StringLiteral",
- "start": 6555,
- "end": 6559,
+ "start": 6720,
+ "end": 6724,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 14
},
"end": {
- "line": 164,
+ "line": 169,
"column": 18
}
},
@@ -15003,29 +15472,29 @@
"operator": "+",
"right": {
"type": "CallExpression",
- "start": 6562,
- "end": 6612,
+ "start": 6727,
+ "end": 6777,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 21
},
"end": {
- "line": 164,
+ "line": 169,
"column": 71
}
},
"callee": {
"type": "Identifier",
- "start": 6562,
- "end": 6570,
+ "start": 6727,
+ "end": 6735,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 21
},
"end": {
- "line": 164,
+ "line": 169,
"column": 29
},
"identifierName": "getField"
@@ -15035,30 +15504,30 @@
"arguments": [
{
"type": "ArrayExpression",
- "start": 6571,
- "end": 6611,
+ "start": 6736,
+ "end": 6776,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 30
},
"end": {
- "line": 164,
+ "line": 169,
"column": 70
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 6572,
- "end": 6579,
+ "start": 6737,
+ "end": 6744,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 31
},
"end": {
- "line": 164,
+ "line": 169,
"column": 38
}
},
@@ -15070,15 +15539,15 @@
},
{
"type": "Identifier",
- "start": 6581,
- "end": 6585,
+ "start": 6746,
+ "end": 6750,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 40
},
"end": {
- "line": 164,
+ "line": 169,
"column": 44
},
"identifierName": "room"
@@ -15087,15 +15556,15 @@
},
{
"type": "StringLiteral",
- "start": 6587,
- "end": 6594,
+ "start": 6752,
+ "end": 6759,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 46
},
"end": {
- "line": 164,
+ "line": 169,
"column": 53
}
},
@@ -15107,15 +15576,15 @@
},
{
"type": "Identifier",
- "start": 6596,
- "end": 6602,
+ "start": 6761,
+ "end": 6767,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 55
},
"end": {
- "line": 164,
+ "line": 169,
"column": 61
},
"identifierName": "tileID"
@@ -15124,15 +15593,15 @@
},
{
"type": "StringLiteral",
- "start": 6604,
- "end": 6610,
+ "start": 6769,
+ "end": 6775,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 63
},
"end": {
- "line": 164,
+ "line": 169,
"column": 69
}
},
@@ -15150,15 +15619,15 @@
"operator": "+",
"right": {
"type": "StringLiteral",
- "start": 6615,
- "end": 6639,
+ "start": 6780,
+ "end": 6804,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 74
},
"end": {
- "line": 164,
+ "line": 169,
"column": 98
}
},
@@ -15172,29 +15641,29 @@
"operator": "+",
"right": {
"type": "CallExpression",
- "start": 6642,
- "end": 6694,
+ "start": 6807,
+ "end": 6859,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 101
},
"end": {
- "line": 164,
+ "line": 169,
"column": 153
}
},
"callee": {
"type": "Identifier",
- "start": 6642,
- "end": 6650,
+ "start": 6807,
+ "end": 6815,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 101
},
"end": {
- "line": 164,
+ "line": 169,
"column": 109
},
"identifierName": "getField"
@@ -15204,30 +15673,30 @@
"arguments": [
{
"type": "ArrayExpression",
- "start": 6651,
- "end": 6693,
+ "start": 6816,
+ "end": 6858,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 110
},
"end": {
- "line": 164,
+ "line": 169,
"column": 152
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 6652,
- "end": 6659,
+ "start": 6817,
+ "end": 6824,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 111
},
"end": {
- "line": 164,
+ "line": 169,
"column": 118
}
},
@@ -15239,15 +15708,15 @@
},
{
"type": "Identifier",
- "start": 6661,
- "end": 6665,
+ "start": 6826,
+ "end": 6830,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 120
},
"end": {
- "line": 164,
+ "line": 169,
"column": 124
},
"identifierName": "room"
@@ -15256,15 +15725,15 @@
},
{
"type": "StringLiteral",
- "start": 6667,
- "end": 6676,
+ "start": 6832,
+ "end": 6841,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 126
},
"end": {
- "line": 164,
+ "line": 169,
"column": 135
}
},
@@ -15276,15 +15745,15 @@
},
{
"type": "Identifier",
- "start": 6678,
- "end": 6684,
+ "start": 6843,
+ "end": 6849,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 137
},
"end": {
- "line": 164,
+ "line": 169,
"column": 143
},
"identifierName": "player"
@@ -15293,15 +15762,15 @@
},
{
"type": "StringLiteral",
- "start": 6686,
- "end": 6692,
+ "start": 6851,
+ "end": 6857,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 145
},
"end": {
- "line": 164,
+ "line": 169,
"column": 151
}
},
@@ -15319,15 +15788,15 @@
},
{
"type": "ObjectProperty",
- "start": 6701,
- "end": 6766,
+ "start": 6866,
+ "end": 6931,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 5
},
"end": {
- "line": 165,
+ "line": 170,
"column": 70
}
},
@@ -15336,15 +15805,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 6701,
- "end": 6712,
+ "start": 6866,
+ "end": 6877,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 5
},
"end": {
- "line": 165,
+ "line": 170,
"column": 16
},
"identifierName": "sendingTeam"
@@ -15353,29 +15822,29 @@
},
"value": {
"type": "CallExpression",
- "start": 6714,
- "end": 6766,
+ "start": 6879,
+ "end": 6931,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 18
},
"end": {
- "line": 165,
+ "line": 170,
"column": 70
}
},
"callee": {
"type": "Identifier",
- "start": 6714,
- "end": 6722,
+ "start": 6879,
+ "end": 6887,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 18
},
"end": {
- "line": 165,
+ "line": 170,
"column": 26
},
"identifierName": "getField"
@@ -15385,30 +15854,30 @@
"arguments": [
{
"type": "ArrayExpression",
- "start": 6723,
- "end": 6765,
+ "start": 6888,
+ "end": 6930,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 27
},
"end": {
- "line": 165,
+ "line": 170,
"column": 69
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 6724,
- "end": 6731,
+ "start": 6889,
+ "end": 6896,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 28
},
"end": {
- "line": 165,
+ "line": 170,
"column": 35
}
},
@@ -15420,15 +15889,15 @@
},
{
"type": "Identifier",
- "start": 6733,
- "end": 6737,
+ "start": 6898,
+ "end": 6902,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 37
},
"end": {
- "line": 165,
+ "line": 170,
"column": 41
},
"identifierName": "room"
@@ -15437,15 +15906,15 @@
},
{
"type": "StringLiteral",
- "start": 6739,
- "end": 6748,
+ "start": 6904,
+ "end": 6913,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 43
},
"end": {
- "line": 165,
+ "line": 170,
"column": 52
}
},
@@ -15457,15 +15926,15 @@
},
{
"type": "Identifier",
- "start": 6750,
- "end": 6756,
+ "start": 6915,
+ "end": 6921,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 54
},
"end": {
- "line": 165,
+ "line": 170,
"column": 60
},
"identifierName": "player"
@@ -15474,15 +15943,15 @@
},
{
"type": "StringLiteral",
- "start": 6758,
- "end": 6764,
+ "start": 6923,
+ "end": 6929,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 62
},
"end": {
- "line": 165,
+ "line": 170,
"column": 68
}
},
@@ -15505,85 +15974,85 @@
},
{
"type": "ExpressionStatement",
- "start": 6777,
- "end": 6835,
+ "start": 6942,
+ "end": 7000,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 4
},
"end": {
- "line": 167,
+ "line": 172,
"column": 62
}
},
"expression": {
"type": "CallExpression",
- "start": 6777,
- "end": 6835,
+ "start": 6942,
+ "end": 7000,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 4
},
"end": {
- "line": 167,
+ "line": 172,
"column": 62
}
},
"callee": {
"type": "MemberExpression",
- "start": 6777,
- "end": 6797,
+ "start": 6942,
+ "end": 6962,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 4
},
"end": {
- "line": 167,
+ "line": 172,
"column": 24
}
},
"object": {
"type": "CallExpression",
- "start": 6777,
- "end": 6792,
+ "start": 6942,
+ "end": 6957,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 4
},
"end": {
- "line": 167,
+ "line": 172,
"column": 19
}
},
"callee": {
"type": "MemberExpression",
- "start": 6777,
- "end": 6786,
+ "start": 6942,
+ "end": 6951,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 4
},
"end": {
- "line": 167,
+ "line": 172,
"column": 13
}
},
"object": {
"type": "Identifier",
- "start": 6777,
- "end": 6783,
+ "start": 6942,
+ "end": 6948,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 4
},
"end": {
- "line": 167,
+ "line": 172,
"column": 10
},
"identifierName": "socket"
@@ -15592,15 +16061,15 @@
},
"property": {
"type": "Identifier",
- "start": 6784,
- "end": 6786,
+ "start": 6949,
+ "end": 6951,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 11
},
"end": {
- "line": 167,
+ "line": 172,
"column": 13
},
"identifierName": "to"
@@ -15612,15 +16081,15 @@
"arguments": [
{
"type": "Identifier",
- "start": 6787,
- "end": 6791,
+ "start": 6952,
+ "end": 6956,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 14
},
"end": {
- "line": 167,
+ "line": 172,
"column": 18
},
"identifierName": "room"
@@ -15631,15 +16100,15 @@
},
"property": {
"type": "Identifier",
- "start": 6793,
- "end": 6797,
+ "start": 6958,
+ "end": 6962,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 20
},
"end": {
- "line": 167,
+ "line": 172,
"column": 24
},
"identifierName": "emit"
@@ -15651,15 +16120,15 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 6798,
- "end": 6818,
+ "start": 6963,
+ "end": 6983,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 25
},
"end": {
- "line": 167,
+ "line": 172,
"column": 45
}
},
@@ -15671,15 +16140,15 @@
},
{
"type": "Identifier",
- "start": 6820,
- "end": 6834,
+ "start": 6985,
+ "end": 6999,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 47
},
"end": {
- "line": 167,
+ "line": 172,
"column": 61
},
"identifierName": "tileCaptureMSG"
@@ -15691,57 +16160,57 @@
},
{
"type": "ExpressionStatement",
- "start": 6840,
- "end": 6889,
+ "start": 7005,
+ "end": 7054,
"loc": {
"start": {
- "line": 168,
+ "line": 173,
"column": 4
},
"end": {
- "line": 168,
+ "line": 173,
"column": 53
}
},
"expression": {
"type": "CallExpression",
- "start": 6840,
- "end": 6889,
+ "start": 7005,
+ "end": 7054,
"loc": {
"start": {
- "line": 168,
+ "line": 173,
"column": 4
},
"end": {
- "line": 168,
+ "line": 173,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
- "start": 6840,
- "end": 6851,
+ "start": 7005,
+ "end": 7016,
"loc": {
"start": {
- "line": 168,
+ "line": 173,
"column": 4
},
"end": {
- "line": 168,
+ "line": 173,
"column": 15
}
},
"object": {
"type": "Identifier",
- "start": 6840,
- "end": 6846,
+ "start": 7005,
+ "end": 7011,
"loc": {
"start": {
- "line": 168,
+ "line": 173,
"column": 4
},
"end": {
- "line": 168,
+ "line": 173,
"column": 10
},
"identifierName": "socket"
@@ -15750,15 +16219,15 @@
},
"property": {
"type": "Identifier",
- "start": 6847,
- "end": 6851,
+ "start": 7012,
+ "end": 7016,
"loc": {
"start": {
- "line": 168,
+ "line": 173,
"column": 11
},
"end": {
- "line": 168,
+ "line": 173,
"column": 15
},
"identifierName": "emit"
@@ -15770,15 +16239,15 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 6852,
- "end": 6872,
+ "start": 7017,
+ "end": 7037,
"loc": {
"start": {
- "line": 168,
+ "line": 173,
"column": 16
},
"end": {
- "line": 168,
+ "line": 173,
"column": 36
}
},
@@ -15790,15 +16259,15 @@
},
{
"type": "Identifier",
- "start": 6874,
- "end": 6888,
+ "start": 7039,
+ "end": 7053,
"loc": {
"start": {
- "line": 168,
+ "line": 173,
"column": 38
},
"end": {
- "line": 168,
+ "line": 173,
"column": 52
},
"identifierName": "tileCaptureMSG"
@@ -15812,15 +16281,15 @@
{
"type": "CommentLine",
"value": " Set capture status",
- "start": 6895,
- "end": 6916,
+ "start": 7060,
+ "end": 7081,
"loc": {
"start": {
- "line": 170,
+ "line": 175,
"column": 4
},
"end": {
- "line": 170,
+ "line": 175,
"column": 25
}
}
@@ -15829,43 +16298,43 @@
},
{
"type": "ExpressionStatement",
- "start": 6921,
- "end": 6981,
+ "start": 7086,
+ "end": 7146,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 4
},
"end": {
- "line": 171,
+ "line": 176,
"column": 64
}
},
"expression": {
"type": "CallExpression",
- "start": 6921,
- "end": 6981,
+ "start": 7086,
+ "end": 7146,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 4
},
"end": {
- "line": 171,
+ "line": 176,
"column": 64
}
},
"callee": {
"type": "Identifier",
- "start": 6921,
- "end": 6929,
+ "start": 7086,
+ "end": 7094,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 4
},
"end": {
- "line": 171,
+ "line": 176,
"column": 12
},
"identifierName": "setField"
@@ -15876,15 +16345,15 @@
"arguments": [
{
"type": "BooleanLiteral",
- "start": 6930,
- "end": 6934,
+ "start": 7095,
+ "end": 7099,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 13
},
"end": {
- "line": 171,
+ "line": 176,
"column": 17
}
},
@@ -15892,30 +16361,30 @@
},
{
"type": "ArrayExpression",
- "start": 6936,
- "end": 6980,
+ "start": 7101,
+ "end": 7145,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 19
},
"end": {
- "line": 171,
+ "line": 176,
"column": 63
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 6937,
- "end": 6944,
+ "start": 7102,
+ "end": 7109,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 20
},
"end": {
- "line": 171,
+ "line": 176,
"column": 27
}
},
@@ -15927,15 +16396,15 @@
},
{
"type": "Identifier",
- "start": 6946,
- "end": 6950,
+ "start": 7111,
+ "end": 7115,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 29
},
"end": {
- "line": 171,
+ "line": 176,
"column": 33
},
"identifierName": "room"
@@ -15944,15 +16413,15 @@
},
{
"type": "StringLiteral",
- "start": 6952,
- "end": 6959,
+ "start": 7117,
+ "end": 7124,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 35
},
"end": {
- "line": 171,
+ "line": 176,
"column": 42
}
},
@@ -15964,15 +16433,15 @@
},
{
"type": "Identifier",
- "start": 6961,
- "end": 6967,
+ "start": 7126,
+ "end": 7132,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 44
},
"end": {
- "line": 171,
+ "line": 176,
"column": 50
},
"identifierName": "tileID"
@@ -15981,15 +16450,15 @@
},
{
"type": "StringLiteral",
- "start": 6969,
- "end": 6979,
+ "start": 7134,
+ "end": 7144,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 52
},
"end": {
- "line": 171,
+ "line": 176,
"column": 62
}
},
@@ -16008,15 +16477,15 @@
{
"type": "CommentLine",
"value": " Set capture status",
- "start": 6895,
- "end": 6916,
+ "start": 7060,
+ "end": 7081,
"loc": {
"start": {
- "line": 170,
+ "line": 175,
"column": 4
},
"end": {
- "line": 170,
+ "line": 175,
"column": 25
}
}
@@ -16025,43 +16494,43 @@
},
{
"type": "ExpressionStatement",
- "start": 6986,
- "end": 7091,
+ "start": 7151,
+ "end": 7256,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 4
},
"end": {
- "line": 172,
+ "line": 177,
"column": 109
}
},
"expression": {
"type": "CallExpression",
- "start": 6986,
- "end": 7091,
+ "start": 7151,
+ "end": 7256,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 4
},
"end": {
- "line": 172,
+ "line": 177,
"column": 109
}
},
"callee": {
"type": "Identifier",
- "start": 6986,
- "end": 6994,
+ "start": 7151,
+ "end": 7159,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 4
},
"end": {
- "line": 172,
+ "line": 177,
"column": 12
},
"identifierName": "setField"
@@ -16071,29 +16540,29 @@
"arguments": [
{
"type": "CallExpression",
- "start": 6995,
- "end": 7047,
+ "start": 7160,
+ "end": 7212,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 13
},
"end": {
- "line": 172,
+ "line": 177,
"column": 65
}
},
"callee": {
"type": "Identifier",
- "start": 6995,
- "end": 7003,
+ "start": 7160,
+ "end": 7168,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 13
},
"end": {
- "line": 172,
+ "line": 177,
"column": 21
},
"identifierName": "getField"
@@ -16103,30 +16572,30 @@
"arguments": [
{
"type": "ArrayExpression",
- "start": 7004,
- "end": 7046,
+ "start": 7169,
+ "end": 7211,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 22
},
"end": {
- "line": 172,
+ "line": 177,
"column": 64
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 7005,
- "end": 7012,
+ "start": 7170,
+ "end": 7177,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 23
},
"end": {
- "line": 172,
+ "line": 177,
"column": 30
}
},
@@ -16138,15 +16607,15 @@
},
{
"type": "Identifier",
- "start": 7014,
- "end": 7018,
+ "start": 7179,
+ "end": 7183,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 32
},
"end": {
- "line": 172,
+ "line": 177,
"column": 36
},
"identifierName": "room"
@@ -16155,15 +16624,15 @@
},
{
"type": "StringLiteral",
- "start": 7020,
- "end": 7029,
+ "start": 7185,
+ "end": 7194,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 38
},
"end": {
- "line": 172,
+ "line": 177,
"column": 47
}
},
@@ -16175,15 +16644,15 @@
},
{
"type": "Identifier",
- "start": 7031,
- "end": 7037,
+ "start": 7196,
+ "end": 7202,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 49
},
"end": {
- "line": 172,
+ "line": 177,
"column": 55
},
"identifierName": "player"
@@ -16192,15 +16661,15 @@
},
{
"type": "StringLiteral",
- "start": 7039,
- "end": 7045,
+ "start": 7204,
+ "end": 7210,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 57
},
"end": {
- "line": 172,
+ "line": 177,
"column": 63
}
},
@@ -16216,30 +16685,30 @@
},
{
"type": "ArrayExpression",
- "start": 7049,
- "end": 7090,
+ "start": 7214,
+ "end": 7255,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 67
},
"end": {
- "line": 172,
+ "line": 177,
"column": 108
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 7050,
- "end": 7057,
+ "start": 7215,
+ "end": 7222,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 68
},
"end": {
- "line": 172,
+ "line": 177,
"column": 75
}
},
@@ -16251,15 +16720,15 @@
},
{
"type": "Identifier",
- "start": 7059,
- "end": 7063,
+ "start": 7224,
+ "end": 7228,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 77
},
"end": {
- "line": 172,
+ "line": 177,
"column": 81
},
"identifierName": "room"
@@ -16268,15 +16737,15 @@
},
{
"type": "StringLiteral",
- "start": 7065,
- "end": 7072,
+ "start": 7230,
+ "end": 7237,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 83
},
"end": {
- "line": 172,
+ "line": 177,
"column": 90
}
},
@@ -16288,15 +16757,15 @@
},
{
"type": "Identifier",
- "start": 7074,
- "end": 7080,
+ "start": 7239,
+ "end": 7245,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 92
},
"end": {
- "line": 172,
+ "line": 177,
"column": 98
},
"identifierName": "tileID"
@@ -16305,15 +16774,15 @@
},
{
"type": "StringLiteral",
- "start": 7082,
- "end": 7089,
+ "start": 7247,
+ "end": 7254,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 100
},
"end": {
- "line": 172,
+ "line": 177,
"column": 107
}
},
@@ -16332,15 +16801,15 @@
{
"type": "CommentLine",
"value": " Distribute points",
- "start": 7097,
- "end": 7117,
+ "start": 7262,
+ "end": 7282,
"loc": {
"start": {
- "line": 174,
+ "line": 179,
"column": 4
},
"end": {
- "line": 174,
+ "line": 179,
"column": 24
}
}
@@ -16349,43 +16818,43 @@
},
{
"type": "ExpressionStatement",
- "start": 7122,
- "end": 7196,
+ "start": 7287,
+ "end": 7361,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 4
},
"end": {
- "line": 175,
+ "line": 180,
"column": 78
}
},
"expression": {
"type": "CallExpression",
- "start": 7122,
- "end": 7196,
+ "start": 7287,
+ "end": 7361,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 4
},
"end": {
- "line": 175,
+ "line": 180,
"column": 78
}
},
"callee": {
"type": "Identifier",
- "start": 7122,
- "end": 7136,
+ "start": 7287,
+ "end": 7301,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 4
},
"end": {
- "line": 175,
+ "line": 180,
"column": 18
},
"identifierName": "incrementField"
@@ -16396,29 +16865,29 @@
"arguments": [
{
"type": "MemberExpression",
- "start": 7137,
- "end": 7157,
+ "start": 7302,
+ "end": 7322,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 19
},
"end": {
- "line": 175,
+ "line": 180,
"column": 39
}
},
"object": {
"type": "Identifier",
- "start": 7137,
- "end": 7143,
+ "start": 7302,
+ "end": 7308,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 19
},
"end": {
- "line": 175,
+ "line": 180,
"column": 25
},
"identifierName": "GLOBAL"
@@ -16427,15 +16896,15 @@
},
"property": {
"type": "Identifier",
- "start": 7144,
- "end": 7157,
+ "start": 7309,
+ "end": 7322,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 26
},
"end": {
- "line": 175,
+ "line": 180,
"column": 39
},
"identifierName": "CAPTURE_SCORE"
@@ -16446,30 +16915,30 @@
},
{
"type": "ArrayExpression",
- "start": 7159,
- "end": 7195,
+ "start": 7324,
+ "end": 7360,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 41
},
"end": {
- "line": 175,
+ "line": 180,
"column": 77
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 7160,
- "end": 7167,
+ "start": 7325,
+ "end": 7332,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 42
},
"end": {
- "line": 175,
+ "line": 180,
"column": 49
}
},
@@ -16481,15 +16950,15 @@
},
{
"type": "Identifier",
- "start": 7169,
- "end": 7173,
+ "start": 7334,
+ "end": 7338,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 51
},
"end": {
- "line": 175,
+ "line": 180,
"column": 55
},
"identifierName": "room"
@@ -16498,15 +16967,15 @@
},
{
"type": "StringLiteral",
- "start": 7175,
- "end": 7182,
+ "start": 7340,
+ "end": 7347,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 57
},
"end": {
- "line": 175,
+ "line": 180,
"column": 64
}
},
@@ -16518,15 +16987,15 @@
},
{
"type": "Identifier",
- "start": 7184,
- "end": 7185,
+ "start": 7349,
+ "end": 7350,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 66
},
"end": {
- "line": 175,
+ "line": 180,
"column": 67
},
"identifierName": "i"
@@ -16535,15 +17004,15 @@
},
{
"type": "StringLiteral",
- "start": 7187,
- "end": 7194,
+ "start": 7352,
+ "end": 7359,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 69
},
"end": {
- "line": 175,
+ "line": 180,
"column": 76
}
},
@@ -16563,15 +17032,15 @@
{
"type": "CommentLine",
"value": " Distribute points",
- "start": 7097,
- "end": 7117,
+ "start": 7262,
+ "end": 7282,
"loc": {
"start": {
- "line": 174,
+ "line": 179,
"column": 4
},
"end": {
- "line": 174,
+ "line": 179,
"column": 24
}
}
@@ -16581,15 +17050,15 @@
{
"type": "CommentLine",
"value": " Reset health",
- "start": 7202,
- "end": 7217,
+ "start": 7367,
+ "end": 7382,
"loc": {
"start": {
- "line": 177,
+ "line": 182,
"column": 4
},
"end": {
- "line": 177,
+ "line": 182,
"column": 19
}
}
@@ -16598,43 +17067,43 @@
},
{
"type": "ExpressionStatement",
- "start": 7222,
- "end": 7371,
+ "start": 7387,
+ "end": 7536,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 4
},
"end": {
- "line": 178,
+ "line": 183,
"column": 153
}
},
"expression": {
"type": "CallExpression",
- "start": 7222,
- "end": 7371,
+ "start": 7387,
+ "end": 7536,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 4
},
"end": {
- "line": 178,
+ "line": 183,
"column": 153
}
},
"callee": {
"type": "Identifier",
- "start": 7222,
- "end": 7230,
+ "start": 7387,
+ "end": 7395,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 4
},
"end": {
- "line": 178,
+ "line": 183,
"column": 12
},
"identifierName": "setField"
@@ -16645,29 +17114,29 @@
"arguments": [
{
"type": "MemberExpression",
- "start": 7231,
- "end": 7326,
+ "start": 7396,
+ "end": 7491,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 13
},
"end": {
- "line": 178,
+ "line": 183,
"column": 108
}
},
"object": {
"type": "Identifier",
- "start": 7231,
- "end": 7237,
+ "start": 7396,
+ "end": 7402,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 13
},
"end": {
- "line": 178,
+ "line": 183,
"column": 19
},
"identifierName": "GLOBAL"
@@ -16676,71 +17145,71 @@
},
"property": {
"type": "CallExpression",
- "start": 7238,
- "end": 7325,
+ "start": 7403,
+ "end": 7490,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 20
},
"end": {
- "line": 178,
+ "line": 183,
"column": 107
}
},
"callee": {
"type": "MemberExpression",
- "start": 7238,
- "end": 7323,
+ "start": 7403,
+ "end": 7488,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 20
},
"end": {
- "line": 178,
+ "line": 183,
"column": 105
}
},
"object": {
"type": "BinaryExpression",
- "start": 7239,
- "end": 7310,
+ "start": 7404,
+ "end": 7475,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 21
},
"end": {
- "line": 178,
+ "line": 183,
"column": 92
}
},
"left": {
"type": "BinaryExpression",
- "start": 7239,
- "end": 7298,
+ "start": 7404,
+ "end": 7463,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 21
},
"end": {
- "line": 178,
+ "line": 183,
"column": 80
}
},
"left": {
"type": "StringLiteral",
- "start": 7239,
- "end": 7245,
+ "start": 7404,
+ "end": 7410,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 21
},
"end": {
- "line": 178,
+ "line": 183,
"column": 27
}
},
@@ -16753,29 +17222,29 @@
"operator": "+",
"right": {
"type": "CallExpression",
- "start": 7248,
- "end": 7298,
+ "start": 7413,
+ "end": 7463,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 30
},
"end": {
- "line": 178,
+ "line": 183,
"column": 80
}
},
"callee": {
"type": "Identifier",
- "start": 7248,
- "end": 7256,
+ "start": 7413,
+ "end": 7421,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 30
},
"end": {
- "line": 178,
+ "line": 183,
"column": 38
},
"identifierName": "getField"
@@ -16785,30 +17254,30 @@
"arguments": [
{
"type": "ArrayExpression",
- "start": 7257,
- "end": 7297,
+ "start": 7422,
+ "end": 7462,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 39
},
"end": {
- "line": 178,
+ "line": 183,
"column": 79
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 7258,
- "end": 7265,
+ "start": 7423,
+ "end": 7430,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 40
},
"end": {
- "line": 178,
+ "line": 183,
"column": 47
}
},
@@ -16820,15 +17289,15 @@
},
{
"type": "Identifier",
- "start": 7267,
- "end": 7271,
+ "start": 7432,
+ "end": 7436,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 49
},
"end": {
- "line": 178,
+ "line": 183,
"column": 53
},
"identifierName": "room"
@@ -16837,15 +17306,15 @@
},
{
"type": "StringLiteral",
- "start": 7273,
- "end": 7280,
+ "start": 7438,
+ "end": 7445,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 55
},
"end": {
- "line": 178,
+ "line": 183,
"column": 62
}
},
@@ -16857,15 +17326,15 @@
},
{
"type": "Identifier",
- "start": 7282,
- "end": 7288,
+ "start": 7447,
+ "end": 7453,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 64
},
"end": {
- "line": 178,
+ "line": 183,
"column": 70
},
"identifierName": "tileID"
@@ -16874,15 +17343,15 @@
},
{
"type": "StringLiteral",
- "start": 7290,
- "end": 7296,
+ "start": 7455,
+ "end": 7461,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 72
},
"end": {
- "line": 178,
+ "line": 183,
"column": 78
}
},
@@ -16900,15 +17369,15 @@
"operator": "+",
"right": {
"type": "StringLiteral",
- "start": 7301,
- "end": 7310,
+ "start": 7466,
+ "end": 7475,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 83
},
"end": {
- "line": 178,
+ "line": 183,
"column": 92
}
},
@@ -16920,20 +17389,20 @@
},
"extra": {
"parenthesized": true,
- "parenStart": 7238
+ "parenStart": 7403
}
},
"property": {
"type": "Identifier",
- "start": 7312,
- "end": 7323,
+ "start": 7477,
+ "end": 7488,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 94
},
"end": {
- "line": 178,
+ "line": 183,
"column": 105
},
"identifierName": "toUpperCase"
@@ -16948,30 +17417,30 @@
},
{
"type": "ArrayExpression",
- "start": 7328,
- "end": 7370,
+ "start": 7493,
+ "end": 7535,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 110
},
"end": {
- "line": 178,
+ "line": 183,
"column": 152
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 7329,
- "end": 7336,
+ "start": 7494,
+ "end": 7501,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 111
},
"end": {
- "line": 178,
+ "line": 183,
"column": 118
}
},
@@ -16983,15 +17452,15 @@
},
{
"type": "Identifier",
- "start": 7338,
- "end": 7342,
+ "start": 7503,
+ "end": 7507,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 120
},
"end": {
- "line": 178,
+ "line": 183,
"column": 124
},
"identifierName": "room"
@@ -17000,15 +17469,15 @@
},
{
"type": "StringLiteral",
- "start": 7344,
- "end": 7351,
+ "start": 7509,
+ "end": 7516,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 126
},
"end": {
- "line": 178,
+ "line": 183,
"column": 133
}
},
@@ -17020,15 +17489,15 @@
},
{
"type": "Identifier",
- "start": 7353,
- "end": 7359,
+ "start": 7518,
+ "end": 7524,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 135
},
"end": {
- "line": 178,
+ "line": 183,
"column": 141
},
"identifierName": "tileID"
@@ -17037,15 +17506,15 @@
},
{
"type": "StringLiteral",
- "start": 7361,
- "end": 7369,
+ "start": 7526,
+ "end": 7534,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 143
},
"end": {
- "line": 178,
+ "line": 183,
"column": 151
}
},
@@ -17064,15 +17533,15 @@
{
"type": "CommentLine",
"value": " Reset health",
- "start": 7202,
- "end": 7217,
+ "start": 7367,
+ "end": 7382,
"loc": {
"start": {
- "line": 177,
+ "line": 182,
"column": 4
},
"end": {
- "line": 177,
+ "line": 182,
"column": 19
}
}
@@ -17081,44 +17550,44 @@
},
{
"type": "VariableDeclaration",
- "start": 7376,
- "end": 7599,
+ "start": 7541,
+ "end": 7764,
"loc": {
"start": {
- "line": 179,
+ "line": 184,
"column": 4
},
"end": {
- "line": 183,
+ "line": 188,
"column": 5
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 7380,
- "end": 7599,
+ "start": 7545,
+ "end": 7764,
"loc": {
"start": {
- "line": 179,
+ "line": 184,
"column": 8
},
"end": {
- "line": 183,
+ "line": 188,
"column": 5
}
},
"id": {
"type": "Identifier",
- "start": 7380,
- "end": 7386,
+ "start": 7545,
+ "end": 7551,
"loc": {
"start": {
- "line": 179,
+ "line": 184,
"column": 8
},
"end": {
- "line": 179,
+ "line": 184,
"column": 14
},
"identifierName": "hpData"
@@ -17127,30 +17596,30 @@
},
"init": {
"type": "ObjectExpression",
- "start": 7389,
- "end": 7599,
+ "start": 7554,
+ "end": 7764,
"loc": {
"start": {
- "line": 179,
+ "line": 184,
"column": 17
},
"end": {
- "line": 183,
+ "line": 188,
"column": 5
}
},
"properties": [
{
"type": "ObjectProperty",
- "start": 7396,
- "end": 7459,
+ "start": 7561,
+ "end": 7624,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 5
},
"end": {
- "line": 180,
+ "line": 185,
"column": 68
}
},
@@ -17159,15 +17628,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 7396,
- "end": 7405,
+ "start": 7561,
+ "end": 7570,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 5
},
"end": {
- "line": 180,
+ "line": 185,
"column": 14
},
"identifierName": "newHealth"
@@ -17176,29 +17645,29 @@
},
"value": {
"type": "CallExpression",
- "start": 7407,
- "end": 7459,
+ "start": 7572,
+ "end": 7624,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 16
},
"end": {
- "line": 180,
+ "line": 185,
"column": 68
}
},
"callee": {
"type": "Identifier",
- "start": 7407,
- "end": 7415,
+ "start": 7572,
+ "end": 7580,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 16
},
"end": {
- "line": 180,
+ "line": 185,
"column": 24
},
"identifierName": "getField"
@@ -17208,30 +17677,30 @@
"arguments": [
{
"type": "ArrayExpression",
- "start": 7416,
- "end": 7458,
+ "start": 7581,
+ "end": 7623,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 25
},
"end": {
- "line": 180,
+ "line": 185,
"column": 67
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 7417,
- "end": 7424,
+ "start": 7582,
+ "end": 7589,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 26
},
"end": {
- "line": 180,
+ "line": 185,
"column": 33
}
},
@@ -17243,15 +17712,15 @@
},
{
"type": "Identifier",
- "start": 7426,
- "end": 7430,
+ "start": 7591,
+ "end": 7595,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 35
},
"end": {
- "line": 180,
+ "line": 185,
"column": 39
},
"identifierName": "room"
@@ -17260,15 +17729,15 @@
},
{
"type": "StringLiteral",
- "start": 7432,
- "end": 7439,
+ "start": 7597,
+ "end": 7604,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 41
},
"end": {
- "line": 180,
+ "line": 185,
"column": 48
}
},
@@ -17280,15 +17749,15 @@
},
{
"type": "Identifier",
- "start": 7441,
- "end": 7447,
+ "start": 7606,
+ "end": 7612,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 50
},
"end": {
- "line": 180,
+ "line": 185,
"column": 56
},
"identifierName": "tileID"
@@ -17297,15 +17766,15 @@
},
{
"type": "StringLiteral",
- "start": 7449,
- "end": 7457,
+ "start": 7614,
+ "end": 7622,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 58
},
"end": {
- "line": 180,
+ "line": 185,
"column": 66
}
},
@@ -17322,15 +17791,15 @@
},
{
"type": "ObjectProperty",
- "start": 7466,
- "end": 7526,
+ "start": 7631,
+ "end": 7691,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 5
},
"end": {
- "line": 181,
+ "line": 186,
"column": 65
}
},
@@ -17339,15 +17808,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 7466,
- "end": 7471,
+ "start": 7631,
+ "end": 7636,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 5
},
"end": {
- "line": 181,
+ "line": 186,
"column": 10
},
"identifierName": "tileX"
@@ -17356,29 +17825,29 @@
},
"value": {
"type": "CallExpression",
- "start": 7473,
- "end": 7526,
+ "start": 7638,
+ "end": 7691,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 12
},
"end": {
- "line": 181,
+ "line": 186,
"column": 65
}
},
"callee": {
"type": "Identifier",
- "start": 7473,
- "end": 7481,
+ "start": 7638,
+ "end": 7646,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 12
},
"end": {
- "line": 181,
+ "line": 186,
"column": 20
},
"identifierName": "getField"
@@ -17388,30 +17857,30 @@
"arguments": [
{
"type": "ArrayExpression",
- "start": 7482,
- "end": 7525,
+ "start": 7647,
+ "end": 7690,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 21
},
"end": {
- "line": 181,
+ "line": 186,
"column": 64
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 7483,
- "end": 7490,
+ "start": 7648,
+ "end": 7655,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 22
},
"end": {
- "line": 181,
+ "line": 186,
"column": 29
}
},
@@ -17423,15 +17892,15 @@
},
{
"type": "Identifier",
- "start": 7492,
- "end": 7496,
+ "start": 7657,
+ "end": 7661,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 31
},
"end": {
- "line": 181,
+ "line": 186,
"column": 35
},
"identifierName": "room"
@@ -17440,15 +17909,15 @@
},
{
"type": "StringLiteral",
- "start": 7498,
- "end": 7505,
+ "start": 7663,
+ "end": 7670,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 37
},
"end": {
- "line": 181,
+ "line": 186,
"column": 44
}
},
@@ -17460,15 +17929,15 @@
},
{
"type": "Identifier",
- "start": 7507,
- "end": 7513,
+ "start": 7672,
+ "end": 7678,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 46
},
"end": {
- "line": 181,
+ "line": 186,
"column": 52
},
"identifierName": "tileID"
@@ -17477,15 +17946,15 @@
},
{
"type": "StringLiteral",
- "start": 7515,
- "end": 7524,
+ "start": 7680,
+ "end": 7689,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 54
},
"end": {
- "line": 181,
+ "line": 186,
"column": 63
}
},
@@ -17502,15 +17971,15 @@
},
{
"type": "ObjectProperty",
- "start": 7533,
- "end": 7593,
+ "start": 7698,
+ "end": 7758,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 5
},
"end": {
- "line": 182,
+ "line": 187,
"column": 65
}
},
@@ -17519,15 +17988,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 7533,
- "end": 7538,
+ "start": 7698,
+ "end": 7703,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 5
},
"end": {
- "line": 182,
+ "line": 187,
"column": 10
},
"identifierName": "tileY"
@@ -17536,29 +18005,29 @@
},
"value": {
"type": "CallExpression",
- "start": 7540,
- "end": 7593,
+ "start": 7705,
+ "end": 7758,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 12
},
"end": {
- "line": 182,
+ "line": 187,
"column": 65
}
},
"callee": {
"type": "Identifier",
- "start": 7540,
- "end": 7548,
+ "start": 7705,
+ "end": 7713,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 12
},
"end": {
- "line": 182,
+ "line": 187,
"column": 20
},
"identifierName": "getField"
@@ -17568,30 +18037,30 @@
"arguments": [
{
"type": "ArrayExpression",
- "start": 7549,
- "end": 7592,
+ "start": 7714,
+ "end": 7757,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 21
},
"end": {
- "line": 182,
+ "line": 187,
"column": 64
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 7550,
- "end": 7557,
+ "start": 7715,
+ "end": 7722,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 22
},
"end": {
- "line": 182,
+ "line": 187,
"column": 29
}
},
@@ -17603,15 +18072,15 @@
},
{
"type": "Identifier",
- "start": 7559,
- "end": 7563,
+ "start": 7724,
+ "end": 7728,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 31
},
"end": {
- "line": 182,
+ "line": 187,
"column": 35
},
"identifierName": "room"
@@ -17620,15 +18089,15 @@
},
{
"type": "StringLiteral",
- "start": 7565,
- "end": 7572,
+ "start": 7730,
+ "end": 7737,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 37
},
"end": {
- "line": 182,
+ "line": 187,
"column": 44
}
},
@@ -17640,15 +18109,15 @@
},
{
"type": "Identifier",
- "start": 7574,
- "end": 7580,
+ "start": 7739,
+ "end": 7745,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 46
},
"end": {
- "line": 182,
+ "line": 187,
"column": 52
},
"identifierName": "tileID"
@@ -17657,15 +18126,15 @@
},
{
"type": "StringLiteral",
- "start": 7582,
- "end": 7591,
+ "start": 7747,
+ "end": 7756,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 54
},
"end": {
- "line": 182,
+ "line": 187,
"column": 63
}
},
@@ -17688,85 +18157,85 @@
},
{
"type": "ExpressionStatement",
- "start": 7604,
- "end": 7656,
+ "start": 7769,
+ "end": 7821,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 4
},
"end": {
- "line": 184,
+ "line": 189,
"column": 56
}
},
"expression": {
"type": "CallExpression",
- "start": 7604,
- "end": 7656,
+ "start": 7769,
+ "end": 7821,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 4
},
"end": {
- "line": 184,
+ "line": 189,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
- "start": 7604,
- "end": 7624,
+ "start": 7769,
+ "end": 7789,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 4
},
"end": {
- "line": 184,
+ "line": 189,
"column": 24
}
},
"object": {
"type": "CallExpression",
- "start": 7604,
- "end": 7619,
+ "start": 7769,
+ "end": 7784,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 4
},
"end": {
- "line": 184,
+ "line": 189,
"column": 19
}
},
"callee": {
"type": "MemberExpression",
- "start": 7604,
- "end": 7613,
+ "start": 7769,
+ "end": 7778,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 4
},
"end": {
- "line": 184,
+ "line": 189,
"column": 13
}
},
"object": {
"type": "Identifier",
- "start": 7604,
- "end": 7610,
+ "start": 7769,
+ "end": 7775,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 4
},
"end": {
- "line": 184,
+ "line": 189,
"column": 10
},
"identifierName": "socket"
@@ -17775,15 +18244,15 @@
},
"property": {
"type": "Identifier",
- "start": 7611,
- "end": 7613,
+ "start": 7776,
+ "end": 7778,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 11
},
"end": {
- "line": 184,
+ "line": 189,
"column": 13
},
"identifierName": "to"
@@ -17795,15 +18264,15 @@
"arguments": [
{
"type": "Identifier",
- "start": 7614,
- "end": 7618,
+ "start": 7779,
+ "end": 7783,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 14
},
"end": {
- "line": 184,
+ "line": 189,
"column": 18
},
"identifierName": "room"
@@ -17814,15 +18283,15 @@
},
"property": {
"type": "Identifier",
- "start": 7620,
- "end": 7624,
+ "start": 7785,
+ "end": 7789,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 20
},
"end": {
- "line": 184,
+ "line": 189,
"column": 24
},
"identifierName": "emit"
@@ -17834,15 +18303,15 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 7625,
- "end": 7647,
+ "start": 7790,
+ "end": 7812,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 25
},
"end": {
- "line": 184,
+ "line": 189,
"column": 47
}
},
@@ -17854,15 +18323,15 @@
},
{
"type": "Identifier",
- "start": 7649,
- "end": 7655,
+ "start": 7814,
+ "end": 7820,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 49
},
"end": {
- "line": 184,
+ "line": 189,
"column": 55
},
"identifierName": "hpData"
@@ -17874,57 +18343,57 @@
},
{
"type": "ExpressionStatement",
- "start": 7661,
- "end": 7704,
+ "start": 7826,
+ "end": 7869,
"loc": {
"start": {
- "line": 185,
+ "line": 190,
"column": 4
},
"end": {
- "line": 185,
+ "line": 190,
"column": 47
}
},
"expression": {
"type": "CallExpression",
- "start": 7661,
- "end": 7704,
+ "start": 7826,
+ "end": 7869,
"loc": {
"start": {
- "line": 185,
+ "line": 190,
"column": 4
},
"end": {
- "line": 185,
+ "line": 190,
"column": 47
}
},
"callee": {
"type": "MemberExpression",
- "start": 7661,
- "end": 7672,
+ "start": 7826,
+ "end": 7837,
"loc": {
"start": {
- "line": 185,
+ "line": 190,
"column": 4
},
"end": {
- "line": 185,
+ "line": 190,
"column": 15
}
},
"object": {
"type": "Identifier",
- "start": 7661,
- "end": 7667,
+ "start": 7826,
+ "end": 7832,
"loc": {
"start": {
- "line": 185,
+ "line": 190,
"column": 4
},
"end": {
- "line": 185,
+ "line": 190,
"column": 10
},
"identifierName": "socket"
@@ -17933,15 +18402,15 @@
},
"property": {
"type": "Identifier",
- "start": 7668,
- "end": 7672,
+ "start": 7833,
+ "end": 7837,
"loc": {
"start": {
- "line": 185,
+ "line": 190,
"column": 11
},
"end": {
- "line": 185,
+ "line": 190,
"column": 15
},
"identifierName": "emit"
@@ -17953,15 +18422,15 @@
"arguments": [
{
"type": "StringLiteral",
- "start": 7673,
- "end": 7695,
+ "start": 7838,
+ "end": 7860,
"loc": {
"start": {
- "line": 185,
+ "line": 190,
"column": 16
},
"end": {
- "line": 185,
+ "line": 190,
"column": 38
}
},
@@ -17973,15 +18442,15 @@
},
{
"type": "Identifier",
- "start": 7697,
- "end": 7703,
+ "start": 7862,
+ "end": 7868,
"loc": {
"start": {
- "line": 185,
+ "line": 190,
"column": 40
},
"end": {
- "line": 185,
+ "line": 190,
"column": 46
},
"identifierName": "hpData"
@@ -17993,29 +18462,29 @@
},
{
"type": "ReturnStatement",
- "start": 7709,
- "end": 7720,
+ "start": 7874,
+ "end": 7885,
"loc": {
"start": {
- "line": 186,
+ "line": 191,
"column": 4
},
"end": {
- "line": 186,
+ "line": 191,
"column": 15
}
},
"argument": {
"type": "BooleanLiteral",
- "start": 7716,
- "end": 7720,
+ "start": 7881,
+ "end": 7885,
"loc": {
"start": {
- "line": 186,
+ "line": 191,
"column": 11
},
"end": {
- "line": 186,
+ "line": 191,
"column": 15
}
},
@@ -18039,15 +18508,15 @@
{
"type": "CommentLine",
"value": " Check if tile is fully captured",
- "start": 5952,
- "end": 5986,
+ "start": 6117,
+ "end": 6151,
"loc": {
"start": {
- "line": 151,
+ "line": 156,
"column": 1
},
"end": {
- "line": 151,
+ "line": 156,
"column": 35
}
}
@@ -18062,15 +18531,15 @@
{
"type": "CommentBlock",
"value": "*\n * TODO\n ",
- "start": 7736,
- "end": 7751,
+ "start": 7901,
+ "end": 7916,
"loc": {
"start": {
- "line": 192,
+ "line": 197,
"column": 0
},
"end": {
- "line": 194,
+ "line": 199,
"column": 3
}
}
@@ -18082,15 +18551,15 @@
{
"type": "CommentBlock",
"value": "*\n * TODO\n ",
- "start": 7736,
- "end": 7751,
+ "start": 7901,
+ "end": 7916,
"loc": {
"start": {
- "line": 192,
+ "line": 197,
"column": 0
},
"end": {
- "line": 194,
+ "line": 199,
"column": 3
}
}
@@ -18099,15 +18568,15 @@
},
{
"type": "ExportNamedDeclaration",
- "start": 7752,
- "end": 7782,
+ "start": 7917,
+ "end": 7947,
"loc": {
"start": {
- "line": 195,
+ "line": 200,
"column": 0
},
"end": {
- "line": 197,
+ "line": 202,
"column": 1
}
},
@@ -18115,29 +18584,29 @@
"source": null,
"declaration": {
"type": "FunctionDeclaration",
- "start": 7759,
- "end": 7782,
+ "start": 7924,
+ "end": 7947,
"loc": {
"start": {
- "line": 195,
+ "line": 200,
"column": 7
},
"end": {
- "line": 197,
+ "line": 202,
"column": 1
}
},
"id": {
"type": "Identifier",
- "start": 7768,
- "end": 7774,
+ "start": 7933,
+ "end": 7939,
"loc": {
"start": {
- "line": 195,
+ "line": 200,
"column": 16
},
"end": {
- "line": 195,
+ "line": 200,
"column": 22
},
"identifierName": "splash"
@@ -18151,15 +18620,15 @@
"params": [],
"body": {
"type": "BlockStatement",
- "start": 7778,
- "end": 7782,
+ "start": 7943,
+ "end": 7947,
"loc": {
"start": {
- "line": 195,
+ "line": 200,
"column": 26
},
"end": {
- "line": 197,
+ "line": 202,
"column": 1
}
},
@@ -18170,15 +18639,15 @@
{
"type": "CommentBlock",
"value": "*\n * TODO\n ",
- "start": 7736,
- "end": 7751,
+ "start": 7901,
+ "end": 7916,
"loc": {
"start": {
- "line": 192,
+ "line": 197,
"column": 0
},
"end": {
- "line": 194,
+ "line": 199,
"column": 3
}
}
@@ -18190,15 +18659,15 @@
{
"type": "CommentBlock",
"value": "*\n * TODO\n ",
- "start": 7736,
- "end": 7751,
+ "start": 7901,
+ "end": 7916,
"loc": {
"start": {
- "line": 192,
+ "line": 197,
"column": 0
},
"end": {
- "line": 194,
+ "line": 199,
"column": 3
}
}
@@ -18260,15 +18729,15 @@
{
"type": "CommentLine",
"value": " Add damage to database",
- "start": 1242,
- "end": 1267,
+ "start": 1317,
+ "end": 1342,
"loc": {
"start": {
- "line": 34,
+ "line": 36,
"column": 2
},
"end": {
- "line": 34,
+ "line": 36,
"column": 27
}
}
@@ -18276,15 +18745,15 @@
{
"type": "CommentLine",
"value": " thisPlayer.damagedBy[data.sentBy] += data.damage;",
- "start": 1413,
- "end": 1465,
+ "start": 1488,
+ "end": 1540,
"loc": {
"start": {
- "line": 38,
+ "line": 40,
"column": 2
},
"end": {
- "line": 38,
+ "line": 40,
"column": 54
}
}
@@ -18292,15 +18761,15 @@
{
"type": "CommentLine",
"value": " Check if the player has died.",
- "start": 1596,
- "end": 1628,
+ "start": 1671,
+ "end": 1703,
"loc": {
"start": {
- "line": 41,
+ "line": 43,
"column": 2
},
"end": {
- "line": 41,
+ "line": 43,
"column": 34
}
}
@@ -18308,15 +18777,15 @@
{
"type": "CommentLine",
"value": " console.log(thisRoom.teams.indexOf(socket.handshake.query.team));",
- "start": 1664,
- "end": 1732,
+ "start": 1739,
+ "end": 1807,
"loc": {
"start": {
- "line": 43,
+ "line": 45,
"column": 3
},
"end": {
- "line": 43,
+ "line": 45,
"column": 71
}
}
@@ -18324,31 +18793,47 @@
{
"type": "CommentLine",
"value": " Releases atoms and deletes the entire atoms array in player",
- "start": 1737,
- "end": 1799,
+ "start": 1812,
+ "end": 1874,
"loc": {
"start": {
- "line": 45,
+ "line": 47,
"column": 3
},
"end": {
- "line": 45,
+ "line": 47,
"column": 65
}
}
},
+ {
+ "type": "CommentLine",
+ "value": " Set defense to 0",
+ "start": 2201,
+ "end": 2220,
+ "loc": {
+ "start": {
+ "line": 57,
+ "column": 3
+ },
+ "end": {
+ "line": 57,
+ "column": 22
+ }
+ }
+ },
{
"type": "CommentLine",
"value": " Reset position to spawnpoint",
- "start": 2126,
- "end": 2157,
+ "start": 2291,
+ "end": 2322,
"loc": {
"start": {
- "line": 55,
+ "line": 60,
"column": 3
},
"end": {
- "line": 55,
+ "line": 60,
"column": 34
}
}
@@ -18356,15 +18841,15 @@
{
"type": "CommentLine",
"value": " This will be reset when it has been verified that the player has been placed at the proper spawnpoint",
- "start": 2603,
- "end": 2707,
+ "start": 2768,
+ "end": 2872,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 67
},
"end": {
- "line": 59,
+ "line": 64,
"column": 171
}
}
@@ -18372,15 +18857,15 @@
{
"type": "CommentLine",
"value": " Read damagedBy to award points, clear in the process",
- "start": 2947,
- "end": 3002,
+ "start": 3112,
+ "end": 3167,
"loc": {
"start": {
- "line": 67,
+ "line": 72,
"column": 4
},
"end": {
- "line": 67,
+ "line": 72,
"column": 59
}
}
@@ -18388,15 +18873,15 @@
{
"type": "CommentLine",
"value": " Add to team score, checking if team score is initialized",
- "start": 3269,
- "end": 3328,
+ "start": 3434,
+ "end": 3493,
"loc": {
"start": {
- "line": 78,
+ "line": 83,
"column": 5
},
"end": {
- "line": 78,
+ "line": 83,
"column": 64
}
}
@@ -18404,15 +18889,15 @@
{
"type": "CommentLine",
"value": " Add to score of person who dealt the most damage",
- "start": 3790,
- "end": 3841,
+ "start": 3955,
+ "end": 4006,
"loc": {
"start": {
- "line": 88,
+ "line": 93,
"column": 4
},
"end": {
- "line": 88,
+ "line": 93,
"column": 55
}
}
@@ -18420,15 +18905,15 @@
{
"type": "CommentLine",
"value": " Add to team score",
- "start": 4094,
- "end": 4114,
+ "start": 4259,
+ "end": 4279,
"loc": {
"start": {
- "line": 95,
+ "line": 100,
"column": 4
},
"end": {
- "line": 95,
+ "line": 100,
"column": 24
}
}
@@ -18436,15 +18921,15 @@
{
"type": "CommentLine",
"value": " Clear damagedBy values",
- "start": 4217,
- "end": 4242,
+ "start": 4382,
+ "end": 4407,
"loc": {
"start": {
- "line": 98,
+ "line": 103,
"column": 4
},
"end": {
- "line": 98,
+ "line": 103,
"column": 29
}
}
@@ -18452,15 +18937,15 @@
{
"type": "CommentLine",
"value": " Check if a team won",
- "start": 4372,
- "end": 4394,
+ "start": 4537,
+ "end": 4559,
"loc": {
"start": {
- "line": 103,
+ "line": 108,
"column": 4
},
"end": {
- "line": 103,
+ "line": 108,
"column": 26
}
}
@@ -18468,15 +18953,15 @@
{
"type": "CommentLine",
"value": " Possible winning teams",
- "start": 4419,
- "end": 4444,
+ "start": 4584,
+ "end": 4609,
"loc": {
"start": {
- "line": 104,
+ "line": 109,
"column": 24
},
"end": {
- "line": 104,
+ "line": 109,
"column": 49
}
}
@@ -18484,15 +18969,15 @@
{
"type": "CommentLine",
"value": " teamScore: thisRoom.teams[dataToSend.teamSlot].score",
- "start": 4793,
- "end": 4848,
+ "start": 4958,
+ "end": 5013,
"loc": {
"start": {
- "line": 118,
+ "line": 123,
"column": 7
},
"end": {
- "line": 118,
+ "line": 123,
"column": 62
}
}
@@ -18500,15 +18985,15 @@
{
"type": "CommentLine",
"value": " other data here TODO post ranking",
- "start": 4856,
- "end": 4892,
+ "start": 5021,
+ "end": 5057,
"loc": {
"start": {
- "line": 119,
+ "line": 124,
"column": 7
},
"end": {
- "line": 119,
+ "line": 124,
"column": 43
}
}
@@ -18516,15 +19001,15 @@
{
"type": "CommentLine",
"value": " Close room after delay (kick all players)",
- "start": 5027,
- "end": 5071,
+ "start": 5192,
+ "end": 5236,
"loc": {
"start": {
- "line": 124,
+ "line": 129,
"column": 6
},
"end": {
- "line": 124,
+ "line": 129,
"column": 50
}
}
@@ -18532,15 +19017,15 @@
{
"type": "CommentLine",
"value": " console.log('tile ' + tileID + ' is now at ' + getField(['rooms', room, 'tiles', tileID, 'health']))",
- "start": 5534,
- "end": 5637,
+ "start": 5699,
+ "end": 5802,
"loc": {
"start": {
- "line": 142,
+ "line": 147,
"column": 1
},
"end": {
- "line": 142,
+ "line": 147,
"column": 104
}
}
@@ -18548,15 +19033,15 @@
{
"type": "CommentLine",
"value": " Check if tile is fully captured",
- "start": 5952,
- "end": 5986,
+ "start": 6117,
+ "end": 6151,
"loc": {
"start": {
- "line": 151,
+ "line": 156,
"column": 1
},
"end": {
- "line": 151,
+ "line": 156,
"column": 35
}
}
@@ -18564,15 +19049,15 @@
{
"type": "CommentLine",
"value": " Notify clients of texture change",
- "start": 6199,
- "end": 6234,
+ "start": 6364,
+ "end": 6399,
"loc": {
"start": {
- "line": 155,
+ "line": 160,
"column": 4
},
"end": {
- "line": 155,
+ "line": 160,
"column": 39
}
}
@@ -18580,15 +19065,15 @@
{
"type": "CommentLine",
"value": " Set capture status",
- "start": 6895,
- "end": 6916,
+ "start": 7060,
+ "end": 7081,
"loc": {
"start": {
- "line": 170,
+ "line": 175,
"column": 4
},
"end": {
- "line": 170,
+ "line": 175,
"column": 25
}
}
@@ -18596,15 +19081,15 @@
{
"type": "CommentLine",
"value": " Distribute points",
- "start": 7097,
- "end": 7117,
+ "start": 7262,
+ "end": 7282,
"loc": {
"start": {
- "line": 174,
+ "line": 179,
"column": 4
},
"end": {
- "line": 174,
+ "line": 179,
"column": 24
}
}
@@ -18612,15 +19097,15 @@
{
"type": "CommentLine",
"value": " Reset health",
- "start": 7202,
- "end": 7217,
+ "start": 7367,
+ "end": 7382,
"loc": {
"start": {
- "line": 177,
+ "line": 182,
"column": 4
},
"end": {
- "line": 177,
+ "line": 182,
"column": 19
}
}
@@ -18628,15 +19113,15 @@
{
"type": "CommentBlock",
"value": "*\n * TODO\n ",
- "start": 7736,
- "end": 7751,
+ "start": 7901,
+ "end": 7916,
"loc": {
"start": {
- "line": 192,
+ "line": 197,
"column": 0
},
"end": {
- "line": 194,
+ "line": 199,
"column": 3
}
}
@@ -20627,19 +21112,21 @@
},
{
"type": {
- "label": "name",
+ "label": "if",
+ "keyword": "if",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "setField",
+ "value": "if",
"start": 1146,
- "end": 1154,
+ "end": 1148,
"loc": {
"start": {
"line": 32,
@@ -20647,7 +21134,7 @@
},
"end": {
"line": 32,
- "column": 10
+ "column": 4
}
}
},
@@ -20663,16 +21150,16 @@
"postfix": false,
"binop": null
},
- "start": 1154,
- "end": 1155,
+ "start": 1149,
+ "end": 1150,
"loc": {
"start": {
"line": 32,
- "column": 10
+ "column": 5
},
"end": {
"line": 32,
- "column": 11
+ "column": 6
}
}
},
@@ -20688,17 +21175,17 @@
"postfix": false,
"binop": null
},
- "value": "thisPlayer",
- "start": 1155,
- "end": 1165,
+ "value": "data",
+ "start": 1150,
+ "end": 1154,
"loc": {
"start": {
"line": 32,
- "column": 11
+ "column": 6
},
"end": {
"line": 32,
- "column": 21
+ "column": 10
}
}
},
@@ -20715,16 +21202,16 @@
"binop": null,
"updateContext": null
},
- "start": 1165,
- "end": 1166,
+ "start": 1154,
+ "end": 1155,
"loc": {
"start": {
"line": 32,
- "column": 21
+ "column": 10
},
"end": {
"line": 32,
- "column": 22
+ "column": 11
}
}
},
@@ -20740,44 +21227,44 @@
"postfix": false,
"binop": null
},
- "value": "health",
- "start": 1166,
- "end": 1172,
+ "value": "damage",
+ "start": 1155,
+ "end": 1161,
"loc": {
"start": {
"line": 32,
- "column": 22
+ "column": 11
},
"end": {
"line": 32,
- "column": 28
+ "column": 17
}
}
},
{
"type": {
- "label": "+/-",
+ "label": ">",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
- "prefix": true,
+ "prefix": false,
"postfix": false,
- "binop": 9,
+ "binop": 7,
"updateContext": null
},
- "value": "-",
- "start": 1173,
- "end": 1174,
+ "value": ">",
+ "start": 1162,
+ "end": 1163,
"loc": {
"start": {
"line": 32,
- "column": 29
+ "column": 18
},
"end": {
"line": 32,
- "column": 30
+ "column": 19
}
}
},
@@ -20793,17 +21280,17 @@
"postfix": false,
"binop": null
},
- "value": "data",
- "start": 1175,
- "end": 1179,
+ "value": "GLOBAL",
+ "start": 1164,
+ "end": 1170,
"loc": {
"start": {
"line": 32,
- "column": 31
+ "column": 20
},
"end": {
"line": 32,
- "column": 35
+ "column": 26
}
}
},
@@ -20820,16 +21307,16 @@
"binop": null,
"updateContext": null
},
- "start": 1179,
- "end": 1180,
+ "start": 1170,
+ "end": 1171,
"loc": {
"start": {
"line": 32,
- "column": 35
+ "column": 26
},
"end": {
"line": 32,
- "column": 36
+ "column": 27
}
}
},
@@ -20845,49 +21332,48 @@
"postfix": false,
"binop": null
},
- "value": "damage",
- "start": 1180,
- "end": 1186,
+ "value": "STRONGHOLD_DEFENSE",
+ "start": 1171,
+ "end": 1189,
"loc": {
"start": {
"line": 32,
- "column": 36
+ "column": 27
},
"end": {
"line": 32,
- "column": 42
+ "column": 45
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
+ "label": ")",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1186,
- "end": 1187,
+ "start": 1189,
+ "end": 1190,
"loc": {
"start": {
"line": 32,
- "column": 42
+ "column": 45
},
"end": {
"line": 32,
- "column": 43
+ "column": 46
}
}
},
{
"type": {
- "label": "[",
+ "label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
@@ -20895,25 +21381,24 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1188,
- "end": 1189,
+ "start": 1191,
+ "end": 1192,
"loc": {
"start": {
"line": 32,
- "column": 44
+ "column": 47
},
"end": {
"line": 32,
- "column": 45
+ "column": 48
}
}
},
{
"type": {
- "label": "string",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -20921,46 +21406,44 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "rooms",
- "start": 1189,
- "end": 1196,
+ "value": "setField",
+ "start": 1196,
+ "end": 1204,
"loc": {
"start": {
- "line": 32,
- "column": 45
+ "line": 33,
+ "column": 3
},
"end": {
- "line": 32,
- "column": 52
+ "line": 33,
+ "column": 11
}
}
},
{
"type": {
- "label": ",",
+ "label": "(",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1196,
- "end": 1197,
+ "start": 1204,
+ "end": 1205,
"loc": {
"start": {
- "line": 32,
- "column": 52
+ "line": 33,
+ "column": 11
},
"end": {
- "line": 32,
- "column": 53
+ "line": 33,
+ "column": 12
}
}
},
@@ -20976,24 +21459,24 @@
"postfix": false,
"binop": null
},
- "value": "room",
- "start": 1198,
- "end": 1202,
+ "value": "thisPlayer",
+ "start": 1205,
+ "end": 1215,
"loc": {
"start": {
- "line": 32,
- "column": 54
+ "line": 33,
+ "column": 12
},
"end": {
- "line": 32,
- "column": 58
+ "line": 33,
+ "column": 22
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -21003,22 +21486,22 @@
"binop": null,
"updateContext": null
},
- "start": 1202,
- "end": 1203,
+ "start": 1215,
+ "end": 1216,
"loc": {
"start": {
- "line": 32,
- "column": 58
+ "line": 33,
+ "column": 22
},
"end": {
- "line": 32,
- "column": 59
+ "line": 33,
+ "column": 23
}
}
},
{
"type": {
- "label": "string",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -21026,46 +21509,46 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "players",
- "start": 1204,
- "end": 1213,
+ "value": "health",
+ "start": 1216,
+ "end": 1222,
"loc": {
"start": {
- "line": 32,
- "column": 60
+ "line": 33,
+ "column": 23
},
"end": {
- "line": 32,
- "column": 69
+ "line": 33,
+ "column": 29
}
}
},
{
"type": {
- "label": ",",
+ "label": "+/-",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
- "prefix": false,
+ "prefix": true,
"postfix": false,
- "binop": null,
+ "binop": 9,
"updateContext": null
},
- "start": 1213,
- "end": 1214,
+ "value": "-",
+ "start": 1223,
+ "end": 1224,
"loc": {
"start": {
- "line": 32,
- "column": 69
+ "line": 33,
+ "column": 30
},
"end": {
- "line": 32,
- "column": 70
+ "line": 33,
+ "column": 31
}
}
},
@@ -21082,16 +21565,16 @@
"binop": null
},
"value": "data",
- "start": 1215,
- "end": 1219,
+ "start": 1225,
+ "end": 1229,
"loc": {
"start": {
- "line": 32,
- "column": 71
+ "line": 33,
+ "column": 32
},
"end": {
- "line": 32,
- "column": 75
+ "line": 33,
+ "column": 36
}
}
},
@@ -21108,16 +21591,16 @@
"binop": null,
"updateContext": null
},
- "start": 1219,
- "end": 1220,
+ "start": 1229,
+ "end": 1230,
"loc": {
"start": {
- "line": 32,
- "column": 75
+ "line": 33,
+ "column": 36
},
"end": {
- "line": 32,
- "column": 76
+ "line": 33,
+ "column": 37
}
}
},
@@ -21133,49 +21616,50 @@
"postfix": false,
"binop": null
},
- "value": "player",
- "start": 1220,
- "end": 1226,
+ "value": "damage",
+ "start": 1230,
+ "end": 1236,
"loc": {
"start": {
- "line": 32,
- "column": 76
+ "line": 33,
+ "column": 37
},
"end": {
- "line": 32,
- "column": 82
+ "line": 33,
+ "column": 43
}
}
},
{
"type": {
- "label": ",",
+ "label": "+/-",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
- "prefix": false,
+ "prefix": true,
"postfix": false,
- "binop": null,
+ "binop": 9,
"updateContext": null
},
- "start": 1226,
- "end": 1227,
+ "value": "-",
+ "start": 1237,
+ "end": 1238,
"loc": {
"start": {
- "line": 32,
- "column": 82
+ "line": 33,
+ "column": 44
},
"end": {
- "line": 32,
- "column": 83
+ "line": 33,
+ "column": 45
}
}
},
{
"type": {
- "label": "string",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -21183,26 +21667,25 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "health",
- "start": 1228,
- "end": 1236,
+ "value": "thisPlayer",
+ "start": 1239,
+ "end": 1249,
"loc": {
"start": {
- "line": 32,
- "column": 84
+ "line": 33,
+ "column": 46
},
"end": {
- "line": 32,
- "column": 92
+ "line": 33,
+ "column": 56
}
}
},
{
"type": {
- "label": "]",
+ "label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -21213,24 +21696,24 @@
"binop": null,
"updateContext": null
},
- "start": 1236,
- "end": 1237,
+ "start": 1249,
+ "end": 1250,
"loc": {
"start": {
- "line": 32,
- "column": 92
+ "line": 33,
+ "column": 56
},
"end": {
- "line": 32,
- "column": 93
+ "line": 33,
+ "column": 57
}
}
},
{
"type": {
- "label": ")",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -21238,40 +21721,24 @@
"postfix": false,
"binop": null
},
- "start": 1237,
- "end": 1238,
- "loc": {
- "start": {
- "line": 32,
- "column": 93
- },
- "end": {
- "line": 32,
- "column": 94
- }
- }
- },
- {
- "type": "CommentLine",
- "value": " Add damage to database",
- "start": 1242,
- "end": 1267,
+ "value": "defense",
+ "start": 1250,
+ "end": 1257,
"loc": {
"start": {
- "line": 34,
- "column": 2
+ "line": 33,
+ "column": 57
},
"end": {
- "line": 34,
- "column": 27
+ "line": 33,
+ "column": 64
}
}
},
{
"type": {
- "label": "if",
- "keyword": "if",
- "beforeExpr": false,
+ "label": ",",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -21281,23 +21748,22 @@
"binop": null,
"updateContext": null
},
- "value": "if",
- "start": 1270,
- "end": 1272,
+ "start": 1257,
+ "end": 1258,
"loc": {
"start": {
- "line": 35,
- "column": 2
+ "line": 33,
+ "column": 64
},
"end": {
- "line": 35,
- "column": 4
+ "line": 33,
+ "column": 65
}
}
},
{
"type": {
- "label": "(",
+ "label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
@@ -21305,24 +21771,25 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1273,
- "end": 1274,
+ "start": 1259,
+ "end": 1260,
"loc": {
"start": {
- "line": 35,
- "column": 5
+ "line": 33,
+ "column": 66
},
"end": {
- "line": 35,
- "column": 6
+ "line": 33,
+ "column": 67
}
}
},
{
"type": {
- "label": "name",
+ "label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -21330,26 +21797,27 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "thisPlayer",
- "start": 1274,
- "end": 1284,
+ "value": "rooms",
+ "start": 1260,
+ "end": 1267,
"loc": {
"start": {
- "line": 35,
- "column": 6
+ "line": 33,
+ "column": 67
},
"end": {
- "line": 35,
- "column": 16
+ "line": 33,
+ "column": 74
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
+ "label": ",",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -21359,16 +21827,16 @@
"binop": null,
"updateContext": null
},
- "start": 1284,
- "end": 1285,
+ "start": 1267,
+ "end": 1268,
"loc": {
"start": {
- "line": 35,
- "column": 16
+ "line": 33,
+ "column": 74
},
"end": {
- "line": 35,
- "column": 17
+ "line": 33,
+ "column": 75
}
}
},
@@ -21384,25 +21852,25 @@
"postfix": false,
"binop": null
},
- "value": "damagedBy",
- "start": 1285,
- "end": 1294,
+ "value": "room",
+ "start": 1269,
+ "end": 1273,
"loc": {
"start": {
- "line": 35,
- "column": 17
+ "line": 33,
+ "column": 76
},
"end": {
- "line": 35,
- "column": 26
+ "line": 33,
+ "column": 80
}
}
},
{
"type": {
- "label": "[",
+ "label": ",",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -21411,22 +21879,22 @@
"binop": null,
"updateContext": null
},
- "start": 1294,
- "end": 1295,
+ "start": 1273,
+ "end": 1274,
"loc": {
"start": {
- "line": 35,
- "column": 26
+ "line": 33,
+ "column": 80
},
"end": {
- "line": 35,
- "column": 27
+ "line": 33,
+ "column": 81
}
}
},
{
"type": {
- "label": "name",
+ "label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -21434,26 +21902,27 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "data",
- "start": 1295,
- "end": 1299,
+ "value": "players",
+ "start": 1275,
+ "end": 1284,
"loc": {
"start": {
- "line": 35,
- "column": 27
+ "line": 33,
+ "column": 82
},
"end": {
- "line": 35,
- "column": 31
+ "line": 33,
+ "column": 91
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
+ "label": ",",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -21463,16 +21932,16 @@
"binop": null,
"updateContext": null
},
- "start": 1299,
- "end": 1300,
+ "start": 1284,
+ "end": 1285,
"loc": {
"start": {
- "line": 35,
- "column": 31
+ "line": 33,
+ "column": 91
},
"end": {
- "line": 35,
- "column": 32
+ "line": 33,
+ "column": 92
}
}
},
@@ -21488,16 +21957,448 @@
"postfix": false,
"binop": null
},
- "value": "sentBy",
- "start": 1300,
- "end": 1306,
+ "value": "data",
+ "start": 1286,
+ "end": 1290,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 93
+ },
+ "end": {
+ "line": 33,
+ "column": 97
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1290,
+ "end": 1291,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 97
+ },
+ "end": {
+ "line": 33,
+ "column": 98
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "player",
+ "start": 1291,
+ "end": 1297,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 98
+ },
+ "end": {
+ "line": 33,
+ "column": 104
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1297,
+ "end": 1298,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 104
+ },
+ "end": {
+ "line": 33,
+ "column": 105
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "health",
+ "start": 1299,
+ "end": 1307,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 106
+ },
+ "end": {
+ "line": 33,
+ "column": 114
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "]",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1307,
+ "end": 1308,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 114
+ },
+ "end": {
+ "line": 33,
+ "column": 115
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1308,
+ "end": 1309,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 115
+ },
+ "end": {
+ "line": 33,
+ "column": 116
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1312,
+ "end": 1313,
+ "loc": {
+ "start": {
+ "line": 34,
+ "column": 2
+ },
+ "end": {
+ "line": 34,
+ "column": 3
+ }
+ }
+ },
+ {
+ "type": "CommentLine",
+ "value": " Add damage to database",
+ "start": 1317,
+ "end": 1342,
+ "loc": {
+ "start": {
+ "line": 36,
+ "column": 2
+ },
+ "end": {
+ "line": 36,
+ "column": 27
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "if",
+ "keyword": "if",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "if",
+ "start": 1345,
+ "end": 1347,
+ "loc": {
+ "start": {
+ "line": 37,
+ "column": 2
+ },
+ "end": {
+ "line": 37,
+ "column": 4
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1348,
+ "end": 1349,
+ "loc": {
+ "start": {
+ "line": 37,
+ "column": 5
+ },
+ "end": {
+ "line": 37,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "thisPlayer",
+ "start": 1349,
+ "end": 1359,
+ "loc": {
+ "start": {
+ "line": 37,
+ "column": 6
+ },
+ "end": {
+ "line": 37,
+ "column": 16
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1359,
+ "end": 1360,
+ "loc": {
+ "start": {
+ "line": 37,
+ "column": 16
+ },
+ "end": {
+ "line": 37,
+ "column": 17
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "damagedBy",
+ "start": 1360,
+ "end": 1369,
+ "loc": {
+ "start": {
+ "line": 37,
+ "column": 17
+ },
+ "end": {
+ "line": 37,
+ "column": 26
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "[",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1369,
+ "end": 1370,
+ "loc": {
+ "start": {
+ "line": 37,
+ "column": 26
+ },
+ "end": {
+ "line": 37,
+ "column": 27
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "data",
+ "start": 1370,
+ "end": 1374,
+ "loc": {
+ "start": {
+ "line": 37,
+ "column": 27
+ },
+ "end": {
+ "line": 37,
+ "column": 31
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1374,
+ "end": 1375,
+ "loc": {
+ "start": {
+ "line": 37,
+ "column": 31
+ },
+ "end": {
+ "line": 37,
+ "column": 32
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "sentBy",
+ "start": 1375,
+ "end": 1381,
"loc": {
"start": {
- "line": 35,
+ "line": 37,
"column": 32
},
"end": {
- "line": 35,
+ "line": 37,
"column": 38
}
}
@@ -21515,15 +22416,15 @@
"binop": null,
"updateContext": null
},
- "start": 1306,
- "end": 1307,
+ "start": 1381,
+ "end": 1382,
"loc": {
"start": {
- "line": 35,
+ "line": 37,
"column": 38
},
"end": {
- "line": 35,
+ "line": 37,
"column": 39
}
}
@@ -21542,15 +22443,15 @@
"updateContext": null
},
"value": "===",
- "start": 1308,
- "end": 1311,
+ "start": 1383,
+ "end": 1386,
"loc": {
"start": {
- "line": 35,
+ "line": 37,
"column": 40
},
"end": {
- "line": 35,
+ "line": 37,
"column": 43
}
}
@@ -21568,15 +22469,15 @@
"binop": null
},
"value": "undefined",
- "start": 1312,
- "end": 1321,
+ "start": 1387,
+ "end": 1396,
"loc": {
"start": {
- "line": 35,
+ "line": 37,
"column": 44
},
"end": {
- "line": 35,
+ "line": 37,
"column": 53
}
}
@@ -21593,15 +22494,15 @@
"postfix": false,
"binop": null
},
- "start": 1321,
- "end": 1322,
+ "start": 1396,
+ "end": 1397,
"loc": {
"start": {
- "line": 35,
+ "line": 37,
"column": 53
},
"end": {
- "line": 35,
+ "line": 37,
"column": 54
}
}
@@ -21618,15 +22519,15 @@
"postfix": false,
"binop": null
},
- "start": 1323,
- "end": 1324,
+ "start": 1398,
+ "end": 1399,
"loc": {
"start": {
- "line": 35,
+ "line": 37,
"column": 55
},
"end": {
- "line": 35,
+ "line": 37,
"column": 56
}
}
@@ -21644,15 +22545,15 @@
"binop": null
},
"value": "setField",
- "start": 1328,
- "end": 1336,
+ "start": 1403,
+ "end": 1411,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 3
},
"end": {
- "line": 36,
+ "line": 38,
"column": 11
}
}
@@ -21669,15 +22570,15 @@
"postfix": false,
"binop": null
},
- "start": 1336,
- "end": 1337,
+ "start": 1411,
+ "end": 1412,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 11
},
"end": {
- "line": 36,
+ "line": 38,
"column": 12
}
}
@@ -21696,15 +22597,15 @@
"updateContext": null
},
"value": 0,
- "start": 1337,
- "end": 1338,
+ "start": 1412,
+ "end": 1413,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 12
},
"end": {
- "line": 36,
+ "line": 38,
"column": 13
}
}
@@ -21722,15 +22623,15 @@
"binop": null,
"updateContext": null
},
- "start": 1338,
- "end": 1339,
+ "start": 1413,
+ "end": 1414,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 13
},
"end": {
- "line": 36,
+ "line": 38,
"column": 14
}
}
@@ -21748,15 +22649,15 @@
"binop": null,
"updateContext": null
},
- "start": 1340,
- "end": 1341,
+ "start": 1415,
+ "end": 1416,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 15
},
"end": {
- "line": 36,
+ "line": 38,
"column": 16
}
}
@@ -21775,15 +22676,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 1341,
- "end": 1348,
+ "start": 1416,
+ "end": 1423,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 16
},
"end": {
- "line": 36,
+ "line": 38,
"column": 23
}
}
@@ -21801,15 +22702,15 @@
"binop": null,
"updateContext": null
},
- "start": 1348,
- "end": 1349,
+ "start": 1423,
+ "end": 1424,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 23
},
"end": {
- "line": 36,
+ "line": 38,
"column": 24
}
}
@@ -21827,15 +22728,15 @@
"binop": null
},
"value": "room",
- "start": 1350,
- "end": 1354,
+ "start": 1425,
+ "end": 1429,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 25
},
"end": {
- "line": 36,
+ "line": 38,
"column": 29
}
}
@@ -21853,15 +22754,15 @@
"binop": null,
"updateContext": null
},
- "start": 1354,
- "end": 1355,
+ "start": 1429,
+ "end": 1430,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 29
},
"end": {
- "line": 36,
+ "line": 38,
"column": 30
}
}
@@ -21880,15 +22781,15 @@
"updateContext": null
},
"value": "players",
- "start": 1356,
- "end": 1365,
+ "start": 1431,
+ "end": 1440,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 31
},
"end": {
- "line": 36,
+ "line": 38,
"column": 40
}
}
@@ -21906,15 +22807,15 @@
"binop": null,
"updateContext": null
},
- "start": 1365,
- "end": 1366,
+ "start": 1440,
+ "end": 1441,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 40
},
"end": {
- "line": 36,
+ "line": 38,
"column": 41
}
}
@@ -21932,15 +22833,15 @@
"binop": null
},
"value": "data",
- "start": 1367,
- "end": 1371,
+ "start": 1442,
+ "end": 1446,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 42
},
"end": {
- "line": 36,
+ "line": 38,
"column": 46
}
}
@@ -21958,15 +22859,15 @@
"binop": null,
"updateContext": null
},
- "start": 1371,
- "end": 1372,
+ "start": 1446,
+ "end": 1447,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 46
},
"end": {
- "line": 36,
+ "line": 38,
"column": 47
}
}
@@ -21984,15 +22885,15 @@
"binop": null
},
"value": "player",
- "start": 1372,
- "end": 1378,
+ "start": 1447,
+ "end": 1453,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 47
},
"end": {
- "line": 36,
+ "line": 38,
"column": 53
}
}
@@ -22010,15 +22911,15 @@
"binop": null,
"updateContext": null
},
- "start": 1378,
- "end": 1379,
+ "start": 1453,
+ "end": 1454,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 53
},
"end": {
- "line": 36,
+ "line": 38,
"column": 54
}
}
@@ -22037,15 +22938,15 @@
"updateContext": null
},
"value": "damagedBy",
- "start": 1380,
- "end": 1391,
+ "start": 1455,
+ "end": 1466,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 55
},
"end": {
- "line": 36,
+ "line": 38,
"column": 66
}
}
@@ -22063,15 +22964,15 @@
"binop": null,
"updateContext": null
},
- "start": 1391,
- "end": 1392,
+ "start": 1466,
+ "end": 1467,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 66
},
"end": {
- "line": 36,
+ "line": 38,
"column": 67
}
}
@@ -22089,15 +22990,15 @@
"binop": null
},
"value": "data",
- "start": 1393,
- "end": 1397,
+ "start": 1468,
+ "end": 1472,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 68
},
"end": {
- "line": 36,
+ "line": 38,
"column": 72
}
}
@@ -22115,15 +23016,15 @@
"binop": null,
"updateContext": null
},
- "start": 1397,
- "end": 1398,
+ "start": 1472,
+ "end": 1473,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 72
},
"end": {
- "line": 36,
+ "line": 38,
"column": 73
}
}
@@ -22141,15 +23042,15 @@
"binop": null
},
"value": "sentBy",
- "start": 1398,
- "end": 1404,
+ "start": 1473,
+ "end": 1479,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 73
},
"end": {
- "line": 36,
+ "line": 38,
"column": 79
}
}
@@ -22167,15 +23068,15 @@
"binop": null,
"updateContext": null
},
- "start": 1404,
- "end": 1405,
+ "start": 1479,
+ "end": 1480,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 79
},
"end": {
- "line": 36,
+ "line": 38,
"column": 80
}
}
@@ -22192,15 +23093,15 @@
"postfix": false,
"binop": null
},
- "start": 1405,
- "end": 1406,
+ "start": 1480,
+ "end": 1481,
"loc": {
"start": {
- "line": 36,
+ "line": 38,
"column": 80
},
"end": {
- "line": 36,
+ "line": 38,
"column": 81
}
}
@@ -22217,15 +23118,15 @@
"postfix": false,
"binop": null
},
- "start": 1409,
- "end": 1410,
+ "start": 1484,
+ "end": 1485,
"loc": {
"start": {
- "line": 37,
+ "line": 39,
"column": 2
},
"end": {
- "line": 37,
+ "line": 39,
"column": 3
}
}
@@ -22233,15 +23134,15 @@
{
"type": "CommentLine",
"value": " thisPlayer.damagedBy[data.sentBy] += data.damage;",
- "start": 1413,
- "end": 1465,
+ "start": 1488,
+ "end": 1540,
"loc": {
"start": {
- "line": 38,
+ "line": 40,
"column": 2
},
"end": {
- "line": 38,
+ "line": 40,
"column": 54
}
}
@@ -22259,15 +23160,15 @@
"binop": null
},
"value": "setField",
- "start": 1468,
- "end": 1476,
+ "start": 1543,
+ "end": 1551,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 2
},
"end": {
- "line": 39,
+ "line": 41,
"column": 10
}
}
@@ -22284,15 +23185,15 @@
"postfix": false,
"binop": null
},
- "start": 1476,
- "end": 1477,
+ "start": 1551,
+ "end": 1552,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 10
},
"end": {
- "line": 39,
+ "line": 41,
"column": 11
}
}
@@ -22310,15 +23211,15 @@
"binop": null
},
"value": "thisPlayer",
- "start": 1477,
- "end": 1487,
+ "start": 1552,
+ "end": 1562,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 11
},
"end": {
- "line": 39,
+ "line": 41,
"column": 21
}
}
@@ -22336,15 +23237,15 @@
"binop": null,
"updateContext": null
},
- "start": 1487,
- "end": 1488,
+ "start": 1562,
+ "end": 1563,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 21
},
"end": {
- "line": 39,
+ "line": 41,
"column": 22
}
}
@@ -22362,15 +23263,15 @@
"binop": null
},
"value": "damagedBy",
- "start": 1488,
- "end": 1497,
+ "start": 1563,
+ "end": 1572,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 22
},
"end": {
- "line": 39,
+ "line": 41,
"column": 31
}
}
@@ -22388,15 +23289,15 @@
"binop": null,
"updateContext": null
},
- "start": 1497,
- "end": 1498,
+ "start": 1572,
+ "end": 1573,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 31
},
"end": {
- "line": 39,
+ "line": 41,
"column": 32
}
}
@@ -22414,15 +23315,15 @@
"binop": null
},
"value": "data",
- "start": 1498,
- "end": 1502,
+ "start": 1573,
+ "end": 1577,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 32
},
"end": {
- "line": 39,
+ "line": 41,
"column": 36
}
}
@@ -22440,15 +23341,15 @@
"binop": null,
"updateContext": null
},
- "start": 1502,
- "end": 1503,
+ "start": 1577,
+ "end": 1578,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 36
},
"end": {
- "line": 39,
+ "line": 41,
"column": 37
}
}
@@ -22466,15 +23367,15 @@
"binop": null
},
"value": "sentBy",
- "start": 1503,
- "end": 1509,
+ "start": 1578,
+ "end": 1584,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 37
},
"end": {
- "line": 39,
+ "line": 41,
"column": 43
}
}
@@ -22492,15 +23393,15 @@
"binop": null,
"updateContext": null
},
- "start": 1509,
- "end": 1510,
+ "start": 1584,
+ "end": 1585,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 43
},
"end": {
- "line": 39,
+ "line": 41,
"column": 44
}
}
@@ -22519,15 +23420,15 @@
"updateContext": null
},
"value": "+",
- "start": 1511,
- "end": 1512,
+ "start": 1586,
+ "end": 1587,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 45
},
"end": {
- "line": 39,
+ "line": 41,
"column": 46
}
}
@@ -22545,15 +23446,15 @@
"binop": null
},
"value": "data",
- "start": 1513,
- "end": 1517,
+ "start": 1588,
+ "end": 1592,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 47
},
"end": {
- "line": 39,
+ "line": 41,
"column": 51
}
}
@@ -22571,15 +23472,15 @@
"binop": null,
"updateContext": null
},
- "start": 1517,
- "end": 1518,
+ "start": 1592,
+ "end": 1593,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 51
},
"end": {
- "line": 39,
+ "line": 41,
"column": 52
}
}
@@ -22597,15 +23498,15 @@
"binop": null
},
"value": "damage",
- "start": 1518,
- "end": 1524,
+ "start": 1593,
+ "end": 1599,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 52
},
"end": {
- "line": 39,
+ "line": 41,
"column": 58
}
}
@@ -22623,15 +23524,15 @@
"binop": null,
"updateContext": null
},
- "start": 1524,
- "end": 1525,
+ "start": 1599,
+ "end": 1600,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 58
},
"end": {
- "line": 39,
+ "line": 41,
"column": 59
}
}
@@ -22649,15 +23550,15 @@
"binop": null,
"updateContext": null
},
- "start": 1526,
- "end": 1527,
+ "start": 1601,
+ "end": 1602,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 60
},
"end": {
- "line": 39,
+ "line": 41,
"column": 61
}
}
@@ -22676,15 +23577,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 1527,
- "end": 1534,
+ "start": 1602,
+ "end": 1609,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 61
},
"end": {
- "line": 39,
+ "line": 41,
"column": 68
}
}
@@ -22702,15 +23603,15 @@
"binop": null,
"updateContext": null
},
- "start": 1534,
- "end": 1535,
+ "start": 1609,
+ "end": 1610,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 68
},
"end": {
- "line": 39,
+ "line": 41,
"column": 69
}
}
@@ -22728,15 +23629,15 @@
"binop": null
},
"value": "room",
- "start": 1536,
- "end": 1540,
+ "start": 1611,
+ "end": 1615,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 70
},
"end": {
- "line": 39,
+ "line": 41,
"column": 74
}
}
@@ -22754,15 +23655,15 @@
"binop": null,
"updateContext": null
},
- "start": 1540,
- "end": 1541,
+ "start": 1615,
+ "end": 1616,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 74
},
"end": {
- "line": 39,
+ "line": 41,
"column": 75
}
}
@@ -22781,15 +23682,15 @@
"updateContext": null
},
"value": "players",
- "start": 1542,
- "end": 1551,
+ "start": 1617,
+ "end": 1626,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 76
},
"end": {
- "line": 39,
+ "line": 41,
"column": 85
}
}
@@ -22807,15 +23708,15 @@
"binop": null,
"updateContext": null
},
- "start": 1551,
- "end": 1552,
+ "start": 1626,
+ "end": 1627,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 85
},
"end": {
- "line": 39,
+ "line": 41,
"column": 86
}
}
@@ -22833,15 +23734,15 @@
"binop": null
},
"value": "data",
- "start": 1553,
- "end": 1557,
+ "start": 1628,
+ "end": 1632,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 87
},
"end": {
- "line": 39,
+ "line": 41,
"column": 91
}
}
@@ -22859,15 +23760,15 @@
"binop": null,
"updateContext": null
},
- "start": 1557,
- "end": 1558,
+ "start": 1632,
+ "end": 1633,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 91
},
"end": {
- "line": 39,
+ "line": 41,
"column": 92
}
}
@@ -22885,15 +23786,15 @@
"binop": null
},
"value": "player",
- "start": 1558,
- "end": 1564,
+ "start": 1633,
+ "end": 1639,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 92
},
"end": {
- "line": 39,
+ "line": 41,
"column": 98
}
}
@@ -22911,15 +23812,15 @@
"binop": null,
"updateContext": null
},
- "start": 1564,
- "end": 1565,
+ "start": 1639,
+ "end": 1640,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 98
},
"end": {
- "line": 39,
+ "line": 41,
"column": 99
}
}
@@ -22938,15 +23839,15 @@
"updateContext": null
},
"value": "damagedBy",
- "start": 1566,
- "end": 1577,
+ "start": 1641,
+ "end": 1652,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 100
},
"end": {
- "line": 39,
+ "line": 41,
"column": 111
}
}
@@ -22964,15 +23865,15 @@
"binop": null,
"updateContext": null
},
- "start": 1577,
- "end": 1578,
+ "start": 1652,
+ "end": 1653,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 111
},
"end": {
- "line": 39,
+ "line": 41,
"column": 112
}
}
@@ -22990,15 +23891,15 @@
"binop": null
},
"value": "data",
- "start": 1579,
- "end": 1583,
+ "start": 1654,
+ "end": 1658,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 113
},
"end": {
- "line": 39,
+ "line": 41,
"column": 117
}
}
@@ -23016,15 +23917,15 @@
"binop": null,
"updateContext": null
},
- "start": 1583,
- "end": 1584,
+ "start": 1658,
+ "end": 1659,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 117
},
"end": {
- "line": 39,
+ "line": 41,
"column": 118
}
}
@@ -23042,15 +23943,15 @@
"binop": null
},
"value": "sentBy",
- "start": 1584,
- "end": 1590,
+ "start": 1659,
+ "end": 1665,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 118
},
"end": {
- "line": 39,
+ "line": 41,
"column": 124
}
}
@@ -23068,15 +23969,15 @@
"binop": null,
"updateContext": null
},
- "start": 1590,
- "end": 1591,
+ "start": 1665,
+ "end": 1666,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 124
},
"end": {
- "line": 39,
+ "line": 41,
"column": 125
}
}
@@ -23093,15 +23994,15 @@
"postfix": false,
"binop": null
},
- "start": 1591,
- "end": 1592,
+ "start": 1666,
+ "end": 1667,
"loc": {
"start": {
- "line": 39,
+ "line": 41,
"column": 125
},
"end": {
- "line": 39,
+ "line": 41,
"column": 126
}
}
@@ -23109,15 +24010,15 @@
{
"type": "CommentLine",
"value": " Check if the player has died.",
- "start": 1596,
- "end": 1628,
+ "start": 1671,
+ "end": 1703,
"loc": {
"start": {
- "line": 41,
+ "line": 43,
"column": 2
},
"end": {
- "line": 41,
+ "line": 43,
"column": 34
}
}
@@ -23137,15 +24038,15 @@
"updateContext": null
},
"value": "if",
- "start": 1631,
- "end": 1633,
+ "start": 1706,
+ "end": 1708,
"loc": {
"start": {
- "line": 42,
+ "line": 44,
"column": 2
},
"end": {
- "line": 42,
+ "line": 44,
"column": 4
}
}
@@ -23162,15 +24063,15 @@
"postfix": false,
"binop": null
},
- "start": 1634,
- "end": 1635,
+ "start": 1709,
+ "end": 1710,
"loc": {
"start": {
- "line": 42,
+ "line": 44,
"column": 5
},
"end": {
- "line": 42,
+ "line": 44,
"column": 6
}
}
@@ -23188,15 +24089,15 @@
"binop": null
},
"value": "thisPlayer",
- "start": 1635,
- "end": 1645,
+ "start": 1710,
+ "end": 1720,
"loc": {
"start": {
- "line": 42,
+ "line": 44,
"column": 6
},
"end": {
- "line": 42,
+ "line": 44,
"column": 16
}
}
@@ -23214,15 +24115,15 @@
"binop": null,
"updateContext": null
},
- "start": 1645,
- "end": 1646,
+ "start": 1720,
+ "end": 1721,
"loc": {
"start": {
- "line": 42,
+ "line": 44,
"column": 16
},
"end": {
- "line": 42,
+ "line": 44,
"column": 17
}
}
@@ -23240,15 +24141,15 @@
"binop": null
},
"value": "health",
- "start": 1646,
- "end": 1652,
+ "start": 1721,
+ "end": 1727,
"loc": {
"start": {
- "line": 42,
+ "line": 44,
"column": 17
},
"end": {
- "line": 42,
+ "line": 44,
"column": 23
}
}
@@ -23267,15 +24168,15 @@
"updateContext": null
},
"value": "<=",
- "start": 1653,
- "end": 1655,
+ "start": 1728,
+ "end": 1730,
"loc": {
"start": {
- "line": 42,
+ "line": 44,
"column": 24
},
"end": {
- "line": 42,
+ "line": 44,
"column": 26
}
}
@@ -23294,15 +24195,15 @@
"updateContext": null
},
"value": 0,
- "start": 1656,
- "end": 1657,
+ "start": 1731,
+ "end": 1732,
"loc": {
"start": {
- "line": 42,
+ "line": 44,
"column": 27
},
"end": {
- "line": 42,
+ "line": 44,
"column": 28
}
}
@@ -23319,15 +24220,15 @@
"postfix": false,
"binop": null
},
- "start": 1657,
- "end": 1658,
+ "start": 1732,
+ "end": 1733,
"loc": {
"start": {
- "line": 42,
+ "line": 44,
"column": 28
},
"end": {
- "line": 42,
+ "line": 44,
"column": 29
}
}
@@ -23344,15 +24245,15 @@
"postfix": false,
"binop": null
},
- "start": 1659,
- "end": 1660,
+ "start": 1734,
+ "end": 1735,
"loc": {
"start": {
- "line": 42,
+ "line": 44,
"column": 30
},
"end": {
- "line": 42,
+ "line": 44,
"column": 31
}
}
@@ -23360,15 +24261,15 @@
{
"type": "CommentLine",
"value": " console.log(thisRoom.teams.indexOf(socket.handshake.query.team));",
- "start": 1664,
- "end": 1732,
+ "start": 1739,
+ "end": 1807,
"loc": {
"start": {
- "line": 43,
+ "line": 45,
"column": 3
},
"end": {
- "line": 43,
+ "line": 45,
"column": 71
}
}
@@ -23376,15 +24277,15 @@
{
"type": "CommentLine",
"value": " Releases atoms and deletes the entire atoms array in player",
- "start": 1737,
- "end": 1799,
+ "start": 1812,
+ "end": 1874,
"loc": {
"start": {
- "line": 45,
+ "line": 47,
"column": 3
},
"end": {
- "line": 45,
+ "line": 47,
"column": 65
}
}
@@ -23404,15 +24305,15 @@
"updateContext": null
},
"value": "for",
- "start": 1803,
- "end": 1806,
+ "start": 1878,
+ "end": 1881,
"loc": {
"start": {
- "line": 46,
+ "line": 48,
"column": 3
},
"end": {
- "line": 46,
+ "line": 48,
"column": 6
}
}
@@ -23429,44 +24330,571 @@
"postfix": false,
"binop": null
},
- "start": 1807,
- "end": 1808,
+ "start": 1882,
+ "end": 1883,
"loc": {
"start": {
- "line": 46,
+ "line": 48,
"column": 7
},
"end": {
- "line": 46,
+ "line": 48,
+ "column": 8
+ }
+ }
+ },
+ {
+ "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": 1883,
+ "end": 1886,
+ "loc": {
+ "start": {
+ "line": 48,
"column": 8
+ },
+ "end": {
+ "line": 48,
+ "column": 11
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "at",
+ "start": 1887,
+ "end": 1889,
+ "loc": {
+ "start": {
+ "line": 48,
+ "column": 12
+ },
+ "end": {
+ "line": 48,
+ "column": 14
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "in",
+ "keyword": "in",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": 7,
+ "updateContext": null
+ },
+ "value": "in",
+ "start": 1890,
+ "end": 1892,
+ "loc": {
+ "start": {
+ "line": 48,
+ "column": 15
+ },
+ "end": {
+ "line": 48,
+ "column": 17
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "thisPlayer",
+ "start": 1893,
+ "end": 1903,
+ "loc": {
+ "start": {
+ "line": 48,
+ "column": 18
+ },
+ "end": {
+ "line": 48,
+ "column": 28
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1903,
+ "end": 1904,
+ "loc": {
+ "start": {
+ "line": 48,
+ "column": 28
+ },
+ "end": {
+ "line": 48,
+ "column": 29
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "atomList",
+ "start": 1904,
+ "end": 1912,
+ "loc": {
+ "start": {
+ "line": 48,
+ "column": 29
+ },
+ "end": {
+ "line": 48,
+ "column": 37
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1912,
+ "end": 1913,
+ "loc": {
+ "start": {
+ "line": 48,
+ "column": 37
+ },
+ "end": {
+ "line": 48,
+ "column": 38
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1914,
+ "end": 1915,
+ "loc": {
+ "start": {
+ "line": 48,
+ "column": 39
+ },
+ "end": {
+ "line": 48,
+ "column": 40
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "for",
+ "keyword": "for",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": true,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "for",
+ "start": 1920,
+ "end": 1923,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 4
+ },
+ "end": {
+ "line": 49,
+ "column": 7
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1924,
+ "end": 1925,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 8
+ },
+ "end": {
+ "line": 49,
+ "column": 9
+ }
+ }
+ },
+ {
+ "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": 1925,
+ "end": 1928,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 9
+ },
+ "end": {
+ "line": 49,
+ "column": 12
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "i",
+ "start": 1929,
+ "end": 1930,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 13
+ },
+ "end": {
+ "line": 49,
+ "column": 14
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 1931,
+ "end": 1932,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 15
+ },
+ "end": {
+ "line": 49,
+ "column": 16
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "num",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": 0,
+ "start": 1933,
+ "end": 1934,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 17
+ },
+ "end": {
+ "line": 49,
+ "column": 18
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1934,
+ "end": 1935,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 18
+ },
+ "end": {
+ "line": 49,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "i",
+ "start": 1936,
+ "end": 1937,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 20
+ },
+ "end": {
+ "line": 49,
+ "column": 21
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ">",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": 7,
+ "updateContext": null
+ },
+ "value": "<",
+ "start": 1938,
+ "end": 1939,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 22
+ },
+ "end": {
+ "line": 49,
+ "column": 23
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "GLOBAL",
+ "start": 1940,
+ "end": 1946,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 24
+ },
+ "end": {
+ "line": 49,
+ "column": 30
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1946,
+ "end": 1947,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 30
+ },
+ "end": {
+ "line": 49,
+ "column": 31
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "MAX_DEATH_ATOMS",
+ "start": 1947,
+ "end": 1962,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 31
+ },
+ "end": {
+ "line": 49,
+ "column": 46
}
}
},
{
"type": {
- "label": "let",
- "keyword": "let",
- "beforeExpr": false,
+ "label": "&&",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
+ "binop": 2,
"updateContext": null
},
- "value": "let",
- "start": 1808,
- "end": 1811,
+ "value": "&&",
+ "start": 1963,
+ "end": 1965,
"loc": {
"start": {
- "line": 46,
- "column": 8
+ "line": 49,
+ "column": 47
},
"end": {
- "line": 46,
- "column": 11
+ "line": 49,
+ "column": 49
}
}
},
@@ -23482,24 +24910,23 @@
"postfix": false,
"binop": null
},
- "value": "at",
- "start": 1812,
- "end": 1814,
+ "value": "i",
+ "start": 1966,
+ "end": 1967,
"loc": {
"start": {
- "line": 46,
- "column": 12
+ "line": 49,
+ "column": 50
},
"end": {
- "line": 46,
- "column": 14
+ "line": 49,
+ "column": 51
}
}
},
{
"type": {
- "label": "in",
- "keyword": "in",
+ "label": ">",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -23510,17 +24937,17 @@
"binop": 7,
"updateContext": null
},
- "value": "in",
- "start": 1815,
- "end": 1817,
+ "value": "<",
+ "start": 1968,
+ "end": 1969,
"loc": {
"start": {
- "line": 46,
- "column": 15
+ "line": 49,
+ "column": 52
},
"end": {
- "line": 46,
- "column": 17
+ "line": 49,
+ "column": 53
}
}
},
@@ -23537,16 +24964,16 @@
"binop": null
},
"value": "thisPlayer",
- "start": 1818,
- "end": 1828,
+ "start": 1970,
+ "end": 1980,
"loc": {
"start": {
- "line": 46,
- "column": 18
+ "line": 49,
+ "column": 54
},
"end": {
- "line": 46,
- "column": 28
+ "line": 49,
+ "column": 64
}
}
},
@@ -23563,16 +24990,16 @@
"binop": null,
"updateContext": null
},
- "start": 1828,
- "end": 1829,
+ "start": 1980,
+ "end": 1981,
"loc": {
"start": {
- "line": 46,
- "column": 28
+ "line": 49,
+ "column": 64
},
"end": {
- "line": 46,
- "column": 29
+ "line": 49,
+ "column": 65
}
}
},
@@ -23589,48 +25016,49 @@
"binop": null
},
"value": "atomList",
- "start": 1829,
- "end": 1837,
+ "start": 1981,
+ "end": 1989,
"loc": {
"start": {
- "line": 46,
- "column": 29
+ "line": 49,
+ "column": 65
},
"end": {
- "line": 46,
- "column": 37
+ "line": 49,
+ "column": 73
}
}
},
{
"type": {
- "label": ")",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "[",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1837,
- "end": 1838,
+ "start": 1989,
+ "end": 1990,
"loc": {
"start": {
- "line": 46,
- "column": 37
+ "line": 49,
+ "column": 73
},
"end": {
- "line": 46,
- "column": 38
+ "line": 49,
+ "column": 74
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -23639,77 +25067,50 @@
"postfix": false,
"binop": null
},
- "start": 1839,
- "end": 1840,
+ "value": "at",
+ "start": 1990,
+ "end": 1992,
"loc": {
"start": {
- "line": 46,
- "column": 39
+ "line": 49,
+ "column": 74
},
"end": {
- "line": 46,
- "column": 40
+ "line": 49,
+ "column": 76
}
}
},
{
"type": {
- "label": "for",
- "keyword": "for",
+ "label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
- "isLoop": true,
+ "isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "for",
- "start": 1845,
- "end": 1848,
+ "start": 1992,
+ "end": 1993,
"loc": {
"start": {
- "line": 47,
- "column": 4
+ "line": 49,
+ "column": 76
},
"end": {
- "line": 47,
- "column": 7
+ "line": 49,
+ "column": 77
}
}
},
{
"type": {
- "label": "(",
+ "label": ";",
"beforeExpr": true,
- "startsExpr": true,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null
- },
- "start": 1849,
- "end": 1850,
- "loc": {
- "start": {
- "line": 47,
- "column": 8
- },
- "end": {
- "line": 47,
- "column": 9
- }
- }
- },
- {
- "type": {
- "label": "let",
- "keyword": "let",
- "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -23719,17 +25120,16 @@
"binop": null,
"updateContext": null
},
- "value": "let",
- "start": 1850,
- "end": 1853,
+ "start": 1993,
+ "end": 1994,
"loc": {
"start": {
- "line": 47,
- "column": 9
+ "line": 49,
+ "column": 77
},
"end": {
- "line": 47,
- "column": 12
+ "line": 49,
+ "column": 78
}
}
},
@@ -23746,96 +25146,92 @@
"binop": null
},
"value": "i",
- "start": 1854,
- "end": 1855,
+ "start": 1995,
+ "end": 1996,
"loc": {
"start": {
- "line": 47,
- "column": 13
+ "line": 49,
+ "column": 79
},
"end": {
- "line": 47,
- "column": 14
+ "line": 49,
+ "column": 80
}
}
},
{
"type": {
- "label": "=",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "++/--",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
- "prefix": false,
- "postfix": false,
- "binop": null,
- "updateContext": null
+ "isAssign": false,
+ "prefix": true,
+ "postfix": true,
+ "binop": null
},
- "value": "=",
- "start": 1856,
- "end": 1857,
+ "value": "++",
+ "start": 1996,
+ "end": 1998,
"loc": {
"start": {
- "line": 47,
- "column": 15
+ "line": 49,
+ "column": 80
},
"end": {
- "line": 47,
- "column": 16
+ "line": 49,
+ "column": 82
}
}
},
{
"type": {
- "label": "num",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": 0,
- "start": 1858,
- "end": 1859,
+ "start": 1998,
+ "end": 1999,
"loc": {
"start": {
- "line": 47,
- "column": 17
+ "line": 49,
+ "column": 82
},
"end": {
- "line": 47,
- "column": 18
+ "line": 49,
+ "column": 83
}
}
},
{
"type": {
- "label": ";",
+ "label": "{",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1859,
- "end": 1860,
+ "start": 2000,
+ "end": 2001,
"loc": {
"start": {
- "line": 47,
- "column": 18
+ "line": 49,
+ "column": 84
},
"end": {
- "line": 47,
- "column": 19
+ "line": 49,
+ "column": 85
}
}
},
@@ -23851,44 +25247,42 @@
"postfix": false,
"binop": null
},
- "value": "i",
- "start": 1861,
- "end": 1862,
+ "value": "spawnAtom",
+ "start": 2007,
+ "end": 2016,
"loc": {
"start": {
- "line": 47,
- "column": 20
+ "line": 50,
+ "column": 5
},
"end": {
- "line": 47,
- "column": 21
+ "line": 50,
+ "column": 14
}
}
},
{
"type": {
- "label": ">",
+ "label": "(",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": 7,
- "updateContext": null
+ "binop": null
},
- "value": "<",
- "start": 1863,
- "end": 1864,
+ "start": 2016,
+ "end": 2017,
"loc": {
"start": {
- "line": 47,
- "column": 22
+ "line": 50,
+ "column": 14
},
"end": {
- "line": 47,
- "column": 23
+ "line": 50,
+ "column": 15
}
}
},
@@ -23904,17 +25298,17 @@
"postfix": false,
"binop": null
},
- "value": "GLOBAL",
- "start": 1865,
- "end": 1871,
+ "value": "thisPlayer",
+ "start": 2017,
+ "end": 2027,
"loc": {
"start": {
- "line": 47,
- "column": 24
+ "line": 50,
+ "column": 15
},
"end": {
- "line": 47,
- "column": 30
+ "line": 50,
+ "column": 25
}
}
},
@@ -23931,16 +25325,16 @@
"binop": null,
"updateContext": null
},
- "start": 1871,
- "end": 1872,
+ "start": 2027,
+ "end": 2028,
"loc": {
"start": {
- "line": 47,
- "column": 30
+ "line": 50,
+ "column": 25
},
"end": {
- "line": 47,
- "column": 31
+ "line": 50,
+ "column": 26
}
}
},
@@ -23956,23 +25350,23 @@
"postfix": false,
"binop": null
},
- "value": "MAX_DEATH_ATOMS",
- "start": 1872,
- "end": 1887,
+ "value": "posX",
+ "start": 2028,
+ "end": 2032,
"loc": {
"start": {
- "line": 47,
- "column": 31
+ "line": 50,
+ "column": 26
},
"end": {
- "line": 47,
- "column": 46
+ "line": 50,
+ "column": 30
}
}
},
{
"type": {
- "label": "&&",
+ "label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -23980,20 +25374,19 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": 2,
+ "binop": null,
"updateContext": null
},
- "value": "&&",
- "start": 1888,
- "end": 1890,
+ "start": 2032,
+ "end": 2033,
"loc": {
"start": {
- "line": 47,
- "column": 47
+ "line": 50,
+ "column": 30
},
"end": {
- "line": 47,
- "column": 49
+ "line": 50,
+ "column": 31
}
}
},
@@ -24009,44 +25402,43 @@
"postfix": false,
"binop": null
},
- "value": "i",
- "start": 1891,
- "end": 1892,
+ "value": "thisPlayer",
+ "start": 2034,
+ "end": 2044,
"loc": {
"start": {
- "line": 47,
- "column": 50
+ "line": 50,
+ "column": 32
},
"end": {
- "line": 47,
- "column": 51
+ "line": 50,
+ "column": 42
}
}
},
{
"type": {
- "label": ">",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": 7,
+ "binop": null,
"updateContext": null
},
- "value": "<",
- "start": 1893,
- "end": 1894,
+ "start": 2044,
+ "end": 2045,
"loc": {
"start": {
- "line": 47,
- "column": 52
+ "line": 50,
+ "column": 42
},
"end": {
- "line": 47,
- "column": 53
+ "line": 50,
+ "column": 43
}
}
},
@@ -24062,24 +25454,24 @@
"postfix": false,
"binop": null
},
- "value": "thisPlayer",
- "start": 1895,
- "end": 1905,
+ "value": "posY",
+ "start": 2045,
+ "end": 2049,
"loc": {
"start": {
- "line": 47,
- "column": 54
+ "line": 50,
+ "column": 43
},
"end": {
- "line": 47,
- "column": 64
+ "line": 50,
+ "column": 47
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
+ "label": ",",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -24089,16 +25481,16 @@
"binop": null,
"updateContext": null
},
- "start": 1905,
- "end": 1906,
+ "start": 2049,
+ "end": 2050,
"loc": {
"start": {
- "line": 47,
- "column": 64
+ "line": 50,
+ "column": 47
},
"end": {
- "line": 47,
- "column": 65
+ "line": 50,
+ "column": 48
}
}
},
@@ -24114,25 +25506,25 @@
"postfix": false,
"binop": null
},
- "value": "atomList",
- "start": 1906,
- "end": 1914,
+ "value": "at",
+ "start": 2051,
+ "end": 2053,
"loc": {
"start": {
- "line": 47,
- "column": 65
+ "line": 50,
+ "column": 49
},
"end": {
- "line": 47,
- "column": 73
+ "line": 50,
+ "column": 51
}
}
},
{
"type": {
- "label": "[",
+ "label": ",",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -24141,16 +25533,16 @@
"binop": null,
"updateContext": null
},
- "start": 1914,
- "end": 1915,
+ "start": 2053,
+ "end": 2054,
"loc": {
"start": {
- "line": 47,
- "column": 73
+ "line": 50,
+ "column": 51
},
"end": {
- "line": 47,
- "column": 74
+ "line": 50,
+ "column": 52
}
}
},
@@ -24166,24 +25558,24 @@
"postfix": false,
"binop": null
},
- "value": "at",
- "start": 1915,
- "end": 1917,
+ "value": "room",
+ "start": 2055,
+ "end": 2059,
"loc": {
"start": {
- "line": 47,
- "column": 74
+ "line": 50,
+ "column": 53
},
"end": {
- "line": 47,
- "column": 76
+ "line": 50,
+ "column": 57
}
}
},
{
"type": {
- "label": "]",
- "beforeExpr": false,
+ "label": ",",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -24193,24 +25585,25 @@
"binop": null,
"updateContext": null
},
- "start": 1917,
- "end": 1918,
+ "start": 2059,
+ "end": 2060,
"loc": {
"start": {
- "line": 47,
- "column": 76
+ "line": 50,
+ "column": 57
},
"end": {
- "line": 47,
- "column": 77
+ "line": 50,
+ "column": 58
}
}
},
{
"type": {
- "label": ";",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "false",
+ "keyword": "false",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -24219,24 +25612,25 @@
"binop": null,
"updateContext": null
},
- "start": 1918,
- "end": 1919,
+ "value": "false",
+ "start": 2061,
+ "end": 2066,
"loc": {
"start": {
- "line": 47,
- "column": 77
+ "line": 50,
+ "column": 59
},
"end": {
- "line": 47,
- "column": 78
+ "line": 50,
+ "column": 64
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -24244,49 +25638,47 @@
"postfix": false,
"binop": null
},
- "value": "i",
- "start": 1920,
- "end": 1921,
+ "start": 2066,
+ "end": 2067,
"loc": {
"start": {
- "line": 47,
- "column": 79
+ "line": 50,
+ "column": 64
},
"end": {
- "line": 47,
- "column": 80
+ "line": 50,
+ "column": 65
}
}
},
{
"type": {
- "label": "++/--",
+ "label": "}",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
- "prefix": true,
- "postfix": true,
+ "prefix": false,
+ "postfix": false,
"binop": null
},
- "value": "++",
- "start": 1921,
- "end": 1923,
+ "start": 2072,
+ "end": 2073,
"loc": {
"start": {
- "line": 47,
- "column": 80
+ "line": 51,
+ "column": 4
},
"end": {
- "line": 47,
- "column": 82
+ "line": 51,
+ "column": 5
}
}
},
{
"type": {
- "label": ")",
+ "label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -24296,48 +25688,51 @@
"postfix": false,
"binop": null
},
- "start": 1923,
- "end": 1924,
+ "start": 2077,
+ "end": 2078,
"loc": {
"start": {
- "line": 47,
- "column": 82
+ "line": 52,
+ "column": 3
},
"end": {
- "line": 47,
- "column": 83
+ "line": 52,
+ "column": 4
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": "for",
+ "keyword": "for",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
- "isLoop": false,
+ "isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1925,
- "end": 1926,
+ "value": "for",
+ "start": 2082,
+ "end": 2085,
"loc": {
"start": {
- "line": 47,
- "column": 84
+ "line": 53,
+ "column": 3
},
"end": {
- "line": 47,
- "column": 85
+ "line": 53,
+ "column": 6
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "(",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -24346,42 +25741,44 @@
"postfix": false,
"binop": null
},
- "value": "spawnAtom",
- "start": 1932,
- "end": 1941,
+ "start": 2086,
+ "end": 2087,
"loc": {
"start": {
- "line": 48,
- "column": 5
+ "line": 53,
+ "column": 7
},
"end": {
- "line": 48,
- "column": 14
+ "line": 53,
+ "column": 8
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": "let",
+ "keyword": "let",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1941,
- "end": 1942,
+ "value": "let",
+ "start": 2087,
+ "end": 2090,
"loc": {
"start": {
- "line": 48,
- "column": 14
+ "line": 53,
+ "column": 8
},
"end": {
- "line": 48,
- "column": 15
+ "line": 53,
+ "column": 11
}
}
},
@@ -24397,43 +25794,45 @@
"postfix": false,
"binop": null
},
- "value": "thisPlayer",
- "start": 1942,
- "end": 1952,
+ "value": "at",
+ "start": 2091,
+ "end": 2093,
"loc": {
"start": {
- "line": 48,
- "column": 15
+ "line": 53,
+ "column": 12
},
"end": {
- "line": 48,
- "column": 25
+ "line": 53,
+ "column": 14
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
+ "label": "in",
+ "keyword": "in",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
+ "binop": 7,
"updateContext": null
},
- "start": 1952,
- "end": 1953,
+ "value": "in",
+ "start": 2094,
+ "end": 2096,
"loc": {
"start": {
- "line": 48,
- "column": 25
+ "line": 53,
+ "column": 15
},
"end": {
- "line": 48,
- "column": 26
+ "line": 53,
+ "column": 17
}
}
},
@@ -24449,24 +25848,24 @@
"postfix": false,
"binop": null
},
- "value": "posX",
- "start": 1953,
- "end": 1957,
+ "value": "thisPlayer",
+ "start": 2097,
+ "end": 2107,
"loc": {
"start": {
- "line": 48,
- "column": 26
+ "line": 53,
+ "column": 18
},
"end": {
- "line": 48,
- "column": 30
+ "line": 53,
+ "column": 28
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -24476,16 +25875,16 @@
"binop": null,
"updateContext": null
},
- "start": 1957,
- "end": 1958,
+ "start": 2107,
+ "end": 2108,
"loc": {
"start": {
- "line": 48,
- "column": 30
+ "line": 53,
+ "column": 28
},
"end": {
- "line": 48,
- "column": 31
+ "line": 53,
+ "column": 29
}
}
},
@@ -24501,23 +25900,23 @@
"postfix": false,
"binop": null
},
- "value": "thisPlayer",
- "start": 1959,
- "end": 1969,
+ "value": "atomList",
+ "start": 2108,
+ "end": 2116,
"loc": {
"start": {
- "line": 48,
- "column": 32
+ "line": 53,
+ "column": 29
},
"end": {
- "line": 48,
- "column": 42
+ "line": 53,
+ "column": 37
}
}
},
{
"type": {
- "label": ".",
+ "label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -24525,19 +25924,43 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1969,
- "end": 1970,
+ "start": 2116,
+ "end": 2117,
"loc": {
"start": {
- "line": 48,
- "column": 42
+ "line": 53,
+ "column": 37
},
"end": {
- "line": 48,
- "column": 43
+ "line": 53,
+ "column": 38
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 2118,
+ "end": 2119,
+ "loc": {
+ "start": {
+ "line": 53,
+ "column": 39
+ },
+ "end": {
+ "line": 53,
+ "column": 40
}
}
},
@@ -24553,49 +25976,48 @@
"postfix": false,
"binop": null
},
- "value": "posY",
- "start": 1970,
- "end": 1974,
+ "value": "setField",
+ "start": 2124,
+ "end": 2132,
"loc": {
"start": {
- "line": 48,
- "column": 43
+ "line": 54,
+ "column": 4
},
"end": {
- "line": 48,
- "column": 47
+ "line": 54,
+ "column": 12
}
}
},
{
"type": {
- "label": ",",
+ "label": "(",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1974,
- "end": 1975,
+ "start": 2132,
+ "end": 2133,
"loc": {
"start": {
- "line": 48,
- "column": 47
+ "line": 54,
+ "column": 12
},
"end": {
- "line": 48,
- "column": 48
+ "line": 54,
+ "column": 13
}
}
},
{
"type": {
- "label": "name",
+ "label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -24603,19 +26025,20 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "at",
- "start": 1976,
- "end": 1978,
+ "value": 0,
+ "start": 2133,
+ "end": 2134,
"loc": {
"start": {
- "line": 48,
- "column": 49
+ "line": 54,
+ "column": 13
},
"end": {
- "line": 48,
- "column": 51
+ "line": 54,
+ "column": 14
}
}
},
@@ -24632,50 +26055,50 @@
"binop": null,
"updateContext": null
},
- "start": 1978,
- "end": 1979,
+ "start": 2134,
+ "end": 2135,
"loc": {
"start": {
- "line": 48,
- "column": 51
+ "line": 54,
+ "column": 14
},
"end": {
- "line": 48,
- "column": 52
+ "line": 54,
+ "column": 15
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "[",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "room",
- "start": 1980,
- "end": 1984,
+ "start": 2136,
+ "end": 2137,
"loc": {
"start": {
- "line": 48,
- "column": 53
+ "line": 54,
+ "column": 16
},
"end": {
- "line": 48,
- "column": 57
+ "line": 54,
+ "column": 17
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -24684,25 +26107,25 @@
"binop": null,
"updateContext": null
},
- "start": 1984,
- "end": 1985,
+ "value": "rooms",
+ "start": 2137,
+ "end": 2144,
"loc": {
"start": {
- "line": 48,
- "column": 57
+ "line": 54,
+ "column": 17
},
"end": {
- "line": 48,
- "column": 58
+ "line": 54,
+ "column": 24
}
}
},
{
"type": {
- "label": "false",
- "keyword": "false",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -24711,25 +26134,24 @@
"binop": null,
"updateContext": null
},
- "value": "false",
- "start": 1986,
- "end": 1991,
+ "start": 2144,
+ "end": 2145,
"loc": {
"start": {
- "line": 48,
- "column": 59
+ "line": 54,
+ "column": 24
},
"end": {
- "line": 48,
- "column": 64
+ "line": 54,
+ "column": 25
}
}
},
{
"type": {
- "label": ")",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -24737,101 +26159,103 @@
"postfix": false,
"binop": null
},
- "start": 1991,
- "end": 1992,
+ "value": "room",
+ "start": 2146,
+ "end": 2150,
"loc": {
"start": {
- "line": 48,
- "column": 64
+ "line": 54,
+ "column": 26
},
"end": {
- "line": 48,
- "column": 65
+ "line": 54,
+ "column": 30
}
}
},
{
"type": {
- "label": "}",
- "beforeExpr": false,
+ "label": ",",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1997,
- "end": 1998,
+ "start": 2150,
+ "end": 2151,
"loc": {
"start": {
- "line": 49,
- "column": 4
+ "line": 54,
+ "column": 30
},
"end": {
- "line": 49,
- "column": 5
+ "line": 54,
+ "column": 31
}
}
},
{
"type": {
- "label": "}",
+ "label": "string",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 2002,
- "end": 2003,
+ "value": "players",
+ "start": 2152,
+ "end": 2161,
"loc": {
"start": {
- "line": 50,
- "column": 3
+ "line": 54,
+ "column": 32
},
"end": {
- "line": 50,
- "column": 4
+ "line": 54,
+ "column": 41
}
}
},
{
"type": {
- "label": "for",
- "keyword": "for",
- "beforeExpr": false,
+ "label": ",",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
- "isLoop": true,
+ "isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "for",
- "start": 2007,
- "end": 2010,
+ "start": 2161,
+ "end": 2162,
"loc": {
"start": {
- "line": 51,
- "column": 3
+ "line": 54,
+ "column": 41
},
"end": {
- "line": 51,
- "column": 6
+ "line": 54,
+ "column": 42
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -24840,24 +26264,24 @@
"postfix": false,
"binop": null
},
- "start": 2011,
- "end": 2012,
+ "value": "thisPlayer",
+ "start": 2163,
+ "end": 2173,
"loc": {
"start": {
- "line": 51,
- "column": 7
+ "line": 54,
+ "column": 43
},
"end": {
- "line": 51,
- "column": 8
+ "line": 54,
+ "column": 53
}
}
},
{
"type": {
- "label": "let",
- "keyword": "let",
- "beforeExpr": false,
+ "label": ",",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -24867,23 +26291,22 @@
"binop": null,
"updateContext": null
},
- "value": "let",
- "start": 2012,
- "end": 2015,
+ "start": 2173,
+ "end": 2174,
"loc": {
"start": {
- "line": 51,
- "column": 8
+ "line": 54,
+ "column": 53
},
"end": {
- "line": 51,
- "column": 11
+ "line": 54,
+ "column": 54
}
}
},
{
"type": {
- "label": "name",
+ "label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -24891,26 +26314,26 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "at",
- "start": 2016,
- "end": 2018,
+ "value": "atomList",
+ "start": 2175,
+ "end": 2185,
"loc": {
"start": {
- "line": 51,
- "column": 12
+ "line": 54,
+ "column": 55
},
"end": {
- "line": 51,
- "column": 14
+ "line": 54,
+ "column": 65
}
}
},
{
"type": {
- "label": "in",
- "keyword": "in",
+ "label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -24918,20 +26341,19 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": 7,
+ "binop": null,
"updateContext": null
},
- "value": "in",
- "start": 2019,
- "end": 2021,
+ "start": 2185,
+ "end": 2186,
"loc": {
"start": {
- "line": 51,
- "column": 15
+ "line": 54,
+ "column": 65
},
"end": {
- "line": 51,
- "column": 17
+ "line": 54,
+ "column": 66
}
}
},
@@ -24947,23 +26369,23 @@
"postfix": false,
"binop": null
},
- "value": "thisPlayer",
- "start": 2022,
- "end": 2032,
+ "value": "at",
+ "start": 2187,
+ "end": 2189,
"loc": {
"start": {
- "line": 51,
- "column": 18
+ "line": 54,
+ "column": 67
},
"end": {
- "line": 51,
- "column": 28
+ "line": 54,
+ "column": 69
}
}
},
{
"type": {
- "label": ".",
+ "label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -24974,24 +26396,24 @@
"binop": null,
"updateContext": null
},
- "start": 2032,
- "end": 2033,
+ "start": 2189,
+ "end": 2190,
"loc": {
"start": {
- "line": 51,
- "column": 28
+ "line": 54,
+ "column": 69
},
"end": {
- "line": 51,
- "column": 29
+ "line": 54,
+ "column": 70
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -24999,23 +26421,22 @@
"postfix": false,
"binop": null
},
- "value": "atomList",
- "start": 2033,
- "end": 2041,
+ "start": 2190,
+ "end": 2191,
"loc": {
"start": {
- "line": 51,
- "column": 29
+ "line": 54,
+ "column": 70
},
"end": {
- "line": 51,
- "column": 37
+ "line": 54,
+ "column": 71
}
}
},
{
"type": {
- "label": ")",
+ "label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -25025,41 +26446,32 @@
"postfix": false,
"binop": null
},
- "start": 2041,
- "end": 2042,
+ "start": 2195,
+ "end": 2196,
"loc": {
"start": {
- "line": 51,
- "column": 37
+ "line": 55,
+ "column": 3
},
"end": {
- "line": 51,
- "column": 38
+ "line": 55,
+ "column": 4
}
}
},
{
- "type": {
- "label": "{",
- "beforeExpr": true,
- "startsExpr": true,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null
- },
- "start": 2043,
- "end": 2044,
+ "type": "CommentLine",
+ "value": " Set defense to 0",
+ "start": 2201,
+ "end": 2220,
"loc": {
"start": {
- "line": 51,
- "column": 39
+ "line": 57,
+ "column": 3
},
"end": {
- "line": 51,
- "column": 40
+ "line": 57,
+ "column": 22
}
}
},
@@ -25076,16 +26488,16 @@
"binop": null
},
"value": "setField",
- "start": 2049,
- "end": 2057,
+ "start": 2224,
+ "end": 2232,
"loc": {
"start": {
- "line": 52,
- "column": 4
+ "line": 58,
+ "column": 3
},
"end": {
- "line": 52,
- "column": 12
+ "line": 58,
+ "column": 11
}
}
},
@@ -25101,16 +26513,16 @@
"postfix": false,
"binop": null
},
- "start": 2057,
- "end": 2058,
+ "start": 2232,
+ "end": 2233,
"loc": {
"start": {
- "line": 52,
- "column": 12
+ "line": 58,
+ "column": 11
},
"end": {
- "line": 52,
- "column": 13
+ "line": 58,
+ "column": 12
}
}
},
@@ -25128,16 +26540,16 @@
"updateContext": null
},
"value": 0,
- "start": 2058,
- "end": 2059,
+ "start": 2233,
+ "end": 2234,
"loc": {
"start": {
- "line": 52,
- "column": 13
+ "line": 58,
+ "column": 12
},
"end": {
- "line": 52,
- "column": 14
+ "line": 58,
+ "column": 13
}
}
},
@@ -25154,16 +26566,16 @@
"binop": null,
"updateContext": null
},
- "start": 2059,
- "end": 2060,
+ "start": 2234,
+ "end": 2235,
"loc": {
"start": {
- "line": 52,
- "column": 14
+ "line": 58,
+ "column": 13
},
"end": {
- "line": 52,
- "column": 15
+ "line": 58,
+ "column": 14
}
}
},
@@ -25180,16 +26592,16 @@
"binop": null,
"updateContext": null
},
- "start": 2061,
- "end": 2062,
+ "start": 2236,
+ "end": 2237,
"loc": {
"start": {
- "line": 52,
- "column": 16
+ "line": 58,
+ "column": 15
},
"end": {
- "line": 52,
- "column": 17
+ "line": 58,
+ "column": 16
}
}
},
@@ -25207,16 +26619,16 @@
"updateContext": null
},
"value": "rooms",
- "start": 2062,
- "end": 2069,
+ "start": 2237,
+ "end": 2244,
"loc": {
"start": {
- "line": 52,
- "column": 17
+ "line": 58,
+ "column": 16
},
"end": {
- "line": 52,
- "column": 24
+ "line": 58,
+ "column": 23
}
}
},
@@ -25233,16 +26645,16 @@
"binop": null,
"updateContext": null
},
- "start": 2069,
- "end": 2070,
+ "start": 2244,
+ "end": 2245,
"loc": {
"start": {
- "line": 52,
- "column": 24
+ "line": 58,
+ "column": 23
},
"end": {
- "line": 52,
- "column": 25
+ "line": 58,
+ "column": 24
}
}
},
@@ -25259,16 +26671,16 @@
"binop": null
},
"value": "room",
- "start": 2071,
- "end": 2075,
+ "start": 2246,
+ "end": 2250,
"loc": {
"start": {
- "line": 52,
- "column": 26
+ "line": 58,
+ "column": 25
},
"end": {
- "line": 52,
- "column": 30
+ "line": 58,
+ "column": 29
}
}
},
@@ -25285,16 +26697,16 @@
"binop": null,
"updateContext": null
},
- "start": 2075,
- "end": 2076,
+ "start": 2250,
+ "end": 2251,
"loc": {
"start": {
- "line": 52,
- "column": 30
+ "line": 58,
+ "column": 29
},
"end": {
- "line": 52,
- "column": 31
+ "line": 58,
+ "column": 30
}
}
},
@@ -25312,16 +26724,16 @@
"updateContext": null
},
"value": "players",
- "start": 2077,
- "end": 2086,
+ "start": 2252,
+ "end": 2261,
"loc": {
"start": {
- "line": 52,
- "column": 32
+ "line": 58,
+ "column": 31
},
"end": {
- "line": 52,
- "column": 41
+ "line": 58,
+ "column": 40
}
}
},
@@ -25338,16 +26750,16 @@
"binop": null,
"updateContext": null
},
- "start": 2086,
- "end": 2087,
+ "start": 2261,
+ "end": 2262,
"loc": {
"start": {
- "line": 52,
- "column": 41
+ "line": 58,
+ "column": 40
},
"end": {
- "line": 52,
- "column": 42
+ "line": 58,
+ "column": 41
}
}
},
@@ -25363,24 +26775,24 @@
"postfix": false,
"binop": null
},
- "value": "thisPlayer",
- "start": 2088,
- "end": 2098,
+ "value": "data",
+ "start": 2263,
+ "end": 2267,
"loc": {
"start": {
- "line": 52,
- "column": 43
+ "line": 58,
+ "column": 42
},
"end": {
- "line": 52,
- "column": 53
+ "line": 58,
+ "column": 46
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -25390,22 +26802,22 @@
"binop": null,
"updateContext": null
},
- "start": 2098,
- "end": 2099,
+ "start": 2267,
+ "end": 2268,
"loc": {
"start": {
- "line": 52,
- "column": 53
+ "line": 58,
+ "column": 46
},
"end": {
- "line": 52,
- "column": 54
+ "line": 58,
+ "column": 47
}
}
},
{
"type": {
- "label": "string",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -25413,20 +26825,19 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "atomList",
- "start": 2100,
- "end": 2110,
+ "value": "player",
+ "start": 2268,
+ "end": 2274,
"loc": {
"start": {
- "line": 52,
- "column": 55
+ "line": 58,
+ "column": 47
},
"end": {
- "line": 52,
- "column": 65
+ "line": 58,
+ "column": 53
}
}
},
@@ -25443,22 +26854,22 @@
"binop": null,
"updateContext": null
},
- "start": 2110,
- "end": 2111,
+ "start": 2274,
+ "end": 2275,
"loc": {
"start": {
- "line": 52,
- "column": 65
+ "line": 58,
+ "column": 53
},
"end": {
- "line": 52,
- "column": 66
+ "line": 58,
+ "column": 54
}
}
},
{
"type": {
- "label": "name",
+ "label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -25466,19 +26877,20 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "at",
- "start": 2112,
- "end": 2114,
+ "value": "shield",
+ "start": 2276,
+ "end": 2284,
"loc": {
"start": {
- "line": 52,
- "column": 67
+ "line": 58,
+ "column": 55
},
"end": {
- "line": 52,
- "column": 69
+ "line": 58,
+ "column": 63
}
}
},
@@ -25495,47 +26907,22 @@
"binop": null,
"updateContext": null
},
- "start": 2114,
- "end": 2115,
- "loc": {
- "start": {
- "line": 52,
- "column": 69
- },
- "end": {
- "line": 52,
- "column": 70
- }
- }
- },
- {
- "type": {
- "label": ")",
- "beforeExpr": false,
- "startsExpr": false,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null
- },
- "start": 2115,
- "end": 2116,
+ "start": 2284,
+ "end": 2285,
"loc": {
"start": {
- "line": 52,
- "column": 70
+ "line": 58,
+ "column": 63
},
"end": {
- "line": 52,
- "column": 71
+ "line": 58,
+ "column": 64
}
}
},
{
"type": {
- "label": "}",
+ "label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -25545,31 +26932,31 @@
"postfix": false,
"binop": null
},
- "start": 2120,
- "end": 2121,
+ "start": 2285,
+ "end": 2286,
"loc": {
"start": {
- "line": 53,
- "column": 3
+ "line": 58,
+ "column": 64
},
"end": {
- "line": 53,
- "column": 4
+ "line": 58,
+ "column": 65
}
}
},
{
"type": "CommentLine",
"value": " Reset position to spawnpoint",
- "start": 2126,
- "end": 2157,
+ "start": 2291,
+ "end": 2322,
"loc": {
"start": {
- "line": 55,
+ "line": 60,
"column": 3
},
"end": {
- "line": 55,
+ "line": 60,
"column": 34
}
}
@@ -25587,15 +26974,15 @@
"binop": null
},
"value": "setField",
- "start": 2161,
- "end": 2169,
+ "start": 2326,
+ "end": 2334,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 3
},
"end": {
- "line": 56,
+ "line": 61,
"column": 11
}
}
@@ -25612,15 +26999,15 @@
"postfix": false,
"binop": null
},
- "start": 2169,
- "end": 2170,
+ "start": 2334,
+ "end": 2335,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 11
},
"end": {
- "line": 56,
+ "line": 61,
"column": 12
}
}
@@ -25638,15 +27025,15 @@
"binop": null
},
"value": "GLOBAL",
- "start": 2170,
- "end": 2176,
+ "start": 2335,
+ "end": 2341,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 12
},
"end": {
- "line": 56,
+ "line": 61,
"column": 18
}
}
@@ -25664,15 +27051,15 @@
"binop": null,
"updateContext": null
},
- "start": 2176,
- "end": 2177,
+ "start": 2341,
+ "end": 2342,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 18
},
"end": {
- "line": 56,
+ "line": 61,
"column": 19
}
}
@@ -25690,15 +27077,15 @@
"binop": null
},
"value": "SPAWN_POINTS",
- "start": 2177,
- "end": 2189,
+ "start": 2342,
+ "end": 2354,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 19
},
"end": {
- "line": 56,
+ "line": 61,
"column": 31
}
}
@@ -25716,15 +27103,15 @@
"binop": null,
"updateContext": null
},
- "start": 2189,
- "end": 2190,
+ "start": 2354,
+ "end": 2355,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 31
},
"end": {
- "line": 56,
+ "line": 61,
"column": 32
}
}
@@ -25742,15 +27129,15 @@
"binop": null
},
"value": "getTeamNumber",
- "start": 2190,
- "end": 2203,
+ "start": 2355,
+ "end": 2368,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 32
},
"end": {
- "line": 56,
+ "line": 61,
"column": 45
}
}
@@ -25767,15 +27154,15 @@
"postfix": false,
"binop": null
},
- "start": 2203,
- "end": 2204,
+ "start": 2368,
+ "end": 2369,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 45
},
"end": {
- "line": 56,
+ "line": 61,
"column": 46
}
}
@@ -25793,15 +27180,15 @@
"binop": null
},
"value": "room",
- "start": 2204,
- "end": 2208,
+ "start": 2369,
+ "end": 2373,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 46
},
"end": {
- "line": 56,
+ "line": 61,
"column": 50
}
}
@@ -25819,15 +27206,15 @@
"binop": null,
"updateContext": null
},
- "start": 2208,
- "end": 2209,
+ "start": 2373,
+ "end": 2374,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 50
},
"end": {
- "line": 56,
+ "line": 61,
"column": 51
}
}
@@ -25845,15 +27232,15 @@
"binop": null
},
"value": "thisPlayer",
- "start": 2210,
- "end": 2220,
+ "start": 2375,
+ "end": 2385,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 52
},
"end": {
- "line": 56,
+ "line": 61,
"column": 62
}
}
@@ -25871,15 +27258,15 @@
"binop": null,
"updateContext": null
},
- "start": 2220,
- "end": 2221,
+ "start": 2385,
+ "end": 2386,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 62
},
"end": {
- "line": 56,
+ "line": 61,
"column": 63
}
}
@@ -25897,15 +27284,15 @@
"binop": null
},
"value": "team",
- "start": 2221,
- "end": 2225,
+ "start": 2386,
+ "end": 2390,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 63
},
"end": {
- "line": 56,
+ "line": 61,
"column": 67
}
}
@@ -25922,15 +27309,15 @@
"postfix": false,
"binop": null
},
- "start": 2225,
- "end": 2226,
+ "start": 2390,
+ "end": 2391,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 67
},
"end": {
- "line": 56,
+ "line": 61,
"column": 68
}
}
@@ -25948,15 +27335,15 @@
"binop": null,
"updateContext": null
},
- "start": 2226,
- "end": 2227,
+ "start": 2391,
+ "end": 2392,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 68
},
"end": {
- "line": 56,
+ "line": 61,
"column": 69
}
}
@@ -25974,15 +27361,15 @@
"binop": null,
"updateContext": null
},
- "start": 2227,
- "end": 2228,
+ "start": 2392,
+ "end": 2393,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 69
},
"end": {
- "line": 56,
+ "line": 61,
"column": 70
}
}
@@ -26000,15 +27387,15 @@
"binop": null
},
"value": "x",
- "start": 2228,
- "end": 2229,
+ "start": 2393,
+ "end": 2394,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 70
},
"end": {
- "line": 56,
+ "line": 61,
"column": 71
}
}
@@ -26027,15 +27414,15 @@
"updateContext": null
},
"value": "*",
- "start": 2230,
- "end": 2231,
+ "start": 2395,
+ "end": 2396,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 72
},
"end": {
- "line": 56,
+ "line": 61,
"column": 73
}
}
@@ -26053,15 +27440,15 @@
"binop": null
},
"value": "GLOBAL",
- "start": 2232,
- "end": 2238,
+ "start": 2397,
+ "end": 2403,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 74
},
"end": {
- "line": 56,
+ "line": 61,
"column": 80
}
}
@@ -26079,15 +27466,15 @@
"binop": null,
"updateContext": null
},
- "start": 2238,
- "end": 2239,
+ "start": 2403,
+ "end": 2404,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 80
},
"end": {
- "line": 56,
+ "line": 61,
"column": 81
}
}
@@ -26105,15 +27492,15 @@
"binop": null
},
"value": "GRID_SPACING",
- "start": 2239,
- "end": 2251,
+ "start": 2404,
+ "end": 2416,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 81
},
"end": {
- "line": 56,
+ "line": 61,
"column": 93
}
}
@@ -26132,15 +27519,15 @@
"updateContext": null
},
"value": "*",
- "start": 2252,
- "end": 2253,
+ "start": 2417,
+ "end": 2418,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 94
},
"end": {
- "line": 56,
+ "line": 61,
"column": 95
}
}
@@ -26159,15 +27546,15 @@
"updateContext": null
},
"value": 2,
- "start": 2254,
- "end": 2255,
+ "start": 2419,
+ "end": 2420,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 96
},
"end": {
- "line": 56,
+ "line": 61,
"column": 97
}
}
@@ -26185,15 +27572,15 @@
"binop": null,
"updateContext": null
},
- "start": 2255,
- "end": 2256,
+ "start": 2420,
+ "end": 2421,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 97
},
"end": {
- "line": 56,
+ "line": 61,
"column": 98
}
}
@@ -26211,15 +27598,15 @@
"binop": null,
"updateContext": null
},
- "start": 2257,
- "end": 2258,
+ "start": 2422,
+ "end": 2423,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 99
},
"end": {
- "line": 56,
+ "line": 61,
"column": 100
}
}
@@ -26238,15 +27625,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 2258,
- "end": 2265,
+ "start": 2423,
+ "end": 2430,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 100
},
"end": {
- "line": 56,
+ "line": 61,
"column": 107
}
}
@@ -26264,15 +27651,15 @@
"binop": null,
"updateContext": null
},
- "start": 2265,
- "end": 2266,
+ "start": 2430,
+ "end": 2431,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 107
},
"end": {
- "line": 56,
+ "line": 61,
"column": 108
}
}
@@ -26290,15 +27677,15 @@
"binop": null
},
"value": "room",
- "start": 2267,
- "end": 2271,
+ "start": 2432,
+ "end": 2436,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 109
},
"end": {
- "line": 56,
+ "line": 61,
"column": 113
}
}
@@ -26316,15 +27703,15 @@
"binop": null,
"updateContext": null
},
- "start": 2271,
- "end": 2272,
+ "start": 2436,
+ "end": 2437,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 113
},
"end": {
- "line": 56,
+ "line": 61,
"column": 114
}
}
@@ -26343,15 +27730,15 @@
"updateContext": null
},
"value": "players",
- "start": 2273,
- "end": 2282,
+ "start": 2438,
+ "end": 2447,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 115
},
"end": {
- "line": 56,
+ "line": 61,
"column": 124
}
}
@@ -26369,15 +27756,15 @@
"binop": null,
"updateContext": null
},
- "start": 2282,
- "end": 2283,
+ "start": 2447,
+ "end": 2448,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 124
},
"end": {
- "line": 56,
+ "line": 61,
"column": 125
}
}
@@ -26395,15 +27782,15 @@
"binop": null
},
"value": "data",
- "start": 2284,
- "end": 2288,
+ "start": 2449,
+ "end": 2453,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 126
},
"end": {
- "line": 56,
+ "line": 61,
"column": 130
}
}
@@ -26421,15 +27808,15 @@
"binop": null,
"updateContext": null
},
- "start": 2288,
- "end": 2289,
+ "start": 2453,
+ "end": 2454,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 130
},
"end": {
- "line": 56,
+ "line": 61,
"column": 131
}
}
@@ -26447,15 +27834,15 @@
"binop": null
},
"value": "player",
- "start": 2289,
- "end": 2295,
+ "start": 2454,
+ "end": 2460,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 131
},
"end": {
- "line": 56,
+ "line": 61,
"column": 137
}
}
@@ -26473,15 +27860,15 @@
"binop": null,
"updateContext": null
},
- "start": 2295,
- "end": 2296,
+ "start": 2460,
+ "end": 2461,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 137
},
"end": {
- "line": 56,
+ "line": 61,
"column": 138
}
}
@@ -26500,15 +27887,15 @@
"updateContext": null
},
"value": "posX",
- "start": 2297,
- "end": 2303,
+ "start": 2462,
+ "end": 2468,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 139
},
"end": {
- "line": 56,
+ "line": 61,
"column": 145
}
}
@@ -26526,15 +27913,15 @@
"binop": null,
"updateContext": null
},
- "start": 2303,
- "end": 2304,
+ "start": 2468,
+ "end": 2469,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 145
},
"end": {
- "line": 56,
+ "line": 61,
"column": 146
}
}
@@ -26551,15 +27938,15 @@
"postfix": false,
"binop": null
},
- "start": 2304,
- "end": 2305,
+ "start": 2469,
+ "end": 2470,
"loc": {
"start": {
- "line": 56,
+ "line": 61,
"column": 146
},
"end": {
- "line": 56,
+ "line": 61,
"column": 147
}
}
@@ -26577,15 +27964,15 @@
"binop": null
},
"value": "setField",
- "start": 2309,
- "end": 2317,
+ "start": 2474,
+ "end": 2482,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 3
},
"end": {
- "line": 57,
+ "line": 62,
"column": 11
}
}
@@ -26602,15 +27989,15 @@
"postfix": false,
"binop": null
},
- "start": 2317,
- "end": 2318,
+ "start": 2482,
+ "end": 2483,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 11
},
"end": {
- "line": 57,
+ "line": 62,
"column": 12
}
}
@@ -26628,15 +28015,15 @@
"binop": null
},
"value": "GLOBAL",
- "start": 2318,
- "end": 2324,
+ "start": 2483,
+ "end": 2489,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 12
},
"end": {
- "line": 57,
+ "line": 62,
"column": 18
}
}
@@ -26654,15 +28041,15 @@
"binop": null,
"updateContext": null
},
- "start": 2324,
- "end": 2325,
+ "start": 2489,
+ "end": 2490,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 18
},
"end": {
- "line": 57,
+ "line": 62,
"column": 19
}
}
@@ -26680,15 +28067,15 @@
"binop": null
},
"value": "SPAWN_POINTS",
- "start": 2325,
- "end": 2337,
+ "start": 2490,
+ "end": 2502,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 19
},
"end": {
- "line": 57,
+ "line": 62,
"column": 31
}
}
@@ -26706,15 +28093,15 @@
"binop": null,
"updateContext": null
},
- "start": 2337,
- "end": 2338,
+ "start": 2502,
+ "end": 2503,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 31
},
"end": {
- "line": 57,
+ "line": 62,
"column": 32
}
}
@@ -26732,15 +28119,15 @@
"binop": null
},
"value": "getTeamNumber",
- "start": 2338,
- "end": 2351,
+ "start": 2503,
+ "end": 2516,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 32
},
"end": {
- "line": 57,
+ "line": 62,
"column": 45
}
}
@@ -26757,15 +28144,15 @@
"postfix": false,
"binop": null
},
- "start": 2351,
- "end": 2352,
+ "start": 2516,
+ "end": 2517,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 45
},
"end": {
- "line": 57,
+ "line": 62,
"column": 46
}
}
@@ -26783,15 +28170,15 @@
"binop": null
},
"value": "room",
- "start": 2352,
- "end": 2356,
+ "start": 2517,
+ "end": 2521,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 46
},
"end": {
- "line": 57,
+ "line": 62,
"column": 50
}
}
@@ -26809,15 +28196,15 @@
"binop": null,
"updateContext": null
},
- "start": 2356,
- "end": 2357,
+ "start": 2521,
+ "end": 2522,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 50
},
"end": {
- "line": 57,
+ "line": 62,
"column": 51
}
}
@@ -26835,15 +28222,15 @@
"binop": null
},
"value": "thisPlayer",
- "start": 2358,
- "end": 2368,
+ "start": 2523,
+ "end": 2533,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 52
},
"end": {
- "line": 57,
+ "line": 62,
"column": 62
}
}
@@ -26861,15 +28248,15 @@
"binop": null,
"updateContext": null
},
- "start": 2368,
- "end": 2369,
+ "start": 2533,
+ "end": 2534,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 62
},
"end": {
- "line": 57,
+ "line": 62,
"column": 63
}
}
@@ -26887,15 +28274,15 @@
"binop": null
},
"value": "team",
- "start": 2369,
- "end": 2373,
+ "start": 2534,
+ "end": 2538,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 63
},
"end": {
- "line": 57,
+ "line": 62,
"column": 67
}
}
@@ -26912,15 +28299,15 @@
"postfix": false,
"binop": null
},
- "start": 2373,
- "end": 2374,
+ "start": 2538,
+ "end": 2539,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 67
},
"end": {
- "line": 57,
+ "line": 62,
"column": 68
}
}
@@ -26938,15 +28325,15 @@
"binop": null,
"updateContext": null
},
- "start": 2374,
- "end": 2375,
+ "start": 2539,
+ "end": 2540,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 68
},
"end": {
- "line": 57,
+ "line": 62,
"column": 69
}
}
@@ -26964,15 +28351,15 @@
"binop": null,
"updateContext": null
},
- "start": 2375,
- "end": 2376,
+ "start": 2540,
+ "end": 2541,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 69
},
"end": {
- "line": 57,
+ "line": 62,
"column": 70
}
}
@@ -26990,15 +28377,15 @@
"binop": null
},
"value": "y",
- "start": 2376,
- "end": 2377,
+ "start": 2541,
+ "end": 2542,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 70
},
"end": {
- "line": 57,
+ "line": 62,
"column": 71
}
}
@@ -27017,15 +28404,15 @@
"updateContext": null
},
"value": "*",
- "start": 2378,
- "end": 2379,
+ "start": 2543,
+ "end": 2544,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 72
},
"end": {
- "line": 57,
+ "line": 62,
"column": 73
}
}
@@ -27043,15 +28430,15 @@
"binop": null
},
"value": "GLOBAL",
- "start": 2380,
- "end": 2386,
+ "start": 2545,
+ "end": 2551,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 74
},
"end": {
- "line": 57,
+ "line": 62,
"column": 80
}
}
@@ -27069,15 +28456,15 @@
"binop": null,
"updateContext": null
},
- "start": 2386,
- "end": 2387,
+ "start": 2551,
+ "end": 2552,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 80
},
"end": {
- "line": 57,
+ "line": 62,
"column": 81
}
}
@@ -27095,15 +28482,15 @@
"binop": null
},
"value": "GRID_SPACING",
- "start": 2387,
- "end": 2399,
+ "start": 2552,
+ "end": 2564,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 81
},
"end": {
- "line": 57,
+ "line": 62,
"column": 93
}
}
@@ -27122,15 +28509,15 @@
"updateContext": null
},
"value": "*",
- "start": 2400,
- "end": 2401,
+ "start": 2565,
+ "end": 2566,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 94
},
"end": {
- "line": 57,
+ "line": 62,
"column": 95
}
}
@@ -27149,15 +28536,15 @@
"updateContext": null
},
"value": 2,
- "start": 2402,
- "end": 2403,
+ "start": 2567,
+ "end": 2568,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 96
},
"end": {
- "line": 57,
+ "line": 62,
"column": 97
}
}
@@ -27175,15 +28562,15 @@
"binop": null,
"updateContext": null
},
- "start": 2403,
- "end": 2404,
+ "start": 2568,
+ "end": 2569,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 97
},
"end": {
- "line": 57,
+ "line": 62,
"column": 98
}
}
@@ -27201,15 +28588,15 @@
"binop": null,
"updateContext": null
},
- "start": 2405,
- "end": 2406,
+ "start": 2570,
+ "end": 2571,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 99
},
"end": {
- "line": 57,
+ "line": 62,
"column": 100
}
}
@@ -27228,15 +28615,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 2406,
- "end": 2413,
+ "start": 2571,
+ "end": 2578,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 100
},
"end": {
- "line": 57,
+ "line": 62,
"column": 107
}
}
@@ -27254,15 +28641,15 @@
"binop": null,
"updateContext": null
},
- "start": 2413,
- "end": 2414,
+ "start": 2578,
+ "end": 2579,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 107
},
"end": {
- "line": 57,
+ "line": 62,
"column": 108
}
}
@@ -27280,15 +28667,15 @@
"binop": null
},
"value": "room",
- "start": 2415,
- "end": 2419,
+ "start": 2580,
+ "end": 2584,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 109
},
"end": {
- "line": 57,
+ "line": 62,
"column": 113
}
}
@@ -27306,15 +28693,15 @@
"binop": null,
"updateContext": null
},
- "start": 2419,
- "end": 2420,
+ "start": 2584,
+ "end": 2585,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 113
},
"end": {
- "line": 57,
+ "line": 62,
"column": 114
}
}
@@ -27333,15 +28720,15 @@
"updateContext": null
},
"value": "players",
- "start": 2421,
- "end": 2430,
+ "start": 2586,
+ "end": 2595,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 115
},
"end": {
- "line": 57,
+ "line": 62,
"column": 124
}
}
@@ -27359,15 +28746,15 @@
"binop": null,
"updateContext": null
},
- "start": 2430,
- "end": 2431,
+ "start": 2595,
+ "end": 2596,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 124
},
"end": {
- "line": 57,
+ "line": 62,
"column": 125
}
}
@@ -27385,15 +28772,15 @@
"binop": null
},
"value": "data",
- "start": 2432,
- "end": 2436,
+ "start": 2597,
+ "end": 2601,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 126
},
"end": {
- "line": 57,
+ "line": 62,
"column": 130
}
}
@@ -27411,15 +28798,15 @@
"binop": null,
"updateContext": null
},
- "start": 2436,
- "end": 2437,
+ "start": 2601,
+ "end": 2602,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 130
},
"end": {
- "line": 57,
+ "line": 62,
"column": 131
}
}
@@ -27437,15 +28824,15 @@
"binop": null
},
"value": "player",
- "start": 2437,
- "end": 2443,
+ "start": 2602,
+ "end": 2608,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 131
},
"end": {
- "line": 57,
+ "line": 62,
"column": 137
}
}
@@ -27463,15 +28850,15 @@
"binop": null,
"updateContext": null
},
- "start": 2443,
- "end": 2444,
+ "start": 2608,
+ "end": 2609,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 137
},
"end": {
- "line": 57,
+ "line": 62,
"column": 138
}
}
@@ -27490,15 +28877,15 @@
"updateContext": null
},
"value": "posY",
- "start": 2445,
- "end": 2451,
+ "start": 2610,
+ "end": 2616,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 139
},
"end": {
- "line": 57,
+ "line": 62,
"column": 145
}
}
@@ -27516,15 +28903,15 @@
"binop": null,
"updateContext": null
},
- "start": 2451,
- "end": 2452,
+ "start": 2616,
+ "end": 2617,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 145
},
"end": {
- "line": 57,
+ "line": 62,
"column": 146
}
}
@@ -27541,15 +28928,15 @@
"postfix": false,
"binop": null
},
- "start": 2452,
- "end": 2453,
+ "start": 2617,
+ "end": 2618,
"loc": {
"start": {
- "line": 57,
+ "line": 62,
"column": 146
},
"end": {
- "line": 57,
+ "line": 62,
"column": 147
}
}
@@ -27567,15 +28954,15 @@
"binop": null
},
"value": "setField",
- "start": 2457,
- "end": 2465,
+ "start": 2622,
+ "end": 2630,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 3
},
"end": {
- "line": 58,
+ "line": 63,
"column": 11
}
}
@@ -27592,15 +28979,15 @@
"postfix": false,
"binop": null
},
- "start": 2465,
- "end": 2466,
+ "start": 2630,
+ "end": 2631,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 11
},
"end": {
- "line": 58,
+ "line": 63,
"column": 12
}
}
@@ -27618,15 +29005,15 @@
"binop": null
},
"value": "GLOBAL",
- "start": 2466,
- "end": 2472,
+ "start": 2631,
+ "end": 2637,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 12
},
"end": {
- "line": 58,
+ "line": 63,
"column": 18
}
}
@@ -27644,15 +29031,15 @@
"binop": null,
"updateContext": null
},
- "start": 2472,
- "end": 2473,
+ "start": 2637,
+ "end": 2638,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 18
},
"end": {
- "line": 58,
+ "line": 63,
"column": 19
}
}
@@ -27670,15 +29057,15 @@
"binop": null
},
"value": "MAX_HEALTH",
- "start": 2473,
- "end": 2483,
+ "start": 2638,
+ "end": 2648,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 19
},
"end": {
- "line": 58,
+ "line": 63,
"column": 29
}
}
@@ -27696,15 +29083,15 @@
"binop": null,
"updateContext": null
},
- "start": 2483,
- "end": 2484,
+ "start": 2648,
+ "end": 2649,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 29
},
"end": {
- "line": 58,
+ "line": 63,
"column": 30
}
}
@@ -27722,15 +29109,15 @@
"binop": null,
"updateContext": null
},
- "start": 2485,
- "end": 2486,
+ "start": 2650,
+ "end": 2651,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 31
},
"end": {
- "line": 58,
+ "line": 63,
"column": 32
}
}
@@ -27749,15 +29136,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 2486,
- "end": 2493,
+ "start": 2651,
+ "end": 2658,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 32
},
"end": {
- "line": 58,
+ "line": 63,
"column": 39
}
}
@@ -27775,15 +29162,15 @@
"binop": null,
"updateContext": null
},
- "start": 2493,
- "end": 2494,
+ "start": 2658,
+ "end": 2659,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 39
},
"end": {
- "line": 58,
+ "line": 63,
"column": 40
}
}
@@ -27801,15 +29188,15 @@
"binop": null
},
"value": "room",
- "start": 2495,
- "end": 2499,
+ "start": 2660,
+ "end": 2664,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 41
},
"end": {
- "line": 58,
+ "line": 63,
"column": 45
}
}
@@ -27827,15 +29214,15 @@
"binop": null,
"updateContext": null
},
- "start": 2499,
- "end": 2500,
+ "start": 2664,
+ "end": 2665,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 45
},
"end": {
- "line": 58,
+ "line": 63,
"column": 46
}
}
@@ -27854,15 +29241,15 @@
"updateContext": null
},
"value": "players",
- "start": 2501,
- "end": 2510,
+ "start": 2666,
+ "end": 2675,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 47
},
"end": {
- "line": 58,
+ "line": 63,
"column": 56
}
}
@@ -27880,15 +29267,15 @@
"binop": null,
"updateContext": null
},
- "start": 2510,
- "end": 2511,
+ "start": 2675,
+ "end": 2676,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 56
},
"end": {
- "line": 58,
+ "line": 63,
"column": 57
}
}
@@ -27906,15 +29293,15 @@
"binop": null
},
"value": "data",
- "start": 2512,
- "end": 2516,
+ "start": 2677,
+ "end": 2681,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 58
},
"end": {
- "line": 58,
+ "line": 63,
"column": 62
}
}
@@ -27932,15 +29319,15 @@
"binop": null,
"updateContext": null
},
- "start": 2516,
- "end": 2517,
+ "start": 2681,
+ "end": 2682,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 62
},
"end": {
- "line": 58,
+ "line": 63,
"column": 63
}
}
@@ -27958,15 +29345,15 @@
"binop": null
},
"value": "player",
- "start": 2517,
- "end": 2523,
+ "start": 2682,
+ "end": 2688,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 63
},
"end": {
- "line": 58,
+ "line": 63,
"column": 69
}
}
@@ -27984,15 +29371,15 @@
"binop": null,
"updateContext": null
},
- "start": 2523,
- "end": 2524,
+ "start": 2688,
+ "end": 2689,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 69
},
"end": {
- "line": 58,
+ "line": 63,
"column": 70
}
}
@@ -28011,15 +29398,15 @@
"updateContext": null
},
"value": "health",
- "start": 2525,
- "end": 2533,
+ "start": 2690,
+ "end": 2698,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 71
},
"end": {
- "line": 58,
+ "line": 63,
"column": 79
}
}
@@ -28037,15 +29424,15 @@
"binop": null,
"updateContext": null
},
- "start": 2533,
- "end": 2534,
+ "start": 2698,
+ "end": 2699,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 79
},
"end": {
- "line": 58,
+ "line": 63,
"column": 80
}
}
@@ -28062,15 +29449,15 @@
"postfix": false,
"binop": null
},
- "start": 2534,
- "end": 2535,
+ "start": 2699,
+ "end": 2700,
"loc": {
"start": {
- "line": 58,
+ "line": 63,
"column": 80
},
"end": {
- "line": 58,
+ "line": 63,
"column": 81
}
}
@@ -28088,15 +29475,15 @@
"binop": null
},
"value": "setField",
- "start": 2539,
- "end": 2547,
+ "start": 2704,
+ "end": 2712,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 3
},
"end": {
- "line": 59,
+ "line": 64,
"column": 11
}
}
@@ -28113,15 +29500,15 @@
"postfix": false,
"binop": null
},
- "start": 2547,
- "end": 2548,
+ "start": 2712,
+ "end": 2713,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 11
},
"end": {
- "line": 59,
+ "line": 64,
"column": 12
}
}
@@ -28141,15 +29528,15 @@
"updateContext": null
},
"value": "true",
- "start": 2548,
- "end": 2552,
+ "start": 2713,
+ "end": 2717,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 12
},
"end": {
- "line": 59,
+ "line": 64,
"column": 16
}
}
@@ -28167,15 +29554,15 @@
"binop": null,
"updateContext": null
},
- "start": 2552,
- "end": 2553,
+ "start": 2717,
+ "end": 2718,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 16
},
"end": {
- "line": 59,
+ "line": 64,
"column": 17
}
}
@@ -28193,15 +29580,15 @@
"binop": null,
"updateContext": null
},
- "start": 2554,
- "end": 2555,
+ "start": 2719,
+ "end": 2720,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 18
},
"end": {
- "line": 59,
+ "line": 64,
"column": 19
}
}
@@ -28220,15 +29607,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 2555,
- "end": 2562,
+ "start": 2720,
+ "end": 2727,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 19
},
"end": {
- "line": 59,
+ "line": 64,
"column": 26
}
}
@@ -28246,15 +29633,15 @@
"binop": null,
"updateContext": null
},
- "start": 2562,
- "end": 2563,
+ "start": 2727,
+ "end": 2728,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 26
},
"end": {
- "line": 59,
+ "line": 64,
"column": 27
}
}
@@ -28272,15 +29659,15 @@
"binop": null
},
"value": "room",
- "start": 2564,
- "end": 2568,
+ "start": 2729,
+ "end": 2733,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 28
},
"end": {
- "line": 59,
+ "line": 64,
"column": 32
}
}
@@ -28298,15 +29685,15 @@
"binop": null,
"updateContext": null
},
- "start": 2568,
- "end": 2569,
+ "start": 2733,
+ "end": 2734,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 32
},
"end": {
- "line": 59,
+ "line": 64,
"column": 33
}
}
@@ -28325,15 +29712,15 @@
"updateContext": null
},
"value": "players",
- "start": 2570,
- "end": 2579,
+ "start": 2735,
+ "end": 2744,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 34
},
"end": {
- "line": 59,
+ "line": 64,
"column": 43
}
}
@@ -28351,15 +29738,15 @@
"binop": null,
"updateContext": null
},
- "start": 2579,
- "end": 2580,
+ "start": 2744,
+ "end": 2745,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 43
},
"end": {
- "line": 59,
+ "line": 64,
"column": 44
}
}
@@ -28377,15 +29764,15 @@
"binop": null
},
"value": "data",
- "start": 2581,
- "end": 2585,
+ "start": 2746,
+ "end": 2750,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 45
},
"end": {
- "line": 59,
+ "line": 64,
"column": 49
}
}
@@ -28403,15 +29790,15 @@
"binop": null,
"updateContext": null
},
- "start": 2585,
- "end": 2586,
+ "start": 2750,
+ "end": 2751,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 49
},
"end": {
- "line": 59,
+ "line": 64,
"column": 50
}
}
@@ -28429,15 +29816,15 @@
"binop": null
},
"value": "player",
- "start": 2586,
- "end": 2592,
+ "start": 2751,
+ "end": 2757,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 50
},
"end": {
- "line": 59,
+ "line": 64,
"column": 56
}
}
@@ -28455,15 +29842,15 @@
"binop": null,
"updateContext": null
},
- "start": 2592,
- "end": 2593,
+ "start": 2757,
+ "end": 2758,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 56
},
"end": {
- "line": 59,
+ "line": 64,
"column": 57
}
}
@@ -28482,15 +29869,15 @@
"updateContext": null
},
"value": "dead",
- "start": 2594,
- "end": 2600,
+ "start": 2759,
+ "end": 2765,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 58
},
"end": {
- "line": 59,
+ "line": 64,
"column": 64
}
}
@@ -28508,15 +29895,15 @@
"binop": null,
"updateContext": null
},
- "start": 2600,
- "end": 2601,
+ "start": 2765,
+ "end": 2766,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 64
},
"end": {
- "line": 59,
+ "line": 64,
"column": 65
}
}
@@ -28533,15 +29920,15 @@
"postfix": false,
"binop": null
},
- "start": 2601,
- "end": 2602,
+ "start": 2766,
+ "end": 2767,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 65
},
"end": {
- "line": 59,
+ "line": 64,
"column": 66
}
}
@@ -28549,15 +29936,15 @@
{
"type": "CommentLine",
"value": " This will be reset when it has been verified that the player has been placed at the proper spawnpoint",
- "start": 2603,
- "end": 2707,
+ "start": 2768,
+ "end": 2872,
"loc": {
"start": {
- "line": 59,
+ "line": 64,
"column": 67
},
"end": {
- "line": 59,
+ "line": 64,
"column": 171
}
}
@@ -28577,15 +29964,15 @@
"updateContext": null
},
"value": "if",
- "start": 2712,
- "end": 2714,
+ "start": 2877,
+ "end": 2879,
"loc": {
"start": {
- "line": 61,
+ "line": 66,
"column": 3
},
"end": {
- "line": 61,
+ "line": 66,
"column": 5
}
}
@@ -28602,15 +29989,15 @@
"postfix": false,
"binop": null
},
- "start": 2715,
- "end": 2716,
+ "start": 2880,
+ "end": 2881,
"loc": {
"start": {
- "line": 61,
+ "line": 66,
"column": 6
},
"end": {
- "line": 61,
+ "line": 66,
"column": 7
}
}
@@ -28628,15 +30015,15 @@
"binop": null
},
"value": "socket",
- "start": 2716,
- "end": 2722,
+ "start": 2881,
+ "end": 2887,
"loc": {
"start": {
- "line": 61,
+ "line": 66,
"column": 7
},
"end": {
- "line": 61,
+ "line": 66,
"column": 13
}
}
@@ -28654,15 +30041,15 @@
"binop": null,
"updateContext": null
},
- "start": 2722,
- "end": 2723,
+ "start": 2887,
+ "end": 2888,
"loc": {
"start": {
- "line": 61,
+ "line": 66,
"column": 13
},
"end": {
- "line": 61,
+ "line": 66,
"column": 14
}
}
@@ -28680,15 +30067,15 @@
"binop": null
},
"value": "id",
- "start": 2723,
- "end": 2725,
+ "start": 2888,
+ "end": 2890,
"loc": {
"start": {
- "line": 61,
+ "line": 66,
"column": 14
},
"end": {
- "line": 61,
+ "line": 66,
"column": 16
}
}
@@ -28707,15 +30094,15 @@
"updateContext": null
},
"value": "===",
- "start": 2726,
- "end": 2729,
+ "start": 2891,
+ "end": 2894,
"loc": {
"start": {
- "line": 61,
+ "line": 66,
"column": 17
},
"end": {
- "line": 61,
+ "line": 66,
"column": 20
}
}
@@ -28733,15 +30120,15 @@
"binop": null
},
"value": "data",
- "start": 2730,
- "end": 2734,
+ "start": 2895,
+ "end": 2899,
"loc": {
"start": {
- "line": 61,
+ "line": 66,
"column": 21
},
"end": {
- "line": 61,
+ "line": 66,
"column": 25
}
}
@@ -28759,15 +30146,15 @@
"binop": null,
"updateContext": null
},
- "start": 2734,
- "end": 2735,
+ "start": 2899,
+ "end": 2900,
"loc": {
"start": {
- "line": 61,
+ "line": 66,
"column": 25
},
"end": {
- "line": 61,
+ "line": 66,
"column": 26
}
}
@@ -28785,15 +30172,15 @@
"binop": null
},
"value": "player",
- "start": 2735,
- "end": 2741,
+ "start": 2900,
+ "end": 2906,
"loc": {
"start": {
- "line": 61,
+ "line": 66,
"column": 26
},
"end": {
- "line": 61,
+ "line": 66,
"column": 32
}
}
@@ -28810,15 +30197,15 @@
"postfix": false,
"binop": null
},
- "start": 2741,
- "end": 2742,
+ "start": 2906,
+ "end": 2907,
"loc": {
"start": {
- "line": 61,
+ "line": 66,
"column": 32
},
"end": {
- "line": 61,
+ "line": 66,
"column": 33
}
}
@@ -28835,15 +30222,15 @@
"postfix": false,
"binop": null
},
- "start": 2743,
- "end": 2744,
+ "start": 2908,
+ "end": 2909,
"loc": {
"start": {
- "line": 61,
+ "line": 66,
"column": 34
},
"end": {
- "line": 61,
+ "line": 66,
"column": 35
}
}
@@ -28863,15 +30250,15 @@
"updateContext": null
},
"value": "let",
- "start": 2749,
- "end": 2752,
+ "start": 2914,
+ "end": 2917,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 4
},
"end": {
- "line": 62,
+ "line": 67,
"column": 7
}
}
@@ -28889,15 +30276,15 @@
"binop": null
},
"value": "pl",
- "start": 2753,
- "end": 2755,
+ "start": 2918,
+ "end": 2920,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 8
},
"end": {
- "line": 62,
+ "line": 67,
"column": 10
}
}
@@ -28916,15 +30303,15 @@
"updateContext": null
},
"value": "=",
- "start": 2756,
- "end": 2757,
+ "start": 2921,
+ "end": 2922,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 11
},
"end": {
- "line": 62,
+ "line": 67,
"column": 12
}
}
@@ -28942,15 +30329,15 @@
"binop": null
},
"value": "getField",
- "start": 2758,
- "end": 2766,
+ "start": 2923,
+ "end": 2931,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 13
},
"end": {
- "line": 62,
+ "line": 67,
"column": 21
}
}
@@ -28967,15 +30354,15 @@
"postfix": false,
"binop": null
},
- "start": 2766,
- "end": 2767,
+ "start": 2931,
+ "end": 2932,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 21
},
"end": {
- "line": 62,
+ "line": 67,
"column": 22
}
}
@@ -28993,15 +30380,15 @@
"binop": null,
"updateContext": null
},
- "start": 2767,
- "end": 2768,
+ "start": 2932,
+ "end": 2933,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 22
},
"end": {
- "line": 62,
+ "line": 67,
"column": 23
}
}
@@ -29020,15 +30407,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 2768,
- "end": 2775,
+ "start": 2933,
+ "end": 2940,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 23
},
"end": {
- "line": 62,
+ "line": 67,
"column": 30
}
}
@@ -29046,15 +30433,15 @@
"binop": null,
"updateContext": null
},
- "start": 2775,
- "end": 2776,
+ "start": 2940,
+ "end": 2941,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 30
},
"end": {
- "line": 62,
+ "line": 67,
"column": 31
}
}
@@ -29072,15 +30459,15 @@
"binop": null
},
"value": "room",
- "start": 2777,
- "end": 2781,
+ "start": 2942,
+ "end": 2946,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 32
},
"end": {
- "line": 62,
+ "line": 67,
"column": 36
}
}
@@ -29098,15 +30485,15 @@
"binop": null,
"updateContext": null
},
- "start": 2781,
- "end": 2782,
+ "start": 2946,
+ "end": 2947,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 36
},
"end": {
- "line": 62,
+ "line": 67,
"column": 37
}
}
@@ -29125,15 +30512,15 @@
"updateContext": null
},
"value": "players",
- "start": 2783,
- "end": 2792,
+ "start": 2948,
+ "end": 2957,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 38
},
"end": {
- "line": 62,
+ "line": 67,
"column": 47
}
}
@@ -29151,15 +30538,15 @@
"binop": null,
"updateContext": null
},
- "start": 2792,
- "end": 2793,
+ "start": 2957,
+ "end": 2958,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 47
},
"end": {
- "line": 62,
+ "line": 67,
"column": 48
}
}
@@ -29177,15 +30564,15 @@
"binop": null
},
"value": "data",
- "start": 2794,
- "end": 2798,
+ "start": 2959,
+ "end": 2963,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 49
},
"end": {
- "line": 62,
+ "line": 67,
"column": 53
}
}
@@ -29203,15 +30590,15 @@
"binop": null,
"updateContext": null
},
- "start": 2798,
- "end": 2799,
+ "start": 2963,
+ "end": 2964,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 53
},
"end": {
- "line": 62,
+ "line": 67,
"column": 54
}
}
@@ -29229,15 +30616,15 @@
"binop": null
},
"value": "player",
- "start": 2799,
- "end": 2805,
+ "start": 2964,
+ "end": 2970,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 54
},
"end": {
- "line": 62,
+ "line": 67,
"column": 60
}
}
@@ -29255,15 +30642,15 @@
"binop": null,
"updateContext": null
},
- "start": 2805,
- "end": 2806,
+ "start": 2970,
+ "end": 2971,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 60
},
"end": {
- "line": 62,
+ "line": 67,
"column": 61
}
}
@@ -29280,15 +30667,15 @@
"postfix": false,
"binop": null
},
- "start": 2806,
- "end": 2807,
+ "start": 2971,
+ "end": 2972,
"loc": {
"start": {
- "line": 62,
+ "line": 67,
"column": 61
},
"end": {
- "line": 62,
+ "line": 67,
"column": 62
}
}
@@ -29306,15 +30693,15 @@
"binop": null
},
"value": "socket",
- "start": 2812,
- "end": 2818,
+ "start": 2977,
+ "end": 2983,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 4
},
"end": {
- "line": 63,
+ "line": 68,
"column": 10
}
}
@@ -29332,15 +30719,15 @@
"binop": null,
"updateContext": null
},
- "start": 2818,
- "end": 2819,
+ "start": 2983,
+ "end": 2984,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 10
},
"end": {
- "line": 63,
+ "line": 68,
"column": 11
}
}
@@ -29358,15 +30745,15 @@
"binop": null
},
"value": "emit",
- "start": 2819,
- "end": 2823,
+ "start": 2984,
+ "end": 2988,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 11
},
"end": {
- "line": 63,
+ "line": 68,
"column": 15
}
}
@@ -29383,15 +30770,15 @@
"postfix": false,
"binop": null
},
- "start": 2823,
- "end": 2824,
+ "start": 2988,
+ "end": 2989,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 15
},
"end": {
- "line": 63,
+ "line": 68,
"column": 16
}
}
@@ -29410,15 +30797,15 @@
"updateContext": null
},
"value": "serverSendPlayerDeath",
- "start": 2824,
- "end": 2847,
+ "start": 2989,
+ "end": 3012,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 16
},
"end": {
- "line": 63,
+ "line": 68,
"column": 39
}
}
@@ -29436,15 +30823,15 @@
"binop": null,
"updateContext": null
},
- "start": 2847,
- "end": 2848,
+ "start": 3012,
+ "end": 3013,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 39
},
"end": {
- "line": 63,
+ "line": 68,
"column": 40
}
}
@@ -29461,15 +30848,15 @@
"postfix": false,
"binop": null
},
- "start": 2849,
- "end": 2850,
+ "start": 3014,
+ "end": 3015,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 41
},
"end": {
- "line": 63,
+ "line": 68,
"column": 42
}
}
@@ -29487,15 +30874,15 @@
"binop": null
},
"value": "posX",
- "start": 2851,
- "end": 2855,
+ "start": 3016,
+ "end": 3020,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 43
},
"end": {
- "line": 63,
+ "line": 68,
"column": 47
}
}
@@ -29513,15 +30900,15 @@
"binop": null,
"updateContext": null
},
- "start": 2855,
- "end": 2856,
+ "start": 3020,
+ "end": 3021,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 47
},
"end": {
- "line": 63,
+ "line": 68,
"column": 48
}
}
@@ -29539,15 +30926,15 @@
"binop": null
},
"value": "pl",
- "start": 2857,
- "end": 2859,
+ "start": 3022,
+ "end": 3024,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 49
},
"end": {
- "line": 63,
+ "line": 68,
"column": 51
}
}
@@ -29565,15 +30952,15 @@
"binop": null,
"updateContext": null
},
- "start": 2859,
- "end": 2860,
+ "start": 3024,
+ "end": 3025,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 51
},
"end": {
- "line": 63,
+ "line": 68,
"column": 52
}
}
@@ -29591,15 +30978,15 @@
"binop": null
},
"value": "posX",
- "start": 2860,
- "end": 2864,
+ "start": 3025,
+ "end": 3029,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 52
},
"end": {
- "line": 63,
+ "line": 68,
"column": 56
}
}
@@ -29617,15 +31004,15 @@
"binop": null,
"updateContext": null
},
- "start": 2864,
- "end": 2865,
+ "start": 3029,
+ "end": 3030,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 56
},
"end": {
- "line": 63,
+ "line": 68,
"column": 57
}
}
@@ -29643,15 +31030,15 @@
"binop": null
},
"value": "posY",
- "start": 2866,
- "end": 2870,
+ "start": 3031,
+ "end": 3035,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 58
},
"end": {
- "line": 63,
+ "line": 68,
"column": 62
}
}
@@ -29669,15 +31056,15 @@
"binop": null,
"updateContext": null
},
- "start": 2870,
- "end": 2871,
+ "start": 3035,
+ "end": 3036,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 62
},
"end": {
- "line": 63,
+ "line": 68,
"column": 63
}
}
@@ -29695,15 +31082,15 @@
"binop": null
},
"value": "pl",
- "start": 2872,
- "end": 2874,
+ "start": 3037,
+ "end": 3039,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 64
},
"end": {
- "line": 63,
+ "line": 68,
"column": 66
}
}
@@ -29721,15 +31108,15 @@
"binop": null,
"updateContext": null
},
- "start": 2874,
- "end": 2875,
+ "start": 3039,
+ "end": 3040,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 66
},
"end": {
- "line": 63,
+ "line": 68,
"column": 67
}
}
@@ -29747,15 +31134,15 @@
"binop": null
},
"value": "posY",
- "start": 2875,
- "end": 2879,
+ "start": 3040,
+ "end": 3044,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 67
},
"end": {
- "line": 63,
+ "line": 68,
"column": 71
}
}
@@ -29773,15 +31160,15 @@
"binop": null,
"updateContext": null
},
- "start": 2879,
- "end": 2880,
+ "start": 3044,
+ "end": 3045,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 71
},
"end": {
- "line": 63,
+ "line": 68,
"column": 72
}
}
@@ -29799,15 +31186,15 @@
"binop": null
},
"value": "vx",
- "start": 2881,
- "end": 2883,
+ "start": 3046,
+ "end": 3048,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 73
},
"end": {
- "line": 63,
+ "line": 68,
"column": 75
}
}
@@ -29825,15 +31212,15 @@
"binop": null,
"updateContext": null
},
- "start": 2883,
- "end": 2884,
+ "start": 3048,
+ "end": 3049,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 75
},
"end": {
- "line": 63,
+ "line": 68,
"column": 76
}
}
@@ -29851,15 +31238,15 @@
"binop": null
},
"value": "pl",
- "start": 2885,
- "end": 2887,
+ "start": 3050,
+ "end": 3052,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 77
},
"end": {
- "line": 63,
+ "line": 68,
"column": 79
}
}
@@ -29877,15 +31264,15 @@
"binop": null,
"updateContext": null
},
- "start": 2887,
- "end": 2888,
+ "start": 3052,
+ "end": 3053,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 79
},
"end": {
- "line": 63,
+ "line": 68,
"column": 80
}
}
@@ -29903,15 +31290,15 @@
"binop": null
},
"value": "vx",
- "start": 2888,
- "end": 2890,
+ "start": 3053,
+ "end": 3055,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 80
},
"end": {
- "line": 63,
+ "line": 68,
"column": 82
}
}
@@ -29929,15 +31316,15 @@
"binop": null,
"updateContext": null
},
- "start": 2890,
- "end": 2891,
+ "start": 3055,
+ "end": 3056,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 82
},
"end": {
- "line": 63,
+ "line": 68,
"column": 83
}
}
@@ -29955,15 +31342,15 @@
"binop": null
},
"value": "vy",
- "start": 2892,
- "end": 2894,
+ "start": 3057,
+ "end": 3059,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 84
},
"end": {
- "line": 63,
+ "line": 68,
"column": 86
}
}
@@ -29981,15 +31368,15 @@
"binop": null,
"updateContext": null
},
- "start": 2894,
- "end": 2895,
+ "start": 3059,
+ "end": 3060,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 86
},
"end": {
- "line": 63,
+ "line": 68,
"column": 87
}
}
@@ -30007,15 +31394,15 @@
"binop": null
},
"value": "pl",
- "start": 2896,
- "end": 2898,
+ "start": 3061,
+ "end": 3063,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 88
},
"end": {
- "line": 63,
+ "line": 68,
"column": 90
}
}
@@ -30033,15 +31420,15 @@
"binop": null,
"updateContext": null
},
- "start": 2898,
- "end": 2899,
+ "start": 3063,
+ "end": 3064,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 90
},
"end": {
- "line": 63,
+ "line": 68,
"column": 91
}
}
@@ -30059,15 +31446,15 @@
"binop": null
},
"value": "vy",
- "start": 2899,
- "end": 2901,
+ "start": 3064,
+ "end": 3066,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 91
},
"end": {
- "line": 63,
+ "line": 68,
"column": 93
}
}
@@ -30084,15 +31471,15 @@
"postfix": false,
"binop": null
},
- "start": 2902,
- "end": 2903,
+ "start": 3067,
+ "end": 3068,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 94
},
"end": {
- "line": 63,
+ "line": 68,
"column": 95
}
}
@@ -30109,15 +31496,15 @@
"postfix": false,
"binop": null
},
- "start": 2903,
- "end": 2904,
+ "start": 3068,
+ "end": 3069,
"loc": {
"start": {
- "line": 63,
+ "line": 68,
"column": 95
},
"end": {
- "line": 63,
+ "line": 68,
"column": 96
}
}
@@ -30134,15 +31521,15 @@
"postfix": false,
"binop": null
},
- "start": 2908,
- "end": 2909,
+ "start": 3073,
+ "end": 3074,
"loc": {
"start": {
- "line": 64,
+ "line": 69,
"column": 3
},
"end": {
- "line": 64,
+ "line": 69,
"column": 4
}
}
@@ -30162,15 +31549,15 @@
"updateContext": null
},
"value": "if",
- "start": 2914,
- "end": 2916,
+ "start": 3079,
+ "end": 3081,
"loc": {
"start": {
- "line": 66,
+ "line": 71,
"column": 3
},
"end": {
- "line": 66,
+ "line": 71,
"column": 5
}
}
@@ -30187,15 +31574,15 @@
"postfix": false,
"binop": null
},
- "start": 2917,
- "end": 2918,
+ "start": 3082,
+ "end": 3083,
"loc": {
"start": {
- "line": 66,
+ "line": 71,
"column": 6
},
"end": {
- "line": 66,
+ "line": 71,
"column": 7
}
}
@@ -30213,15 +31600,15 @@
"binop": null
},
"value": "data",
- "start": 2918,
- "end": 2922,
+ "start": 3083,
+ "end": 3087,
"loc": {
"start": {
- "line": 66,
+ "line": 71,
"column": 7
},
"end": {
- "line": 66,
+ "line": 71,
"column": 11
}
}
@@ -30239,15 +31626,15 @@
"binop": null,
"updateContext": null
},
- "start": 2922,
- "end": 2923,
+ "start": 3087,
+ "end": 3088,
"loc": {
"start": {
- "line": 66,
+ "line": 71,
"column": 11
},
"end": {
- "line": 66,
+ "line": 71,
"column": 12
}
}
@@ -30265,15 +31652,15 @@
"binop": null
},
"value": "id",
- "start": 2923,
- "end": 2925,
+ "start": 3088,
+ "end": 3090,
"loc": {
"start": {
- "line": 66,
+ "line": 71,
"column": 12
},
"end": {
- "line": 66,
+ "line": 71,
"column": 14
}
}
@@ -30292,15 +31679,15 @@
"updateContext": null
},
"value": "!==",
- "start": 2926,
- "end": 2929,
+ "start": 3091,
+ "end": 3094,
"loc": {
"start": {
- "line": 66,
+ "line": 71,
"column": 15
},
"end": {
- "line": 66,
+ "line": 71,
"column": 18
}
}
@@ -30318,15 +31705,15 @@
"binop": null
},
"value": "undefined",
- "start": 2930,
- "end": 2939,
+ "start": 3095,
+ "end": 3104,
"loc": {
"start": {
- "line": 66,
+ "line": 71,
"column": 19
},
"end": {
- "line": 66,
+ "line": 71,
"column": 28
}
}
@@ -30343,15 +31730,15 @@
"postfix": false,
"binop": null
},
- "start": 2939,
- "end": 2940,
+ "start": 3104,
+ "end": 3105,
"loc": {
"start": {
- "line": 66,
+ "line": 71,
"column": 28
},
"end": {
- "line": 66,
+ "line": 71,
"column": 29
}
}
@@ -30368,15 +31755,15 @@
"postfix": false,
"binop": null
},
- "start": 2941,
- "end": 2942,
+ "start": 3106,
+ "end": 3107,
"loc": {
"start": {
- "line": 66,
+ "line": 71,
"column": 30
},
"end": {
- "line": 66,
+ "line": 71,
"column": 31
}
}
@@ -30384,15 +31771,15 @@
{
"type": "CommentLine",
"value": " Read damagedBy to award points, clear in the process",
- "start": 2947,
- "end": 3002,
+ "start": 3112,
+ "end": 3167,
"loc": {
"start": {
- "line": 67,
+ "line": 72,
"column": 4
},
"end": {
- "line": 67,
+ "line": 72,
"column": 59
}
}
@@ -30412,15 +31799,15 @@
"updateContext": null
},
"value": "let",
- "start": 3007,
- "end": 3010,
+ "start": 3172,
+ "end": 3175,
"loc": {
"start": {
- "line": 68,
+ "line": 73,
"column": 4
},
"end": {
- "line": 68,
+ "line": 73,
"column": 7
}
}
@@ -30438,15 +31825,15 @@
"binop": null
},
"value": "max",
- "start": 3011,
- "end": 3014,
+ "start": 3176,
+ "end": 3179,
"loc": {
"start": {
- "line": 68,
+ "line": 73,
"column": 8
},
"end": {
- "line": 68,
+ "line": 73,
"column": 11
}
}
@@ -30465,15 +31852,15 @@
"updateContext": null
},
"value": "=",
- "start": 3015,
- "end": 3016,
+ "start": 3180,
+ "end": 3181,
"loc": {
"start": {
- "line": 68,
+ "line": 73,
"column": 12
},
"end": {
- "line": 68,
+ "line": 73,
"column": 13
}
}
@@ -30493,15 +31880,15 @@
"updateContext": null
},
"value": "null",
- "start": 3017,
- "end": 3021,
+ "start": 3182,
+ "end": 3186,
"loc": {
"start": {
- "line": 68,
+ "line": 73,
"column": 14
},
"end": {
- "line": 68,
+ "line": 73,
"column": 18
}
}
@@ -30521,15 +31908,15 @@
"updateContext": null
},
"value": "let",
- "start": 3026,
- "end": 3029,
+ "start": 3191,
+ "end": 3194,
"loc": {
"start": {
- "line": 69,
+ "line": 74,
"column": 4
},
"end": {
- "line": 69,
+ "line": 74,
"column": 7
}
}
@@ -30547,15 +31934,15 @@
"binop": null
},
"value": "dataToSend",
- "start": 3030,
- "end": 3040,
+ "start": 3195,
+ "end": 3205,
"loc": {
"start": {
- "line": 69,
+ "line": 74,
"column": 8
},
"end": {
- "line": 69,
+ "line": 74,
"column": 18
}
}
@@ -30575,15 +31962,15 @@
"updateContext": null
},
"value": "for",
- "start": 3045,
- "end": 3048,
+ "start": 3210,
+ "end": 3213,
"loc": {
"start": {
- "line": 70,
+ "line": 75,
"column": 4
},
"end": {
- "line": 70,
+ "line": 75,
"column": 7
}
}
@@ -30600,15 +31987,15 @@
"postfix": false,
"binop": null
},
- "start": 3049,
- "end": 3050,
+ "start": 3214,
+ "end": 3215,
"loc": {
"start": {
- "line": 70,
+ "line": 75,
"column": 8
},
"end": {
- "line": 70,
+ "line": 75,
"column": 9
}
}
@@ -30628,15 +32015,15 @@
"updateContext": null
},
"value": "let",
- "start": 3050,
- "end": 3053,
+ "start": 3215,
+ "end": 3218,
"loc": {
"start": {
- "line": 70,
+ "line": 75,
"column": 9
},
"end": {
- "line": 70,
+ "line": 75,
"column": 12
}
}
@@ -30654,15 +32041,15 @@
"binop": null
},
"value": "pl",
- "start": 3054,
- "end": 3056,
+ "start": 3219,
+ "end": 3221,
"loc": {
"start": {
- "line": 70,
+ "line": 75,
"column": 13
},
"end": {
- "line": 70,
+ "line": 75,
"column": 15
}
}
@@ -30682,15 +32069,15 @@
"updateContext": null
},
"value": "in",
- "start": 3057,
- "end": 3059,
+ "start": 3222,
+ "end": 3224,
"loc": {
"start": {
- "line": 70,
+ "line": 75,
"column": 16
},
"end": {
- "line": 70,
+ "line": 75,
"column": 18
}
}
@@ -30708,15 +32095,15 @@
"binop": null
},
"value": "thisPlayer",
- "start": 3060,
- "end": 3070,
+ "start": 3225,
+ "end": 3235,
"loc": {
"start": {
- "line": 70,
+ "line": 75,
"column": 19
},
"end": {
- "line": 70,
+ "line": 75,
"column": 29
}
}
@@ -30734,15 +32121,15 @@
"binop": null,
"updateContext": null
},
- "start": 3070,
- "end": 3071,
+ "start": 3235,
+ "end": 3236,
"loc": {
"start": {
- "line": 70,
+ "line": 75,
"column": 29
},
"end": {
- "line": 70,
+ "line": 75,
"column": 30
}
}
@@ -30760,15 +32147,15 @@
"binop": null
},
"value": "damagedBy",
- "start": 3071,
- "end": 3080,
+ "start": 3236,
+ "end": 3245,
"loc": {
"start": {
- "line": 70,
+ "line": 75,
"column": 30
},
"end": {
- "line": 70,
+ "line": 75,
"column": 39
}
}
@@ -30785,15 +32172,15 @@
"postfix": false,
"binop": null
},
- "start": 3080,
- "end": 3081,
+ "start": 3245,
+ "end": 3246,
"loc": {
"start": {
- "line": 70,
+ "line": 75,
"column": 39
},
"end": {
- "line": 70,
+ "line": 75,
"column": 40
}
}
@@ -30810,15 +32197,15 @@
"postfix": false,
"binop": null
},
- "start": 3082,
- "end": 3083,
+ "start": 3247,
+ "end": 3248,
"loc": {
"start": {
- "line": 70,
+ "line": 75,
"column": 41
},
"end": {
- "line": 70,
+ "line": 75,
"column": 42
}
}
@@ -30836,15 +32223,15 @@
"binop": null
},
"value": "dataToSend",
- "start": 3089,
- "end": 3099,
+ "start": 3254,
+ "end": 3264,
"loc": {
"start": {
- "line": 71,
+ "line": 76,
"column": 5
},
"end": {
- "line": 71,
+ "line": 76,
"column": 15
}
}
@@ -30863,15 +32250,15 @@
"updateContext": null
},
"value": "=",
- "start": 3100,
- "end": 3101,
+ "start": 3265,
+ "end": 3266,
"loc": {
"start": {
- "line": 71,
+ "line": 76,
"column": 16
},
"end": {
- "line": 71,
+ "line": 76,
"column": 17
}
}
@@ -30888,15 +32275,15 @@
"postfix": false,
"binop": null
},
- "start": 3102,
- "end": 3103,
+ "start": 3267,
+ "end": 3268,
"loc": {
"start": {
- "line": 71,
+ "line": 76,
"column": 18
},
"end": {
- "line": 71,
+ "line": 76,
"column": 19
}
}
@@ -30914,15 +32301,15 @@
"binop": null
},
"value": "player",
- "start": 3110,
- "end": 3116,
+ "start": 3275,
+ "end": 3281,
"loc": {
"start": {
- "line": 72,
+ "line": 77,
"column": 6
},
"end": {
- "line": 72,
+ "line": 77,
"column": 12
}
}
@@ -30940,15 +32327,15 @@
"binop": null,
"updateContext": null
},
- "start": 3116,
- "end": 3117,
+ "start": 3281,
+ "end": 3282,
"loc": {
"start": {
- "line": 72,
+ "line": 77,
"column": 12
},
"end": {
- "line": 72,
+ "line": 77,
"column": 13
}
}
@@ -30966,15 +32353,15 @@
"binop": null
},
"value": "pl",
- "start": 3118,
- "end": 3120,
+ "start": 3283,
+ "end": 3285,
"loc": {
"start": {
- "line": 72,
+ "line": 77,
"column": 14
},
"end": {
- "line": 72,
+ "line": 77,
"column": 16
}
}
@@ -30992,15 +32379,15 @@
"binop": null,
"updateContext": null
},
- "start": 3120,
- "end": 3121,
+ "start": 3285,
+ "end": 3286,
"loc": {
"start": {
- "line": 72,
+ "line": 77,
"column": 16
},
"end": {
- "line": 72,
+ "line": 77,
"column": 17
}
}
@@ -31018,15 +32405,15 @@
"binop": null
},
"value": "teamSlot",
- "start": 3128,
- "end": 3136,
+ "start": 3293,
+ "end": 3301,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 6
},
"end": {
- "line": 73,
+ "line": 78,
"column": 14
}
}
@@ -31044,15 +32431,15 @@
"binop": null,
"updateContext": null
},
- "start": 3136,
- "end": 3137,
+ "start": 3301,
+ "end": 3302,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 14
},
"end": {
- "line": 73,
+ "line": 78,
"column": 15
}
}
@@ -31070,15 +32457,15 @@
"binop": null
},
"value": "getTeamNumber",
- "start": 3138,
- "end": 3151,
+ "start": 3303,
+ "end": 3316,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 16
},
"end": {
- "line": 73,
+ "line": 78,
"column": 29
}
}
@@ -31095,15 +32482,15 @@
"postfix": false,
"binop": null
},
- "start": 3151,
- "end": 3152,
+ "start": 3316,
+ "end": 3317,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 29
},
"end": {
- "line": 73,
+ "line": 78,
"column": 30
}
}
@@ -31121,15 +32508,15 @@
"binop": null
},
"value": "room",
- "start": 3152,
- "end": 3156,
+ "start": 3317,
+ "end": 3321,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 30
},
"end": {
- "line": 73,
+ "line": 78,
"column": 34
}
}
@@ -31147,15 +32534,15 @@
"binop": null,
"updateContext": null
},
- "start": 3156,
- "end": 3157,
+ "start": 3321,
+ "end": 3322,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 34
},
"end": {
- "line": 73,
+ "line": 78,
"column": 35
}
}
@@ -31173,15 +32560,15 @@
"binop": null
},
"value": "thisRoom",
- "start": 3158,
- "end": 3166,
+ "start": 3323,
+ "end": 3331,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 36
},
"end": {
- "line": 73,
+ "line": 78,
"column": 44
}
}
@@ -31199,15 +32586,15 @@
"binop": null,
"updateContext": null
},
- "start": 3166,
- "end": 3167,
+ "start": 3331,
+ "end": 3332,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 44
},
"end": {
- "line": 73,
+ "line": 78,
"column": 45
}
}
@@ -31225,15 +32612,15 @@
"binop": null
},
"value": "compounds",
- "start": 3167,
- "end": 3176,
+ "start": 3332,
+ "end": 3341,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 45
},
"end": {
- "line": 73,
+ "line": 78,
"column": 54
}
}
@@ -31251,15 +32638,15 @@
"binop": null,
"updateContext": null
},
- "start": 3176,
- "end": 3177,
+ "start": 3341,
+ "end": 3342,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 54
},
"end": {
- "line": 73,
+ "line": 78,
"column": 55
}
}
@@ -31277,15 +32664,15 @@
"binop": null
},
"value": "data",
- "start": 3177,
- "end": 3181,
+ "start": 3342,
+ "end": 3346,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 55
},
"end": {
- "line": 73,
+ "line": 78,
"column": 59
}
}
@@ -31303,15 +32690,15 @@
"binop": null,
"updateContext": null
},
- "start": 3181,
- "end": 3182,
+ "start": 3346,
+ "end": 3347,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 59
},
"end": {
- "line": 73,
+ "line": 78,
"column": 60
}
}
@@ -31329,15 +32716,15 @@
"binop": null
},
"value": "id",
- "start": 3182,
- "end": 3184,
+ "start": 3347,
+ "end": 3349,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 60
},
"end": {
- "line": 73,
+ "line": 78,
"column": 62
}
}
@@ -31355,15 +32742,15 @@
"binop": null,
"updateContext": null
},
- "start": 3184,
- "end": 3185,
+ "start": 3349,
+ "end": 3350,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 62
},
"end": {
- "line": 73,
+ "line": 78,
"column": 63
}
}
@@ -31381,15 +32768,15 @@
"binop": null,
"updateContext": null
},
- "start": 3185,
- "end": 3186,
+ "start": 3350,
+ "end": 3351,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 63
},
"end": {
- "line": 73,
+ "line": 78,
"column": 64
}
}
@@ -31407,15 +32794,15 @@
"binop": null
},
"value": "sendingTeam",
- "start": 3186,
- "end": 3197,
+ "start": 3351,
+ "end": 3362,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 64
},
"end": {
- "line": 73,
+ "line": 78,
"column": 75
}
}
@@ -31432,15 +32819,15 @@
"postfix": false,
"binop": null
},
- "start": 3197,
- "end": 3198,
+ "start": 3362,
+ "end": 3363,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 75
},
"end": {
- "line": 73,
+ "line": 78,
"column": 76
}
}
@@ -31458,15 +32845,15 @@
"binop": null,
"updateContext": null
},
- "start": 3198,
- "end": 3199,
+ "start": 3363,
+ "end": 3364,
"loc": {
"start": {
- "line": 73,
+ "line": 78,
"column": 76
},
"end": {
- "line": 73,
+ "line": 78,
"column": 77
}
}
@@ -31484,15 +32871,15 @@
"binop": null
},
"value": "increment",
- "start": 3206,
- "end": 3215,
+ "start": 3371,
+ "end": 3380,
"loc": {
"start": {
- "line": 74,
+ "line": 79,
"column": 6
},
"end": {
- "line": 74,
+ "line": 79,
"column": 15
}
}
@@ -31510,15 +32897,15 @@
"binop": null,
"updateContext": null
},
- "start": 3215,
- "end": 3216,
+ "start": 3380,
+ "end": 3381,
"loc": {
"start": {
- "line": 74,
+ "line": 79,
"column": 15
},
"end": {
- "line": 74,
+ "line": 79,
"column": 16
}
}
@@ -31536,15 +32923,15 @@
"binop": null
},
"value": "GLOBAL",
- "start": 3217,
- "end": 3223,
+ "start": 3382,
+ "end": 3388,
"loc": {
"start": {
- "line": 74,
+ "line": 79,
"column": 17
},
"end": {
- "line": 74,
+ "line": 79,
"column": 23
}
}
@@ -31562,15 +32949,15 @@
"binop": null,
"updateContext": null
},
- "start": 3223,
- "end": 3224,
+ "start": 3388,
+ "end": 3389,
"loc": {
"start": {
- "line": 74,
+ "line": 79,
"column": 23
},
"end": {
- "line": 74,
+ "line": 79,
"column": 24
}
}
@@ -31588,15 +32975,15 @@
"binop": null
},
"value": "ASSIST_SCORE",
- "start": 3224,
- "end": 3236,
+ "start": 3389,
+ "end": 3401,
"loc": {
"start": {
- "line": 74,
+ "line": 79,
"column": 24
},
"end": {
- "line": 74,
+ "line": 79,
"column": 36
}
}
@@ -31614,15 +33001,15 @@
"binop": null,
"updateContext": null
},
- "start": 3236,
- "end": 3237,
+ "start": 3401,
+ "end": 3402,
"loc": {
"start": {
- "line": 74,
+ "line": 79,
"column": 36
},
"end": {
- "line": 74,
+ "line": 79,
"column": 37
}
}
@@ -31640,15 +33027,15 @@
"binop": null
},
"value": "kill",
- "start": 3244,
- "end": 3248,
+ "start": 3409,
+ "end": 3413,
"loc": {
"start": {
- "line": 75,
+ "line": 80,
"column": 6
},
"end": {
- "line": 75,
+ "line": 80,
"column": 10
}
}
@@ -31666,15 +33053,15 @@
"binop": null,
"updateContext": null
},
- "start": 3248,
- "end": 3249,
+ "start": 3413,
+ "end": 3414,
"loc": {
"start": {
- "line": 75,
+ "line": 80,
"column": 10
},
"end": {
- "line": 75,
+ "line": 80,
"column": 11
}
}
@@ -31694,15 +33081,15 @@
"updateContext": null
},
"value": "false",
- "start": 3250,
- "end": 3255,
+ "start": 3415,
+ "end": 3420,
"loc": {
"start": {
- "line": 75,
+ "line": 80,
"column": 12
},
"end": {
- "line": 75,
+ "line": 80,
"column": 17
}
}
@@ -31719,15 +33106,15 @@
"postfix": false,
"binop": null
},
- "start": 3261,
- "end": 3262,
+ "start": 3426,
+ "end": 3427,
"loc": {
"start": {
- "line": 76,
+ "line": 81,
"column": 5
},
"end": {
- "line": 76,
+ "line": 81,
"column": 6
}
}
@@ -31735,15 +33122,15 @@
{
"type": "CommentLine",
"value": " Add to team score, checking if team score is initialized",
- "start": 3269,
- "end": 3328,
+ "start": 3434,
+ "end": 3493,
"loc": {
"start": {
- "line": 78,
+ "line": 83,
"column": 5
},
"end": {
- "line": 78,
+ "line": 83,
"column": 64
}
}
@@ -31761,15 +33148,15 @@
"binop": null
},
"value": "setField",
- "start": 3334,
- "end": 3342,
+ "start": 3499,
+ "end": 3507,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 5
},
"end": {
- "line": 79,
+ "line": 84,
"column": 13
}
}
@@ -31786,15 +33173,15 @@
"postfix": false,
"binop": null
},
- "start": 3342,
- "end": 3343,
+ "start": 3507,
+ "end": 3508,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 13
},
"end": {
- "line": 79,
+ "line": 84,
"column": 14
}
}
@@ -31811,15 +33198,15 @@
"postfix": false,
"binop": null
},
- "start": 3343,
- "end": 3344,
+ "start": 3508,
+ "end": 3509,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 14
},
"end": {
- "line": 79,
+ "line": 84,
"column": 15
}
}
@@ -31837,15 +33224,15 @@
"binop": null
},
"value": "thisRoom",
- "start": 3344,
- "end": 3352,
+ "start": 3509,
+ "end": 3517,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 15
},
"end": {
- "line": 79,
+ "line": 84,
"column": 23
}
}
@@ -31863,15 +33250,15 @@
"binop": null,
"updateContext": null
},
- "start": 3352,
- "end": 3353,
+ "start": 3517,
+ "end": 3518,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 23
},
"end": {
- "line": 79,
+ "line": 84,
"column": 24
}
}
@@ -31889,15 +33276,15 @@
"binop": null
},
"value": "teams",
- "start": 3353,
- "end": 3358,
+ "start": 3518,
+ "end": 3523,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 24
},
"end": {
- "line": 79,
+ "line": 84,
"column": 29
}
}
@@ -31915,15 +33302,15 @@
"binop": null,
"updateContext": null
},
- "start": 3358,
- "end": 3359,
+ "start": 3523,
+ "end": 3524,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 29
},
"end": {
- "line": 79,
+ "line": 84,
"column": 30
}
}
@@ -31941,15 +33328,15 @@
"binop": null
},
"value": "dataToSend",
- "start": 3359,
- "end": 3369,
+ "start": 3524,
+ "end": 3534,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 30
},
"end": {
- "line": 79,
+ "line": 84,
"column": 40
}
}
@@ -31967,15 +33354,15 @@
"binop": null,
"updateContext": null
},
- "start": 3369,
- "end": 3370,
+ "start": 3534,
+ "end": 3535,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 40
},
"end": {
- "line": 79,
+ "line": 84,
"column": 41
}
}
@@ -31993,15 +33380,15 @@
"binop": null
},
"value": "teamSlot",
- "start": 3370,
- "end": 3378,
+ "start": 3535,
+ "end": 3543,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 41
},
"end": {
- "line": 79,
+ "line": 84,
"column": 49
}
}
@@ -32019,15 +33406,15 @@
"binop": null,
"updateContext": null
},
- "start": 3378,
- "end": 3379,
+ "start": 3543,
+ "end": 3544,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 49
},
"end": {
- "line": 79,
+ "line": 84,
"column": 50
}
}
@@ -32045,15 +33432,15 @@
"binop": null,
"updateContext": null
},
- "start": 3379,
- "end": 3380,
+ "start": 3544,
+ "end": 3545,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 50
},
"end": {
- "line": 79,
+ "line": 84,
"column": 51
}
}
@@ -32071,15 +33458,15 @@
"binop": null
},
"value": "score",
- "start": 3380,
- "end": 3385,
+ "start": 3545,
+ "end": 3550,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 51
},
"end": {
- "line": 79,
+ "line": 84,
"column": 56
}
}
@@ -32098,15 +33485,15 @@
"updateContext": null
},
"value": "===",
- "start": 3386,
- "end": 3389,
+ "start": 3551,
+ "end": 3554,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 57
},
"end": {
- "line": 79,
+ "line": 84,
"column": 60
}
}
@@ -32124,15 +33511,15 @@
"binop": null
},
"value": "undefined",
- "start": 3390,
- "end": 3399,
+ "start": 3555,
+ "end": 3564,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 61
},
"end": {
- "line": 79,
+ "line": 84,
"column": 70
}
}
@@ -32149,15 +33536,15 @@
"postfix": false,
"binop": null
},
- "start": 3399,
- "end": 3400,
+ "start": 3564,
+ "end": 3565,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 70
},
"end": {
- "line": 79,
+ "line": 84,
"column": 71
}
}
@@ -32175,15 +33562,15 @@
"binop": null,
"updateContext": null
},
- "start": 3401,
- "end": 3402,
+ "start": 3566,
+ "end": 3567,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 72
},
"end": {
- "line": 79,
+ "line": 84,
"column": 73
}
}
@@ -32201,15 +33588,15 @@
"binop": null
},
"value": "dataToSend",
- "start": 3403,
- "end": 3413,
+ "start": 3568,
+ "end": 3578,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 74
},
"end": {
- "line": 79,
+ "line": 84,
"column": 84
}
}
@@ -32227,15 +33614,15 @@
"binop": null,
"updateContext": null
},
- "start": 3413,
- "end": 3414,
+ "start": 3578,
+ "end": 3579,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 84
},
"end": {
- "line": 79,
+ "line": 84,
"column": 85
}
}
@@ -32253,15 +33640,15 @@
"binop": null
},
"value": "increment",
- "start": 3414,
- "end": 3423,
+ "start": 3579,
+ "end": 3588,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 85
},
"end": {
- "line": 79,
+ "line": 84,
"column": 94
}
}
@@ -32279,15 +33666,15 @@
"binop": null,
"updateContext": null
},
- "start": 3424,
- "end": 3425,
+ "start": 3589,
+ "end": 3590,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 95
},
"end": {
- "line": 79,
+ "line": 84,
"column": 96
}
}
@@ -32305,15 +33692,15 @@
"binop": null
},
"value": "thisRoom",
- "start": 3426,
- "end": 3434,
+ "start": 3591,
+ "end": 3599,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 97
},
"end": {
- "line": 79,
+ "line": 84,
"column": 105
}
}
@@ -32331,15 +33718,15 @@
"binop": null,
"updateContext": null
},
- "start": 3434,
- "end": 3435,
+ "start": 3599,
+ "end": 3600,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 105
},
"end": {
- "line": 79,
+ "line": 84,
"column": 106
}
}
@@ -32357,15 +33744,15 @@
"binop": null
},
"value": "teams",
- "start": 3435,
- "end": 3440,
+ "start": 3600,
+ "end": 3605,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 106
},
"end": {
- "line": 79,
+ "line": 84,
"column": 111
}
}
@@ -32383,15 +33770,15 @@
"binop": null,
"updateContext": null
},
- "start": 3440,
- "end": 3441,
+ "start": 3605,
+ "end": 3606,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 111
},
"end": {
- "line": 79,
+ "line": 84,
"column": 112
}
}
@@ -32409,15 +33796,15 @@
"binop": null
},
"value": "dataToSend",
- "start": 3441,
- "end": 3451,
+ "start": 3606,
+ "end": 3616,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 112
},
"end": {
- "line": 79,
+ "line": 84,
"column": 122
}
}
@@ -32435,15 +33822,15 @@
"binop": null,
"updateContext": null
},
- "start": 3451,
- "end": 3452,
+ "start": 3616,
+ "end": 3617,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 122
},
"end": {
- "line": 79,
+ "line": 84,
"column": 123
}
}
@@ -32461,15 +33848,15 @@
"binop": null
},
"value": "teamSlot",
- "start": 3452,
- "end": 3460,
+ "start": 3617,
+ "end": 3625,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 123
},
"end": {
- "line": 79,
+ "line": 84,
"column": 131
}
}
@@ -32487,15 +33874,15 @@
"binop": null,
"updateContext": null
},
- "start": 3460,
- "end": 3461,
+ "start": 3625,
+ "end": 3626,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 131
},
"end": {
- "line": 79,
+ "line": 84,
"column": 132
}
}
@@ -32513,15 +33900,15 @@
"binop": null,
"updateContext": null
},
- "start": 3461,
- "end": 3462,
+ "start": 3626,
+ "end": 3627,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 132
},
"end": {
- "line": 79,
+ "line": 84,
"column": 133
}
}
@@ -32539,15 +33926,15 @@
"binop": null
},
"value": "score",
- "start": 3462,
- "end": 3467,
+ "start": 3627,
+ "end": 3632,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 133
},
"end": {
- "line": 79,
+ "line": 84,
"column": 138
}
}
@@ -32566,15 +33953,15 @@
"updateContext": null
},
"value": "+",
- "start": 3468,
- "end": 3469,
+ "start": 3633,
+ "end": 3634,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 139
},
"end": {
- "line": 79,
+ "line": 84,
"column": 140
}
}
@@ -32592,15 +33979,15 @@
"binop": null
},
"value": "dataToSend",
- "start": 3470,
- "end": 3480,
+ "start": 3635,
+ "end": 3645,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 141
},
"end": {
- "line": 79,
+ "line": 84,
"column": 151
}
}
@@ -32618,15 +34005,15 @@
"binop": null,
"updateContext": null
},
- "start": 3480,
- "end": 3481,
+ "start": 3645,
+ "end": 3646,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 151
},
"end": {
- "line": 79,
+ "line": 84,
"column": 152
}
}
@@ -32644,15 +34031,15 @@
"binop": null
},
"value": "increment",
- "start": 3481,
- "end": 3490,
+ "start": 3646,
+ "end": 3655,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 152
},
"end": {
- "line": 79,
+ "line": 84,
"column": 161
}
}
@@ -32670,15 +34057,15 @@
"binop": null,
"updateContext": null
},
- "start": 3490,
- "end": 3491,
+ "start": 3655,
+ "end": 3656,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 161
},
"end": {
- "line": 79,
+ "line": 84,
"column": 162
}
}
@@ -32696,15 +34083,15 @@
"binop": null,
"updateContext": null
},
- "start": 3492,
- "end": 3493,
+ "start": 3657,
+ "end": 3658,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 163
},
"end": {
- "line": 79,
+ "line": 84,
"column": 164
}
}
@@ -32723,15 +34110,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 3493,
- "end": 3500,
+ "start": 3658,
+ "end": 3665,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 164
},
"end": {
- "line": 79,
+ "line": 84,
"column": 171
}
}
@@ -32749,15 +34136,15 @@
"binop": null,
"updateContext": null
},
- "start": 3500,
- "end": 3501,
+ "start": 3665,
+ "end": 3666,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 171
},
"end": {
- "line": 79,
+ "line": 84,
"column": 172
}
}
@@ -32775,15 +34162,15 @@
"binop": null
},
"value": "room",
- "start": 3502,
- "end": 3506,
+ "start": 3667,
+ "end": 3671,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 173
},
"end": {
- "line": 79,
+ "line": 84,
"column": 177
}
}
@@ -32801,15 +34188,15 @@
"binop": null,
"updateContext": null
},
- "start": 3506,
- "end": 3507,
+ "start": 3671,
+ "end": 3672,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 177
},
"end": {
- "line": 79,
+ "line": 84,
"column": 178
}
}
@@ -32828,15 +34215,15 @@
"updateContext": null
},
"value": "teams",
- "start": 3508,
- "end": 3515,
+ "start": 3673,
+ "end": 3680,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 179
},
"end": {
- "line": 79,
+ "line": 84,
"column": 186
}
}
@@ -32854,15 +34241,15 @@
"binop": null,
"updateContext": null
},
- "start": 3515,
- "end": 3516,
+ "start": 3680,
+ "end": 3681,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 186
},
"end": {
- "line": 79,
+ "line": 84,
"column": 187
}
}
@@ -32880,15 +34267,15 @@
"binop": null
},
"value": "dataToSend",
- "start": 3517,
- "end": 3527,
+ "start": 3682,
+ "end": 3692,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 188
},
"end": {
- "line": 79,
+ "line": 84,
"column": 198
}
}
@@ -32906,15 +34293,15 @@
"binop": null,
"updateContext": null
},
- "start": 3527,
- "end": 3528,
+ "start": 3692,
+ "end": 3693,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 198
},
"end": {
- "line": 79,
+ "line": 84,
"column": 199
}
}
@@ -32932,15 +34319,15 @@
"binop": null
},
"value": "teamSlot",
- "start": 3528,
- "end": 3536,
+ "start": 3693,
+ "end": 3701,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 199
},
"end": {
- "line": 79,
+ "line": 84,
"column": 207
}
}
@@ -32958,15 +34345,15 @@
"binop": null,
"updateContext": null
},
- "start": 3536,
- "end": 3537,
+ "start": 3701,
+ "end": 3702,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 207
},
"end": {
- "line": 79,
+ "line": 84,
"column": 208
}
}
@@ -32985,15 +34372,15 @@
"updateContext": null
},
"value": "score",
- "start": 3538,
- "end": 3545,
+ "start": 3703,
+ "end": 3710,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 209
},
"end": {
- "line": 79,
+ "line": 84,
"column": 216
}
}
@@ -33011,15 +34398,15 @@
"binop": null,
"updateContext": null
},
- "start": 3545,
- "end": 3546,
+ "start": 3710,
+ "end": 3711,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 216
},
"end": {
- "line": 79,
+ "line": 84,
"column": 217
}
}
@@ -33036,15 +34423,15 @@
"postfix": false,
"binop": null
},
- "start": 3546,
- "end": 3547,
+ "start": 3711,
+ "end": 3712,
"loc": {
"start": {
- "line": 79,
+ "line": 84,
"column": 217
},
"end": {
- "line": 79,
+ "line": 84,
"column": 218
}
}
@@ -33062,15 +34449,15 @@
"binop": null
},
"value": "socket",
- "start": 3554,
- "end": 3560,
+ "start": 3719,
+ "end": 3725,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 5
},
"end": {
- "line": 81,
+ "line": 86,
"column": 11
}
}
@@ -33088,15 +34475,15 @@
"binop": null,
"updateContext": null
},
- "start": 3560,
- "end": 3561,
+ "start": 3725,
+ "end": 3726,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 11
},
"end": {
- "line": 81,
+ "line": 86,
"column": 12
}
}
@@ -33114,15 +34501,15 @@
"binop": null
},
"value": "to",
- "start": 3561,
- "end": 3563,
+ "start": 3726,
+ "end": 3728,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 12
},
"end": {
- "line": 81,
+ "line": 86,
"column": 14
}
}
@@ -33139,15 +34526,15 @@
"postfix": false,
"binop": null
},
- "start": 3563,
- "end": 3564,
+ "start": 3728,
+ "end": 3729,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 14
},
"end": {
- "line": 81,
+ "line": 86,
"column": 15
}
}
@@ -33165,15 +34552,15 @@
"binop": null
},
"value": "room",
- "start": 3564,
- "end": 3568,
+ "start": 3729,
+ "end": 3733,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 15
},
"end": {
- "line": 81,
+ "line": 86,
"column": 19
}
}
@@ -33190,15 +34577,15 @@
"postfix": false,
"binop": null
},
- "start": 3568,
- "end": 3569,
+ "start": 3733,
+ "end": 3734,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 19
},
"end": {
- "line": 81,
+ "line": 86,
"column": 20
}
}
@@ -33216,15 +34603,15 @@
"binop": null,
"updateContext": null
},
- "start": 3569,
- "end": 3570,
+ "start": 3734,
+ "end": 3735,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 20
},
"end": {
- "line": 81,
+ "line": 86,
"column": 21
}
}
@@ -33242,15 +34629,15 @@
"binop": null
},
"value": "broadcast",
- "start": 3570,
- "end": 3579,
+ "start": 3735,
+ "end": 3744,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 21
},
"end": {
- "line": 81,
+ "line": 86,
"column": 30
}
}
@@ -33268,15 +34655,15 @@
"binop": null,
"updateContext": null
},
- "start": 3579,
- "end": 3580,
+ "start": 3744,
+ "end": 3745,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 30
},
"end": {
- "line": 81,
+ "line": 86,
"column": 31
}
}
@@ -33294,15 +34681,15 @@
"binop": null
},
"value": "emit",
- "start": 3580,
- "end": 3584,
+ "start": 3745,
+ "end": 3749,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 31
},
"end": {
- "line": 81,
+ "line": 86,
"column": 35
}
}
@@ -33319,15 +34706,15 @@
"postfix": false,
"binop": null
},
- "start": 3584,
- "end": 3585,
+ "start": 3749,
+ "end": 3750,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 35
},
"end": {
- "line": 81,
+ "line": 86,
"column": 36
}
}
@@ -33346,15 +34733,15 @@
"updateContext": null
},
"value": "serverSendScoreUpdate",
- "start": 3585,
- "end": 3608,
+ "start": 3750,
+ "end": 3773,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 36
},
"end": {
- "line": 81,
+ "line": 86,
"column": 59
}
}
@@ -33372,15 +34759,15 @@
"binop": null,
"updateContext": null
},
- "start": 3608,
- "end": 3609,
+ "start": 3773,
+ "end": 3774,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 59
},
"end": {
- "line": 81,
+ "line": 86,
"column": 60
}
}
@@ -33398,15 +34785,15 @@
"binop": null
},
"value": "dataToSend",
- "start": 3610,
- "end": 3620,
+ "start": 3775,
+ "end": 3785,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 61
},
"end": {
- "line": 81,
+ "line": 86,
"column": 71
}
}
@@ -33423,15 +34810,15 @@
"postfix": false,
"binop": null
},
- "start": 3620,
- "end": 3621,
+ "start": 3785,
+ "end": 3786,
"loc": {
"start": {
- "line": 81,
+ "line": 86,
"column": 71
},
"end": {
- "line": 81,
+ "line": 86,
"column": 72
}
}
@@ -33449,15 +34836,15 @@
"binop": null
},
"value": "socket",
- "start": 3627,
- "end": 3633,
+ "start": 3792,
+ "end": 3798,
"loc": {
"start": {
- "line": 82,
+ "line": 87,
"column": 5
},
"end": {
- "line": 82,
+ "line": 87,
"column": 11
}
}
@@ -33475,15 +34862,15 @@
"binop": null,
"updateContext": null
},
- "start": 3633,
- "end": 3634,
+ "start": 3798,
+ "end": 3799,
"loc": {
"start": {
- "line": 82,
+ "line": 87,
"column": 11
},
"end": {
- "line": 82,
+ "line": 87,
"column": 12
}
}
@@ -33501,15 +34888,15 @@
"binop": null
},
"value": "emit",
- "start": 3634,
- "end": 3638,
+ "start": 3799,
+ "end": 3803,
"loc": {
"start": {
- "line": 82,
+ "line": 87,
"column": 12
},
"end": {
- "line": 82,
+ "line": 87,
"column": 16
}
}
@@ -33526,15 +34913,15 @@
"postfix": false,
"binop": null
},
- "start": 3638,
- "end": 3639,
+ "start": 3803,
+ "end": 3804,
"loc": {
"start": {
- "line": 82,
+ "line": 87,
"column": 16
},
"end": {
- "line": 82,
+ "line": 87,
"column": 17
}
}
@@ -33553,15 +34940,15 @@
"updateContext": null
},
"value": "serverSendScoreUpdate",
- "start": 3639,
- "end": 3662,
+ "start": 3804,
+ "end": 3827,
"loc": {
"start": {
- "line": 82,
+ "line": 87,
"column": 17
},
"end": {
- "line": 82,
+ "line": 87,
"column": 40
}
}
@@ -33579,15 +34966,15 @@
"binop": null,
"updateContext": null
},
- "start": 3662,
- "end": 3663,
+ "start": 3827,
+ "end": 3828,
"loc": {
"start": {
- "line": 82,
+ "line": 87,
"column": 40
},
"end": {
- "line": 82,
+ "line": 87,
"column": 41
}
}
@@ -33605,15 +34992,15 @@
"binop": null
},
"value": "dataToSend",
- "start": 3664,
- "end": 3674,
+ "start": 3829,
+ "end": 3839,
"loc": {
"start": {
- "line": 82,
+ "line": 87,
"column": 42
},
"end": {
- "line": 82,
+ "line": 87,
"column": 52
}
}
@@ -33630,15 +35017,15 @@
"postfix": false,
"binop": null
},
- "start": 3674,
- "end": 3675,
+ "start": 3839,
+ "end": 3840,
"loc": {
"start": {
- "line": 82,
+ "line": 87,
"column": 52
},
"end": {
- "line": 82,
+ "line": 87,
"column": 53
}
}
@@ -33658,15 +35045,15 @@
"updateContext": null
},
"value": "if",
- "start": 3681,
- "end": 3683,
+ "start": 3846,
+ "end": 3848,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 5
},
"end": {
- "line": 83,
+ "line": 88,
"column": 7
}
}
@@ -33683,15 +35070,15 @@
"postfix": false,
"binop": null
},
- "start": 3684,
- "end": 3685,
+ "start": 3849,
+ "end": 3850,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 8
},
"end": {
- "line": 83,
+ "line": 88,
"column": 9
}
}
@@ -33709,15 +35096,15 @@
"binop": null
},
"value": "max",
- "start": 3685,
- "end": 3688,
+ "start": 3850,
+ "end": 3853,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 9
},
"end": {
- "line": 83,
+ "line": 88,
"column": 12
}
}
@@ -33736,15 +35123,15 @@
"updateContext": null
},
"value": "===",
- "start": 3689,
- "end": 3692,
+ "start": 3854,
+ "end": 3857,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 13
},
"end": {
- "line": 83,
+ "line": 88,
"column": 16
}
}
@@ -33764,15 +35151,15 @@
"updateContext": null
},
"value": "null",
- "start": 3693,
- "end": 3697,
+ "start": 3858,
+ "end": 3862,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 17
},
"end": {
- "line": 83,
+ "line": 88,
"column": 21
}
}
@@ -33791,15 +35178,15 @@
"updateContext": null
},
"value": "||",
- "start": 3698,
- "end": 3700,
+ "start": 3863,
+ "end": 3865,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 22
},
"end": {
- "line": 83,
+ "line": 88,
"column": 24
}
}
@@ -33817,15 +35204,15 @@
"binop": null
},
"value": "thisPlayer",
- "start": 3701,
- "end": 3711,
+ "start": 3866,
+ "end": 3876,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 25
},
"end": {
- "line": 83,
+ "line": 88,
"column": 35
}
}
@@ -33843,15 +35230,15 @@
"binop": null,
"updateContext": null
},
- "start": 3711,
- "end": 3712,
+ "start": 3876,
+ "end": 3877,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 35
},
"end": {
- "line": 83,
+ "line": 88,
"column": 36
}
}
@@ -33869,15 +35256,15 @@
"binop": null
},
"value": "damagedBy",
- "start": 3712,
- "end": 3721,
+ "start": 3877,
+ "end": 3886,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 36
},
"end": {
- "line": 83,
+ "line": 88,
"column": 45
}
}
@@ -33895,15 +35282,15 @@
"binop": null,
"updateContext": null
},
- "start": 3721,
- "end": 3722,
+ "start": 3886,
+ "end": 3887,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 45
},
"end": {
- "line": 83,
+ "line": 88,
"column": 46
}
}
@@ -33921,15 +35308,15 @@
"binop": null
},
"value": "pl",
- "start": 3722,
- "end": 3724,
+ "start": 3887,
+ "end": 3889,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 46
},
"end": {
- "line": 83,
+ "line": 88,
"column": 48
}
}
@@ -33947,15 +35334,15 @@
"binop": null,
"updateContext": null
},
- "start": 3724,
- "end": 3725,
+ "start": 3889,
+ "end": 3890,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 48
},
"end": {
- "line": 83,
+ "line": 88,
"column": 49
}
}
@@ -33974,15 +35361,15 @@
"updateContext": null
},
"value": ">",
- "start": 3726,
- "end": 3727,
+ "start": 3891,
+ "end": 3892,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 50
},
"end": {
- "line": 83,
+ "line": 88,
"column": 51
}
}
@@ -34000,15 +35387,15 @@
"binop": null
},
"value": "thisPlayer",
- "start": 3728,
- "end": 3738,
+ "start": 3893,
+ "end": 3903,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 52
},
"end": {
- "line": 83,
+ "line": 88,
"column": 62
}
}
@@ -34026,15 +35413,15 @@
"binop": null,
"updateContext": null
},
- "start": 3738,
- "end": 3739,
+ "start": 3903,
+ "end": 3904,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 62
},
"end": {
- "line": 83,
+ "line": 88,
"column": 63
}
}
@@ -34052,15 +35439,15 @@
"binop": null
},
"value": "damagedBy",
- "start": 3739,
- "end": 3748,
+ "start": 3904,
+ "end": 3913,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 63
},
"end": {
- "line": 83,
+ "line": 88,
"column": 72
}
}
@@ -34078,15 +35465,15 @@
"binop": null,
"updateContext": null
},
- "start": 3748,
- "end": 3749,
+ "start": 3913,
+ "end": 3914,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 72
},
"end": {
- "line": 83,
+ "line": 88,
"column": 73
}
}
@@ -34104,15 +35491,15 @@
"binop": null
},
"value": "max",
- "start": 3749,
- "end": 3752,
+ "start": 3914,
+ "end": 3917,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 73
},
"end": {
- "line": 83,
+ "line": 88,
"column": 76
}
}
@@ -34130,15 +35517,15 @@
"binop": null,
"updateContext": null
},
- "start": 3752,
- "end": 3753,
+ "start": 3917,
+ "end": 3918,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 76
},
"end": {
- "line": 83,
+ "line": 88,
"column": 77
}
}
@@ -34155,15 +35542,15 @@
"postfix": false,
"binop": null
},
- "start": 3753,
- "end": 3754,
+ "start": 3918,
+ "end": 3919,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 77
},
"end": {
- "line": 83,
+ "line": 88,
"column": 78
}
}
@@ -34180,15 +35567,15 @@
"postfix": false,
"binop": null
},
- "start": 3755,
- "end": 3756,
+ "start": 3920,
+ "end": 3921,
"loc": {
"start": {
- "line": 83,
+ "line": 88,
"column": 79
},
"end": {
- "line": 83,
+ "line": 88,
"column": 80
}
}
@@ -34206,15 +35593,15 @@
"binop": null
},
"value": "max",
- "start": 3763,
- "end": 3766,
+ "start": 3928,
+ "end": 3931,
"loc": {
"start": {
- "line": 84,
+ "line": 89,
"column": 6
},
"end": {
- "line": 84,
+ "line": 89,
"column": 9
}
}
@@ -34233,15 +35620,15 @@
"updateContext": null
},
"value": "=",
- "start": 3767,
- "end": 3768,
+ "start": 3932,
+ "end": 3933,
"loc": {
"start": {
- "line": 84,
+ "line": 89,
"column": 10
},
"end": {
- "line": 84,
+ "line": 89,
"column": 11
}
}
@@ -34259,15 +35646,15 @@
"binop": null
},
"value": "pl",
- "start": 3769,
- "end": 3771,
+ "start": 3934,
+ "end": 3936,
"loc": {
"start": {
- "line": 84,
+ "line": 89,
"column": 12
},
"end": {
- "line": 84,
+ "line": 89,
"column": 14
}
}
@@ -34284,15 +35671,15 @@
"postfix": false,
"binop": null
},
- "start": 3777,
- "end": 3778,
+ "start": 3942,
+ "end": 3943,
"loc": {
"start": {
- "line": 85,
+ "line": 90,
"column": 5
},
"end": {
- "line": 85,
+ "line": 90,
"column": 6
}
}
@@ -34309,15 +35696,15 @@
"postfix": false,
"binop": null
},
- "start": 3783,
- "end": 3784,
+ "start": 3948,
+ "end": 3949,
"loc": {
"start": {
- "line": 86,
+ "line": 91,
"column": 4
},
"end": {
- "line": 86,
+ "line": 91,
"column": 5
}
}
@@ -34325,15 +35712,15 @@
{
"type": "CommentLine",
"value": " Add to score of person who dealt the most damage",
- "start": 3790,
- "end": 3841,
+ "start": 3955,
+ "end": 4006,
"loc": {
"start": {
- "line": 88,
+ "line": 93,
"column": 4
},
"end": {
- "line": 88,
+ "line": 93,
"column": 55
}
}
@@ -34351,15 +35738,15 @@
"binop": null
},
"value": "dataToSend",
- "start": 3846,
- "end": 3856,
+ "start": 4011,
+ "end": 4021,
"loc": {
"start": {
- "line": 89,
+ "line": 94,
"column": 4
},
"end": {
- "line": 89,
+ "line": 94,
"column": 14
}
}
@@ -34377,15 +35764,15 @@
"binop": null,
"updateContext": null
},
- "start": 3856,
- "end": 3857,
+ "start": 4021,
+ "end": 4022,
"loc": {
"start": {
- "line": 89,
+ "line": 94,
"column": 14
},
"end": {
- "line": 89,
+ "line": 94,
"column": 15
}
}
@@ -34403,15 +35790,15 @@
"binop": null
},
"value": "player",
- "start": 3857,
- "end": 3863,
+ "start": 4022,
+ "end": 4028,
"loc": {
"start": {
- "line": 89,
+ "line": 94,
"column": 15
},
"end": {
- "line": 89,
+ "line": 94,
"column": 21
}
}
@@ -34430,15 +35817,15 @@
"updateContext": null
},
"value": "=",
- "start": 3864,
- "end": 3865,
+ "start": 4029,
+ "end": 4030,
"loc": {
"start": {
- "line": 89,
+ "line": 94,
"column": 22
},
"end": {
- "line": 89,
+ "line": 94,
"column": 23
}
}
@@ -34456,15 +35843,15 @@
"binop": null
},
"value": "max",
- "start": 3866,
- "end": 3869,
+ "start": 4031,
+ "end": 4034,
"loc": {
"start": {
- "line": 89,
+ "line": 94,
"column": 24
},
"end": {
- "line": 89,
+ "line": 94,
"column": 27
}
}
@@ -34482,15 +35869,15 @@
"binop": null
},
"value": "dataToSend",
- "start": 3874,
- "end": 3884,
+ "start": 4039,
+ "end": 4049,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 4
},
"end": {
- "line": 90,
+ "line": 95,
"column": 14
}
}
@@ -34508,15 +35895,15 @@
"binop": null,
"updateContext": null
},
- "start": 3884,
- "end": 3885,
+ "start": 4049,
+ "end": 4050,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 14
},
"end": {
- "line": 90,
+ "line": 95,
"column": 15
}
}
@@ -34534,15 +35921,15 @@
"binop": null
},
"value": "increment",
- "start": 3885,
- "end": 3894,
+ "start": 4050,
+ "end": 4059,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 15
},
"end": {
- "line": 90,
+ "line": 95,
"column": 24
}
}
@@ -34561,15 +35948,15 @@
"updateContext": null
},
"value": "=",
- "start": 3895,
- "end": 3896,
+ "start": 4060,
+ "end": 4061,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 25
},
"end": {
- "line": 90,
+ "line": 95,
"column": 26
}
}
@@ -34587,15 +35974,15 @@
"binop": null
},
"value": "GLOBAL",
- "start": 3897,
- "end": 3903,
+ "start": 4062,
+ "end": 4068,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 27
},
"end": {
- "line": 90,
+ "line": 95,
"column": 33
}
}
@@ -34613,15 +36000,15 @@
"binop": null,
"updateContext": null
},
- "start": 3903,
- "end": 3904,
+ "start": 4068,
+ "end": 4069,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 33
},
"end": {
- "line": 90,
+ "line": 95,
"column": 34
}
}
@@ -34639,15 +36026,15 @@
"binop": null
},
"value": "KILL_SCORE",
- "start": 3904,
- "end": 3914,
+ "start": 4069,
+ "end": 4079,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 34
},
"end": {
- "line": 90,
+ "line": 95,
"column": 44
}
}
@@ -34666,15 +36053,15 @@
"updateContext": null
},
"value": "-",
- "start": 3915,
- "end": 3916,
+ "start": 4080,
+ "end": 4081,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 45
},
"end": {
- "line": 90,
+ "line": 95,
"column": 46
}
}
@@ -34692,15 +36079,15 @@
"binop": null
},
"value": "GLOBAL",
- "start": 3917,
- "end": 3923,
+ "start": 4082,
+ "end": 4088,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 47
},
"end": {
- "line": 90,
+ "line": 95,
"column": 53
}
}
@@ -34718,15 +36105,15 @@
"binop": null,
"updateContext": null
},
- "start": 3923,
- "end": 3924,
+ "start": 4088,
+ "end": 4089,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 53
},
"end": {
- "line": 90,
+ "line": 95,
"column": 54
}
}
@@ -34744,15 +36131,15 @@
"binop": null
},
"value": "ASSIST_SCORE",
- "start": 3924,
- "end": 3936,
+ "start": 4089,
+ "end": 4101,
"loc": {
"start": {
- "line": 90,
+ "line": 95,
"column": 54
},
"end": {
- "line": 90,
+ "line": 95,
"column": 66
}
}
@@ -34770,15 +36157,15 @@
"binop": null
},
"value": "dataToSend",
- "start": 3941,
- "end": 3951,
+ "start": 4106,
+ "end": 4116,
"loc": {
"start": {
- "line": 91,
+ "line": 96,
"column": 4
},
"end": {
- "line": 91,
+ "line": 96,
"column": 14
}
}
@@ -34796,15 +36183,15 @@
"binop": null,
"updateContext": null
},
- "start": 3951,
- "end": 3952,
+ "start": 4116,
+ "end": 4117,
"loc": {
"start": {
- "line": 91,
+ "line": 96,
"column": 14
},
"end": {
- "line": 91,
+ "line": 96,
"column": 15
}
}
@@ -34822,15 +36209,15 @@
"binop": null
},
"value": "kill",
- "start": 3952,
- "end": 3956,
+ "start": 4117,
+ "end": 4121,
"loc": {
"start": {
- "line": 91,
+ "line": 96,
"column": 15
},
"end": {
- "line": 91,
+ "line": 96,
"column": 19
}
}
@@ -34849,15 +36236,15 @@
"updateContext": null
},
"value": "=",
- "start": 3957,
- "end": 3958,
+ "start": 4122,
+ "end": 4123,
"loc": {
"start": {
- "line": 91,
+ "line": 96,
"column": 20
},
"end": {
- "line": 91,
+ "line": 96,
"column": 21
}
}
@@ -34877,15 +36264,15 @@
"updateContext": null
},
"value": "true",
- "start": 3959,
- "end": 3963,
+ "start": 4124,
+ "end": 4128,
"loc": {
"start": {
- "line": 91,
+ "line": 96,
"column": 22
},
"end": {
- "line": 91,
+ "line": 96,
"column": 26
}
}
@@ -34903,15 +36290,15 @@
"binop": null
},
"value": "socket",
- "start": 3968,
- "end": 3974,
+ "start": 4133,
+ "end": 4139,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 4
},
"end": {
- "line": 92,
+ "line": 97,
"column": 10
}
}
@@ -34929,15 +36316,15 @@
"binop": null,
"updateContext": null
},
- "start": 3974,
- "end": 3975,
+ "start": 4139,
+ "end": 4140,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 10
},
"end": {
- "line": 92,
+ "line": 97,
"column": 11
}
}
@@ -34955,15 +36342,15 @@
"binop": null
},
"value": "to",
- "start": 3975,
- "end": 3977,
+ "start": 4140,
+ "end": 4142,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 11
},
"end": {
- "line": 92,
+ "line": 97,
"column": 13
}
}
@@ -34980,15 +36367,15 @@
"postfix": false,
"binop": null
},
- "start": 3977,
- "end": 3978,
+ "start": 4142,
+ "end": 4143,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 13
},
"end": {
- "line": 92,
+ "line": 97,
"column": 14
}
}
@@ -35006,15 +36393,15 @@
"binop": null
},
"value": "room",
- "start": 3978,
- "end": 3982,
+ "start": 4143,
+ "end": 4147,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 14
},
"end": {
- "line": 92,
+ "line": 97,
"column": 18
}
}
@@ -35031,15 +36418,15 @@
"postfix": false,
"binop": null
},
- "start": 3982,
- "end": 3983,
+ "start": 4147,
+ "end": 4148,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 18
},
"end": {
- "line": 92,
+ "line": 97,
"column": 19
}
}
@@ -35057,15 +36444,15 @@
"binop": null,
"updateContext": null
},
- "start": 3983,
- "end": 3984,
+ "start": 4148,
+ "end": 4149,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 19
},
"end": {
- "line": 92,
+ "line": 97,
"column": 20
}
}
@@ -35083,15 +36470,15 @@
"binop": null
},
"value": "broadcast",
- "start": 3984,
- "end": 3993,
+ "start": 4149,
+ "end": 4158,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 20
},
"end": {
- "line": 92,
+ "line": 97,
"column": 29
}
}
@@ -35109,15 +36496,15 @@
"binop": null,
"updateContext": null
},
- "start": 3993,
- "end": 3994,
+ "start": 4158,
+ "end": 4159,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 29
},
"end": {
- "line": 92,
+ "line": 97,
"column": 30
}
}
@@ -35135,15 +36522,15 @@
"binop": null
},
"value": "emit",
- "start": 3994,
- "end": 3998,
+ "start": 4159,
+ "end": 4163,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 30
},
"end": {
- "line": 92,
+ "line": 97,
"column": 34
}
}
@@ -35160,15 +36547,15 @@
"postfix": false,
"binop": null
},
- "start": 3998,
- "end": 3999,
+ "start": 4163,
+ "end": 4164,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 34
},
"end": {
- "line": 92,
+ "line": 97,
"column": 35
}
}
@@ -35187,15 +36574,15 @@
"updateContext": null
},
"value": "serverSendScoreUpdate",
- "start": 3999,
- "end": 4022,
+ "start": 4164,
+ "end": 4187,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 35
},
"end": {
- "line": 92,
+ "line": 97,
"column": 58
}
}
@@ -35213,15 +36600,15 @@
"binop": null,
"updateContext": null
},
- "start": 4022,
- "end": 4023,
+ "start": 4187,
+ "end": 4188,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 58
},
"end": {
- "line": 92,
+ "line": 97,
"column": 59
}
}
@@ -35239,15 +36626,15 @@
"binop": null
},
"value": "dataToSend",
- "start": 4024,
- "end": 4034,
+ "start": 4189,
+ "end": 4199,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 60
},
"end": {
- "line": 92,
+ "line": 97,
"column": 70
}
}
@@ -35264,15 +36651,15 @@
"postfix": false,
"binop": null
},
- "start": 4034,
- "end": 4035,
+ "start": 4199,
+ "end": 4200,
"loc": {
"start": {
- "line": 92,
+ "line": 97,
"column": 70
},
"end": {
- "line": 92,
+ "line": 97,
"column": 71
}
}
@@ -35290,15 +36677,15 @@
"binop": null
},
"value": "socket",
- "start": 4040,
- "end": 4046,
+ "start": 4205,
+ "end": 4211,
"loc": {
"start": {
- "line": 93,
+ "line": 98,
"column": 4
},
"end": {
- "line": 93,
+ "line": 98,
"column": 10
}
}
@@ -35316,15 +36703,15 @@
"binop": null,
"updateContext": null
},
- "start": 4046,
- "end": 4047,
+ "start": 4211,
+ "end": 4212,
"loc": {
"start": {
- "line": 93,
+ "line": 98,
"column": 10
},
"end": {
- "line": 93,
+ "line": 98,
"column": 11
}
}
@@ -35342,15 +36729,15 @@
"binop": null
},
"value": "emit",
- "start": 4047,
- "end": 4051,
+ "start": 4212,
+ "end": 4216,
"loc": {
"start": {
- "line": 93,
+ "line": 98,
"column": 11
},
"end": {
- "line": 93,
+ "line": 98,
"column": 15
}
}
@@ -35367,15 +36754,15 @@
"postfix": false,
"binop": null
},
- "start": 4051,
- "end": 4052,
+ "start": 4216,
+ "end": 4217,
"loc": {
"start": {
- "line": 93,
+ "line": 98,
"column": 15
},
"end": {
- "line": 93,
+ "line": 98,
"column": 16
}
}
@@ -35394,15 +36781,15 @@
"updateContext": null
},
"value": "serverSendScoreUpdate",
- "start": 4052,
- "end": 4075,
+ "start": 4217,
+ "end": 4240,
"loc": {
"start": {
- "line": 93,
+ "line": 98,
"column": 16
},
"end": {
- "line": 93,
+ "line": 98,
"column": 39
}
}
@@ -35420,15 +36807,15 @@
"binop": null,
"updateContext": null
},
- "start": 4075,
- "end": 4076,
+ "start": 4240,
+ "end": 4241,
"loc": {
"start": {
- "line": 93,
+ "line": 98,
"column": 39
},
"end": {
- "line": 93,
+ "line": 98,
"column": 40
}
}
@@ -35446,15 +36833,15 @@
"binop": null
},
"value": "dataToSend",
- "start": 4077,
- "end": 4087,
+ "start": 4242,
+ "end": 4252,
"loc": {
"start": {
- "line": 93,
+ "line": 98,
"column": 41
},
"end": {
- "line": 93,
+ "line": 98,
"column": 51
}
}
@@ -35471,15 +36858,15 @@
"postfix": false,
"binop": null
},
- "start": 4087,
- "end": 4088,
+ "start": 4252,
+ "end": 4253,
"loc": {
"start": {
- "line": 93,
+ "line": 98,
"column": 51
},
"end": {
- "line": 93,
+ "line": 98,
"column": 52
}
}
@@ -35487,15 +36874,15 @@
{
"type": "CommentLine",
"value": " Add to team score",
- "start": 4094,
- "end": 4114,
+ "start": 4259,
+ "end": 4279,
"loc": {
"start": {
- "line": 95,
+ "line": 100,
"column": 4
},
"end": {
- "line": 95,
+ "line": 100,
"column": 24
}
}
@@ -35513,15 +36900,15 @@
"binop": null
},
"value": "incrementField",
- "start": 4119,
- "end": 4133,
+ "start": 4284,
+ "end": 4298,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 4
},
"end": {
- "line": 96,
+ "line": 101,
"column": 18
}
}
@@ -35538,15 +36925,15 @@
"postfix": false,
"binop": null
},
- "start": 4133,
- "end": 4134,
+ "start": 4298,
+ "end": 4299,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 18
},
"end": {
- "line": 96,
+ "line": 101,
"column": 19
}
}
@@ -35564,15 +36951,15 @@
"binop": null
},
"value": "dataToSend",
- "start": 4134,
- "end": 4144,
+ "start": 4299,
+ "end": 4309,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 19
},
"end": {
- "line": 96,
+ "line": 101,
"column": 29
}
}
@@ -35590,15 +36977,15 @@
"binop": null,
"updateContext": null
},
- "start": 4144,
- "end": 4145,
+ "start": 4309,
+ "end": 4310,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 29
},
"end": {
- "line": 96,
+ "line": 101,
"column": 30
}
}
@@ -35616,15 +37003,15 @@
"binop": null
},
"value": "increment",
- "start": 4145,
- "end": 4154,
+ "start": 4310,
+ "end": 4319,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 30
},
"end": {
- "line": 96,
+ "line": 101,
"column": 39
}
}
@@ -35642,15 +37029,15 @@
"binop": null,
"updateContext": null
},
- "start": 4154,
- "end": 4155,
+ "start": 4319,
+ "end": 4320,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 39
},
"end": {
- "line": 96,
+ "line": 101,
"column": 40
}
}
@@ -35668,15 +37055,15 @@
"binop": null,
"updateContext": null
},
- "start": 4156,
- "end": 4157,
+ "start": 4321,
+ "end": 4322,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 41
},
"end": {
- "line": 96,
+ "line": 101,
"column": 42
}
}
@@ -35695,15 +37082,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 4157,
- "end": 4164,
+ "start": 4322,
+ "end": 4329,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 42
},
"end": {
- "line": 96,
+ "line": 101,
"column": 49
}
}
@@ -35721,15 +37108,15 @@
"binop": null,
"updateContext": null
},
- "start": 4164,
- "end": 4165,
+ "start": 4329,
+ "end": 4330,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 49
},
"end": {
- "line": 96,
+ "line": 101,
"column": 50
}
}
@@ -35747,15 +37134,15 @@
"binop": null
},
"value": "room",
- "start": 4166,
- "end": 4170,
+ "start": 4331,
+ "end": 4335,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 51
},
"end": {
- "line": 96,
+ "line": 101,
"column": 55
}
}
@@ -35773,15 +37160,15 @@
"binop": null,
"updateContext": null
},
- "start": 4170,
- "end": 4171,
+ "start": 4335,
+ "end": 4336,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 55
},
"end": {
- "line": 96,
+ "line": 101,
"column": 56
}
}
@@ -35800,15 +37187,15 @@
"updateContext": null
},
"value": "teams",
- "start": 4172,
- "end": 4179,
+ "start": 4337,
+ "end": 4344,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 57
},
"end": {
- "line": 96,
+ "line": 101,
"column": 64
}
}
@@ -35826,15 +37213,15 @@
"binop": null,
"updateContext": null
},
- "start": 4179,
- "end": 4180,
+ "start": 4344,
+ "end": 4345,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 64
},
"end": {
- "line": 96,
+ "line": 101,
"column": 65
}
}
@@ -35852,15 +37239,15 @@
"binop": null
},
"value": "dataToSend",
- "start": 4181,
- "end": 4191,
+ "start": 4346,
+ "end": 4356,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 66
},
"end": {
- "line": 96,
+ "line": 101,
"column": 76
}
}
@@ -35878,15 +37265,15 @@
"binop": null,
"updateContext": null
},
- "start": 4191,
- "end": 4192,
+ "start": 4356,
+ "end": 4357,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 76
},
"end": {
- "line": 96,
+ "line": 101,
"column": 77
}
}
@@ -35904,15 +37291,15 @@
"binop": null
},
"value": "teamSlot",
- "start": 4192,
- "end": 4200,
+ "start": 4357,
+ "end": 4365,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 77
},
"end": {
- "line": 96,
+ "line": 101,
"column": 85
}
}
@@ -35930,15 +37317,15 @@
"binop": null,
"updateContext": null
},
- "start": 4200,
- "end": 4201,
+ "start": 4365,
+ "end": 4366,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 85
},
"end": {
- "line": 96,
+ "line": 101,
"column": 86
}
}
@@ -35957,15 +37344,15 @@
"updateContext": null
},
"value": "score",
- "start": 4202,
- "end": 4209,
+ "start": 4367,
+ "end": 4374,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 87
},
"end": {
- "line": 96,
+ "line": 101,
"column": 94
}
}
@@ -35983,15 +37370,15 @@
"binop": null,
"updateContext": null
},
- "start": 4209,
- "end": 4210,
+ "start": 4374,
+ "end": 4375,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 94
},
"end": {
- "line": 96,
+ "line": 101,
"column": 95
}
}
@@ -36008,15 +37395,15 @@
"postfix": false,
"binop": null
},
- "start": 4210,
- "end": 4211,
+ "start": 4375,
+ "end": 4376,
"loc": {
"start": {
- "line": 96,
+ "line": 101,
"column": 95
},
"end": {
- "line": 96,
+ "line": 101,
"column": 96
}
}
@@ -36024,15 +37411,15 @@
{
"type": "CommentLine",
"value": " Clear damagedBy values",
- "start": 4217,
- "end": 4242,
+ "start": 4382,
+ "end": 4407,
"loc": {
"start": {
- "line": 98,
+ "line": 103,
"column": 4
},
"end": {
- "line": 98,
+ "line": 103,
"column": 29
}
}
@@ -36052,15 +37439,15 @@
"updateContext": null
},
"value": "for",
- "start": 4247,
- "end": 4250,
+ "start": 4412,
+ "end": 4415,
"loc": {
"start": {
- "line": 99,
+ "line": 104,
"column": 4
},
"end": {
- "line": 99,
+ "line": 104,
"column": 7
}
}
@@ -36077,15 +37464,15 @@
"postfix": false,
"binop": null
},
- "start": 4251,
- "end": 4252,
+ "start": 4416,
+ "end": 4417,
"loc": {
"start": {
- "line": 99,
+ "line": 104,
"column": 8
},
"end": {
- "line": 99,
+ "line": 104,
"column": 9
}
}
@@ -36105,15 +37492,15 @@
"updateContext": null
},
"value": "let",
- "start": 4252,
- "end": 4255,
+ "start": 4417,
+ "end": 4420,
"loc": {
"start": {
- "line": 99,
+ "line": 104,
"column": 9
},
"end": {
- "line": 99,
+ "line": 104,
"column": 12
}
}
@@ -36131,15 +37518,15 @@
"binop": null
},
"value": "pl",
- "start": 4256,
- "end": 4258,
+ "start": 4421,
+ "end": 4423,
"loc": {
"start": {
- "line": 99,
+ "line": 104,
"column": 13
},
"end": {
- "line": 99,
+ "line": 104,
"column": 15
}
}
@@ -36159,15 +37546,15 @@
"updateContext": null
},
"value": "in",
- "start": 4259,
- "end": 4261,
+ "start": 4424,
+ "end": 4426,
"loc": {
"start": {
- "line": 99,
+ "line": 104,
"column": 16
},
"end": {
- "line": 99,
+ "line": 104,
"column": 18
}
}
@@ -36185,15 +37572,15 @@
"binop": null
},
"value": "thisPlayer",
- "start": 4262,
- "end": 4272,
+ "start": 4427,
+ "end": 4437,
"loc": {
"start": {
- "line": 99,
+ "line": 104,
"column": 19
},
"end": {
- "line": 99,
+ "line": 104,
"column": 29
}
}
@@ -36211,15 +37598,15 @@
"binop": null,
"updateContext": null
},
- "start": 4272,
- "end": 4273,
+ "start": 4437,
+ "end": 4438,
"loc": {
"start": {
- "line": 99,
+ "line": 104,
"column": 29
},
"end": {
- "line": 99,
+ "line": 104,
"column": 30
}
}
@@ -36237,15 +37624,15 @@
"binop": null
},
"value": "damagedBy",
- "start": 4273,
- "end": 4282,
+ "start": 4438,
+ "end": 4447,
"loc": {
"start": {
- "line": 99,
+ "line": 104,
"column": 30
},
"end": {
- "line": 99,
+ "line": 104,
"column": 39
}
}
@@ -36262,15 +37649,15 @@
"postfix": false,
"binop": null
},
- "start": 4282,
- "end": 4283,
+ "start": 4447,
+ "end": 4448,
"loc": {
"start": {
- "line": 99,
+ "line": 104,
"column": 39
},
"end": {
- "line": 99,
+ "line": 104,
"column": 40
}
}
@@ -36287,15 +37674,15 @@
"postfix": false,
"binop": null
},
- "start": 4284,
- "end": 4285,
+ "start": 4449,
+ "end": 4450,
"loc": {
"start": {
- "line": 99,
+ "line": 104,
"column": 41
},
"end": {
- "line": 99,
+ "line": 104,
"column": 42
}
}
@@ -36313,15 +37700,15 @@
"binop": null
},
"value": "setField",
- "start": 4291,
- "end": 4299,
+ "start": 4456,
+ "end": 4464,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 5
},
"end": {
- "line": 100,
+ "line": 105,
"column": 13
}
}
@@ -36338,15 +37725,15 @@
"postfix": false,
"binop": null
},
- "start": 4299,
- "end": 4300,
+ "start": 4464,
+ "end": 4465,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 13
},
"end": {
- "line": 100,
+ "line": 105,
"column": 14
}
}
@@ -36365,15 +37752,15 @@
"updateContext": null
},
"value": 0,
- "start": 4300,
- "end": 4301,
+ "start": 4465,
+ "end": 4466,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 14
},
"end": {
- "line": 100,
+ "line": 105,
"column": 15
}
}
@@ -36391,15 +37778,15 @@
"binop": null,
"updateContext": null
},
- "start": 4301,
- "end": 4302,
+ "start": 4466,
+ "end": 4467,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 15
},
"end": {
- "line": 100,
+ "line": 105,
"column": 16
}
}
@@ -36417,15 +37804,15 @@
"binop": null,
"updateContext": null
},
- "start": 4303,
- "end": 4304,
+ "start": 4468,
+ "end": 4469,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 17
},
"end": {
- "line": 100,
+ "line": 105,
"column": 18
}
}
@@ -36444,15 +37831,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 4304,
- "end": 4311,
+ "start": 4469,
+ "end": 4476,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 18
},
"end": {
- "line": 100,
+ "line": 105,
"column": 25
}
}
@@ -36470,15 +37857,15 @@
"binop": null,
"updateContext": null
},
- "start": 4311,
- "end": 4312,
+ "start": 4476,
+ "end": 4477,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 25
},
"end": {
- "line": 100,
+ "line": 105,
"column": 26
}
}
@@ -36496,15 +37883,15 @@
"binop": null
},
"value": "room",
- "start": 4313,
- "end": 4317,
+ "start": 4478,
+ "end": 4482,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 27
},
"end": {
- "line": 100,
+ "line": 105,
"column": 31
}
}
@@ -36522,15 +37909,15 @@
"binop": null,
"updateContext": null
},
- "start": 4317,
- "end": 4318,
+ "start": 4482,
+ "end": 4483,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 31
},
"end": {
- "line": 100,
+ "line": 105,
"column": 32
}
}
@@ -36549,15 +37936,15 @@
"updateContext": null
},
"value": "players",
- "start": 4319,
- "end": 4328,
+ "start": 4484,
+ "end": 4493,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 33
},
"end": {
- "line": 100,
+ "line": 105,
"column": 42
}
}
@@ -36575,15 +37962,15 @@
"binop": null,
"updateContext": null
},
- "start": 4328,
- "end": 4329,
+ "start": 4493,
+ "end": 4494,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 42
},
"end": {
- "line": 100,
+ "line": 105,
"column": 43
}
}
@@ -36601,15 +37988,15 @@
"binop": null
},
"value": "data",
- "start": 4330,
- "end": 4334,
+ "start": 4495,
+ "end": 4499,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 44
},
"end": {
- "line": 100,
+ "line": 105,
"column": 48
}
}
@@ -36627,15 +38014,15 @@
"binop": null,
"updateContext": null
},
- "start": 4334,
- "end": 4335,
+ "start": 4499,
+ "end": 4500,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 48
},
"end": {
- "line": 100,
+ "line": 105,
"column": 49
}
}
@@ -36653,15 +38040,15 @@
"binop": null
},
"value": "player",
- "start": 4335,
- "end": 4341,
+ "start": 4500,
+ "end": 4506,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 49
},
"end": {
- "line": 100,
+ "line": 105,
"column": 55
}
}
@@ -36679,15 +38066,15 @@
"binop": null,
"updateContext": null
},
- "start": 4341,
- "end": 4342,
+ "start": 4506,
+ "end": 4507,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 55
},
"end": {
- "line": 100,
+ "line": 105,
"column": 56
}
}
@@ -36706,15 +38093,15 @@
"updateContext": null
},
"value": "damagedBy",
- "start": 4343,
- "end": 4354,
+ "start": 4508,
+ "end": 4519,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 57
},
"end": {
- "line": 100,
+ "line": 105,
"column": 68
}
}
@@ -36732,15 +38119,15 @@
"binop": null,
"updateContext": null
},
- "start": 4354,
- "end": 4355,
+ "start": 4519,
+ "end": 4520,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 68
},
"end": {
- "line": 100,
+ "line": 105,
"column": 69
}
}
@@ -36758,15 +38145,15 @@
"binop": null
},
"value": "pl",
- "start": 4356,
- "end": 4358,
+ "start": 4521,
+ "end": 4523,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 70
},
"end": {
- "line": 100,
+ "line": 105,
"column": 72
}
}
@@ -36784,15 +38171,15 @@
"binop": null,
"updateContext": null
},
- "start": 4358,
- "end": 4359,
+ "start": 4523,
+ "end": 4524,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 72
},
"end": {
- "line": 100,
+ "line": 105,
"column": 73
}
}
@@ -36809,15 +38196,15 @@
"postfix": false,
"binop": null
},
- "start": 4359,
- "end": 4360,
+ "start": 4524,
+ "end": 4525,
"loc": {
"start": {
- "line": 100,
+ "line": 105,
"column": 73
},
"end": {
- "line": 100,
+ "line": 105,
"column": 74
}
}
@@ -36834,15 +38221,15 @@
"postfix": false,
"binop": null
},
- "start": 4365,
- "end": 4366,
+ "start": 4530,
+ "end": 4531,
"loc": {
"start": {
- "line": 101,
+ "line": 106,
"column": 4
},
"end": {
- "line": 101,
+ "line": 106,
"column": 5
}
}
@@ -36850,15 +38237,15 @@
{
"type": "CommentLine",
"value": " Check if a team won",
- "start": 4372,
- "end": 4394,
+ "start": 4537,
+ "end": 4559,
"loc": {
"start": {
- "line": 103,
+ "line": 108,
"column": 4
},
"end": {
- "line": 103,
+ "line": 108,
"column": 26
}
}
@@ -36878,15 +38265,15 @@
"updateContext": null
},
"value": "let",
- "start": 4399,
- "end": 4402,
+ "start": 4564,
+ "end": 4567,
"loc": {
"start": {
- "line": 104,
+ "line": 109,
"column": 4
},
"end": {
- "line": 104,
+ "line": 109,
"column": 7
}
}
@@ -36904,15 +38291,15 @@
"binop": null
},
"value": "highScores",
- "start": 4403,
- "end": 4413,
+ "start": 4568,
+ "end": 4578,
"loc": {
"start": {
- "line": 104,
+ "line": 109,
"column": 8
},
"end": {
- "line": 104,
+ "line": 109,
"column": 18
}
}
@@ -36931,15 +38318,15 @@
"updateContext": null
},
"value": "=",
- "start": 4414,
- "end": 4415,
+ "start": 4579,
+ "end": 4580,
"loc": {
"start": {
- "line": 104,
+ "line": 109,
"column": 19
},
"end": {
- "line": 104,
+ "line": 109,
"column": 20
}
}
@@ -36957,15 +38344,15 @@
"binop": null,
"updateContext": null
},
- "start": 4416,
- "end": 4417,
+ "start": 4581,
+ "end": 4582,
"loc": {
"start": {
- "line": 104,
+ "line": 109,
"column": 21
},
"end": {
- "line": 104,
+ "line": 109,
"column": 22
}
}
@@ -36983,15 +38370,15 @@
"binop": null,
"updateContext": null
},
- "start": 4417,
- "end": 4418,
+ "start": 4582,
+ "end": 4583,
"loc": {
"start": {
- "line": 104,
+ "line": 109,
"column": 22
},
"end": {
- "line": 104,
+ "line": 109,
"column": 23
}
}
@@ -36999,15 +38386,15 @@
{
"type": "CommentLine",
"value": " Possible winning teams",
- "start": 4419,
- "end": 4444,
+ "start": 4584,
+ "end": 4609,
"loc": {
"start": {
- "line": 104,
+ "line": 109,
"column": 24
},
"end": {
- "line": 104,
+ "line": 109,
"column": 49
}
}
@@ -37027,15 +38414,15 @@
"updateContext": null
},
"value": "let",
- "start": 4449,
- "end": 4452,
+ "start": 4614,
+ "end": 4617,
"loc": {
"start": {
- "line": 105,
+ "line": 110,
"column": 4
},
"end": {
- "line": 105,
+ "line": 110,
"column": 7
}
}
@@ -37053,15 +38440,15 @@
"binop": null
},
"value": "maxScore",
- "start": 4453,
- "end": 4461,
+ "start": 4618,
+ "end": 4626,
"loc": {
"start": {
- "line": 105,
+ "line": 110,
"column": 8
},
"end": {
- "line": 105,
+ "line": 110,
"column": 16
}
}
@@ -37080,15 +38467,15 @@
"updateContext": null
},
"value": "=",
- "start": 4462,
- "end": 4463,
+ "start": 4627,
+ "end": 4628,
"loc": {
"start": {
- "line": 105,
+ "line": 110,
"column": 17
},
"end": {
- "line": 105,
+ "line": 110,
"column": 18
}
}
@@ -37107,15 +38494,15 @@
"updateContext": null
},
"value": 0,
- "start": 4464,
- "end": 4465,
+ "start": 4629,
+ "end": 4630,
"loc": {
"start": {
- "line": 105,
+ "line": 110,
"column": 19
},
"end": {
- "line": 105,
+ "line": 110,
"column": 20
}
}
@@ -37135,15 +38522,15 @@
"updateContext": null
},
"value": "for",
- "start": 4470,
- "end": 4473,
+ "start": 4635,
+ "end": 4638,
"loc": {
"start": {
- "line": 106,
+ "line": 111,
"column": 4
},
"end": {
- "line": 106,
+ "line": 111,
"column": 7
}
}
@@ -37160,15 +38547,15 @@
"postfix": false,
"binop": null
},
- "start": 4474,
- "end": 4475,
+ "start": 4639,
+ "end": 4640,
"loc": {
"start": {
- "line": 106,
+ "line": 111,
"column": 8
},
"end": {
- "line": 106,
+ "line": 111,
"column": 9
}
}
@@ -37188,15 +38575,15 @@
"updateContext": null
},
"value": "let",
- "start": 4475,
- "end": 4478,
+ "start": 4640,
+ "end": 4643,
"loc": {
"start": {
- "line": 106,
+ "line": 111,
"column": 9
},
"end": {
- "line": 106,
+ "line": 111,
"column": 12
}
}
@@ -37214,15 +38601,15 @@
"binop": null
},
"value": "tm",
- "start": 4479,
- "end": 4481,
+ "start": 4644,
+ "end": 4646,
"loc": {
"start": {
- "line": 106,
+ "line": 111,
"column": 13
},
"end": {
- "line": 106,
+ "line": 111,
"column": 15
}
}
@@ -37240,15 +38627,15 @@
"binop": null
},
"value": "of",
- "start": 4482,
- "end": 4484,
+ "start": 4647,
+ "end": 4649,
"loc": {
"start": {
- "line": 106,
+ "line": 111,
"column": 16
},
"end": {
- "line": 106,
+ "line": 111,
"column": 18
}
}
@@ -37266,15 +38653,15 @@
"binop": null
},
"value": "thisRoom",
- "start": 4485,
- "end": 4493,
+ "start": 4650,
+ "end": 4658,
"loc": {
"start": {
- "line": 106,
+ "line": 111,
"column": 19
},
"end": {
- "line": 106,
+ "line": 111,
"column": 27
}
}
@@ -37292,15 +38679,15 @@
"binop": null,
"updateContext": null
},
- "start": 4493,
- "end": 4494,
+ "start": 4658,
+ "end": 4659,
"loc": {
"start": {
- "line": 106,
+ "line": 111,
"column": 27
},
"end": {
- "line": 106,
+ "line": 111,
"column": 28
}
}
@@ -37318,15 +38705,15 @@
"binop": null
},
"value": "teams",
- "start": 4494,
- "end": 4499,
+ "start": 4659,
+ "end": 4664,
"loc": {
"start": {
- "line": 106,
+ "line": 111,
"column": 28
},
"end": {
- "line": 106,
+ "line": 111,
"column": 33
}
}
@@ -37343,15 +38730,15 @@
"postfix": false,
"binop": null
},
- "start": 4499,
- "end": 4500,
+ "start": 4664,
+ "end": 4665,
"loc": {
"start": {
- "line": 106,
+ "line": 111,
"column": 33
},
"end": {
- "line": 106,
+ "line": 111,
"column": 34
}
}
@@ -37368,15 +38755,15 @@
"postfix": false,
"binop": null
},
- "start": 4501,
- "end": 4502,
+ "start": 4666,
+ "end": 4667,
"loc": {
"start": {
- "line": 106,
+ "line": 111,
"column": 35
},
"end": {
- "line": 106,
+ "line": 111,
"column": 36
}
}
@@ -37396,15 +38783,15 @@
"updateContext": null
},
"value": "if",
- "start": 4508,
- "end": 4510,
+ "start": 4673,
+ "end": 4675,
"loc": {
"start": {
- "line": 107,
+ "line": 112,
"column": 5
},
"end": {
- "line": 107,
+ "line": 112,
"column": 7
}
}
@@ -37421,15 +38808,15 @@
"postfix": false,
"binop": null
},
- "start": 4511,
- "end": 4512,
+ "start": 4676,
+ "end": 4677,
"loc": {
"start": {
- "line": 107,
+ "line": 112,
"column": 8
},
"end": {
- "line": 107,
+ "line": 112,
"column": 9
}
}
@@ -37447,15 +38834,15 @@
"binop": null
},
"value": "tm",
- "start": 4512,
- "end": 4514,
+ "start": 4677,
+ "end": 4679,
"loc": {
"start": {
- "line": 107,
+ "line": 112,
"column": 9
},
"end": {
- "line": 107,
+ "line": 112,
"column": 11
}
}
@@ -37473,15 +38860,15 @@
"binop": null,
"updateContext": null
},
- "start": 4514,
- "end": 4515,
+ "start": 4679,
+ "end": 4680,
"loc": {
"start": {
- "line": 107,
+ "line": 112,
"column": 11
},
"end": {
- "line": 107,
+ "line": 112,
"column": 12
}
}
@@ -37499,15 +38886,15 @@
"binop": null
},
"value": "score",
- "start": 4515,
- "end": 4520,
+ "start": 4680,
+ "end": 4685,
"loc": {
"start": {
- "line": 107,
+ "line": 112,
"column": 12
},
"end": {
- "line": 107,
+ "line": 112,
"column": 17
}
}
@@ -37526,15 +38913,15 @@
"updateContext": null
},
"value": ">=",
- "start": 4521,
- "end": 4523,
+ "start": 4686,
+ "end": 4688,
"loc": {
"start": {
- "line": 107,
+ "line": 112,
"column": 18
},
"end": {
- "line": 107,
+ "line": 112,
"column": 20
}
}
@@ -37552,15 +38939,15 @@
"binop": null
},
"value": "GLOBAL",
- "start": 4524,
- "end": 4530,
+ "start": 4689,
+ "end": 4695,
"loc": {
"start": {
- "line": 107,
+ "line": 112,
"column": 21
},
"end": {
- "line": 107,
+ "line": 112,
"column": 27
}
}
@@ -37578,15 +38965,15 @@
"binop": null,
"updateContext": null
},
- "start": 4530,
- "end": 4531,
+ "start": 4695,
+ "end": 4696,
"loc": {
"start": {
- "line": 107,
+ "line": 112,
"column": 27
},
"end": {
- "line": 107,
+ "line": 112,
"column": 28
}
}
@@ -37604,15 +38991,15 @@
"binop": null
},
"value": "WINNING_SCORE",
- "start": 4531,
- "end": 4544,
+ "start": 4696,
+ "end": 4709,
"loc": {
"start": {
- "line": 107,
+ "line": 112,
"column": 28
},
"end": {
- "line": 107,
+ "line": 112,
"column": 41
}
}
@@ -37629,15 +39016,15 @@
"postfix": false,
"binop": null
},
- "start": 4544,
- "end": 4545,
+ "start": 4709,
+ "end": 4710,
"loc": {
"start": {
- "line": 107,
+ "line": 112,
"column": 41
},
"end": {
- "line": 107,
+ "line": 112,
"column": 42
}
}
@@ -37654,15 +39041,15 @@
"postfix": false,
"binop": null
},
- "start": 4546,
- "end": 4547,
+ "start": 4711,
+ "end": 4712,
"loc": {
"start": {
- "line": 107,
+ "line": 112,
"column": 43
},
"end": {
- "line": 107,
+ "line": 112,
"column": 44
}
}
@@ -37680,15 +39067,15 @@
"binop": null
},
"value": "highScores",
- "start": 4554,
- "end": 4564,
+ "start": 4719,
+ "end": 4729,
"loc": {
"start": {
- "line": 108,
+ "line": 113,
"column": 6
},
"end": {
- "line": 108,
+ "line": 113,
"column": 16
}
}
@@ -37706,15 +39093,15 @@
"binop": null,
"updateContext": null
},
- "start": 4564,
- "end": 4565,
+ "start": 4729,
+ "end": 4730,
"loc": {
"start": {
- "line": 108,
+ "line": 113,
"column": 16
},
"end": {
- "line": 108,
+ "line": 113,
"column": 17
}
}
@@ -37732,15 +39119,15 @@
"binop": null
},
"value": "push",
- "start": 4565,
- "end": 4569,
+ "start": 4730,
+ "end": 4734,
"loc": {
"start": {
- "line": 108,
+ "line": 113,
"column": 17
},
"end": {
- "line": 108,
+ "line": 113,
"column": 21
}
}
@@ -37757,15 +39144,15 @@
"postfix": false,
"binop": null
},
- "start": 4569,
- "end": 4570,
+ "start": 4734,
+ "end": 4735,
"loc": {
"start": {
- "line": 108,
+ "line": 113,
"column": 21
},
"end": {
- "line": 108,
+ "line": 113,
"column": 22
}
}
@@ -37783,15 +39170,15 @@
"binop": null
},
"value": "tm",
- "start": 4570,
- "end": 4572,
+ "start": 4735,
+ "end": 4737,
"loc": {
"start": {
- "line": 108,
+ "line": 113,
"column": 22
},
"end": {
- "line": 108,
+ "line": 113,
"column": 24
}
}
@@ -37808,15 +39195,15 @@
"postfix": false,
"binop": null
},
- "start": 4572,
- "end": 4573,
+ "start": 4737,
+ "end": 4738,
"loc": {
"start": {
- "line": 108,
+ "line": 113,
"column": 24
},
"end": {
- "line": 108,
+ "line": 113,
"column": 25
}
}
@@ -37836,15 +39223,15 @@
"updateContext": null
},
"value": "if",
- "start": 4580,
- "end": 4582,
+ "start": 4745,
+ "end": 4747,
"loc": {
"start": {
- "line": 109,
+ "line": 114,
"column": 6
},
"end": {
- "line": 109,
+ "line": 114,
"column": 8
}
}
@@ -37861,15 +39248,15 @@
"postfix": false,
"binop": null
},
- "start": 4583,
- "end": 4584,
+ "start": 4748,
+ "end": 4749,
"loc": {
"start": {
- "line": 109,
+ "line": 114,
"column": 9
},
"end": {
- "line": 109,
+ "line": 114,
"column": 10
}
}
@@ -37887,15 +39274,15 @@
"binop": null
},
"value": "maxScore",
- "start": 4584,
- "end": 4592,
+ "start": 4749,
+ "end": 4757,
"loc": {
"start": {
- "line": 109,
+ "line": 114,
"column": 10
},
"end": {
- "line": 109,
+ "line": 114,
"column": 18
}
}
@@ -37914,15 +39301,15 @@
"updateContext": null
},
"value": "<",
- "start": 4593,
- "end": 4594,
+ "start": 4758,
+ "end": 4759,
"loc": {
"start": {
- "line": 109,
+ "line": 114,
"column": 19
},
"end": {
- "line": 109,
+ "line": 114,
"column": 20
}
}
@@ -37940,15 +39327,15 @@
"binop": null
},
"value": "tm",
- "start": 4595,
- "end": 4597,
+ "start": 4760,
+ "end": 4762,
"loc": {
"start": {
- "line": 109,
+ "line": 114,
"column": 21
},
"end": {
- "line": 109,
+ "line": 114,
"column": 23
}
}
@@ -37966,15 +39353,15 @@
"binop": null,
"updateContext": null
},
- "start": 4597,
- "end": 4598,
+ "start": 4762,
+ "end": 4763,
"loc": {
"start": {
- "line": 109,
+ "line": 114,
"column": 23
},
"end": {
- "line": 109,
+ "line": 114,
"column": 24
}
}
@@ -37992,15 +39379,15 @@
"binop": null
},
"value": "score",
- "start": 4598,
- "end": 4603,
+ "start": 4763,
+ "end": 4768,
"loc": {
"start": {
- "line": 109,
+ "line": 114,
"column": 24
},
"end": {
- "line": 109,
+ "line": 114,
"column": 29
}
}
@@ -38017,15 +39404,15 @@
"postfix": false,
"binop": null
},
- "start": 4603,
- "end": 4604,
+ "start": 4768,
+ "end": 4769,
"loc": {
"start": {
- "line": 109,
+ "line": 114,
"column": 29
},
"end": {
- "line": 109,
+ "line": 114,
"column": 30
}
}
@@ -38042,15 +39429,15 @@
"postfix": false,
"binop": null
},
- "start": 4605,
- "end": 4606,
+ "start": 4770,
+ "end": 4771,
"loc": {
"start": {
- "line": 109,
+ "line": 114,
"column": 31
},
"end": {
- "line": 109,
+ "line": 114,
"column": 32
}
}
@@ -38068,15 +39455,15 @@
"binop": null
},
"value": "maxScore",
- "start": 4614,
- "end": 4622,
+ "start": 4779,
+ "end": 4787,
"loc": {
"start": {
- "line": 110,
+ "line": 115,
"column": 7
},
"end": {
- "line": 110,
+ "line": 115,
"column": 15
}
}
@@ -38095,15 +39482,15 @@
"updateContext": null
},
"value": "=",
- "start": 4623,
- "end": 4624,
+ "start": 4788,
+ "end": 4789,
"loc": {
"start": {
- "line": 110,
+ "line": 115,
"column": 16
},
"end": {
- "line": 110,
+ "line": 115,
"column": 17
}
}
@@ -38121,15 +39508,15 @@
"binop": null
},
"value": "tm",
- "start": 4625,
- "end": 4627,
+ "start": 4790,
+ "end": 4792,
"loc": {
"start": {
- "line": 110,
+ "line": 115,
"column": 18
},
"end": {
- "line": 110,
+ "line": 115,
"column": 20
}
}
@@ -38147,15 +39534,15 @@
"binop": null,
"updateContext": null
},
- "start": 4627,
- "end": 4628,
+ "start": 4792,
+ "end": 4793,
"loc": {
"start": {
- "line": 110,
+ "line": 115,
"column": 20
},
"end": {
- "line": 110,
+ "line": 115,
"column": 21
}
}
@@ -38173,15 +39560,15 @@
"binop": null
},
"value": "score",
- "start": 4628,
- "end": 4633,
+ "start": 4793,
+ "end": 4798,
"loc": {
"start": {
- "line": 110,
+ "line": 115,
"column": 21
},
"end": {
- "line": 110,
+ "line": 115,
"column": 26
}
}
@@ -38198,15 +39585,15 @@
"postfix": false,
"binop": null
},
- "start": 4640,
- "end": 4641,
+ "start": 4805,
+ "end": 4806,
"loc": {
"start": {
- "line": 111,
+ "line": 116,
"column": 6
},
"end": {
- "line": 111,
+ "line": 116,
"column": 7
}
}
@@ -38223,15 +39610,15 @@
"postfix": false,
"binop": null
},
- "start": 4647,
- "end": 4648,
+ "start": 4812,
+ "end": 4813,
"loc": {
"start": {
- "line": 112,
+ "line": 117,
"column": 5
},
"end": {
- "line": 112,
+ "line": 117,
"column": 6
}
}
@@ -38248,15 +39635,15 @@
"postfix": false,
"binop": null
},
- "start": 4653,
- "end": 4654,
+ "start": 4818,
+ "end": 4819,
"loc": {
"start": {
- "line": 113,
+ "line": 118,
"column": 4
},
"end": {
- "line": 113,
+ "line": 118,
"column": 5
}
}
@@ -38276,15 +39663,15 @@
"updateContext": null
},
"value": "for",
- "start": 4659,
- "end": 4662,
+ "start": 4824,
+ "end": 4827,
"loc": {
"start": {
- "line": 114,
+ "line": 119,
"column": 4
},
"end": {
- "line": 114,
+ "line": 119,
"column": 7
}
}
@@ -38301,15 +39688,15 @@
"postfix": false,
"binop": null
},
- "start": 4663,
- "end": 4664,
+ "start": 4828,
+ "end": 4829,
"loc": {
"start": {
- "line": 114,
+ "line": 119,
"column": 8
},
"end": {
- "line": 114,
+ "line": 119,
"column": 9
}
}
@@ -38329,15 +39716,15 @@
"updateContext": null
},
"value": "let",
- "start": 4664,
- "end": 4667,
+ "start": 4829,
+ "end": 4832,
"loc": {
"start": {
- "line": 114,
+ "line": 119,
"column": 9
},
"end": {
- "line": 114,
+ "line": 119,
"column": 12
}
}
@@ -38355,15 +39742,15 @@
"binop": null
},
"value": "winningTm",
- "start": 4668,
- "end": 4677,
+ "start": 4833,
+ "end": 4842,
"loc": {
"start": {
- "line": 114,
+ "line": 119,
"column": 13
},
"end": {
- "line": 114,
+ "line": 119,
"column": 22
}
}
@@ -38381,15 +39768,15 @@
"binop": null
},
"value": "of",
- "start": 4678,
- "end": 4680,
+ "start": 4843,
+ "end": 4845,
"loc": {
"start": {
- "line": 114,
+ "line": 119,
"column": 23
},
"end": {
- "line": 114,
+ "line": 119,
"column": 25
}
}
@@ -38407,15 +39794,15 @@
"binop": null
},
"value": "highScores",
- "start": 4681,
- "end": 4691,
+ "start": 4846,
+ "end": 4856,
"loc": {
"start": {
- "line": 114,
+ "line": 119,
"column": 26
},
"end": {
- "line": 114,
+ "line": 119,
"column": 36
}
}
@@ -38432,15 +39819,15 @@
"postfix": false,
"binop": null
},
- "start": 4691,
- "end": 4692,
+ "start": 4856,
+ "end": 4857,
"loc": {
"start": {
- "line": 114,
+ "line": 119,
"column": 36
},
"end": {
- "line": 114,
+ "line": 119,
"column": 37
}
}
@@ -38457,15 +39844,15 @@
"postfix": false,
"binop": null
},
- "start": 4693,
- "end": 4694,
+ "start": 4858,
+ "end": 4859,
"loc": {
"start": {
- "line": 114,
+ "line": 119,
"column": 38
},
"end": {
- "line": 114,
+ "line": 119,
"column": 39
}
}
@@ -38485,15 +39872,15 @@
"updateContext": null
},
"value": "if",
- "start": 4700,
- "end": 4702,
+ "start": 4865,
+ "end": 4867,
"loc": {
"start": {
- "line": 115,
+ "line": 120,
"column": 5
},
"end": {
- "line": 115,
+ "line": 120,
"column": 7
}
}
@@ -38510,15 +39897,15 @@
"postfix": false,
"binop": null
},
- "start": 4703,
- "end": 4704,
+ "start": 4868,
+ "end": 4869,
"loc": {
"start": {
- "line": 115,
+ "line": 120,
"column": 8
},
"end": {
- "line": 115,
+ "line": 120,
"column": 9
}
}
@@ -38536,15 +39923,15 @@
"binop": null
},
"value": "winningTm",
- "start": 4704,
- "end": 4713,
+ "start": 4869,
+ "end": 4878,
"loc": {
"start": {
- "line": 115,
+ "line": 120,
"column": 9
},
"end": {
- "line": 115,
+ "line": 120,
"column": 18
}
}
@@ -38562,15 +39949,15 @@
"binop": null,
"updateContext": null
},
- "start": 4713,
- "end": 4714,
+ "start": 4878,
+ "end": 4879,
"loc": {
"start": {
- "line": 115,
+ "line": 120,
"column": 18
},
"end": {
- "line": 115,
+ "line": 120,
"column": 19
}
}
@@ -38588,15 +39975,15 @@
"binop": null
},
"value": "score",
- "start": 4714,
- "end": 4719,
+ "start": 4879,
+ "end": 4884,
"loc": {
"start": {
- "line": 115,
+ "line": 120,
"column": 19
},
"end": {
- "line": 115,
+ "line": 120,
"column": 24
}
}
@@ -38615,15 +40002,15 @@
"updateContext": null
},
"value": "===",
- "start": 4720,
- "end": 4723,
+ "start": 4885,
+ "end": 4888,
"loc": {
"start": {
- "line": 115,
+ "line": 120,
"column": 25
},
"end": {
- "line": 115,
+ "line": 120,
"column": 28
}
}
@@ -38641,15 +40028,15 @@
"binop": null
},
"value": "maxScore",
- "start": 4724,
- "end": 4732,
+ "start": 4889,
+ "end": 4897,
"loc": {
"start": {
- "line": 115,
+ "line": 120,
"column": 29
},
"end": {
- "line": 115,
+ "line": 120,
"column": 37
}
}
@@ -38666,15 +40053,15 @@
"postfix": false,
"binop": null
},
- "start": 4732,
- "end": 4733,
+ "start": 4897,
+ "end": 4898,
"loc": {
"start": {
- "line": 115,
+ "line": 120,
"column": 37
},
"end": {
- "line": 115,
+ "line": 120,
"column": 38
}
}
@@ -38691,15 +40078,15 @@
"postfix": false,
"binop": null
},
- "start": 4734,
- "end": 4735,
+ "start": 4899,
+ "end": 4900,
"loc": {
"start": {
- "line": 115,
+ "line": 120,
"column": 39
},
"end": {
- "line": 115,
+ "line": 120,
"column": 40
}
}
@@ -38719,15 +40106,15 @@
"updateContext": null
},
"value": "let",
- "start": 4742,
- "end": 4745,
+ "start": 4907,
+ "end": 4910,
"loc": {
"start": {
- "line": 116,
+ "line": 121,
"column": 6
},
"end": {
- "line": 116,
+ "line": 121,
"column": 9
}
}
@@ -38745,15 +40132,15 @@
"binop": null
},
"value": "dataToSend",
- "start": 4746,
- "end": 4756,
+ "start": 4911,
+ "end": 4921,
"loc": {
"start": {
- "line": 116,
+ "line": 121,
"column": 10
},
"end": {
- "line": 116,
+ "line": 121,
"column": 20
}
}
@@ -38772,15 +40159,15 @@
"updateContext": null
},
"value": "=",
- "start": 4757,
- "end": 4758,
+ "start": 4922,
+ "end": 4923,
"loc": {
"start": {
- "line": 116,
+ "line": 121,
"column": 21
},
"end": {
- "line": 116,
+ "line": 121,
"column": 22
}
}
@@ -38797,15 +40184,15 @@
"postfix": false,
"binop": null
},
- "start": 4759,
- "end": 4760,
+ "start": 4924,
+ "end": 4925,
"loc": {
"start": {
- "line": 116,
+ "line": 121,
"column": 23
},
"end": {
- "line": 116,
+ "line": 121,
"column": 24
}
}
@@ -38823,15 +40210,15 @@
"binop": null
},
"value": "winner",
- "start": 4768,
- "end": 4774,
+ "start": 4933,
+ "end": 4939,
"loc": {
"start": {
- "line": 117,
+ "line": 122,
"column": 7
},
"end": {
- "line": 117,
+ "line": 122,
"column": 13
}
}
@@ -38849,15 +40236,15 @@
"binop": null,
"updateContext": null
},
- "start": 4774,
- "end": 4775,
+ "start": 4939,
+ "end": 4940,
"loc": {
"start": {
- "line": 117,
+ "line": 122,
"column": 13
},
"end": {
- "line": 117,
+ "line": 122,
"column": 14
}
}
@@ -38875,15 +40262,15 @@
"binop": null
},
"value": "winningTm",
- "start": 4776,
- "end": 4785,
+ "start": 4941,
+ "end": 4950,
"loc": {
"start": {
- "line": 117,
+ "line": 122,
"column": 15
},
"end": {
- "line": 117,
+ "line": 122,
"column": 24
}
}
@@ -38891,15 +40278,15 @@
{
"type": "CommentLine",
"value": " teamScore: thisRoom.teams[dataToSend.teamSlot].score",
- "start": 4793,
- "end": 4848,
+ "start": 4958,
+ "end": 5013,
"loc": {
"start": {
- "line": 118,
+ "line": 123,
"column": 7
},
"end": {
- "line": 118,
+ "line": 123,
"column": 62
}
}
@@ -38907,15 +40294,15 @@
{
"type": "CommentLine",
"value": " other data here TODO post ranking",
- "start": 4856,
- "end": 4892,
+ "start": 5021,
+ "end": 5057,
"loc": {
"start": {
- "line": 119,
+ "line": 124,
"column": 7
},
"end": {
- "line": 119,
+ "line": 124,
"column": 43
}
}
@@ -38932,15 +40319,15 @@
"postfix": false,
"binop": null
},
- "start": 4899,
- "end": 4900,
+ "start": 5064,
+ "end": 5065,
"loc": {
"start": {
- "line": 120,
+ "line": 125,
"column": 6
},
"end": {
- "line": 120,
+ "line": 125,
"column": 7
}
}
@@ -38958,15 +40345,15 @@
"binop": null
},
"value": "socket",
- "start": 4907,
- "end": 4913,
+ "start": 5072,
+ "end": 5078,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 6
},
"end": {
- "line": 121,
+ "line": 126,
"column": 12
}
}
@@ -38984,15 +40371,15 @@
"binop": null,
"updateContext": null
},
- "start": 4913,
- "end": 4914,
+ "start": 5078,
+ "end": 5079,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 12
},
"end": {
- "line": 121,
+ "line": 126,
"column": 13
}
}
@@ -39010,15 +40397,15 @@
"binop": null
},
"value": "to",
- "start": 4914,
- "end": 4916,
+ "start": 5079,
+ "end": 5081,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 13
},
"end": {
- "line": 121,
+ "line": 126,
"column": 15
}
}
@@ -39035,15 +40422,15 @@
"postfix": false,
"binop": null
},
- "start": 4916,
- "end": 4917,
+ "start": 5081,
+ "end": 5082,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 15
},
"end": {
- "line": 121,
+ "line": 126,
"column": 16
}
}
@@ -39061,15 +40448,15 @@
"binop": null
},
"value": "room",
- "start": 4917,
- "end": 4921,
+ "start": 5082,
+ "end": 5086,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 16
},
"end": {
- "line": 121,
+ "line": 126,
"column": 20
}
}
@@ -39086,15 +40473,15 @@
"postfix": false,
"binop": null
},
- "start": 4921,
- "end": 4922,
+ "start": 5086,
+ "end": 5087,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 20
},
"end": {
- "line": 121,
+ "line": 126,
"column": 21
}
}
@@ -39112,15 +40499,15 @@
"binop": null,
"updateContext": null
},
- "start": 4922,
- "end": 4923,
+ "start": 5087,
+ "end": 5088,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 21
},
"end": {
- "line": 121,
+ "line": 126,
"column": 22
}
}
@@ -39138,15 +40525,15 @@
"binop": null
},
"value": "broadcast",
- "start": 4923,
- "end": 4932,
+ "start": 5088,
+ "end": 5097,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 22
},
"end": {
- "line": 121,
+ "line": 126,
"column": 31
}
}
@@ -39164,15 +40551,15 @@
"binop": null,
"updateContext": null
},
- "start": 4932,
- "end": 4933,
+ "start": 5097,
+ "end": 5098,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 31
},
"end": {
- "line": 121,
+ "line": 126,
"column": 32
}
}
@@ -39190,15 +40577,15 @@
"binop": null
},
"value": "emit",
- "start": 4933,
- "end": 4937,
+ "start": 5098,
+ "end": 5102,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 32
},
"end": {
- "line": 121,
+ "line": 126,
"column": 36
}
}
@@ -39215,15 +40602,15 @@
"postfix": false,
"binop": null
},
- "start": 4937,
- "end": 4938,
+ "start": 5102,
+ "end": 5103,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 36
},
"end": {
- "line": 121,
+ "line": 126,
"column": 37
}
}
@@ -39242,15 +40629,15 @@
"updateContext": null
},
"value": "serverSendWinner",
- "start": 4938,
- "end": 4956,
+ "start": 5103,
+ "end": 5121,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 37
},
"end": {
- "line": 121,
+ "line": 126,
"column": 55
}
}
@@ -39268,15 +40655,15 @@
"binop": null,
"updateContext": null
},
- "start": 4956,
- "end": 4957,
+ "start": 5121,
+ "end": 5122,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 55
},
"end": {
- "line": 121,
+ "line": 126,
"column": 56
}
}
@@ -39294,15 +40681,15 @@
"binop": null
},
"value": "dataToSend",
- "start": 4958,
- "end": 4968,
+ "start": 5123,
+ "end": 5133,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 57
},
"end": {
- "line": 121,
+ "line": 126,
"column": 67
}
}
@@ -39319,15 +40706,15 @@
"postfix": false,
"binop": null
},
- "start": 4968,
- "end": 4969,
+ "start": 5133,
+ "end": 5134,
"loc": {
"start": {
- "line": 121,
+ "line": 126,
"column": 67
},
"end": {
- "line": 121,
+ "line": 126,
"column": 68
}
}
@@ -39345,15 +40732,15 @@
"binop": null
},
"value": "socket",
- "start": 4976,
- "end": 4982,
+ "start": 5141,
+ "end": 5147,
"loc": {
"start": {
- "line": 122,
+ "line": 127,
"column": 6
},
"end": {
- "line": 122,
+ "line": 127,
"column": 12
}
}
@@ -39371,15 +40758,15 @@
"binop": null,
"updateContext": null
},
- "start": 4982,
- "end": 4983,
+ "start": 5147,
+ "end": 5148,
"loc": {
"start": {
- "line": 122,
+ "line": 127,
"column": 12
},
"end": {
- "line": 122,
+ "line": 127,
"column": 13
}
}
@@ -39397,15 +40784,15 @@
"binop": null
},
"value": "emit",
- "start": 4983,
- "end": 4987,
+ "start": 5148,
+ "end": 5152,
"loc": {
"start": {
- "line": 122,
+ "line": 127,
"column": 13
},
"end": {
- "line": 122,
+ "line": 127,
"column": 17
}
}
@@ -39422,15 +40809,15 @@
"postfix": false,
"binop": null
},
- "start": 4987,
- "end": 4988,
+ "start": 5152,
+ "end": 5153,
"loc": {
"start": {
- "line": 122,
+ "line": 127,
"column": 17
},
"end": {
- "line": 122,
+ "line": 127,
"column": 18
}
}
@@ -39449,15 +40836,15 @@
"updateContext": null
},
"value": "serverSendWinner",
- "start": 4988,
- "end": 5006,
+ "start": 5153,
+ "end": 5171,
"loc": {
"start": {
- "line": 122,
+ "line": 127,
"column": 18
},
"end": {
- "line": 122,
+ "line": 127,
"column": 36
}
}
@@ -39475,15 +40862,15 @@
"binop": null,
"updateContext": null
},
- "start": 5006,
- "end": 5007,
+ "start": 5171,
+ "end": 5172,
"loc": {
"start": {
- "line": 122,
+ "line": 127,
"column": 36
},
"end": {
- "line": 122,
+ "line": 127,
"column": 37
}
}
@@ -39501,15 +40888,15 @@
"binop": null
},
"value": "dataToSend",
- "start": 5008,
- "end": 5018,
+ "start": 5173,
+ "end": 5183,
"loc": {
"start": {
- "line": 122,
+ "line": 127,
"column": 38
},
"end": {
- "line": 122,
+ "line": 127,
"column": 48
}
}
@@ -39526,15 +40913,15 @@
"postfix": false,
"binop": null
},
- "start": 5018,
- "end": 5019,
+ "start": 5183,
+ "end": 5184,
"loc": {
"start": {
- "line": 122,
+ "line": 127,
"column": 48
},
"end": {
- "line": 122,
+ "line": 127,
"column": 49
}
}
@@ -39542,15 +40929,15 @@
{
"type": "CommentLine",
"value": " Close room after delay (kick all players)",
- "start": 5027,
- "end": 5071,
+ "start": 5192,
+ "end": 5236,
"loc": {
"start": {
- "line": 124,
+ "line": 129,
"column": 6
},
"end": {
- "line": 124,
+ "line": 129,
"column": 50
}
}
@@ -39568,15 +40955,15 @@
"binop": null
},
"value": "setTimeout",
- "start": 5078,
- "end": 5088,
+ "start": 5243,
+ "end": 5253,
"loc": {
"start": {
- "line": 125,
+ "line": 130,
"column": 6
},
"end": {
- "line": 125,
+ "line": 130,
"column": 16
}
}
@@ -39593,15 +40980,15 @@
"postfix": false,
"binop": null
},
- "start": 5088,
- "end": 5089,
+ "start": 5253,
+ "end": 5254,
"loc": {
"start": {
- "line": 125,
+ "line": 130,
"column": 16
},
"end": {
- "line": 125,
+ "line": 130,
"column": 17
}
}
@@ -39618,15 +41005,15 @@
"postfix": false,
"binop": null
},
- "start": 5089,
- "end": 5090,
+ "start": 5254,
+ "end": 5255,
"loc": {
"start": {
- "line": 125,
+ "line": 130,
"column": 17
},
"end": {
- "line": 125,
+ "line": 130,
"column": 18
}
}
@@ -39643,15 +41030,15 @@
"postfix": false,
"binop": null
},
- "start": 5090,
- "end": 5091,
+ "start": 5255,
+ "end": 5256,
"loc": {
"start": {
- "line": 125,
+ "line": 130,
"column": 18
},
"end": {
- "line": 125,
+ "line": 130,
"column": 19
}
}
@@ -39669,15 +41056,15 @@
"binop": null,
"updateContext": null
},
- "start": 5092,
- "end": 5094,
+ "start": 5257,
+ "end": 5259,
"loc": {
"start": {
- "line": 125,
+ "line": 130,
"column": 20
},
"end": {
- "line": 125,
+ "line": 130,
"column": 22
}
}
@@ -39694,15 +41081,15 @@
"postfix": false,
"binop": null
},
- "start": 5095,
- "end": 5096,
+ "start": 5260,
+ "end": 5261,
"loc": {
"start": {
- "line": 125,
+ "line": 130,
"column": 23
},
"end": {
- "line": 125,
+ "line": 130,
"column": 24
}
}
@@ -39720,15 +41107,15 @@
"binop": null
},
"value": "socket",
- "start": 5104,
- "end": 5110,
+ "start": 5269,
+ "end": 5275,
"loc": {
"start": {
- "line": 126,
+ "line": 131,
"column": 7
},
"end": {
- "line": 126,
+ "line": 131,
"column": 13
}
}
@@ -39746,15 +41133,15 @@
"binop": null,
"updateContext": null
},
- "start": 5110,
- "end": 5111,
+ "start": 5275,
+ "end": 5276,
"loc": {
"start": {
- "line": 126,
+ "line": 131,
"column": 13
},
"end": {
- "line": 126,
+ "line": 131,
"column": 14
}
}
@@ -39772,15 +41159,15 @@
"binop": null
},
"value": "emit",
- "start": 5111,
- "end": 5115,
+ "start": 5276,
+ "end": 5280,
"loc": {
"start": {
- "line": 126,
+ "line": 131,
"column": 14
},
"end": {
- "line": 126,
+ "line": 131,
"column": 18
}
}
@@ -39797,15 +41184,15 @@
"postfix": false,
"binop": null
},
- "start": 5115,
- "end": 5116,
+ "start": 5280,
+ "end": 5281,
"loc": {
"start": {
- "line": 126,
+ "line": 131,
"column": 18
},
"end": {
- "line": 126,
+ "line": 131,
"column": 19
}
}
@@ -39824,15 +41211,15 @@
"updateContext": null
},
"value": "serverSendDisconnect",
- "start": 5116,
- "end": 5138,
+ "start": 5281,
+ "end": 5303,
"loc": {
"start": {
- "line": 126,
+ "line": 131,
"column": 19
},
"end": {
- "line": 126,
+ "line": 131,
"column": 41
}
}
@@ -39850,15 +41237,15 @@
"binop": null,
"updateContext": null
},
- "start": 5138,
- "end": 5139,
+ "start": 5303,
+ "end": 5304,
"loc": {
"start": {
- "line": 126,
+ "line": 131,
"column": 41
},
"end": {
- "line": 126,
+ "line": 131,
"column": 42
}
}
@@ -39875,15 +41262,15 @@
"postfix": false,
"binop": null
},
- "start": 5140,
- "end": 5141,
+ "start": 5305,
+ "end": 5306,
"loc": {
"start": {
- "line": 126,
+ "line": 131,
"column": 43
},
"end": {
- "line": 126,
+ "line": 131,
"column": 44
}
}
@@ -39900,15 +41287,15 @@
"postfix": false,
"binop": null
},
- "start": 5141,
- "end": 5142,
+ "start": 5306,
+ "end": 5307,
"loc": {
"start": {
- "line": 126,
+ "line": 131,
"column": 44
},
"end": {
- "line": 126,
+ "line": 131,
"column": 45
}
}
@@ -39925,15 +41312,15 @@
"postfix": false,
"binop": null
},
- "start": 5142,
- "end": 5143,
+ "start": 5307,
+ "end": 5308,
"loc": {
"start": {
- "line": 126,
+ "line": 131,
"column": 45
},
"end": {
- "line": 126,
+ "line": 131,
"column": 46
}
}
@@ -39951,15 +41338,15 @@
"binop": null
},
"value": "socket",
- "start": 5151,
- "end": 5157,
+ "start": 5316,
+ "end": 5322,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 7
},
"end": {
- "line": 127,
+ "line": 132,
"column": 13
}
}
@@ -39977,15 +41364,15 @@
"binop": null,
"updateContext": null
},
- "start": 5157,
- "end": 5158,
+ "start": 5322,
+ "end": 5323,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 13
},
"end": {
- "line": 127,
+ "line": 132,
"column": 14
}
}
@@ -40003,15 +41390,15 @@
"binop": null
},
"value": "to",
- "start": 5158,
- "end": 5160,
+ "start": 5323,
+ "end": 5325,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 14
},
"end": {
- "line": 127,
+ "line": 132,
"column": 16
}
}
@@ -40028,15 +41415,15 @@
"postfix": false,
"binop": null
},
- "start": 5160,
- "end": 5161,
+ "start": 5325,
+ "end": 5326,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 16
},
"end": {
- "line": 127,
+ "line": 132,
"column": 17
}
}
@@ -40054,15 +41441,15 @@
"binop": null
},
"value": "room",
- "start": 5161,
- "end": 5165,
+ "start": 5326,
+ "end": 5330,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 17
},
"end": {
- "line": 127,
+ "line": 132,
"column": 21
}
}
@@ -40079,15 +41466,15 @@
"postfix": false,
"binop": null
},
- "start": 5165,
- "end": 5166,
+ "start": 5330,
+ "end": 5331,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 21
},
"end": {
- "line": 127,
+ "line": 132,
"column": 22
}
}
@@ -40105,15 +41492,15 @@
"binop": null,
"updateContext": null
},
- "start": 5166,
- "end": 5167,
+ "start": 5331,
+ "end": 5332,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 22
},
"end": {
- "line": 127,
+ "line": 132,
"column": 23
}
}
@@ -40131,15 +41518,15 @@
"binop": null
},
"value": "broadcast",
- "start": 5167,
- "end": 5176,
+ "start": 5332,
+ "end": 5341,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 23
},
"end": {
- "line": 127,
+ "line": 132,
"column": 32
}
}
@@ -40157,15 +41544,15 @@
"binop": null,
"updateContext": null
},
- "start": 5176,
- "end": 5177,
+ "start": 5341,
+ "end": 5342,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 32
},
"end": {
- "line": 127,
+ "line": 132,
"column": 33
}
}
@@ -40183,15 +41570,15 @@
"binop": null
},
"value": "emit",
- "start": 5177,
- "end": 5181,
+ "start": 5342,
+ "end": 5346,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 33
},
"end": {
- "line": 127,
+ "line": 132,
"column": 37
}
}
@@ -40208,15 +41595,15 @@
"postfix": false,
"binop": null
},
- "start": 5181,
- "end": 5182,
+ "start": 5346,
+ "end": 5347,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 37
},
"end": {
- "line": 127,
+ "line": 132,
"column": 38
}
}
@@ -40235,15 +41622,15 @@
"updateContext": null
},
"value": "serverSendDisconnect",
- "start": 5182,
- "end": 5204,
+ "start": 5347,
+ "end": 5369,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 38
},
"end": {
- "line": 127,
+ "line": 132,
"column": 60
}
}
@@ -40261,15 +41648,15 @@
"binop": null,
"updateContext": null
},
- "start": 5204,
- "end": 5205,
+ "start": 5369,
+ "end": 5370,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 60
},
"end": {
- "line": 127,
+ "line": 132,
"column": 61
}
}
@@ -40286,15 +41673,15 @@
"postfix": false,
"binop": null
},
- "start": 5206,
- "end": 5207,
+ "start": 5371,
+ "end": 5372,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 62
},
"end": {
- "line": 127,
+ "line": 132,
"column": 63
}
}
@@ -40311,15 +41698,15 @@
"postfix": false,
"binop": null
},
- "start": 5207,
- "end": 5208,
+ "start": 5372,
+ "end": 5373,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 63
},
"end": {
- "line": 127,
+ "line": 132,
"column": 64
}
}
@@ -40336,15 +41723,15 @@
"postfix": false,
"binop": null
},
- "start": 5208,
- "end": 5209,
+ "start": 5373,
+ "end": 5374,
"loc": {
"start": {
- "line": 127,
+ "line": 132,
"column": 64
},
"end": {
- "line": 127,
+ "line": 132,
"column": 65
}
}
@@ -40361,15 +41748,15 @@
"postfix": false,
"binop": null
},
- "start": 5216,
- "end": 5217,
+ "start": 5381,
+ "end": 5382,
"loc": {
"start": {
- "line": 128,
+ "line": 133,
"column": 6
},
"end": {
- "line": 128,
+ "line": 133,
"column": 7
}
}
@@ -40387,15 +41774,15 @@
"binop": null,
"updateContext": null
},
- "start": 5217,
- "end": 5218,
+ "start": 5382,
+ "end": 5383,
"loc": {
"start": {
- "line": 128,
+ "line": 133,
"column": 7
},
"end": {
- "line": 128,
+ "line": 133,
"column": 8
}
}
@@ -40413,15 +41800,15 @@
"binop": null
},
"value": "GLOBAL",
- "start": 5219,
- "end": 5225,
+ "start": 5384,
+ "end": 5390,
"loc": {
"start": {
- "line": 128,
+ "line": 133,
"column": 9
},
"end": {
- "line": 128,
+ "line": 133,
"column": 15
}
}
@@ -40439,15 +41826,15 @@
"binop": null,
"updateContext": null
},
- "start": 5225,
- "end": 5226,
+ "start": 5390,
+ "end": 5391,
"loc": {
"start": {
- "line": 128,
+ "line": 133,
"column": 15
},
"end": {
- "line": 128,
+ "line": 133,
"column": 16
}
}
@@ -40465,15 +41852,15 @@
"binop": null
},
"value": "ROOM_DELETE_DELAY",
- "start": 5226,
- "end": 5243,
+ "start": 5391,
+ "end": 5408,
"loc": {
"start": {
- "line": 128,
+ "line": 133,
"column": 16
},
"end": {
- "line": 128,
+ "line": 133,
"column": 33
}
}
@@ -40490,15 +41877,15 @@
"postfix": false,
"binop": null
},
- "start": 5243,
- "end": 5244,
+ "start": 5408,
+ "end": 5409,
"loc": {
"start": {
- "line": 128,
+ "line": 133,
"column": 33
},
"end": {
- "line": 128,
+ "line": 133,
"column": 34
}
}
@@ -40515,15 +41902,15 @@
"postfix": false,
"binop": null
},
- "start": 5250,
- "end": 5251,
+ "start": 5415,
+ "end": 5416,
"loc": {
"start": {
- "line": 129,
+ "line": 134,
"column": 5
},
"end": {
- "line": 129,
+ "line": 134,
"column": 6
}
}
@@ -40540,15 +41927,15 @@
"postfix": false,
"binop": null
},
- "start": 5256,
- "end": 5257,
+ "start": 5421,
+ "end": 5422,
"loc": {
"start": {
- "line": 130,
+ "line": 135,
"column": 4
},
"end": {
- "line": 130,
+ "line": 135,
"column": 5
}
}
@@ -40565,15 +41952,15 @@
"postfix": false,
"binop": null
},
- "start": 5261,
- "end": 5262,
+ "start": 5426,
+ "end": 5427,
"loc": {
"start": {
- "line": 131,
+ "line": 136,
"column": 3
},
"end": {
- "line": 131,
+ "line": 136,
"column": 4
}
}
@@ -40590,15 +41977,15 @@
"postfix": false,
"binop": null
},
- "start": 5265,
- "end": 5266,
+ "start": 5430,
+ "end": 5431,
"loc": {
"start": {
- "line": 132,
+ "line": 137,
"column": 2
},
"end": {
- "line": 132,
+ "line": 137,
"column": 3
}
}
@@ -40615,15 +42002,15 @@
"postfix": false,
"binop": null
},
- "start": 5268,
- "end": 5269,
+ "start": 5433,
+ "end": 5434,
"loc": {
"start": {
- "line": 133,
+ "line": 138,
"column": 1
},
"end": {
- "line": 133,
+ "line": 138,
"column": 2
}
}
@@ -40643,15 +42030,15 @@
"updateContext": null
},
"value": "else",
- "start": 5271,
- "end": 5275,
+ "start": 5436,
+ "end": 5440,
"loc": {
"start": {
- "line": 134,
+ "line": 139,
"column": 1
},
"end": {
- "line": 134,
+ "line": 139,
"column": 5
}
}
@@ -40668,15 +42055,15 @@
"postfix": false,
"binop": null
},
- "start": 5276,
- "end": 5277,
+ "start": 5441,
+ "end": 5442,
"loc": {
"start": {
- "line": 134,
+ "line": 139,
"column": 6
},
"end": {
- "line": 134,
+ "line": 139,
"column": 7
}
}
@@ -40694,15 +42081,15 @@
"binop": null
},
"value": "console",
- "start": 5280,
- "end": 5287,
+ "start": 5445,
+ "end": 5452,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 2
},
"end": {
- "line": 135,
+ "line": 140,
"column": 9
}
}
@@ -40720,15 +42107,15 @@
"binop": null,
"updateContext": null
},
- "start": 5287,
- "end": 5288,
+ "start": 5452,
+ "end": 5453,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 9
},
"end": {
- "line": 135,
+ "line": 140,
"column": 10
}
}
@@ -40746,15 +42133,15 @@
"binop": null
},
"value": "warn",
- "start": 5288,
- "end": 5292,
+ "start": 5453,
+ "end": 5457,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 10
},
"end": {
- "line": 135,
+ "line": 140,
"column": 14
}
}
@@ -40771,15 +42158,15 @@
"postfix": false,
"binop": null
},
- "start": 5292,
- "end": 5293,
+ "start": 5457,
+ "end": 5458,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 14
},
"end": {
- "line": 135,
+ "line": 140,
"column": 15
}
}
@@ -40798,15 +42185,15 @@
"updateContext": null
},
"value": "Player of ID ",
- "start": 5293,
- "end": 5308,
+ "start": 5458,
+ "end": 5473,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 15
},
"end": {
- "line": 135,
+ "line": 140,
"column": 30
}
}
@@ -40825,15 +42212,15 @@
"updateContext": null
},
"value": "+",
- "start": 5309,
- "end": 5310,
+ "start": 5474,
+ "end": 5475,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 31
},
"end": {
- "line": 135,
+ "line": 140,
"column": 32
}
}
@@ -40851,15 +42238,15 @@
"binop": null
},
"value": "data",
- "start": 5311,
- "end": 5315,
+ "start": 5476,
+ "end": 5480,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 33
},
"end": {
- "line": 135,
+ "line": 140,
"column": 37
}
}
@@ -40877,15 +42264,15 @@
"binop": null,
"updateContext": null
},
- "start": 5315,
- "end": 5316,
+ "start": 5480,
+ "end": 5481,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 37
},
"end": {
- "line": 135,
+ "line": 140,
"column": 38
}
}
@@ -40903,15 +42290,15 @@
"binop": null
},
"value": "player",
- "start": 5316,
- "end": 5322,
+ "start": 5481,
+ "end": 5487,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 38
},
"end": {
- "line": 135,
+ "line": 140,
"column": 44
}
}
@@ -40930,15 +42317,15 @@
"updateContext": null
},
"value": "+",
- "start": 5323,
- "end": 5324,
+ "start": 5488,
+ "end": 5489,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 45
},
"end": {
- "line": 135,
+ "line": 140,
"column": 46
}
}
@@ -40957,15 +42344,15 @@
"updateContext": null
},
"value": " couldn't be damaged because they don't exist!",
- "start": 5325,
- "end": 5375,
+ "start": 5490,
+ "end": 5540,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 47
},
"end": {
- "line": 135,
+ "line": 140,
"column": 97
}
}
@@ -40982,15 +42369,15 @@
"postfix": false,
"binop": null
},
- "start": 5375,
- "end": 5376,
+ "start": 5540,
+ "end": 5541,
"loc": {
"start": {
- "line": 135,
+ "line": 140,
"column": 97
},
"end": {
- "line": 135,
+ "line": 140,
"column": 98
}
}
@@ -41007,15 +42394,15 @@
"postfix": false,
"binop": null
},
- "start": 5378,
- "end": 5379,
+ "start": 5543,
+ "end": 5544,
"loc": {
"start": {
- "line": 136,
+ "line": 141,
"column": 1
},
"end": {
- "line": 136,
+ "line": 141,
"column": 2
}
}
@@ -41032,15 +42419,15 @@
"postfix": false,
"binop": null
},
- "start": 5380,
- "end": 5381,
+ "start": 5545,
+ "end": 5546,
"loc": {
"start": {
- "line": 137,
+ "line": 142,
"column": 0
},
"end": {
- "line": 137,
+ "line": 142,
"column": 1
}
}
@@ -41060,15 +42447,15 @@
"updateContext": null
},
"value": "export",
- "start": 5383,
- "end": 5389,
+ "start": 5548,
+ "end": 5554,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 0
},
"end": {
- "line": 139,
+ "line": 144,
"column": 6
}
}
@@ -41087,15 +42474,15 @@
"binop": null
},
"value": "function",
- "start": 5390,
- "end": 5398,
+ "start": 5555,
+ "end": 5563,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 7
},
"end": {
- "line": 139,
+ "line": 144,
"column": 15
}
}
@@ -41113,15 +42500,15 @@
"binop": null
},
"value": "damageTile",
- "start": 5399,
- "end": 5409,
+ "start": 5564,
+ "end": 5574,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 16
},
"end": {
- "line": 139,
+ "line": 144,
"column": 26
}
}
@@ -41138,15 +42525,15 @@
"postfix": false,
"binop": null
},
- "start": 5410,
- "end": 5411,
+ "start": 5575,
+ "end": 5576,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 27
},
"end": {
- "line": 139,
+ "line": 144,
"column": 28
}
}
@@ -41164,15 +42551,15 @@
"binop": null
},
"value": "tileID",
- "start": 5411,
- "end": 5417,
+ "start": 5576,
+ "end": 5582,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 28
},
"end": {
- "line": 139,
+ "line": 144,
"column": 34
}
}
@@ -41190,15 +42577,15 @@
"binop": null,
"updateContext": null
},
- "start": 5417,
- "end": 5418,
+ "start": 5582,
+ "end": 5583,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 34
},
"end": {
- "line": 139,
+ "line": 144,
"column": 35
}
}
@@ -41216,15 +42603,15 @@
"binop": null
},
"value": "damageAmount",
- "start": 5419,
- "end": 5431,
+ "start": 5584,
+ "end": 5596,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 36
},
"end": {
- "line": 139,
+ "line": 144,
"column": 48
}
}
@@ -41242,15 +42629,15 @@
"binop": null,
"updateContext": null
},
- "start": 5431,
- "end": 5432,
+ "start": 5596,
+ "end": 5597,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 48
},
"end": {
- "line": 139,
+ "line": 144,
"column": 49
}
}
@@ -41268,15 +42655,15 @@
"binop": null
},
"value": "player",
- "start": 5433,
- "end": 5439,
+ "start": 5598,
+ "end": 5604,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 50
},
"end": {
- "line": 139,
+ "line": 144,
"column": 56
}
}
@@ -41294,15 +42681,15 @@
"binop": null,
"updateContext": null
},
- "start": 5439,
- "end": 5440,
+ "start": 5604,
+ "end": 5605,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 56
},
"end": {
- "line": 139,
+ "line": 144,
"column": 57
}
}
@@ -41320,15 +42707,15 @@
"binop": null
},
"value": "room",
- "start": 5441,
- "end": 5445,
+ "start": 5606,
+ "end": 5610,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 58
},
"end": {
- "line": 139,
+ "line": 144,
"column": 62
}
}
@@ -41346,15 +42733,15 @@
"binop": null,
"updateContext": null
},
- "start": 5445,
- "end": 5446,
+ "start": 5610,
+ "end": 5611,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 62
},
"end": {
- "line": 139,
+ "line": 144,
"column": 63
}
}
@@ -41372,15 +42759,15 @@
"binop": null
},
"value": "socket",
- "start": 5447,
- "end": 5453,
+ "start": 5612,
+ "end": 5618,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 64
},
"end": {
- "line": 139,
+ "line": 144,
"column": 70
}
}
@@ -41397,15 +42784,15 @@
"postfix": false,
"binop": null
},
- "start": 5453,
- "end": 5454,
+ "start": 5618,
+ "end": 5619,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 70
},
"end": {
- "line": 139,
+ "line": 144,
"column": 71
}
}
@@ -41422,15 +42809,15 @@
"postfix": false,
"binop": null
},
- "start": 5455,
- "end": 5456,
+ "start": 5620,
+ "end": 5621,
"loc": {
"start": {
- "line": 139,
+ "line": 144,
"column": 72
},
"end": {
- "line": 139,
+ "line": 144,
"column": 73
}
}
@@ -41448,15 +42835,15 @@
"binop": null
},
"value": "incrementField",
- "start": 5458,
- "end": 5472,
+ "start": 5623,
+ "end": 5637,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 1
},
"end": {
- "line": 140,
+ "line": 145,
"column": 15
}
}
@@ -41473,15 +42860,15 @@
"postfix": false,
"binop": null
},
- "start": 5472,
- "end": 5473,
+ "start": 5637,
+ "end": 5638,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 15
},
"end": {
- "line": 140,
+ "line": 145,
"column": 16
}
}
@@ -41500,15 +42887,15 @@
"updateContext": null
},
"value": "-",
- "start": 5473,
- "end": 5474,
+ "start": 5638,
+ "end": 5639,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 16
},
"end": {
- "line": 140,
+ "line": 145,
"column": 17
}
}
@@ -41526,15 +42913,15 @@
"binop": null
},
"value": "damageAmount",
- "start": 5474,
- "end": 5486,
+ "start": 5639,
+ "end": 5651,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 17
},
"end": {
- "line": 140,
+ "line": 145,
"column": 29
}
}
@@ -41552,15 +42939,15 @@
"binop": null,
"updateContext": null
},
- "start": 5486,
- "end": 5487,
+ "start": 5651,
+ "end": 5652,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 29
},
"end": {
- "line": 140,
+ "line": 145,
"column": 30
}
}
@@ -41578,15 +42965,15 @@
"binop": null,
"updateContext": null
},
- "start": 5488,
- "end": 5489,
+ "start": 5653,
+ "end": 5654,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 31
},
"end": {
- "line": 140,
+ "line": 145,
"column": 32
}
}
@@ -41605,15 +42992,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 5489,
- "end": 5496,
+ "start": 5654,
+ "end": 5661,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 32
},
"end": {
- "line": 140,
+ "line": 145,
"column": 39
}
}
@@ -41631,15 +43018,15 @@
"binop": null,
"updateContext": null
},
- "start": 5496,
- "end": 5497,
+ "start": 5661,
+ "end": 5662,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 39
},
"end": {
- "line": 140,
+ "line": 145,
"column": 40
}
}
@@ -41657,15 +43044,15 @@
"binop": null
},
"value": "room",
- "start": 5498,
- "end": 5502,
+ "start": 5663,
+ "end": 5667,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 41
},
"end": {
- "line": 140,
+ "line": 145,
"column": 45
}
}
@@ -41683,15 +43070,15 @@
"binop": null,
"updateContext": null
},
- "start": 5502,
- "end": 5503,
+ "start": 5667,
+ "end": 5668,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 45
},
"end": {
- "line": 140,
+ "line": 145,
"column": 46
}
}
@@ -41710,15 +43097,15 @@
"updateContext": null
},
"value": "tiles",
- "start": 5504,
- "end": 5511,
+ "start": 5669,
+ "end": 5676,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 47
},
"end": {
- "line": 140,
+ "line": 145,
"column": 54
}
}
@@ -41736,15 +43123,15 @@
"binop": null,
"updateContext": null
},
- "start": 5511,
- "end": 5512,
+ "start": 5676,
+ "end": 5677,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 54
},
"end": {
- "line": 140,
+ "line": 145,
"column": 55
}
}
@@ -41762,15 +43149,15 @@
"binop": null
},
"value": "tileID",
- "start": 5513,
- "end": 5519,
+ "start": 5678,
+ "end": 5684,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 56
},
"end": {
- "line": 140,
+ "line": 145,
"column": 62
}
}
@@ -41788,15 +43175,15 @@
"binop": null,
"updateContext": null
},
- "start": 5519,
- "end": 5520,
+ "start": 5684,
+ "end": 5685,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 62
},
"end": {
- "line": 140,
+ "line": 145,
"column": 63
}
}
@@ -41815,15 +43202,15 @@
"updateContext": null
},
"value": "health",
- "start": 5521,
- "end": 5529,
+ "start": 5686,
+ "end": 5694,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 64
},
"end": {
- "line": 140,
+ "line": 145,
"column": 72
}
}
@@ -41841,15 +43228,15 @@
"binop": null,
"updateContext": null
},
- "start": 5529,
- "end": 5530,
+ "start": 5694,
+ "end": 5695,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 72
},
"end": {
- "line": 140,
+ "line": 145,
"column": 73
}
}
@@ -41866,15 +43253,15 @@
"postfix": false,
"binop": null
},
- "start": 5530,
- "end": 5531,
+ "start": 5695,
+ "end": 5696,
"loc": {
"start": {
- "line": 140,
+ "line": 145,
"column": 73
},
"end": {
- "line": 140,
+ "line": 145,
"column": 74
}
}
@@ -41882,15 +43269,15 @@
{
"type": "CommentLine",
"value": " console.log('tile ' + tileID + ' is now at ' + getField(['rooms', room, 'tiles', tileID, 'health']))",
- "start": 5534,
- "end": 5637,
+ "start": 5699,
+ "end": 5802,
"loc": {
"start": {
- "line": 142,
+ "line": 147,
"column": 1
},
"end": {
- "line": 142,
+ "line": 147,
"column": 104
}
}
@@ -41910,15 +43297,15 @@
"updateContext": null
},
"value": "let",
- "start": 5639,
- "end": 5642,
+ "start": 5804,
+ "end": 5807,
"loc": {
"start": {
- "line": 143,
+ "line": 148,
"column": 1
},
"end": {
- "line": 143,
+ "line": 148,
"column": 4
}
}
@@ -41936,15 +43323,15 @@
"binop": null
},
"value": "hpData",
- "start": 5643,
- "end": 5649,
+ "start": 5808,
+ "end": 5814,
"loc": {
"start": {
- "line": 143,
+ "line": 148,
"column": 5
},
"end": {
- "line": 143,
+ "line": 148,
"column": 11
}
}
@@ -41963,15 +43350,15 @@
"updateContext": null
},
"value": "=",
- "start": 5650,
- "end": 5651,
+ "start": 5815,
+ "end": 5816,
"loc": {
"start": {
- "line": 143,
+ "line": 148,
"column": 12
},
"end": {
- "line": 143,
+ "line": 148,
"column": 13
}
}
@@ -41988,15 +43375,15 @@
"postfix": false,
"binop": null
},
- "start": 5652,
- "end": 5653,
+ "start": 5817,
+ "end": 5818,
"loc": {
"start": {
- "line": 143,
+ "line": 148,
"column": 14
},
"end": {
- "line": 143,
+ "line": 148,
"column": 15
}
}
@@ -42014,15 +43401,15 @@
"binop": null
},
"value": "newHealth",
- "start": 5656,
- "end": 5665,
+ "start": 5821,
+ "end": 5830,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 2
},
"end": {
- "line": 144,
+ "line": 149,
"column": 11
}
}
@@ -42040,15 +43427,15 @@
"binop": null,
"updateContext": null
},
- "start": 5665,
- "end": 5666,
+ "start": 5830,
+ "end": 5831,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 11
},
"end": {
- "line": 144,
+ "line": 149,
"column": 12
}
}
@@ -42066,15 +43453,15 @@
"binop": null
},
"value": "getField",
- "start": 5667,
- "end": 5675,
+ "start": 5832,
+ "end": 5840,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 13
},
"end": {
- "line": 144,
+ "line": 149,
"column": 21
}
}
@@ -42091,15 +43478,15 @@
"postfix": false,
"binop": null
},
- "start": 5675,
- "end": 5676,
+ "start": 5840,
+ "end": 5841,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 21
},
"end": {
- "line": 144,
+ "line": 149,
"column": 22
}
}
@@ -42117,15 +43504,15 @@
"binop": null,
"updateContext": null
},
- "start": 5676,
- "end": 5677,
+ "start": 5841,
+ "end": 5842,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 22
},
"end": {
- "line": 144,
+ "line": 149,
"column": 23
}
}
@@ -42144,15 +43531,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 5677,
- "end": 5684,
+ "start": 5842,
+ "end": 5849,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 23
},
"end": {
- "line": 144,
+ "line": 149,
"column": 30
}
}
@@ -42170,15 +43557,15 @@
"binop": null,
"updateContext": null
},
- "start": 5684,
- "end": 5685,
+ "start": 5849,
+ "end": 5850,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 30
},
"end": {
- "line": 144,
+ "line": 149,
"column": 31
}
}
@@ -42196,15 +43583,15 @@
"binop": null
},
"value": "room",
- "start": 5686,
- "end": 5690,
+ "start": 5851,
+ "end": 5855,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 32
},
"end": {
- "line": 144,
+ "line": 149,
"column": 36
}
}
@@ -42222,15 +43609,15 @@
"binop": null,
"updateContext": null
},
- "start": 5690,
- "end": 5691,
+ "start": 5855,
+ "end": 5856,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 36
},
"end": {
- "line": 144,
+ "line": 149,
"column": 37
}
}
@@ -42249,15 +43636,15 @@
"updateContext": null
},
"value": "tiles",
- "start": 5692,
- "end": 5699,
+ "start": 5857,
+ "end": 5864,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 38
},
"end": {
- "line": 144,
+ "line": 149,
"column": 45
}
}
@@ -42275,15 +43662,15 @@
"binop": null,
"updateContext": null
},
- "start": 5699,
- "end": 5700,
+ "start": 5864,
+ "end": 5865,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 45
},
"end": {
- "line": 144,
+ "line": 149,
"column": 46
}
}
@@ -42301,15 +43688,15 @@
"binop": null
},
"value": "tileID",
- "start": 5701,
- "end": 5707,
+ "start": 5866,
+ "end": 5872,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 47
},
"end": {
- "line": 144,
+ "line": 149,
"column": 53
}
}
@@ -42327,15 +43714,15 @@
"binop": null,
"updateContext": null
},
- "start": 5707,
- "end": 5708,
+ "start": 5872,
+ "end": 5873,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 53
},
"end": {
- "line": 144,
+ "line": 149,
"column": 54
}
}
@@ -42354,15 +43741,15 @@
"updateContext": null
},
"value": "health",
- "start": 5709,
- "end": 5717,
+ "start": 5874,
+ "end": 5882,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 55
},
"end": {
- "line": 144,
+ "line": 149,
"column": 63
}
}
@@ -42380,15 +43767,15 @@
"binop": null,
"updateContext": null
},
- "start": 5717,
- "end": 5718,
+ "start": 5882,
+ "end": 5883,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 63
},
"end": {
- "line": 144,
+ "line": 149,
"column": 64
}
}
@@ -42405,15 +43792,15 @@
"postfix": false,
"binop": null
},
- "start": 5718,
- "end": 5719,
+ "start": 5883,
+ "end": 5884,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 64
},
"end": {
- "line": 144,
+ "line": 149,
"column": 65
}
}
@@ -42431,15 +43818,15 @@
"binop": null,
"updateContext": null
},
- "start": 5719,
- "end": 5720,
+ "start": 5884,
+ "end": 5885,
"loc": {
"start": {
- "line": 144,
+ "line": 149,
"column": 65
},
"end": {
- "line": 144,
+ "line": 149,
"column": 66
}
}
@@ -42457,15 +43844,15 @@
"binop": null
},
"value": "tileX",
- "start": 5723,
- "end": 5728,
+ "start": 5888,
+ "end": 5893,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 2
},
"end": {
- "line": 145,
+ "line": 150,
"column": 7
}
}
@@ -42483,15 +43870,15 @@
"binop": null,
"updateContext": null
},
- "start": 5728,
- "end": 5729,
+ "start": 5893,
+ "end": 5894,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 7
},
"end": {
- "line": 145,
+ "line": 150,
"column": 8
}
}
@@ -42509,15 +43896,15 @@
"binop": null
},
"value": "getField",
- "start": 5730,
- "end": 5738,
+ "start": 5895,
+ "end": 5903,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 9
},
"end": {
- "line": 145,
+ "line": 150,
"column": 17
}
}
@@ -42534,15 +43921,15 @@
"postfix": false,
"binop": null
},
- "start": 5738,
- "end": 5739,
+ "start": 5903,
+ "end": 5904,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 17
},
"end": {
- "line": 145,
+ "line": 150,
"column": 18
}
}
@@ -42560,15 +43947,15 @@
"binop": null,
"updateContext": null
},
- "start": 5739,
- "end": 5740,
+ "start": 5904,
+ "end": 5905,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 18
},
"end": {
- "line": 145,
+ "line": 150,
"column": 19
}
}
@@ -42587,15 +43974,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 5740,
- "end": 5747,
+ "start": 5905,
+ "end": 5912,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 19
},
"end": {
- "line": 145,
+ "line": 150,
"column": 26
}
}
@@ -42613,15 +44000,15 @@
"binop": null,
"updateContext": null
},
- "start": 5747,
- "end": 5748,
+ "start": 5912,
+ "end": 5913,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 26
},
"end": {
- "line": 145,
+ "line": 150,
"column": 27
}
}
@@ -42639,15 +44026,15 @@
"binop": null
},
"value": "room",
- "start": 5749,
- "end": 5753,
+ "start": 5914,
+ "end": 5918,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 28
},
"end": {
- "line": 145,
+ "line": 150,
"column": 32
}
}
@@ -42665,15 +44052,15 @@
"binop": null,
"updateContext": null
},
- "start": 5753,
- "end": 5754,
+ "start": 5918,
+ "end": 5919,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 32
},
"end": {
- "line": 145,
+ "line": 150,
"column": 33
}
}
@@ -42692,15 +44079,15 @@
"updateContext": null
},
"value": "tiles",
- "start": 5755,
- "end": 5762,
+ "start": 5920,
+ "end": 5927,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 34
},
"end": {
- "line": 145,
+ "line": 150,
"column": 41
}
}
@@ -42718,15 +44105,15 @@
"binop": null,
"updateContext": null
},
- "start": 5762,
- "end": 5763,
+ "start": 5927,
+ "end": 5928,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 41
},
"end": {
- "line": 145,
+ "line": 150,
"column": 42
}
}
@@ -42744,15 +44131,15 @@
"binop": null
},
"value": "tileID",
- "start": 5764,
- "end": 5770,
+ "start": 5929,
+ "end": 5935,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 43
},
"end": {
- "line": 145,
+ "line": 150,
"column": 49
}
}
@@ -42770,15 +44157,15 @@
"binop": null,
"updateContext": null
},
- "start": 5770,
- "end": 5771,
+ "start": 5935,
+ "end": 5936,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 49
},
"end": {
- "line": 145,
+ "line": 150,
"column": 50
}
}
@@ -42797,15 +44184,15 @@
"updateContext": null
},
"value": "globalX",
- "start": 5772,
- "end": 5781,
+ "start": 5937,
+ "end": 5946,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 51
},
"end": {
- "line": 145,
+ "line": 150,
"column": 60
}
}
@@ -42823,15 +44210,15 @@
"binop": null,
"updateContext": null
},
- "start": 5781,
- "end": 5782,
+ "start": 5946,
+ "end": 5947,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 60
},
"end": {
- "line": 145,
+ "line": 150,
"column": 61
}
}
@@ -42848,15 +44235,15 @@
"postfix": false,
"binop": null
},
- "start": 5782,
- "end": 5783,
+ "start": 5947,
+ "end": 5948,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 61
},
"end": {
- "line": 145,
+ "line": 150,
"column": 62
}
}
@@ -42874,15 +44261,15 @@
"binop": null,
"updateContext": null
},
- "start": 5783,
- "end": 5784,
+ "start": 5948,
+ "end": 5949,
"loc": {
"start": {
- "line": 145,
+ "line": 150,
"column": 62
},
"end": {
- "line": 145,
+ "line": 150,
"column": 63
}
}
@@ -42900,15 +44287,15 @@
"binop": null
},
"value": "tileY",
- "start": 5787,
- "end": 5792,
+ "start": 5952,
+ "end": 5957,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 2
},
"end": {
- "line": 146,
+ "line": 151,
"column": 7
}
}
@@ -42926,15 +44313,15 @@
"binop": null,
"updateContext": null
},
- "start": 5792,
- "end": 5793,
+ "start": 5957,
+ "end": 5958,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 7
},
"end": {
- "line": 146,
+ "line": 151,
"column": 8
}
}
@@ -42952,15 +44339,15 @@
"binop": null
},
"value": "getField",
- "start": 5794,
- "end": 5802,
+ "start": 5959,
+ "end": 5967,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 9
},
"end": {
- "line": 146,
+ "line": 151,
"column": 17
}
}
@@ -42977,15 +44364,15 @@
"postfix": false,
"binop": null
},
- "start": 5802,
- "end": 5803,
+ "start": 5967,
+ "end": 5968,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 17
},
"end": {
- "line": 146,
+ "line": 151,
"column": 18
}
}
@@ -43003,15 +44390,15 @@
"binop": null,
"updateContext": null
},
- "start": 5803,
- "end": 5804,
+ "start": 5968,
+ "end": 5969,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 18
},
"end": {
- "line": 146,
+ "line": 151,
"column": 19
}
}
@@ -43030,15 +44417,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 5804,
- "end": 5811,
+ "start": 5969,
+ "end": 5976,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 19
},
"end": {
- "line": 146,
+ "line": 151,
"column": 26
}
}
@@ -43056,15 +44443,15 @@
"binop": null,
"updateContext": null
},
- "start": 5811,
- "end": 5812,
+ "start": 5976,
+ "end": 5977,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 26
},
"end": {
- "line": 146,
+ "line": 151,
"column": 27
}
}
@@ -43082,15 +44469,15 @@
"binop": null
},
"value": "room",
- "start": 5813,
- "end": 5817,
+ "start": 5978,
+ "end": 5982,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 28
},
"end": {
- "line": 146,
+ "line": 151,
"column": 32
}
}
@@ -43108,15 +44495,15 @@
"binop": null,
"updateContext": null
},
- "start": 5817,
- "end": 5818,
+ "start": 5982,
+ "end": 5983,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 32
},
"end": {
- "line": 146,
+ "line": 151,
"column": 33
}
}
@@ -43135,15 +44522,15 @@
"updateContext": null
},
"value": "tiles",
- "start": 5819,
- "end": 5826,
+ "start": 5984,
+ "end": 5991,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 34
},
"end": {
- "line": 146,
+ "line": 151,
"column": 41
}
}
@@ -43161,15 +44548,15 @@
"binop": null,
"updateContext": null
},
- "start": 5826,
- "end": 5827,
+ "start": 5991,
+ "end": 5992,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 41
},
"end": {
- "line": 146,
+ "line": 151,
"column": 42
}
}
@@ -43187,15 +44574,15 @@
"binop": null
},
"value": "tileID",
- "start": 5828,
- "end": 5834,
+ "start": 5993,
+ "end": 5999,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 43
},
"end": {
- "line": 146,
+ "line": 151,
"column": 49
}
}
@@ -43213,15 +44600,15 @@
"binop": null,
"updateContext": null
},
- "start": 5834,
- "end": 5835,
+ "start": 5999,
+ "end": 6000,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 49
},
"end": {
- "line": 146,
+ "line": 151,
"column": 50
}
}
@@ -43240,15 +44627,15 @@
"updateContext": null
},
"value": "globalY",
- "start": 5836,
- "end": 5845,
+ "start": 6001,
+ "end": 6010,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 51
},
"end": {
- "line": 146,
+ "line": 151,
"column": 60
}
}
@@ -43266,15 +44653,15 @@
"binop": null,
"updateContext": null
},
- "start": 5845,
- "end": 5846,
+ "start": 6010,
+ "end": 6011,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 60
},
"end": {
- "line": 146,
+ "line": 151,
"column": 61
}
}
@@ -43291,15 +44678,15 @@
"postfix": false,
"binop": null
},
- "start": 5846,
- "end": 5847,
+ "start": 6011,
+ "end": 6012,
"loc": {
"start": {
- "line": 146,
+ "line": 151,
"column": 61
},
"end": {
- "line": 146,
+ "line": 151,
"column": 62
}
}
@@ -43316,15 +44703,15 @@
"postfix": false,
"binop": null
},
- "start": 5849,
- "end": 5850,
+ "start": 6014,
+ "end": 6015,
"loc": {
"start": {
- "line": 147,
+ "line": 152,
"column": 1
},
"end": {
- "line": 147,
+ "line": 152,
"column": 2
}
}
@@ -43342,15 +44729,15 @@
"binop": null
},
"value": "socket",
- "start": 5852,
- "end": 5858,
+ "start": 6017,
+ "end": 6023,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 1
},
"end": {
- "line": 148,
+ "line": 153,
"column": 7
}
}
@@ -43368,15 +44755,15 @@
"binop": null,
"updateContext": null
},
- "start": 5858,
- "end": 5859,
+ "start": 6023,
+ "end": 6024,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 7
},
"end": {
- "line": 148,
+ "line": 153,
"column": 8
}
}
@@ -43394,15 +44781,15 @@
"binop": null
},
"value": "to",
- "start": 5859,
- "end": 5861,
+ "start": 6024,
+ "end": 6026,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 8
},
"end": {
- "line": 148,
+ "line": 153,
"column": 10
}
}
@@ -43419,15 +44806,15 @@
"postfix": false,
"binop": null
},
- "start": 5861,
- "end": 5862,
+ "start": 6026,
+ "end": 6027,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 10
},
"end": {
- "line": 148,
+ "line": 153,
"column": 11
}
}
@@ -43445,15 +44832,15 @@
"binop": null
},
"value": "room",
- "start": 5862,
- "end": 5866,
+ "start": 6027,
+ "end": 6031,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 11
},
"end": {
- "line": 148,
+ "line": 153,
"column": 15
}
}
@@ -43470,15 +44857,15 @@
"postfix": false,
"binop": null
},
- "start": 5866,
- "end": 5867,
+ "start": 6031,
+ "end": 6032,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 15
},
"end": {
- "line": 148,
+ "line": 153,
"column": 16
}
}
@@ -43496,15 +44883,15 @@
"binop": null,
"updateContext": null
},
- "start": 5867,
- "end": 5868,
+ "start": 6032,
+ "end": 6033,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 16
},
"end": {
- "line": 148,
+ "line": 153,
"column": 17
}
}
@@ -43522,15 +44909,15 @@
"binop": null
},
"value": "emit",
- "start": 5868,
- "end": 5872,
+ "start": 6033,
+ "end": 6037,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 17
},
"end": {
- "line": 148,
+ "line": 153,
"column": 21
}
}
@@ -43547,15 +44934,15 @@
"postfix": false,
"binop": null
},
- "start": 5872,
- "end": 5873,
+ "start": 6037,
+ "end": 6038,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 21
},
"end": {
- "line": 148,
+ "line": 153,
"column": 22
}
}
@@ -43574,15 +44961,15 @@
"updateContext": null
},
"value": "serverSendTileHealth",
- "start": 5873,
- "end": 5895,
+ "start": 6038,
+ "end": 6060,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 22
},
"end": {
- "line": 148,
+ "line": 153,
"column": 44
}
}
@@ -43600,15 +44987,15 @@
"binop": null,
"updateContext": null
},
- "start": 5895,
- "end": 5896,
+ "start": 6060,
+ "end": 6061,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 44
},
"end": {
- "line": 148,
+ "line": 153,
"column": 45
}
}
@@ -43626,15 +45013,15 @@
"binop": null
},
"value": "hpData",
- "start": 5897,
- "end": 5903,
+ "start": 6062,
+ "end": 6068,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 46
},
"end": {
- "line": 148,
+ "line": 153,
"column": 52
}
}
@@ -43651,15 +45038,15 @@
"postfix": false,
"binop": null
},
- "start": 5903,
- "end": 5904,
+ "start": 6068,
+ "end": 6069,
"loc": {
"start": {
- "line": 148,
+ "line": 153,
"column": 52
},
"end": {
- "line": 148,
+ "line": 153,
"column": 53
}
}
@@ -43677,15 +45064,15 @@
"binop": null
},
"value": "socket",
- "start": 5906,
- "end": 5912,
+ "start": 6071,
+ "end": 6077,
"loc": {
"start": {
- "line": 149,
+ "line": 154,
"column": 1
},
"end": {
- "line": 149,
+ "line": 154,
"column": 7
}
}
@@ -43703,15 +45090,15 @@
"binop": null,
"updateContext": null
},
- "start": 5912,
- "end": 5913,
+ "start": 6077,
+ "end": 6078,
"loc": {
"start": {
- "line": 149,
+ "line": 154,
"column": 7
},
"end": {
- "line": 149,
+ "line": 154,
"column": 8
}
}
@@ -43729,15 +45116,15 @@
"binop": null
},
"value": "emit",
- "start": 5913,
- "end": 5917,
+ "start": 6078,
+ "end": 6082,
"loc": {
"start": {
- "line": 149,
+ "line": 154,
"column": 8
},
"end": {
- "line": 149,
+ "line": 154,
"column": 12
}
}
@@ -43754,15 +45141,15 @@
"postfix": false,
"binop": null
},
- "start": 5917,
- "end": 5918,
+ "start": 6082,
+ "end": 6083,
"loc": {
"start": {
- "line": 149,
+ "line": 154,
"column": 12
},
"end": {
- "line": 149,
+ "line": 154,
"column": 13
}
}
@@ -43781,15 +45168,15 @@
"updateContext": null
},
"value": "serverSendTileHealth",
- "start": 5918,
- "end": 5940,
+ "start": 6083,
+ "end": 6105,
"loc": {
"start": {
- "line": 149,
+ "line": 154,
"column": 13
},
"end": {
- "line": 149,
+ "line": 154,
"column": 35
}
}
@@ -43807,15 +45194,15 @@
"binop": null,
"updateContext": null
},
- "start": 5940,
- "end": 5941,
+ "start": 6105,
+ "end": 6106,
"loc": {
"start": {
- "line": 149,
+ "line": 154,
"column": 35
},
"end": {
- "line": 149,
+ "line": 154,
"column": 36
}
}
@@ -43833,15 +45220,15 @@
"binop": null
},
"value": "hpData",
- "start": 5942,
- "end": 5948,
+ "start": 6107,
+ "end": 6113,
"loc": {
"start": {
- "line": 149,
+ "line": 154,
"column": 37
},
"end": {
- "line": 149,
+ "line": 154,
"column": 43
}
}
@@ -43858,15 +45245,15 @@
"postfix": false,
"binop": null
},
- "start": 5948,
- "end": 5949,
+ "start": 6113,
+ "end": 6114,
"loc": {
"start": {
- "line": 149,
+ "line": 154,
"column": 43
},
"end": {
- "line": 149,
+ "line": 154,
"column": 44
}
}
@@ -43874,15 +45261,15 @@
{
"type": "CommentLine",
"value": " Check if tile is fully captured",
- "start": 5952,
- "end": 5986,
+ "start": 6117,
+ "end": 6151,
"loc": {
"start": {
- "line": 151,
+ "line": 156,
"column": 1
},
"end": {
- "line": 151,
+ "line": 156,
"column": 35
}
}
@@ -43902,15 +45289,15 @@
"updateContext": null
},
"value": "if",
- "start": 5988,
- "end": 5990,
+ "start": 6153,
+ "end": 6155,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 1
},
"end": {
- "line": 152,
+ "line": 157,
"column": 3
}
}
@@ -43927,15 +45314,15 @@
"postfix": false,
"binop": null
},
- "start": 5991,
- "end": 5992,
+ "start": 6156,
+ "end": 6157,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 4
},
"end": {
- "line": 152,
+ "line": 157,
"column": 5
}
}
@@ -43953,15 +45340,15 @@
"binop": null
},
"value": "getField",
- "start": 5992,
- "end": 6000,
+ "start": 6157,
+ "end": 6165,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 5
},
"end": {
- "line": 152,
+ "line": 157,
"column": 13
}
}
@@ -43978,15 +45365,15 @@
"postfix": false,
"binop": null
},
- "start": 6000,
- "end": 6001,
+ "start": 6165,
+ "end": 6166,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 13
},
"end": {
- "line": 152,
+ "line": 157,
"column": 14
}
}
@@ -44004,15 +45391,15 @@
"binop": null,
"updateContext": null
},
- "start": 6001,
- "end": 6002,
+ "start": 6166,
+ "end": 6167,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 14
},
"end": {
- "line": 152,
+ "line": 157,
"column": 15
}
}
@@ -44031,15 +45418,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 6002,
- "end": 6009,
+ "start": 6167,
+ "end": 6174,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 15
},
"end": {
- "line": 152,
+ "line": 157,
"column": 22
}
}
@@ -44057,15 +45444,15 @@
"binop": null,
"updateContext": null
},
- "start": 6009,
- "end": 6010,
+ "start": 6174,
+ "end": 6175,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 22
},
"end": {
- "line": 152,
+ "line": 157,
"column": 23
}
}
@@ -44083,15 +45470,15 @@
"binop": null
},
"value": "room",
- "start": 6011,
- "end": 6015,
+ "start": 6176,
+ "end": 6180,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 24
},
"end": {
- "line": 152,
+ "line": 157,
"column": 28
}
}
@@ -44109,15 +45496,15 @@
"binop": null,
"updateContext": null
},
- "start": 6015,
- "end": 6016,
+ "start": 6180,
+ "end": 6181,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 28
},
"end": {
- "line": 152,
+ "line": 157,
"column": 29
}
}
@@ -44136,15 +45523,15 @@
"updateContext": null
},
"value": "tiles",
- "start": 6017,
- "end": 6024,
+ "start": 6182,
+ "end": 6189,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 30
},
"end": {
- "line": 152,
+ "line": 157,
"column": 37
}
}
@@ -44162,15 +45549,15 @@
"binop": null,
"updateContext": null
},
- "start": 6024,
- "end": 6025,
+ "start": 6189,
+ "end": 6190,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 37
},
"end": {
- "line": 152,
+ "line": 157,
"column": 38
}
}
@@ -44188,15 +45575,15 @@
"binop": null
},
"value": "tileID",
- "start": 6026,
- "end": 6032,
+ "start": 6191,
+ "end": 6197,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 39
},
"end": {
- "line": 152,
+ "line": 157,
"column": 45
}
}
@@ -44214,15 +45601,15 @@
"binop": null,
"updateContext": null
},
- "start": 6032,
- "end": 6033,
+ "start": 6197,
+ "end": 6198,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 45
},
"end": {
- "line": 152,
+ "line": 157,
"column": 46
}
}
@@ -44241,15 +45628,15 @@
"updateContext": null
},
"value": "health",
- "start": 6034,
- "end": 6042,
+ "start": 6199,
+ "end": 6207,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 47
},
"end": {
- "line": 152,
+ "line": 157,
"column": 55
}
}
@@ -44267,15 +45654,15 @@
"binop": null,
"updateContext": null
},
- "start": 6042,
- "end": 6043,
+ "start": 6207,
+ "end": 6208,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 55
},
"end": {
- "line": 152,
+ "line": 157,
"column": 56
}
}
@@ -44292,15 +45679,15 @@
"postfix": false,
"binop": null
},
- "start": 6043,
- "end": 6044,
+ "start": 6208,
+ "end": 6209,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 56
},
"end": {
- "line": 152,
+ "line": 157,
"column": 57
}
}
@@ -44319,15 +45706,15 @@
"updateContext": null
},
"value": "<=",
- "start": 6045,
- "end": 6047,
+ "start": 6210,
+ "end": 6212,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 58
},
"end": {
- "line": 152,
+ "line": 157,
"column": 60
}
}
@@ -44346,15 +45733,15 @@
"updateContext": null
},
"value": 0,
- "start": 6048,
- "end": 6049,
+ "start": 6213,
+ "end": 6214,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 61
},
"end": {
- "line": 152,
+ "line": 157,
"column": 62
}
}
@@ -44371,15 +45758,15 @@
"postfix": false,
"binop": null
},
- "start": 6049,
- "end": 6050,
+ "start": 6214,
+ "end": 6215,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 62
},
"end": {
- "line": 152,
+ "line": 157,
"column": 63
}
}
@@ -44396,15 +45783,15 @@
"postfix": false,
"binop": null
},
- "start": 6051,
- "end": 6052,
+ "start": 6216,
+ "end": 6217,
"loc": {
"start": {
- "line": 152,
+ "line": 157,
"column": 64
},
"end": {
- "line": 152,
+ "line": 157,
"column": 65
}
}
@@ -44424,15 +45811,15 @@
"updateContext": null
},
"value": "for",
- "start": 6055,
- "end": 6058,
+ "start": 6220,
+ "end": 6223,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 2
},
"end": {
- "line": 153,
+ "line": 158,
"column": 5
}
}
@@ -44449,15 +45836,15 @@
"postfix": false,
"binop": null
},
- "start": 6059,
- "end": 6060,
+ "start": 6224,
+ "end": 6225,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 6
},
"end": {
- "line": 153,
+ "line": 158,
"column": 7
}
}
@@ -44477,15 +45864,15 @@
"updateContext": null
},
"value": "let",
- "start": 6060,
- "end": 6063,
+ "start": 6225,
+ "end": 6228,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 7
},
"end": {
- "line": 153,
+ "line": 158,
"column": 10
}
}
@@ -44503,15 +45890,15 @@
"binop": null
},
"value": "i",
- "start": 6064,
- "end": 6065,
+ "start": 6229,
+ "end": 6230,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 11
},
"end": {
- "line": 153,
+ "line": 158,
"column": 12
}
}
@@ -44530,15 +45917,15 @@
"updateContext": null
},
"value": "=",
- "start": 6066,
- "end": 6067,
+ "start": 6231,
+ "end": 6232,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 13
},
"end": {
- "line": 153,
+ "line": 158,
"column": 14
}
}
@@ -44557,15 +45944,15 @@
"updateContext": null
},
"value": 0,
- "start": 6068,
- "end": 6069,
+ "start": 6233,
+ "end": 6234,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 15
},
"end": {
- "line": 153,
+ "line": 158,
"column": 16
}
}
@@ -44583,15 +45970,15 @@
"binop": null,
"updateContext": null
},
- "start": 6069,
- "end": 6070,
+ "start": 6234,
+ "end": 6235,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 16
},
"end": {
- "line": 153,
+ "line": 158,
"column": 17
}
}
@@ -44609,15 +45996,15 @@
"binop": null
},
"value": "i",
- "start": 6071,
- "end": 6072,
+ "start": 6236,
+ "end": 6237,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 18
},
"end": {
- "line": 153,
+ "line": 158,
"column": 19
}
}
@@ -44636,15 +46023,15 @@
"updateContext": null
},
"value": "<",
- "start": 6073,
- "end": 6074,
+ "start": 6238,
+ "end": 6239,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 20
},
"end": {
- "line": 153,
+ "line": 158,
"column": 21
}
}
@@ -44663,15 +46050,15 @@
"updateContext": null
},
"value": 3,
- "start": 6075,
- "end": 6076,
+ "start": 6240,
+ "end": 6241,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 22
},
"end": {
- "line": 153,
+ "line": 158,
"column": 23
}
}
@@ -44689,15 +46076,15 @@
"binop": null,
"updateContext": null
},
- "start": 6076,
- "end": 6077,
+ "start": 6241,
+ "end": 6242,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 23
},
"end": {
- "line": 153,
+ "line": 158,
"column": 24
}
}
@@ -44715,15 +46102,15 @@
"binop": null
},
"value": "i",
- "start": 6078,
- "end": 6079,
+ "start": 6243,
+ "end": 6244,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 25
},
"end": {
- "line": 153,
+ "line": 158,
"column": 26
}
}
@@ -44741,15 +46128,15 @@
"binop": null
},
"value": "++",
- "start": 6079,
- "end": 6081,
+ "start": 6244,
+ "end": 6246,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 26
},
"end": {
- "line": 153,
+ "line": 158,
"column": 28
}
}
@@ -44766,15 +46153,15 @@
"postfix": false,
"binop": null
},
- "start": 6081,
- "end": 6082,
+ "start": 6246,
+ "end": 6247,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 28
},
"end": {
- "line": 153,
+ "line": 158,
"column": 29
}
}
@@ -44791,15 +46178,15 @@
"postfix": false,
"binop": null
},
- "start": 6083,
- "end": 6084,
+ "start": 6248,
+ "end": 6249,
"loc": {
"start": {
- "line": 153,
+ "line": 158,
"column": 30
},
"end": {
- "line": 153,
+ "line": 158,
"column": 31
}
}
@@ -44819,15 +46206,15 @@
"updateContext": null
},
"value": "if",
- "start": 6088,
- "end": 6090,
+ "start": 6253,
+ "end": 6255,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 3
},
"end": {
- "line": 154,
+ "line": 159,
"column": 5
}
}
@@ -44844,15 +46231,15 @@
"postfix": false,
"binop": null
},
- "start": 6091,
- "end": 6092,
+ "start": 6256,
+ "end": 6257,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 6
},
"end": {
- "line": 154,
+ "line": 159,
"column": 7
}
}
@@ -44870,15 +46257,15 @@
"binop": null
},
"value": "getField",
- "start": 6092,
- "end": 6100,
+ "start": 6257,
+ "end": 6265,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 7
},
"end": {
- "line": 154,
+ "line": 159,
"column": 15
}
}
@@ -44895,15 +46282,15 @@
"postfix": false,
"binop": null
},
- "start": 6100,
- "end": 6101,
+ "start": 6265,
+ "end": 6266,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 15
},
"end": {
- "line": 154,
+ "line": 159,
"column": 16
}
}
@@ -44921,15 +46308,15 @@
"binop": null,
"updateContext": null
},
- "start": 6101,
- "end": 6102,
+ "start": 6266,
+ "end": 6267,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 16
},
"end": {
- "line": 154,
+ "line": 159,
"column": 17
}
}
@@ -44948,15 +46335,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 6102,
- "end": 6109,
+ "start": 6267,
+ "end": 6274,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 17
},
"end": {
- "line": 154,
+ "line": 159,
"column": 24
}
}
@@ -44974,15 +46361,15 @@
"binop": null,
"updateContext": null
},
- "start": 6109,
- "end": 6110,
+ "start": 6274,
+ "end": 6275,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 24
},
"end": {
- "line": 154,
+ "line": 159,
"column": 25
}
}
@@ -45000,15 +46387,15 @@
"binop": null
},
"value": "room",
- "start": 6111,
- "end": 6115,
+ "start": 6276,
+ "end": 6280,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 26
},
"end": {
- "line": 154,
+ "line": 159,
"column": 30
}
}
@@ -45026,15 +46413,15 @@
"binop": null,
"updateContext": null
},
- "start": 6115,
- "end": 6116,
+ "start": 6280,
+ "end": 6281,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 30
},
"end": {
- "line": 154,
+ "line": 159,
"column": 31
}
}
@@ -45053,15 +46440,15 @@
"updateContext": null
},
"value": "teams",
- "start": 6117,
- "end": 6124,
+ "start": 6282,
+ "end": 6289,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 32
},
"end": {
- "line": 154,
+ "line": 159,
"column": 39
}
}
@@ -45079,15 +46466,15 @@
"binop": null,
"updateContext": null
},
- "start": 6124,
- "end": 6125,
+ "start": 6289,
+ "end": 6290,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 39
},
"end": {
- "line": 154,
+ "line": 159,
"column": 40
}
}
@@ -45105,15 +46492,15 @@
"binop": null
},
"value": "i",
- "start": 6126,
- "end": 6127,
+ "start": 6291,
+ "end": 6292,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 41
},
"end": {
- "line": 154,
+ "line": 159,
"column": 42
}
}
@@ -45131,15 +46518,15 @@
"binop": null,
"updateContext": null
},
- "start": 6127,
- "end": 6128,
+ "start": 6292,
+ "end": 6293,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 42
},
"end": {
- "line": 154,
+ "line": 159,
"column": 43
}
}
@@ -45156,15 +46543,15 @@
"postfix": false,
"binop": null
},
- "start": 6128,
- "end": 6129,
+ "start": 6293,
+ "end": 6294,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 43
},
"end": {
- "line": 154,
+ "line": 159,
"column": 44
}
}
@@ -45182,15 +46569,15 @@
"binop": null,
"updateContext": null
},
- "start": 6129,
- "end": 6130,
+ "start": 6294,
+ "end": 6295,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 44
},
"end": {
- "line": 154,
+ "line": 159,
"column": 45
}
}
@@ -45208,15 +46595,15 @@
"binop": null
},
"value": "name",
- "start": 6130,
- "end": 6134,
+ "start": 6295,
+ "end": 6299,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 45
},
"end": {
- "line": 154,
+ "line": 159,
"column": 49
}
}
@@ -45235,15 +46622,15 @@
"updateContext": null
},
"value": "===",
- "start": 6135,
- "end": 6138,
+ "start": 6300,
+ "end": 6303,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 50
},
"end": {
- "line": 154,
+ "line": 159,
"column": 53
}
}
@@ -45261,15 +46648,15 @@
"binop": null
},
"value": "getField",
- "start": 6139,
- "end": 6147,
+ "start": 6304,
+ "end": 6312,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 54
},
"end": {
- "line": 154,
+ "line": 159,
"column": 62
}
}
@@ -45286,15 +46673,15 @@
"postfix": false,
"binop": null
},
- "start": 6147,
- "end": 6148,
+ "start": 6312,
+ "end": 6313,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 62
},
"end": {
- "line": 154,
+ "line": 159,
"column": 63
}
}
@@ -45312,15 +46699,15 @@
"binop": null,
"updateContext": null
},
- "start": 6148,
- "end": 6149,
+ "start": 6313,
+ "end": 6314,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 63
},
"end": {
- "line": 154,
+ "line": 159,
"column": 64
}
}
@@ -45339,15 +46726,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 6149,
- "end": 6156,
+ "start": 6314,
+ "end": 6321,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 64
},
"end": {
- "line": 154,
+ "line": 159,
"column": 71
}
}
@@ -45365,15 +46752,15 @@
"binop": null,
"updateContext": null
},
- "start": 6156,
- "end": 6157,
+ "start": 6321,
+ "end": 6322,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 71
},
"end": {
- "line": 154,
+ "line": 159,
"column": 72
}
}
@@ -45391,15 +46778,15 @@
"binop": null
},
"value": "room",
- "start": 6158,
- "end": 6162,
+ "start": 6323,
+ "end": 6327,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 73
},
"end": {
- "line": 154,
+ "line": 159,
"column": 77
}
}
@@ -45417,15 +46804,15 @@
"binop": null,
"updateContext": null
},
- "start": 6162,
- "end": 6163,
+ "start": 6327,
+ "end": 6328,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 77
},
"end": {
- "line": 154,
+ "line": 159,
"column": 78
}
}
@@ -45444,15 +46831,15 @@
"updateContext": null
},
"value": "players",
- "start": 6164,
- "end": 6173,
+ "start": 6329,
+ "end": 6338,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 79
},
"end": {
- "line": 154,
+ "line": 159,
"column": 88
}
}
@@ -45470,15 +46857,15 @@
"binop": null,
"updateContext": null
},
- "start": 6173,
- "end": 6174,
+ "start": 6338,
+ "end": 6339,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 88
},
"end": {
- "line": 154,
+ "line": 159,
"column": 89
}
}
@@ -45496,15 +46883,15 @@
"binop": null
},
"value": "player",
- "start": 6175,
- "end": 6181,
+ "start": 6340,
+ "end": 6346,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 90
},
"end": {
- "line": 154,
+ "line": 159,
"column": 96
}
}
@@ -45522,15 +46909,15 @@
"binop": null,
"updateContext": null
},
- "start": 6181,
- "end": 6182,
+ "start": 6346,
+ "end": 6347,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 96
},
"end": {
- "line": 154,
+ "line": 159,
"column": 97
}
}
@@ -45549,15 +46936,15 @@
"updateContext": null
},
"value": "team",
- "start": 6183,
- "end": 6189,
+ "start": 6348,
+ "end": 6354,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 98
},
"end": {
- "line": 154,
+ "line": 159,
"column": 104
}
}
@@ -45575,15 +46962,15 @@
"binop": null,
"updateContext": null
},
- "start": 6189,
- "end": 6190,
+ "start": 6354,
+ "end": 6355,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 104
},
"end": {
- "line": 154,
+ "line": 159,
"column": 105
}
}
@@ -45600,15 +46987,15 @@
"postfix": false,
"binop": null
},
- "start": 6190,
- "end": 6191,
+ "start": 6355,
+ "end": 6356,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 105
},
"end": {
- "line": 154,
+ "line": 159,
"column": 106
}
}
@@ -45625,15 +47012,15 @@
"postfix": false,
"binop": null
},
- "start": 6191,
- "end": 6192,
+ "start": 6356,
+ "end": 6357,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 106
},
"end": {
- "line": 154,
+ "line": 159,
"column": 107
}
}
@@ -45650,15 +47037,15 @@
"postfix": false,
"binop": null
},
- "start": 6193,
- "end": 6194,
+ "start": 6358,
+ "end": 6359,
"loc": {
"start": {
- "line": 154,
+ "line": 159,
"column": 108
},
"end": {
- "line": 154,
+ "line": 159,
"column": 109
}
}
@@ -45666,15 +47053,15 @@
{
"type": "CommentLine",
"value": " Notify clients of texture change",
- "start": 6199,
- "end": 6234,
+ "start": 6364,
+ "end": 6399,
"loc": {
"start": {
- "line": 155,
+ "line": 160,
"column": 4
},
"end": {
- "line": 155,
+ "line": 160,
"column": 39
}
}
@@ -45694,15 +47081,15 @@
"updateContext": null
},
"value": "let",
- "start": 6239,
- "end": 6242,
+ "start": 6404,
+ "end": 6407,
"loc": {
"start": {
- "line": 156,
+ "line": 161,
"column": 4
},
"end": {
- "line": 156,
+ "line": 161,
"column": 7
}
}
@@ -45720,15 +47107,15 @@
"binop": null
},
"value": "data",
- "start": 6243,
- "end": 6247,
+ "start": 6408,
+ "end": 6412,
"loc": {
"start": {
- "line": 156,
+ "line": 161,
"column": 8
},
"end": {
- "line": 156,
+ "line": 161,
"column": 12
}
}
@@ -45747,15 +47134,15 @@
"updateContext": null
},
"value": "=",
- "start": 6248,
- "end": 6249,
+ "start": 6413,
+ "end": 6414,
"loc": {
"start": {
- "line": 156,
+ "line": 161,
"column": 13
},
"end": {
- "line": 156,
+ "line": 161,
"column": 14
}
}
@@ -45772,15 +47159,15 @@
"postfix": false,
"binop": null
},
- "start": 6250,
- "end": 6251,
+ "start": 6415,
+ "end": 6416,
"loc": {
"start": {
- "line": 156,
+ "line": 161,
"column": 15
},
"end": {
- "line": 156,
+ "line": 161,
"column": 16
}
}
@@ -45798,15 +47185,15 @@
"binop": null
},
"value": "teamNumber",
- "start": 6257,
- "end": 6267,
+ "start": 6422,
+ "end": 6432,
"loc": {
"start": {
- "line": 157,
+ "line": 162,
"column": 5
},
"end": {
- "line": 157,
+ "line": 162,
"column": 15
}
}
@@ -45824,15 +47211,15 @@
"binop": null,
"updateContext": null
},
- "start": 6267,
- "end": 6268,
+ "start": 6432,
+ "end": 6433,
"loc": {
"start": {
- "line": 157,
+ "line": 162,
"column": 15
},
"end": {
- "line": 157,
+ "line": 162,
"column": 16
}
}
@@ -45850,15 +47237,15 @@
"binop": null
},
"value": "i",
- "start": 6269,
- "end": 6270,
+ "start": 6434,
+ "end": 6435,
"loc": {
"start": {
- "line": 157,
+ "line": 162,
"column": 17
},
"end": {
- "line": 157,
+ "line": 162,
"column": 18
}
}
@@ -45876,15 +47263,15 @@
"binop": null,
"updateContext": null
},
- "start": 6270,
- "end": 6271,
+ "start": 6435,
+ "end": 6436,
"loc": {
"start": {
- "line": 157,
+ "line": 162,
"column": 18
},
"end": {
- "line": 157,
+ "line": 162,
"column": 19
}
}
@@ -45902,15 +47289,15 @@
"binop": null
},
"value": "tileX",
- "start": 6277,
- "end": 6282,
+ "start": 6442,
+ "end": 6447,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 5
},
"end": {
- "line": 158,
+ "line": 163,
"column": 10
}
}
@@ -45928,15 +47315,15 @@
"binop": null,
"updateContext": null
},
- "start": 6282,
- "end": 6283,
+ "start": 6447,
+ "end": 6448,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 10
},
"end": {
- "line": 158,
+ "line": 163,
"column": 11
}
}
@@ -45954,15 +47341,15 @@
"binop": null
},
"value": "getField",
- "start": 6284,
- "end": 6292,
+ "start": 6449,
+ "end": 6457,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 12
},
"end": {
- "line": 158,
+ "line": 163,
"column": 20
}
}
@@ -45979,15 +47366,15 @@
"postfix": false,
"binop": null
},
- "start": 6292,
- "end": 6293,
+ "start": 6457,
+ "end": 6458,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 20
},
"end": {
- "line": 158,
+ "line": 163,
"column": 21
}
}
@@ -46005,15 +47392,15 @@
"binop": null,
"updateContext": null
},
- "start": 6293,
- "end": 6294,
+ "start": 6458,
+ "end": 6459,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 21
},
"end": {
- "line": 158,
+ "line": 163,
"column": 22
}
}
@@ -46032,15 +47419,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 6294,
- "end": 6301,
+ "start": 6459,
+ "end": 6466,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 22
},
"end": {
- "line": 158,
+ "line": 163,
"column": 29
}
}
@@ -46058,15 +47445,15 @@
"binop": null,
"updateContext": null
},
- "start": 6301,
- "end": 6302,
+ "start": 6466,
+ "end": 6467,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 29
},
"end": {
- "line": 158,
+ "line": 163,
"column": 30
}
}
@@ -46084,15 +47471,15 @@
"binop": null
},
"value": "room",
- "start": 6303,
- "end": 6307,
+ "start": 6468,
+ "end": 6472,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 31
},
"end": {
- "line": 158,
+ "line": 163,
"column": 35
}
}
@@ -46110,15 +47497,15 @@
"binop": null,
"updateContext": null
},
- "start": 6307,
- "end": 6308,
+ "start": 6472,
+ "end": 6473,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 35
},
"end": {
- "line": 158,
+ "line": 163,
"column": 36
}
}
@@ -46137,15 +47524,15 @@
"updateContext": null
},
"value": "tiles",
- "start": 6309,
- "end": 6316,
+ "start": 6474,
+ "end": 6481,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 37
},
"end": {
- "line": 158,
+ "line": 163,
"column": 44
}
}
@@ -46163,15 +47550,15 @@
"binop": null,
"updateContext": null
},
- "start": 6316,
- "end": 6317,
+ "start": 6481,
+ "end": 6482,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 44
},
"end": {
- "line": 158,
+ "line": 163,
"column": 45
}
}
@@ -46189,15 +47576,15 @@
"binop": null
},
"value": "tileID",
- "start": 6318,
- "end": 6324,
+ "start": 6483,
+ "end": 6489,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 46
},
"end": {
- "line": 158,
+ "line": 163,
"column": 52
}
}
@@ -46215,15 +47602,15 @@
"binop": null,
"updateContext": null
},
- "start": 6324,
- "end": 6325,
+ "start": 6489,
+ "end": 6490,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 52
},
"end": {
- "line": 158,
+ "line": 163,
"column": 53
}
}
@@ -46242,15 +47629,15 @@
"updateContext": null
},
"value": "globalX",
- "start": 6326,
- "end": 6335,
+ "start": 6491,
+ "end": 6500,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 54
},
"end": {
- "line": 158,
+ "line": 163,
"column": 63
}
}
@@ -46268,15 +47655,15 @@
"binop": null,
"updateContext": null
},
- "start": 6335,
- "end": 6336,
+ "start": 6500,
+ "end": 6501,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 63
},
"end": {
- "line": 158,
+ "line": 163,
"column": 64
}
}
@@ -46293,15 +47680,15 @@
"postfix": false,
"binop": null
},
- "start": 6336,
- "end": 6337,
+ "start": 6501,
+ "end": 6502,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 64
},
"end": {
- "line": 158,
+ "line": 163,
"column": 65
}
}
@@ -46319,15 +47706,15 @@
"binop": null,
"updateContext": null
},
- "start": 6337,
- "end": 6338,
+ "start": 6502,
+ "end": 6503,
"loc": {
"start": {
- "line": 158,
+ "line": 163,
"column": 65
},
"end": {
- "line": 158,
+ "line": 163,
"column": 66
}
}
@@ -46345,15 +47732,15 @@
"binop": null
},
"value": "tileY",
- "start": 6344,
- "end": 6349,
+ "start": 6509,
+ "end": 6514,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 5
},
"end": {
- "line": 159,
+ "line": 164,
"column": 10
}
}
@@ -46371,15 +47758,15 @@
"binop": null,
"updateContext": null
},
- "start": 6349,
- "end": 6350,
+ "start": 6514,
+ "end": 6515,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 10
},
"end": {
- "line": 159,
+ "line": 164,
"column": 11
}
}
@@ -46397,15 +47784,15 @@
"binop": null
},
"value": "getField",
- "start": 6351,
- "end": 6359,
+ "start": 6516,
+ "end": 6524,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 12
},
"end": {
- "line": 159,
+ "line": 164,
"column": 20
}
}
@@ -46422,15 +47809,15 @@
"postfix": false,
"binop": null
},
- "start": 6359,
- "end": 6360,
+ "start": 6524,
+ "end": 6525,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 20
},
"end": {
- "line": 159,
+ "line": 164,
"column": 21
}
}
@@ -46448,15 +47835,15 @@
"binop": null,
"updateContext": null
},
- "start": 6360,
- "end": 6361,
+ "start": 6525,
+ "end": 6526,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 21
},
"end": {
- "line": 159,
+ "line": 164,
"column": 22
}
}
@@ -46475,15 +47862,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 6361,
- "end": 6368,
+ "start": 6526,
+ "end": 6533,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 22
},
"end": {
- "line": 159,
+ "line": 164,
"column": 29
}
}
@@ -46501,15 +47888,15 @@
"binop": null,
"updateContext": null
},
- "start": 6368,
- "end": 6369,
+ "start": 6533,
+ "end": 6534,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 29
},
"end": {
- "line": 159,
+ "line": 164,
"column": 30
}
}
@@ -46527,15 +47914,15 @@
"binop": null
},
"value": "room",
- "start": 6370,
- "end": 6374,
+ "start": 6535,
+ "end": 6539,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 31
},
"end": {
- "line": 159,
+ "line": 164,
"column": 35
}
}
@@ -46553,15 +47940,15 @@
"binop": null,
"updateContext": null
},
- "start": 6374,
- "end": 6375,
+ "start": 6539,
+ "end": 6540,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 35
},
"end": {
- "line": 159,
+ "line": 164,
"column": 36
}
}
@@ -46580,15 +47967,15 @@
"updateContext": null
},
"value": "tiles",
- "start": 6376,
- "end": 6383,
+ "start": 6541,
+ "end": 6548,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 37
},
"end": {
- "line": 159,
+ "line": 164,
"column": 44
}
}
@@ -46606,15 +47993,15 @@
"binop": null,
"updateContext": null
},
- "start": 6383,
- "end": 6384,
+ "start": 6548,
+ "end": 6549,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 44
},
"end": {
- "line": 159,
+ "line": 164,
"column": 45
}
}
@@ -46632,15 +48019,15 @@
"binop": null
},
"value": "tileID",
- "start": 6385,
- "end": 6391,
+ "start": 6550,
+ "end": 6556,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 46
},
"end": {
- "line": 159,
+ "line": 164,
"column": 52
}
}
@@ -46658,15 +48045,15 @@
"binop": null,
"updateContext": null
},
- "start": 6391,
- "end": 6392,
+ "start": 6556,
+ "end": 6557,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 52
},
"end": {
- "line": 159,
+ "line": 164,
"column": 53
}
}
@@ -46685,15 +48072,15 @@
"updateContext": null
},
"value": "globalY",
- "start": 6393,
- "end": 6402,
+ "start": 6558,
+ "end": 6567,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 54
},
"end": {
- "line": 159,
+ "line": 164,
"column": 63
}
}
@@ -46711,15 +48098,15 @@
"binop": null,
"updateContext": null
},
- "start": 6402,
- "end": 6403,
+ "start": 6567,
+ "end": 6568,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 63
},
"end": {
- "line": 159,
+ "line": 164,
"column": 64
}
}
@@ -46736,15 +48123,15 @@
"postfix": false,
"binop": null
},
- "start": 6403,
- "end": 6404,
+ "start": 6568,
+ "end": 6569,
"loc": {
"start": {
- "line": 159,
+ "line": 164,
"column": 64
},
"end": {
- "line": 159,
+ "line": 164,
"column": 65
}
}
@@ -46761,15 +48148,15 @@
"postfix": false,
"binop": null
},
- "start": 6409,
- "end": 6410,
+ "start": 6574,
+ "end": 6575,
"loc": {
"start": {
- "line": 160,
+ "line": 165,
"column": 4
},
"end": {
- "line": 160,
+ "line": 165,
"column": 5
}
}
@@ -46787,15 +48174,15 @@
"binop": null
},
"value": "socket",
- "start": 6415,
- "end": 6421,
+ "start": 6580,
+ "end": 6586,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 4
},
"end": {
- "line": 161,
+ "line": 166,
"column": 10
}
}
@@ -46813,15 +48200,15 @@
"binop": null,
"updateContext": null
},
- "start": 6421,
- "end": 6422,
+ "start": 6586,
+ "end": 6587,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 10
},
"end": {
- "line": 161,
+ "line": 166,
"column": 11
}
}
@@ -46839,15 +48226,15 @@
"binop": null
},
"value": "to",
- "start": 6422,
- "end": 6424,
+ "start": 6587,
+ "end": 6589,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 11
},
"end": {
- "line": 161,
+ "line": 166,
"column": 13
}
}
@@ -46864,15 +48251,15 @@
"postfix": false,
"binop": null
},
- "start": 6424,
- "end": 6425,
+ "start": 6589,
+ "end": 6590,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 13
},
"end": {
- "line": 161,
+ "line": 166,
"column": 14
}
}
@@ -46890,15 +48277,15 @@
"binop": null
},
"value": "room",
- "start": 6425,
- "end": 6429,
+ "start": 6590,
+ "end": 6594,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 14
},
"end": {
- "line": 161,
+ "line": 166,
"column": 18
}
}
@@ -46915,15 +48302,15 @@
"postfix": false,
"binop": null
},
- "start": 6429,
- "end": 6430,
+ "start": 6594,
+ "end": 6595,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 18
},
"end": {
- "line": 161,
+ "line": 166,
"column": 19
}
}
@@ -46941,15 +48328,15 @@
"binop": null,
"updateContext": null
},
- "start": 6430,
- "end": 6431,
+ "start": 6595,
+ "end": 6596,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 19
},
"end": {
- "line": 161,
+ "line": 166,
"column": 20
}
}
@@ -46967,15 +48354,15 @@
"binop": null
},
"value": "emit",
- "start": 6431,
- "end": 6435,
+ "start": 6596,
+ "end": 6600,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 20
},
"end": {
- "line": 161,
+ "line": 166,
"column": 24
}
}
@@ -46992,15 +48379,15 @@
"postfix": false,
"binop": null
},
- "start": 6435,
- "end": 6436,
+ "start": 6600,
+ "end": 6601,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 24
},
"end": {
- "line": 161,
+ "line": 166,
"column": 25
}
}
@@ -47019,15 +48406,15 @@
"updateContext": null
},
"value": "serverSendTileCapture",
- "start": 6436,
- "end": 6459,
+ "start": 6601,
+ "end": 6624,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 25
},
"end": {
- "line": 161,
+ "line": 166,
"column": 48
}
}
@@ -47045,15 +48432,15 @@
"binop": null,
"updateContext": null
},
- "start": 6459,
- "end": 6460,
+ "start": 6624,
+ "end": 6625,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 48
},
"end": {
- "line": 161,
+ "line": 166,
"column": 49
}
}
@@ -47071,15 +48458,15 @@
"binop": null
},
"value": "data",
- "start": 6461,
- "end": 6465,
+ "start": 6626,
+ "end": 6630,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 50
},
"end": {
- "line": 161,
+ "line": 166,
"column": 54
}
}
@@ -47096,15 +48483,15 @@
"postfix": false,
"binop": null
},
- "start": 6465,
- "end": 6466,
+ "start": 6630,
+ "end": 6631,
"loc": {
"start": {
- "line": 161,
+ "line": 166,
"column": 54
},
"end": {
- "line": 161,
+ "line": 166,
"column": 55
}
}
@@ -47122,15 +48509,15 @@
"binop": null
},
"value": "socket",
- "start": 6471,
- "end": 6477,
+ "start": 6636,
+ "end": 6642,
"loc": {
"start": {
- "line": 162,
+ "line": 167,
"column": 4
},
"end": {
- "line": 162,
+ "line": 167,
"column": 10
}
}
@@ -47148,15 +48535,15 @@
"binop": null,
"updateContext": null
},
- "start": 6477,
- "end": 6478,
+ "start": 6642,
+ "end": 6643,
"loc": {
"start": {
- "line": 162,
+ "line": 167,
"column": 10
},
"end": {
- "line": 162,
+ "line": 167,
"column": 11
}
}
@@ -47174,15 +48561,15 @@
"binop": null
},
"value": "emit",
- "start": 6478,
- "end": 6482,
+ "start": 6643,
+ "end": 6647,
"loc": {
"start": {
- "line": 162,
+ "line": 167,
"column": 11
},
"end": {
- "line": 162,
+ "line": 167,
"column": 15
}
}
@@ -47199,15 +48586,15 @@
"postfix": false,
"binop": null
},
- "start": 6482,
- "end": 6483,
+ "start": 6647,
+ "end": 6648,
"loc": {
"start": {
- "line": 162,
+ "line": 167,
"column": 15
},
"end": {
- "line": 162,
+ "line": 167,
"column": 16
}
}
@@ -47226,15 +48613,15 @@
"updateContext": null
},
"value": "serverSendTileCapture",
- "start": 6483,
- "end": 6506,
+ "start": 6648,
+ "end": 6671,
"loc": {
"start": {
- "line": 162,
+ "line": 167,
"column": 16
},
"end": {
- "line": 162,
+ "line": 167,
"column": 39
}
}
@@ -47252,15 +48639,15 @@
"binop": null,
"updateContext": null
},
- "start": 6506,
- "end": 6507,
+ "start": 6671,
+ "end": 6672,
"loc": {
"start": {
- "line": 162,
+ "line": 167,
"column": 39
},
"end": {
- "line": 162,
+ "line": 167,
"column": 40
}
}
@@ -47278,15 +48665,15 @@
"binop": null
},
"value": "data",
- "start": 6508,
- "end": 6512,
+ "start": 6673,
+ "end": 6677,
"loc": {
"start": {
- "line": 162,
+ "line": 167,
"column": 41
},
"end": {
- "line": 162,
+ "line": 167,
"column": 45
}
}
@@ -47303,15 +48690,15 @@
"postfix": false,
"binop": null
},
- "start": 6512,
- "end": 6513,
+ "start": 6677,
+ "end": 6678,
"loc": {
"start": {
- "line": 162,
+ "line": 167,
"column": 45
},
"end": {
- "line": 162,
+ "line": 167,
"column": 46
}
}
@@ -47331,15 +48718,15 @@
"updateContext": null
},
"value": "let",
- "start": 6518,
- "end": 6521,
+ "start": 6683,
+ "end": 6686,
"loc": {
"start": {
- "line": 163,
+ "line": 168,
"column": 4
},
"end": {
- "line": 163,
+ "line": 168,
"column": 7
}
}
@@ -47357,15 +48744,15 @@
"binop": null
},
"value": "tileCaptureMSG",
- "start": 6522,
- "end": 6536,
+ "start": 6687,
+ "end": 6701,
"loc": {
"start": {
- "line": 163,
+ "line": 168,
"column": 8
},
"end": {
- "line": 163,
+ "line": 168,
"column": 22
}
}
@@ -47384,15 +48771,15 @@
"updateContext": null
},
"value": "=",
- "start": 6537,
- "end": 6538,
+ "start": 6702,
+ "end": 6703,
"loc": {
"start": {
- "line": 163,
+ "line": 168,
"column": 23
},
"end": {
- "line": 163,
+ "line": 168,
"column": 24
}
}
@@ -47409,15 +48796,15 @@
"postfix": false,
"binop": null
},
- "start": 6539,
- "end": 6540,
+ "start": 6704,
+ "end": 6705,
"loc": {
"start": {
- "line": 163,
+ "line": 168,
"column": 25
},
"end": {
- "line": 163,
+ "line": 168,
"column": 26
}
}
@@ -47435,15 +48822,15 @@
"binop": null
},
"value": "message",
- "start": 6546,
- "end": 6553,
+ "start": 6711,
+ "end": 6718,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 5
},
"end": {
- "line": 164,
+ "line": 169,
"column": 12
}
}
@@ -47461,15 +48848,15 @@
"binop": null,
"updateContext": null
},
- "start": 6553,
- "end": 6554,
+ "start": 6718,
+ "end": 6719,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 12
},
"end": {
- "line": 164,
+ "line": 169,
"column": 13
}
}
@@ -47488,15 +48875,15 @@
"updateContext": null
},
"value": "A ",
- "start": 6555,
- "end": 6559,
+ "start": 6720,
+ "end": 6724,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 14
},
"end": {
- "line": 164,
+ "line": 169,
"column": 18
}
}
@@ -47515,15 +48902,15 @@
"updateContext": null
},
"value": "+",
- "start": 6560,
- "end": 6561,
+ "start": 6725,
+ "end": 6726,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 19
},
"end": {
- "line": 164,
+ "line": 169,
"column": 20
}
}
@@ -47541,15 +48928,15 @@
"binop": null
},
"value": "getField",
- "start": 6562,
- "end": 6570,
+ "start": 6727,
+ "end": 6735,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 21
},
"end": {
- "line": 164,
+ "line": 169,
"column": 29
}
}
@@ -47566,15 +48953,15 @@
"postfix": false,
"binop": null
},
- "start": 6570,
- "end": 6571,
+ "start": 6735,
+ "end": 6736,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 29
},
"end": {
- "line": 164,
+ "line": 169,
"column": 30
}
}
@@ -47592,15 +48979,15 @@
"binop": null,
"updateContext": null
},
- "start": 6571,
- "end": 6572,
+ "start": 6736,
+ "end": 6737,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 30
},
"end": {
- "line": 164,
+ "line": 169,
"column": 31
}
}
@@ -47619,15 +49006,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 6572,
- "end": 6579,
+ "start": 6737,
+ "end": 6744,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 31
},
"end": {
- "line": 164,
+ "line": 169,
"column": 38
}
}
@@ -47645,15 +49032,15 @@
"binop": null,
"updateContext": null
},
- "start": 6579,
- "end": 6580,
+ "start": 6744,
+ "end": 6745,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 38
},
"end": {
- "line": 164,
+ "line": 169,
"column": 39
}
}
@@ -47671,15 +49058,15 @@
"binop": null
},
"value": "room",
- "start": 6581,
- "end": 6585,
+ "start": 6746,
+ "end": 6750,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 40
},
"end": {
- "line": 164,
+ "line": 169,
"column": 44
}
}
@@ -47697,15 +49084,15 @@
"binop": null,
"updateContext": null
},
- "start": 6585,
- "end": 6586,
+ "start": 6750,
+ "end": 6751,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 44
},
"end": {
- "line": 164,
+ "line": 169,
"column": 45
}
}
@@ -47724,15 +49111,15 @@
"updateContext": null
},
"value": "tiles",
- "start": 6587,
- "end": 6594,
+ "start": 6752,
+ "end": 6759,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 46
},
"end": {
- "line": 164,
+ "line": 169,
"column": 53
}
}
@@ -47750,15 +49137,15 @@
"binop": null,
"updateContext": null
},
- "start": 6594,
- "end": 6595,
+ "start": 6759,
+ "end": 6760,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 53
},
"end": {
- "line": 164,
+ "line": 169,
"column": 54
}
}
@@ -47776,15 +49163,15 @@
"binop": null
},
"value": "tileID",
- "start": 6596,
- "end": 6602,
+ "start": 6761,
+ "end": 6767,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 55
},
"end": {
- "line": 164,
+ "line": 169,
"column": 61
}
}
@@ -47802,15 +49189,15 @@
"binop": null,
"updateContext": null
},
- "start": 6602,
- "end": 6603,
+ "start": 6767,
+ "end": 6768,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 61
},
"end": {
- "line": 164,
+ "line": 169,
"column": 62
}
}
@@ -47829,15 +49216,15 @@
"updateContext": null
},
"value": "type",
- "start": 6604,
- "end": 6610,
+ "start": 6769,
+ "end": 6775,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 63
},
"end": {
- "line": 164,
+ "line": 169,
"column": 69
}
}
@@ -47855,15 +49242,15 @@
"binop": null,
"updateContext": null
},
- "start": 6610,
- "end": 6611,
+ "start": 6775,
+ "end": 6776,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 69
},
"end": {
- "line": 164,
+ "line": 169,
"column": 70
}
}
@@ -47880,15 +49267,15 @@
"postfix": false,
"binop": null
},
- "start": 6611,
- "end": 6612,
+ "start": 6776,
+ "end": 6777,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 70
},
"end": {
- "line": 164,
+ "line": 169,
"column": 71
}
}
@@ -47907,15 +49294,15 @@
"updateContext": null
},
"value": "+",
- "start": 6613,
- "end": 6614,
+ "start": 6778,
+ "end": 6779,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 72
},
"end": {
- "line": 164,
+ "line": 169,
"column": 73
}
}
@@ -47934,15 +49321,15 @@
"updateContext": null
},
"value": " has been captured by ",
- "start": 6615,
- "end": 6639,
+ "start": 6780,
+ "end": 6804,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 74
},
"end": {
- "line": 164,
+ "line": 169,
"column": 98
}
}
@@ -47961,15 +49348,15 @@
"updateContext": null
},
"value": "+",
- "start": 6640,
- "end": 6641,
+ "start": 6805,
+ "end": 6806,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 99
},
"end": {
- "line": 164,
+ "line": 169,
"column": 100
}
}
@@ -47987,15 +49374,15 @@
"binop": null
},
"value": "getField",
- "start": 6642,
- "end": 6650,
+ "start": 6807,
+ "end": 6815,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 101
},
"end": {
- "line": 164,
+ "line": 169,
"column": 109
}
}
@@ -48012,15 +49399,15 @@
"postfix": false,
"binop": null
},
- "start": 6650,
- "end": 6651,
+ "start": 6815,
+ "end": 6816,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 109
},
"end": {
- "line": 164,
+ "line": 169,
"column": 110
}
}
@@ -48038,15 +49425,15 @@
"binop": null,
"updateContext": null
},
- "start": 6651,
- "end": 6652,
+ "start": 6816,
+ "end": 6817,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 110
},
"end": {
- "line": 164,
+ "line": 169,
"column": 111
}
}
@@ -48065,15 +49452,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 6652,
- "end": 6659,
+ "start": 6817,
+ "end": 6824,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 111
},
"end": {
- "line": 164,
+ "line": 169,
"column": 118
}
}
@@ -48091,15 +49478,15 @@
"binop": null,
"updateContext": null
},
- "start": 6659,
- "end": 6660,
+ "start": 6824,
+ "end": 6825,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 118
},
"end": {
- "line": 164,
+ "line": 169,
"column": 119
}
}
@@ -48117,15 +49504,15 @@
"binop": null
},
"value": "room",
- "start": 6661,
- "end": 6665,
+ "start": 6826,
+ "end": 6830,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 120
},
"end": {
- "line": 164,
+ "line": 169,
"column": 124
}
}
@@ -48143,15 +49530,15 @@
"binop": null,
"updateContext": null
},
- "start": 6665,
- "end": 6666,
+ "start": 6830,
+ "end": 6831,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 124
},
"end": {
- "line": 164,
+ "line": 169,
"column": 125
}
}
@@ -48170,15 +49557,15 @@
"updateContext": null
},
"value": "players",
- "start": 6667,
- "end": 6676,
+ "start": 6832,
+ "end": 6841,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 126
},
"end": {
- "line": 164,
+ "line": 169,
"column": 135
}
}
@@ -48196,15 +49583,15 @@
"binop": null,
"updateContext": null
},
- "start": 6676,
- "end": 6677,
+ "start": 6841,
+ "end": 6842,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 135
},
"end": {
- "line": 164,
+ "line": 169,
"column": 136
}
}
@@ -48222,15 +49609,15 @@
"binop": null
},
"value": "player",
- "start": 6678,
- "end": 6684,
+ "start": 6843,
+ "end": 6849,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 137
},
"end": {
- "line": 164,
+ "line": 169,
"column": 143
}
}
@@ -48248,15 +49635,15 @@
"binop": null,
"updateContext": null
},
- "start": 6684,
- "end": 6685,
+ "start": 6849,
+ "end": 6850,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 143
},
"end": {
- "line": 164,
+ "line": 169,
"column": 144
}
}
@@ -48275,15 +49662,15 @@
"updateContext": null
},
"value": "name",
- "start": 6686,
- "end": 6692,
+ "start": 6851,
+ "end": 6857,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 145
},
"end": {
- "line": 164,
+ "line": 169,
"column": 151
}
}
@@ -48301,15 +49688,15 @@
"binop": null,
"updateContext": null
},
- "start": 6692,
- "end": 6693,
+ "start": 6857,
+ "end": 6858,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 151
},
"end": {
- "line": 164,
+ "line": 169,
"column": 152
}
}
@@ -48326,15 +49713,15 @@
"postfix": false,
"binop": null
},
- "start": 6693,
- "end": 6694,
+ "start": 6858,
+ "end": 6859,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 152
},
"end": {
- "line": 164,
+ "line": 169,
"column": 153
}
}
@@ -48352,15 +49739,15 @@
"binop": null,
"updateContext": null
},
- "start": 6694,
- "end": 6695,
+ "start": 6859,
+ "end": 6860,
"loc": {
"start": {
- "line": 164,
+ "line": 169,
"column": 153
},
"end": {
- "line": 164,
+ "line": 169,
"column": 154
}
}
@@ -48378,15 +49765,15 @@
"binop": null
},
"value": "sendingTeam",
- "start": 6701,
- "end": 6712,
+ "start": 6866,
+ "end": 6877,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 5
},
"end": {
- "line": 165,
+ "line": 170,
"column": 16
}
}
@@ -48404,15 +49791,15 @@
"binop": null,
"updateContext": null
},
- "start": 6712,
- "end": 6713,
+ "start": 6877,
+ "end": 6878,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 16
},
"end": {
- "line": 165,
+ "line": 170,
"column": 17
}
}
@@ -48430,15 +49817,15 @@
"binop": null
},
"value": "getField",
- "start": 6714,
- "end": 6722,
+ "start": 6879,
+ "end": 6887,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 18
},
"end": {
- "line": 165,
+ "line": 170,
"column": 26
}
}
@@ -48455,15 +49842,15 @@
"postfix": false,
"binop": null
},
- "start": 6722,
- "end": 6723,
+ "start": 6887,
+ "end": 6888,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 26
},
"end": {
- "line": 165,
+ "line": 170,
"column": 27
}
}
@@ -48481,15 +49868,15 @@
"binop": null,
"updateContext": null
},
- "start": 6723,
- "end": 6724,
+ "start": 6888,
+ "end": 6889,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 27
},
"end": {
- "line": 165,
+ "line": 170,
"column": 28
}
}
@@ -48508,15 +49895,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 6724,
- "end": 6731,
+ "start": 6889,
+ "end": 6896,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 28
},
"end": {
- "line": 165,
+ "line": 170,
"column": 35
}
}
@@ -48534,15 +49921,15 @@
"binop": null,
"updateContext": null
},
- "start": 6731,
- "end": 6732,
+ "start": 6896,
+ "end": 6897,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 35
},
"end": {
- "line": 165,
+ "line": 170,
"column": 36
}
}
@@ -48560,15 +49947,15 @@
"binop": null
},
"value": "room",
- "start": 6733,
- "end": 6737,
+ "start": 6898,
+ "end": 6902,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 37
},
"end": {
- "line": 165,
+ "line": 170,
"column": 41
}
}
@@ -48586,15 +49973,15 @@
"binop": null,
"updateContext": null
},
- "start": 6737,
- "end": 6738,
+ "start": 6902,
+ "end": 6903,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 41
},
"end": {
- "line": 165,
+ "line": 170,
"column": 42
}
}
@@ -48613,15 +50000,15 @@
"updateContext": null
},
"value": "players",
- "start": 6739,
- "end": 6748,
+ "start": 6904,
+ "end": 6913,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 43
},
"end": {
- "line": 165,
+ "line": 170,
"column": 52
}
}
@@ -48639,15 +50026,15 @@
"binop": null,
"updateContext": null
},
- "start": 6748,
- "end": 6749,
+ "start": 6913,
+ "end": 6914,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 52
},
"end": {
- "line": 165,
+ "line": 170,
"column": 53
}
}
@@ -48665,15 +50052,15 @@
"binop": null
},
"value": "player",
- "start": 6750,
- "end": 6756,
+ "start": 6915,
+ "end": 6921,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 54
},
"end": {
- "line": 165,
+ "line": 170,
"column": 60
}
}
@@ -48691,15 +50078,15 @@
"binop": null,
"updateContext": null
},
- "start": 6756,
- "end": 6757,
+ "start": 6921,
+ "end": 6922,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 60
},
"end": {
- "line": 165,
+ "line": 170,
"column": 61
}
}
@@ -48718,15 +50105,15 @@
"updateContext": null
},
"value": "team",
- "start": 6758,
- "end": 6764,
+ "start": 6923,
+ "end": 6929,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 62
},
"end": {
- "line": 165,
+ "line": 170,
"column": 68
}
}
@@ -48744,15 +50131,15 @@
"binop": null,
"updateContext": null
},
- "start": 6764,
- "end": 6765,
+ "start": 6929,
+ "end": 6930,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 68
},
"end": {
- "line": 165,
+ "line": 170,
"column": 69
}
}
@@ -48769,15 +50156,15 @@
"postfix": false,
"binop": null
},
- "start": 6765,
- "end": 6766,
+ "start": 6930,
+ "end": 6931,
"loc": {
"start": {
- "line": 165,
+ "line": 170,
"column": 69
},
"end": {
- "line": 165,
+ "line": 170,
"column": 70
}
}
@@ -48794,15 +50181,15 @@
"postfix": false,
"binop": null
},
- "start": 6771,
- "end": 6772,
+ "start": 6936,
+ "end": 6937,
"loc": {
"start": {
- "line": 166,
+ "line": 171,
"column": 4
},
"end": {
- "line": 166,
+ "line": 171,
"column": 5
}
}
@@ -48820,15 +50207,15 @@
"binop": null
},
"value": "socket",
- "start": 6777,
- "end": 6783,
+ "start": 6942,
+ "end": 6948,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 4
},
"end": {
- "line": 167,
+ "line": 172,
"column": 10
}
}
@@ -48846,15 +50233,15 @@
"binop": null,
"updateContext": null
},
- "start": 6783,
- "end": 6784,
+ "start": 6948,
+ "end": 6949,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 10
},
"end": {
- "line": 167,
+ "line": 172,
"column": 11
}
}
@@ -48872,15 +50259,15 @@
"binop": null
},
"value": "to",
- "start": 6784,
- "end": 6786,
+ "start": 6949,
+ "end": 6951,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 11
},
"end": {
- "line": 167,
+ "line": 172,
"column": 13
}
}
@@ -48897,15 +50284,15 @@
"postfix": false,
"binop": null
},
- "start": 6786,
- "end": 6787,
+ "start": 6951,
+ "end": 6952,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 13
},
"end": {
- "line": 167,
+ "line": 172,
"column": 14
}
}
@@ -48923,15 +50310,15 @@
"binop": null
},
"value": "room",
- "start": 6787,
- "end": 6791,
+ "start": 6952,
+ "end": 6956,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 14
},
"end": {
- "line": 167,
+ "line": 172,
"column": 18
}
}
@@ -48948,15 +50335,15 @@
"postfix": false,
"binop": null
},
- "start": 6791,
- "end": 6792,
+ "start": 6956,
+ "end": 6957,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 18
},
"end": {
- "line": 167,
+ "line": 172,
"column": 19
}
}
@@ -48974,15 +50361,15 @@
"binop": null,
"updateContext": null
},
- "start": 6792,
- "end": 6793,
+ "start": 6957,
+ "end": 6958,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 19
},
"end": {
- "line": 167,
+ "line": 172,
"column": 20
}
}
@@ -49000,15 +50387,15 @@
"binop": null
},
"value": "emit",
- "start": 6793,
- "end": 6797,
+ "start": 6958,
+ "end": 6962,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 20
},
"end": {
- "line": 167,
+ "line": 172,
"column": 24
}
}
@@ -49025,15 +50412,15 @@
"postfix": false,
"binop": null
},
- "start": 6797,
- "end": 6798,
+ "start": 6962,
+ "end": 6963,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 24
},
"end": {
- "line": 167,
+ "line": 172,
"column": 25
}
}
@@ -49052,15 +50439,15 @@
"updateContext": null
},
"value": "serverAnnouncement",
- "start": 6798,
- "end": 6818,
+ "start": 6963,
+ "end": 6983,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 25
},
"end": {
- "line": 167,
+ "line": 172,
"column": 45
}
}
@@ -49078,15 +50465,15 @@
"binop": null,
"updateContext": null
},
- "start": 6818,
- "end": 6819,
+ "start": 6983,
+ "end": 6984,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 45
},
"end": {
- "line": 167,
+ "line": 172,
"column": 46
}
}
@@ -49104,15 +50491,15 @@
"binop": null
},
"value": "tileCaptureMSG",
- "start": 6820,
- "end": 6834,
+ "start": 6985,
+ "end": 6999,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 47
},
"end": {
- "line": 167,
+ "line": 172,
"column": 61
}
}
@@ -49129,15 +50516,15 @@
"postfix": false,
"binop": null
},
- "start": 6834,
- "end": 6835,
+ "start": 6999,
+ "end": 7000,
"loc": {
"start": {
- "line": 167,
+ "line": 172,
"column": 61
},
"end": {
- "line": 167,
+ "line": 172,
"column": 62
}
}
@@ -49155,15 +50542,15 @@
"binop": null
},
"value": "socket",
- "start": 6840,
- "end": 6846,
+ "start": 7005,
+ "end": 7011,
"loc": {
"start": {
- "line": 168,
+ "line": 173,
"column": 4
},
"end": {
- "line": 168,
+ "line": 173,
"column": 10
}
}
@@ -49181,15 +50568,15 @@
"binop": null,
"updateContext": null
},
- "start": 6846,
- "end": 6847,
+ "start": 7011,
+ "end": 7012,
"loc": {
"start": {
- "line": 168,
+ "line": 173,
"column": 10
},
"end": {
- "line": 168,
+ "line": 173,
"column": 11
}
}
@@ -49207,15 +50594,15 @@
"binop": null
},
"value": "emit",
- "start": 6847,
- "end": 6851,
+ "start": 7012,
+ "end": 7016,
"loc": {
"start": {
- "line": 168,
+ "line": 173,
"column": 11
},
"end": {
- "line": 168,
+ "line": 173,
"column": 15
}
}
@@ -49232,15 +50619,15 @@
"postfix": false,
"binop": null
},
- "start": 6851,
- "end": 6852,
+ "start": 7016,
+ "end": 7017,
"loc": {
"start": {
- "line": 168,
+ "line": 173,
"column": 15
},
"end": {
- "line": 168,
+ "line": 173,
"column": 16
}
}
@@ -49259,15 +50646,15 @@
"updateContext": null
},
"value": "serverAnnouncement",
- "start": 6852,
- "end": 6872,
+ "start": 7017,
+ "end": 7037,
"loc": {
"start": {
- "line": 168,
+ "line": 173,
"column": 16
},
"end": {
- "line": 168,
+ "line": 173,
"column": 36
}
}
@@ -49285,15 +50672,15 @@
"binop": null,
"updateContext": null
},
- "start": 6872,
- "end": 6873,
+ "start": 7037,
+ "end": 7038,
"loc": {
"start": {
- "line": 168,
+ "line": 173,
"column": 36
},
"end": {
- "line": 168,
+ "line": 173,
"column": 37
}
}
@@ -49311,15 +50698,15 @@
"binop": null
},
"value": "tileCaptureMSG",
- "start": 6874,
- "end": 6888,
+ "start": 7039,
+ "end": 7053,
"loc": {
"start": {
- "line": 168,
+ "line": 173,
"column": 38
},
"end": {
- "line": 168,
+ "line": 173,
"column": 52
}
}
@@ -49336,15 +50723,15 @@
"postfix": false,
"binop": null
},
- "start": 6888,
- "end": 6889,
+ "start": 7053,
+ "end": 7054,
"loc": {
"start": {
- "line": 168,
+ "line": 173,
"column": 52
},
"end": {
- "line": 168,
+ "line": 173,
"column": 53
}
}
@@ -49352,15 +50739,15 @@
{
"type": "CommentLine",
"value": " Set capture status",
- "start": 6895,
- "end": 6916,
+ "start": 7060,
+ "end": 7081,
"loc": {
"start": {
- "line": 170,
+ "line": 175,
"column": 4
},
"end": {
- "line": 170,
+ "line": 175,
"column": 25
}
}
@@ -49378,15 +50765,15 @@
"binop": null
},
"value": "setField",
- "start": 6921,
- "end": 6929,
+ "start": 7086,
+ "end": 7094,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 4
},
"end": {
- "line": 171,
+ "line": 176,
"column": 12
}
}
@@ -49403,15 +50790,15 @@
"postfix": false,
"binop": null
},
- "start": 6929,
- "end": 6930,
+ "start": 7094,
+ "end": 7095,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 12
},
"end": {
- "line": 171,
+ "line": 176,
"column": 13
}
}
@@ -49431,15 +50818,15 @@
"updateContext": null
},
"value": "true",
- "start": 6930,
- "end": 6934,
+ "start": 7095,
+ "end": 7099,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 13
},
"end": {
- "line": 171,
+ "line": 176,
"column": 17
}
}
@@ -49457,15 +50844,15 @@
"binop": null,
"updateContext": null
},
- "start": 6934,
- "end": 6935,
+ "start": 7099,
+ "end": 7100,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 17
},
"end": {
- "line": 171,
+ "line": 176,
"column": 18
}
}
@@ -49483,15 +50870,15 @@
"binop": null,
"updateContext": null
},
- "start": 6936,
- "end": 6937,
+ "start": 7101,
+ "end": 7102,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 19
},
"end": {
- "line": 171,
+ "line": 176,
"column": 20
}
}
@@ -49510,15 +50897,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 6937,
- "end": 6944,
+ "start": 7102,
+ "end": 7109,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 20
},
"end": {
- "line": 171,
+ "line": 176,
"column": 27
}
}
@@ -49536,15 +50923,15 @@
"binop": null,
"updateContext": null
},
- "start": 6944,
- "end": 6945,
+ "start": 7109,
+ "end": 7110,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 27
},
"end": {
- "line": 171,
+ "line": 176,
"column": 28
}
}
@@ -49562,15 +50949,15 @@
"binop": null
},
"value": "room",
- "start": 6946,
- "end": 6950,
+ "start": 7111,
+ "end": 7115,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 29
},
"end": {
- "line": 171,
+ "line": 176,
"column": 33
}
}
@@ -49588,15 +50975,15 @@
"binop": null,
"updateContext": null
},
- "start": 6950,
- "end": 6951,
+ "start": 7115,
+ "end": 7116,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 33
},
"end": {
- "line": 171,
+ "line": 176,
"column": 34
}
}
@@ -49615,15 +51002,15 @@
"updateContext": null
},
"value": "tiles",
- "start": 6952,
- "end": 6959,
+ "start": 7117,
+ "end": 7124,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 35
},
"end": {
- "line": 171,
+ "line": 176,
"column": 42
}
}
@@ -49641,15 +51028,15 @@
"binop": null,
"updateContext": null
},
- "start": 6959,
- "end": 6960,
+ "start": 7124,
+ "end": 7125,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 42
},
"end": {
- "line": 171,
+ "line": 176,
"column": 43
}
}
@@ -49667,15 +51054,15 @@
"binop": null
},
"value": "tileID",
- "start": 6961,
- "end": 6967,
+ "start": 7126,
+ "end": 7132,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 44
},
"end": {
- "line": 171,
+ "line": 176,
"column": 50
}
}
@@ -49693,15 +51080,15 @@
"binop": null,
"updateContext": null
},
- "start": 6967,
- "end": 6968,
+ "start": 7132,
+ "end": 7133,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 50
},
"end": {
- "line": 171,
+ "line": 176,
"column": 51
}
}
@@ -49720,15 +51107,15 @@
"updateContext": null
},
"value": "captured",
- "start": 6969,
- "end": 6979,
+ "start": 7134,
+ "end": 7144,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 52
},
"end": {
- "line": 171,
+ "line": 176,
"column": 62
}
}
@@ -49746,15 +51133,15 @@
"binop": null,
"updateContext": null
},
- "start": 6979,
- "end": 6980,
+ "start": 7144,
+ "end": 7145,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 62
},
"end": {
- "line": 171,
+ "line": 176,
"column": 63
}
}
@@ -49771,15 +51158,15 @@
"postfix": false,
"binop": null
},
- "start": 6980,
- "end": 6981,
+ "start": 7145,
+ "end": 7146,
"loc": {
"start": {
- "line": 171,
+ "line": 176,
"column": 63
},
"end": {
- "line": 171,
+ "line": 176,
"column": 64
}
}
@@ -49797,15 +51184,15 @@
"binop": null
},
"value": "setField",
- "start": 6986,
- "end": 6994,
+ "start": 7151,
+ "end": 7159,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 4
},
"end": {
- "line": 172,
+ "line": 177,
"column": 12
}
}
@@ -49822,15 +51209,15 @@
"postfix": false,
"binop": null
},
- "start": 6994,
- "end": 6995,
+ "start": 7159,
+ "end": 7160,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 12
},
"end": {
- "line": 172,
+ "line": 177,
"column": 13
}
}
@@ -49848,15 +51235,15 @@
"binop": null
},
"value": "getField",
- "start": 6995,
- "end": 7003,
+ "start": 7160,
+ "end": 7168,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 13
},
"end": {
- "line": 172,
+ "line": 177,
"column": 21
}
}
@@ -49873,15 +51260,15 @@
"postfix": false,
"binop": null
},
- "start": 7003,
- "end": 7004,
+ "start": 7168,
+ "end": 7169,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 21
},
"end": {
- "line": 172,
+ "line": 177,
"column": 22
}
}
@@ -49899,15 +51286,15 @@
"binop": null,
"updateContext": null
},
- "start": 7004,
- "end": 7005,
+ "start": 7169,
+ "end": 7170,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 22
},
"end": {
- "line": 172,
+ "line": 177,
"column": 23
}
}
@@ -49926,15 +51313,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 7005,
- "end": 7012,
+ "start": 7170,
+ "end": 7177,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 23
},
"end": {
- "line": 172,
+ "line": 177,
"column": 30
}
}
@@ -49952,15 +51339,15 @@
"binop": null,
"updateContext": null
},
- "start": 7012,
- "end": 7013,
+ "start": 7177,
+ "end": 7178,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 30
},
"end": {
- "line": 172,
+ "line": 177,
"column": 31
}
}
@@ -49978,15 +51365,15 @@
"binop": null
},
"value": "room",
- "start": 7014,
- "end": 7018,
+ "start": 7179,
+ "end": 7183,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 32
},
"end": {
- "line": 172,
+ "line": 177,
"column": 36
}
}
@@ -50004,15 +51391,15 @@
"binop": null,
"updateContext": null
},
- "start": 7018,
- "end": 7019,
+ "start": 7183,
+ "end": 7184,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 36
},
"end": {
- "line": 172,
+ "line": 177,
"column": 37
}
}
@@ -50031,15 +51418,15 @@
"updateContext": null
},
"value": "players",
- "start": 7020,
- "end": 7029,
+ "start": 7185,
+ "end": 7194,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 38
},
"end": {
- "line": 172,
+ "line": 177,
"column": 47
}
}
@@ -50057,15 +51444,15 @@
"binop": null,
"updateContext": null
},
- "start": 7029,
- "end": 7030,
+ "start": 7194,
+ "end": 7195,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 47
},
"end": {
- "line": 172,
+ "line": 177,
"column": 48
}
}
@@ -50083,15 +51470,15 @@
"binop": null
},
"value": "player",
- "start": 7031,
- "end": 7037,
+ "start": 7196,
+ "end": 7202,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 49
},
"end": {
- "line": 172,
+ "line": 177,
"column": 55
}
}
@@ -50109,15 +51496,15 @@
"binop": null,
"updateContext": null
},
- "start": 7037,
- "end": 7038,
+ "start": 7202,
+ "end": 7203,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 55
},
"end": {
- "line": 172,
+ "line": 177,
"column": 56
}
}
@@ -50136,15 +51523,15 @@
"updateContext": null
},
"value": "team",
- "start": 7039,
- "end": 7045,
+ "start": 7204,
+ "end": 7210,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 57
},
"end": {
- "line": 172,
+ "line": 177,
"column": 63
}
}
@@ -50162,15 +51549,15 @@
"binop": null,
"updateContext": null
},
- "start": 7045,
- "end": 7046,
+ "start": 7210,
+ "end": 7211,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 63
},
"end": {
- "line": 172,
+ "line": 177,
"column": 64
}
}
@@ -50187,15 +51574,15 @@
"postfix": false,
"binop": null
},
- "start": 7046,
- "end": 7047,
+ "start": 7211,
+ "end": 7212,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 64
},
"end": {
- "line": 172,
+ "line": 177,
"column": 65
}
}
@@ -50213,15 +51600,15 @@
"binop": null,
"updateContext": null
},
- "start": 7047,
- "end": 7048,
+ "start": 7212,
+ "end": 7213,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 65
},
"end": {
- "line": 172,
+ "line": 177,
"column": 66
}
}
@@ -50239,15 +51626,15 @@
"binop": null,
"updateContext": null
},
- "start": 7049,
- "end": 7050,
+ "start": 7214,
+ "end": 7215,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 67
},
"end": {
- "line": 172,
+ "line": 177,
"column": 68
}
}
@@ -50266,15 +51653,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 7050,
- "end": 7057,
+ "start": 7215,
+ "end": 7222,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 68
},
"end": {
- "line": 172,
+ "line": 177,
"column": 75
}
}
@@ -50292,15 +51679,15 @@
"binop": null,
"updateContext": null
},
- "start": 7057,
- "end": 7058,
+ "start": 7222,
+ "end": 7223,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 75
},
"end": {
- "line": 172,
+ "line": 177,
"column": 76
}
}
@@ -50318,15 +51705,15 @@
"binop": null
},
"value": "room",
- "start": 7059,
- "end": 7063,
+ "start": 7224,
+ "end": 7228,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 77
},
"end": {
- "line": 172,
+ "line": 177,
"column": 81
}
}
@@ -50344,15 +51731,15 @@
"binop": null,
"updateContext": null
},
- "start": 7063,
- "end": 7064,
+ "start": 7228,
+ "end": 7229,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 81
},
"end": {
- "line": 172,
+ "line": 177,
"column": 82
}
}
@@ -50371,15 +51758,15 @@
"updateContext": null
},
"value": "tiles",
- "start": 7065,
- "end": 7072,
+ "start": 7230,
+ "end": 7237,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 83
},
"end": {
- "line": 172,
+ "line": 177,
"column": 90
}
}
@@ -50397,15 +51784,15 @@
"binop": null,
"updateContext": null
},
- "start": 7072,
- "end": 7073,
+ "start": 7237,
+ "end": 7238,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 90
},
"end": {
- "line": 172,
+ "line": 177,
"column": 91
}
}
@@ -50423,15 +51810,15 @@
"binop": null
},
"value": "tileID",
- "start": 7074,
- "end": 7080,
+ "start": 7239,
+ "end": 7245,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 92
},
"end": {
- "line": 172,
+ "line": 177,
"column": 98
}
}
@@ -50449,15 +51836,15 @@
"binop": null,
"updateContext": null
},
- "start": 7080,
- "end": 7081,
+ "start": 7245,
+ "end": 7246,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 98
},
"end": {
- "line": 172,
+ "line": 177,
"column": 99
}
}
@@ -50476,15 +51863,15 @@
"updateContext": null
},
"value": "owner",
- "start": 7082,
- "end": 7089,
+ "start": 7247,
+ "end": 7254,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 100
},
"end": {
- "line": 172,
+ "line": 177,
"column": 107
}
}
@@ -50502,15 +51889,15 @@
"binop": null,
"updateContext": null
},
- "start": 7089,
- "end": 7090,
+ "start": 7254,
+ "end": 7255,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 107
},
"end": {
- "line": 172,
+ "line": 177,
"column": 108
}
}
@@ -50527,15 +51914,15 @@
"postfix": false,
"binop": null
},
- "start": 7090,
- "end": 7091,
+ "start": 7255,
+ "end": 7256,
"loc": {
"start": {
- "line": 172,
+ "line": 177,
"column": 108
},
"end": {
- "line": 172,
+ "line": 177,
"column": 109
}
}
@@ -50543,15 +51930,15 @@
{
"type": "CommentLine",
"value": " Distribute points",
- "start": 7097,
- "end": 7117,
+ "start": 7262,
+ "end": 7282,
"loc": {
"start": {
- "line": 174,
+ "line": 179,
"column": 4
},
"end": {
- "line": 174,
+ "line": 179,
"column": 24
}
}
@@ -50569,15 +51956,15 @@
"binop": null
},
"value": "incrementField",
- "start": 7122,
- "end": 7136,
+ "start": 7287,
+ "end": 7301,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 4
},
"end": {
- "line": 175,
+ "line": 180,
"column": 18
}
}
@@ -50594,15 +51981,15 @@
"postfix": false,
"binop": null
},
- "start": 7136,
- "end": 7137,
+ "start": 7301,
+ "end": 7302,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 18
},
"end": {
- "line": 175,
+ "line": 180,
"column": 19
}
}
@@ -50620,15 +52007,15 @@
"binop": null
},
"value": "GLOBAL",
- "start": 7137,
- "end": 7143,
+ "start": 7302,
+ "end": 7308,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 19
},
"end": {
- "line": 175,
+ "line": 180,
"column": 25
}
}
@@ -50646,15 +52033,15 @@
"binop": null,
"updateContext": null
},
- "start": 7143,
- "end": 7144,
+ "start": 7308,
+ "end": 7309,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 25
},
"end": {
- "line": 175,
+ "line": 180,
"column": 26
}
}
@@ -50672,15 +52059,15 @@
"binop": null
},
"value": "CAPTURE_SCORE",
- "start": 7144,
- "end": 7157,
+ "start": 7309,
+ "end": 7322,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 26
},
"end": {
- "line": 175,
+ "line": 180,
"column": 39
}
}
@@ -50698,15 +52085,15 @@
"binop": null,
"updateContext": null
},
- "start": 7157,
- "end": 7158,
+ "start": 7322,
+ "end": 7323,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 39
},
"end": {
- "line": 175,
+ "line": 180,
"column": 40
}
}
@@ -50724,15 +52111,15 @@
"binop": null,
"updateContext": null
},
- "start": 7159,
- "end": 7160,
+ "start": 7324,
+ "end": 7325,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 41
},
"end": {
- "line": 175,
+ "line": 180,
"column": 42
}
}
@@ -50751,15 +52138,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 7160,
- "end": 7167,
+ "start": 7325,
+ "end": 7332,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 42
},
"end": {
- "line": 175,
+ "line": 180,
"column": 49
}
}
@@ -50777,15 +52164,15 @@
"binop": null,
"updateContext": null
},
- "start": 7167,
- "end": 7168,
+ "start": 7332,
+ "end": 7333,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 49
},
"end": {
- "line": 175,
+ "line": 180,
"column": 50
}
}
@@ -50803,15 +52190,15 @@
"binop": null
},
"value": "room",
- "start": 7169,
- "end": 7173,
+ "start": 7334,
+ "end": 7338,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 51
},
"end": {
- "line": 175,
+ "line": 180,
"column": 55
}
}
@@ -50829,15 +52216,15 @@
"binop": null,
"updateContext": null
},
- "start": 7173,
- "end": 7174,
+ "start": 7338,
+ "end": 7339,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 55
},
"end": {
- "line": 175,
+ "line": 180,
"column": 56
}
}
@@ -50856,15 +52243,15 @@
"updateContext": null
},
"value": "teams",
- "start": 7175,
- "end": 7182,
+ "start": 7340,
+ "end": 7347,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 57
},
"end": {
- "line": 175,
+ "line": 180,
"column": 64
}
}
@@ -50882,15 +52269,15 @@
"binop": null,
"updateContext": null
},
- "start": 7182,
- "end": 7183,
+ "start": 7347,
+ "end": 7348,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 64
},
"end": {
- "line": 175,
+ "line": 180,
"column": 65
}
}
@@ -50908,15 +52295,15 @@
"binop": null
},
"value": "i",
- "start": 7184,
- "end": 7185,
+ "start": 7349,
+ "end": 7350,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 66
},
"end": {
- "line": 175,
+ "line": 180,
"column": 67
}
}
@@ -50934,15 +52321,15 @@
"binop": null,
"updateContext": null
},
- "start": 7185,
- "end": 7186,
+ "start": 7350,
+ "end": 7351,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 67
},
"end": {
- "line": 175,
+ "line": 180,
"column": 68
}
}
@@ -50961,15 +52348,15 @@
"updateContext": null
},
"value": "score",
- "start": 7187,
- "end": 7194,
+ "start": 7352,
+ "end": 7359,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 69
},
"end": {
- "line": 175,
+ "line": 180,
"column": 76
}
}
@@ -50987,15 +52374,15 @@
"binop": null,
"updateContext": null
},
- "start": 7194,
- "end": 7195,
+ "start": 7359,
+ "end": 7360,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 76
},
"end": {
- "line": 175,
+ "line": 180,
"column": 77
}
}
@@ -51012,15 +52399,15 @@
"postfix": false,
"binop": null
},
- "start": 7195,
- "end": 7196,
+ "start": 7360,
+ "end": 7361,
"loc": {
"start": {
- "line": 175,
+ "line": 180,
"column": 77
},
"end": {
- "line": 175,
+ "line": 180,
"column": 78
}
}
@@ -51028,15 +52415,15 @@
{
"type": "CommentLine",
"value": " Reset health",
- "start": 7202,
- "end": 7217,
+ "start": 7367,
+ "end": 7382,
"loc": {
"start": {
- "line": 177,
+ "line": 182,
"column": 4
},
"end": {
- "line": 177,
+ "line": 182,
"column": 19
}
}
@@ -51054,15 +52441,15 @@
"binop": null
},
"value": "setField",
- "start": 7222,
- "end": 7230,
+ "start": 7387,
+ "end": 7395,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 4
},
"end": {
- "line": 178,
+ "line": 183,
"column": 12
}
}
@@ -51079,15 +52466,15 @@
"postfix": false,
"binop": null
},
- "start": 7230,
- "end": 7231,
+ "start": 7395,
+ "end": 7396,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 12
},
"end": {
- "line": 178,
+ "line": 183,
"column": 13
}
}
@@ -51105,15 +52492,15 @@
"binop": null
},
"value": "GLOBAL",
- "start": 7231,
- "end": 7237,
+ "start": 7396,
+ "end": 7402,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 13
},
"end": {
- "line": 178,
+ "line": 183,
"column": 19
}
}
@@ -51131,15 +52518,15 @@
"binop": null,
"updateContext": null
},
- "start": 7237,
- "end": 7238,
+ "start": 7402,
+ "end": 7403,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 19
},
"end": {
- "line": 178,
+ "line": 183,
"column": 20
}
}
@@ -51156,15 +52543,15 @@
"postfix": false,
"binop": null
},
- "start": 7238,
- "end": 7239,
+ "start": 7403,
+ "end": 7404,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 20
},
"end": {
- "line": 178,
+ "line": 183,
"column": 21
}
}
@@ -51183,15 +52570,15 @@
"updateContext": null
},
"value": "MAX_",
- "start": 7239,
- "end": 7245,
+ "start": 7404,
+ "end": 7410,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 21
},
"end": {
- "line": 178,
+ "line": 183,
"column": 27
}
}
@@ -51210,15 +52597,15 @@
"updateContext": null
},
"value": "+",
- "start": 7246,
- "end": 7247,
+ "start": 7411,
+ "end": 7412,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 28
},
"end": {
- "line": 178,
+ "line": 183,
"column": 29
}
}
@@ -51236,15 +52623,15 @@
"binop": null
},
"value": "getField",
- "start": 7248,
- "end": 7256,
+ "start": 7413,
+ "end": 7421,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 30
},
"end": {
- "line": 178,
+ "line": 183,
"column": 38
}
}
@@ -51261,15 +52648,15 @@
"postfix": false,
"binop": null
},
- "start": 7256,
- "end": 7257,
+ "start": 7421,
+ "end": 7422,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 38
},
"end": {
- "line": 178,
+ "line": 183,
"column": 39
}
}
@@ -51287,15 +52674,15 @@
"binop": null,
"updateContext": null
},
- "start": 7257,
- "end": 7258,
+ "start": 7422,
+ "end": 7423,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 39
},
"end": {
- "line": 178,
+ "line": 183,
"column": 40
}
}
@@ -51314,15 +52701,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 7258,
- "end": 7265,
+ "start": 7423,
+ "end": 7430,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 40
},
"end": {
- "line": 178,
+ "line": 183,
"column": 47
}
}
@@ -51340,15 +52727,15 @@
"binop": null,
"updateContext": null
},
- "start": 7265,
- "end": 7266,
+ "start": 7430,
+ "end": 7431,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 47
},
"end": {
- "line": 178,
+ "line": 183,
"column": 48
}
}
@@ -51366,15 +52753,15 @@
"binop": null
},
"value": "room",
- "start": 7267,
- "end": 7271,
+ "start": 7432,
+ "end": 7436,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 49
},
"end": {
- "line": 178,
+ "line": 183,
"column": 53
}
}
@@ -51392,15 +52779,15 @@
"binop": null,
"updateContext": null
},
- "start": 7271,
- "end": 7272,
+ "start": 7436,
+ "end": 7437,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 53
},
"end": {
- "line": 178,
+ "line": 183,
"column": 54
}
}
@@ -51419,15 +52806,15 @@
"updateContext": null
},
"value": "tiles",
- "start": 7273,
- "end": 7280,
+ "start": 7438,
+ "end": 7445,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 55
},
"end": {
- "line": 178,
+ "line": 183,
"column": 62
}
}
@@ -51445,15 +52832,15 @@
"binop": null,
"updateContext": null
},
- "start": 7280,
- "end": 7281,
+ "start": 7445,
+ "end": 7446,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 62
},
"end": {
- "line": 178,
+ "line": 183,
"column": 63
}
}
@@ -51471,15 +52858,15 @@
"binop": null
},
"value": "tileID",
- "start": 7282,
- "end": 7288,
+ "start": 7447,
+ "end": 7453,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 64
},
"end": {
- "line": 178,
+ "line": 183,
"column": 70
}
}
@@ -51497,15 +52884,15 @@
"binop": null,
"updateContext": null
},
- "start": 7288,
- "end": 7289,
+ "start": 7453,
+ "end": 7454,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 70
},
"end": {
- "line": 178,
+ "line": 183,
"column": 71
}
}
@@ -51524,15 +52911,15 @@
"updateContext": null
},
"value": "type",
- "start": 7290,
- "end": 7296,
+ "start": 7455,
+ "end": 7461,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 72
},
"end": {
- "line": 178,
+ "line": 183,
"column": 78
}
}
@@ -51550,15 +52937,15 @@
"binop": null,
"updateContext": null
},
- "start": 7296,
- "end": 7297,
+ "start": 7461,
+ "end": 7462,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 78
},
"end": {
- "line": 178,
+ "line": 183,
"column": 79
}
}
@@ -51575,15 +52962,15 @@
"postfix": false,
"binop": null
},
- "start": 7297,
- "end": 7298,
+ "start": 7462,
+ "end": 7463,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 79
},
"end": {
- "line": 178,
+ "line": 183,
"column": 80
}
}
@@ -51602,15 +52989,15 @@
"updateContext": null
},
"value": "+",
- "start": 7299,
- "end": 7300,
+ "start": 7464,
+ "end": 7465,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 81
},
"end": {
- "line": 178,
+ "line": 183,
"column": 82
}
}
@@ -51629,15 +53016,15 @@
"updateContext": null
},
"value": "_HEALTH",
- "start": 7301,
- "end": 7310,
+ "start": 7466,
+ "end": 7475,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 83
},
"end": {
- "line": 178,
+ "line": 183,
"column": 92
}
}
@@ -51654,15 +53041,15 @@
"postfix": false,
"binop": null
},
- "start": 7310,
- "end": 7311,
+ "start": 7475,
+ "end": 7476,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 92
},
"end": {
- "line": 178,
+ "line": 183,
"column": 93
}
}
@@ -51680,15 +53067,15 @@
"binop": null,
"updateContext": null
},
- "start": 7311,
- "end": 7312,
+ "start": 7476,
+ "end": 7477,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 93
},
"end": {
- "line": 178,
+ "line": 183,
"column": 94
}
}
@@ -51706,15 +53093,15 @@
"binop": null
},
"value": "toUpperCase",
- "start": 7312,
- "end": 7323,
+ "start": 7477,
+ "end": 7488,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 94
},
"end": {
- "line": 178,
+ "line": 183,
"column": 105
}
}
@@ -51731,15 +53118,15 @@
"postfix": false,
"binop": null
},
- "start": 7323,
- "end": 7324,
+ "start": 7488,
+ "end": 7489,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 105
},
"end": {
- "line": 178,
+ "line": 183,
"column": 106
}
}
@@ -51756,15 +53143,15 @@
"postfix": false,
"binop": null
},
- "start": 7324,
- "end": 7325,
+ "start": 7489,
+ "end": 7490,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 106
},
"end": {
- "line": 178,
+ "line": 183,
"column": 107
}
}
@@ -51782,15 +53169,15 @@
"binop": null,
"updateContext": null
},
- "start": 7325,
- "end": 7326,
+ "start": 7490,
+ "end": 7491,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 107
},
"end": {
- "line": 178,
+ "line": 183,
"column": 108
}
}
@@ -51808,15 +53195,15 @@
"binop": null,
"updateContext": null
},
- "start": 7326,
- "end": 7327,
+ "start": 7491,
+ "end": 7492,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 108
},
"end": {
- "line": 178,
+ "line": 183,
"column": 109
}
}
@@ -51834,15 +53221,15 @@
"binop": null,
"updateContext": null
},
- "start": 7328,
- "end": 7329,
+ "start": 7493,
+ "end": 7494,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 110
},
"end": {
- "line": 178,
+ "line": 183,
"column": 111
}
}
@@ -51861,15 +53248,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 7329,
- "end": 7336,
+ "start": 7494,
+ "end": 7501,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 111
},
"end": {
- "line": 178,
+ "line": 183,
"column": 118
}
}
@@ -51887,15 +53274,15 @@
"binop": null,
"updateContext": null
},
- "start": 7336,
- "end": 7337,
+ "start": 7501,
+ "end": 7502,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 118
},
"end": {
- "line": 178,
+ "line": 183,
"column": 119
}
}
@@ -51913,15 +53300,15 @@
"binop": null
},
"value": "room",
- "start": 7338,
- "end": 7342,
+ "start": 7503,
+ "end": 7507,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 120
},
"end": {
- "line": 178,
+ "line": 183,
"column": 124
}
}
@@ -51939,15 +53326,15 @@
"binop": null,
"updateContext": null
},
- "start": 7342,
- "end": 7343,
+ "start": 7507,
+ "end": 7508,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 124
},
"end": {
- "line": 178,
+ "line": 183,
"column": 125
}
}
@@ -51966,15 +53353,15 @@
"updateContext": null
},
"value": "tiles",
- "start": 7344,
- "end": 7351,
+ "start": 7509,
+ "end": 7516,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 126
},
"end": {
- "line": 178,
+ "line": 183,
"column": 133
}
}
@@ -51992,15 +53379,15 @@
"binop": null,
"updateContext": null
},
- "start": 7351,
- "end": 7352,
+ "start": 7516,
+ "end": 7517,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 133
},
"end": {
- "line": 178,
+ "line": 183,
"column": 134
}
}
@@ -52018,15 +53405,15 @@
"binop": null
},
"value": "tileID",
- "start": 7353,
- "end": 7359,
+ "start": 7518,
+ "end": 7524,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 135
},
"end": {
- "line": 178,
+ "line": 183,
"column": 141
}
}
@@ -52044,15 +53431,15 @@
"binop": null,
"updateContext": null
},
- "start": 7359,
- "end": 7360,
+ "start": 7524,
+ "end": 7525,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 141
},
"end": {
- "line": 178,
+ "line": 183,
"column": 142
}
}
@@ -52071,15 +53458,15 @@
"updateContext": null
},
"value": "health",
- "start": 7361,
- "end": 7369,
+ "start": 7526,
+ "end": 7534,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 143
},
"end": {
- "line": 178,
+ "line": 183,
"column": 151
}
}
@@ -52097,15 +53484,15 @@
"binop": null,
"updateContext": null
},
- "start": 7369,
- "end": 7370,
+ "start": 7534,
+ "end": 7535,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 151
},
"end": {
- "line": 178,
+ "line": 183,
"column": 152
}
}
@@ -52122,15 +53509,15 @@
"postfix": false,
"binop": null
},
- "start": 7370,
- "end": 7371,
+ "start": 7535,
+ "end": 7536,
"loc": {
"start": {
- "line": 178,
+ "line": 183,
"column": 152
},
"end": {
- "line": 178,
+ "line": 183,
"column": 153
}
}
@@ -52150,15 +53537,15 @@
"updateContext": null
},
"value": "let",
- "start": 7376,
- "end": 7379,
+ "start": 7541,
+ "end": 7544,
"loc": {
"start": {
- "line": 179,
+ "line": 184,
"column": 4
},
"end": {
- "line": 179,
+ "line": 184,
"column": 7
}
}
@@ -52176,15 +53563,15 @@
"binop": null
},
"value": "hpData",
- "start": 7380,
- "end": 7386,
+ "start": 7545,
+ "end": 7551,
"loc": {
"start": {
- "line": 179,
+ "line": 184,
"column": 8
},
"end": {
- "line": 179,
+ "line": 184,
"column": 14
}
}
@@ -52203,15 +53590,15 @@
"updateContext": null
},
"value": "=",
- "start": 7387,
- "end": 7388,
+ "start": 7552,
+ "end": 7553,
"loc": {
"start": {
- "line": 179,
+ "line": 184,
"column": 15
},
"end": {
- "line": 179,
+ "line": 184,
"column": 16
}
}
@@ -52228,15 +53615,15 @@
"postfix": false,
"binop": null
},
- "start": 7389,
- "end": 7390,
+ "start": 7554,
+ "end": 7555,
"loc": {
"start": {
- "line": 179,
+ "line": 184,
"column": 17
},
"end": {
- "line": 179,
+ "line": 184,
"column": 18
}
}
@@ -52254,15 +53641,15 @@
"binop": null
},
"value": "newHealth",
- "start": 7396,
- "end": 7405,
+ "start": 7561,
+ "end": 7570,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 5
},
"end": {
- "line": 180,
+ "line": 185,
"column": 14
}
}
@@ -52280,15 +53667,15 @@
"binop": null,
"updateContext": null
},
- "start": 7405,
- "end": 7406,
+ "start": 7570,
+ "end": 7571,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 14
},
"end": {
- "line": 180,
+ "line": 185,
"column": 15
}
}
@@ -52306,15 +53693,15 @@
"binop": null
},
"value": "getField",
- "start": 7407,
- "end": 7415,
+ "start": 7572,
+ "end": 7580,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 16
},
"end": {
- "line": 180,
+ "line": 185,
"column": 24
}
}
@@ -52331,15 +53718,15 @@
"postfix": false,
"binop": null
},
- "start": 7415,
- "end": 7416,
+ "start": 7580,
+ "end": 7581,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 24
},
"end": {
- "line": 180,
+ "line": 185,
"column": 25
}
}
@@ -52357,15 +53744,15 @@
"binop": null,
"updateContext": null
},
- "start": 7416,
- "end": 7417,
+ "start": 7581,
+ "end": 7582,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 25
},
"end": {
- "line": 180,
+ "line": 185,
"column": 26
}
}
@@ -52384,15 +53771,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 7417,
- "end": 7424,
+ "start": 7582,
+ "end": 7589,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 26
},
"end": {
- "line": 180,
+ "line": 185,
"column": 33
}
}
@@ -52410,15 +53797,15 @@
"binop": null,
"updateContext": null
},
- "start": 7424,
- "end": 7425,
+ "start": 7589,
+ "end": 7590,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 33
},
"end": {
- "line": 180,
+ "line": 185,
"column": 34
}
}
@@ -52436,15 +53823,15 @@
"binop": null
},
"value": "room",
- "start": 7426,
- "end": 7430,
+ "start": 7591,
+ "end": 7595,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 35
},
"end": {
- "line": 180,
+ "line": 185,
"column": 39
}
}
@@ -52462,15 +53849,15 @@
"binop": null,
"updateContext": null
},
- "start": 7430,
- "end": 7431,
+ "start": 7595,
+ "end": 7596,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 39
},
"end": {
- "line": 180,
+ "line": 185,
"column": 40
}
}
@@ -52489,15 +53876,15 @@
"updateContext": null
},
"value": "tiles",
- "start": 7432,
- "end": 7439,
+ "start": 7597,
+ "end": 7604,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 41
},
"end": {
- "line": 180,
+ "line": 185,
"column": 48
}
}
@@ -52515,15 +53902,15 @@
"binop": null,
"updateContext": null
},
- "start": 7439,
- "end": 7440,
+ "start": 7604,
+ "end": 7605,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 48
},
"end": {
- "line": 180,
+ "line": 185,
"column": 49
}
}
@@ -52541,15 +53928,15 @@
"binop": null
},
"value": "tileID",
- "start": 7441,
- "end": 7447,
+ "start": 7606,
+ "end": 7612,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 50
},
"end": {
- "line": 180,
+ "line": 185,
"column": 56
}
}
@@ -52567,15 +53954,15 @@
"binop": null,
"updateContext": null
},
- "start": 7447,
- "end": 7448,
+ "start": 7612,
+ "end": 7613,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 56
},
"end": {
- "line": 180,
+ "line": 185,
"column": 57
}
}
@@ -52594,15 +53981,15 @@
"updateContext": null
},
"value": "health",
- "start": 7449,
- "end": 7457,
+ "start": 7614,
+ "end": 7622,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 58
},
"end": {
- "line": 180,
+ "line": 185,
"column": 66
}
}
@@ -52620,15 +54007,15 @@
"binop": null,
"updateContext": null
},
- "start": 7457,
- "end": 7458,
+ "start": 7622,
+ "end": 7623,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 66
},
"end": {
- "line": 180,
+ "line": 185,
"column": 67
}
}
@@ -52645,15 +54032,15 @@
"postfix": false,
"binop": null
},
- "start": 7458,
- "end": 7459,
+ "start": 7623,
+ "end": 7624,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 67
},
"end": {
- "line": 180,
+ "line": 185,
"column": 68
}
}
@@ -52671,15 +54058,15 @@
"binop": null,
"updateContext": null
},
- "start": 7459,
- "end": 7460,
+ "start": 7624,
+ "end": 7625,
"loc": {
"start": {
- "line": 180,
+ "line": 185,
"column": 68
},
"end": {
- "line": 180,
+ "line": 185,
"column": 69
}
}
@@ -52697,15 +54084,15 @@
"binop": null
},
"value": "tileX",
- "start": 7466,
- "end": 7471,
+ "start": 7631,
+ "end": 7636,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 5
},
"end": {
- "line": 181,
+ "line": 186,
"column": 10
}
}
@@ -52723,15 +54110,15 @@
"binop": null,
"updateContext": null
},
- "start": 7471,
- "end": 7472,
+ "start": 7636,
+ "end": 7637,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 10
},
"end": {
- "line": 181,
+ "line": 186,
"column": 11
}
}
@@ -52749,15 +54136,15 @@
"binop": null
},
"value": "getField",
- "start": 7473,
- "end": 7481,
+ "start": 7638,
+ "end": 7646,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 12
},
"end": {
- "line": 181,
+ "line": 186,
"column": 20
}
}
@@ -52774,15 +54161,15 @@
"postfix": false,
"binop": null
},
- "start": 7481,
- "end": 7482,
+ "start": 7646,
+ "end": 7647,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 20
},
"end": {
- "line": 181,
+ "line": 186,
"column": 21
}
}
@@ -52800,15 +54187,15 @@
"binop": null,
"updateContext": null
},
- "start": 7482,
- "end": 7483,
+ "start": 7647,
+ "end": 7648,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 21
},
"end": {
- "line": 181,
+ "line": 186,
"column": 22
}
}
@@ -52827,15 +54214,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 7483,
- "end": 7490,
+ "start": 7648,
+ "end": 7655,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 22
},
"end": {
- "line": 181,
+ "line": 186,
"column": 29
}
}
@@ -52853,15 +54240,15 @@
"binop": null,
"updateContext": null
},
- "start": 7490,
- "end": 7491,
+ "start": 7655,
+ "end": 7656,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 29
},
"end": {
- "line": 181,
+ "line": 186,
"column": 30
}
}
@@ -52879,15 +54266,15 @@
"binop": null
},
"value": "room",
- "start": 7492,
- "end": 7496,
+ "start": 7657,
+ "end": 7661,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 31
},
"end": {
- "line": 181,
+ "line": 186,
"column": 35
}
}
@@ -52905,15 +54292,15 @@
"binop": null,
"updateContext": null
},
- "start": 7496,
- "end": 7497,
+ "start": 7661,
+ "end": 7662,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 35
},
"end": {
- "line": 181,
+ "line": 186,
"column": 36
}
}
@@ -52932,15 +54319,15 @@
"updateContext": null
},
"value": "tiles",
- "start": 7498,
- "end": 7505,
+ "start": 7663,
+ "end": 7670,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 37
},
"end": {
- "line": 181,
+ "line": 186,
"column": 44
}
}
@@ -52958,15 +54345,15 @@
"binop": null,
"updateContext": null
},
- "start": 7505,
- "end": 7506,
+ "start": 7670,
+ "end": 7671,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 44
},
"end": {
- "line": 181,
+ "line": 186,
"column": 45
}
}
@@ -52984,15 +54371,15 @@
"binop": null
},
"value": "tileID",
- "start": 7507,
- "end": 7513,
+ "start": 7672,
+ "end": 7678,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 46
},
"end": {
- "line": 181,
+ "line": 186,
"column": 52
}
}
@@ -53010,15 +54397,15 @@
"binop": null,
"updateContext": null
},
- "start": 7513,
- "end": 7514,
+ "start": 7678,
+ "end": 7679,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 52
},
"end": {
- "line": 181,
+ "line": 186,
"column": 53
}
}
@@ -53037,15 +54424,15 @@
"updateContext": null
},
"value": "globalX",
- "start": 7515,
- "end": 7524,
+ "start": 7680,
+ "end": 7689,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 54
},
"end": {
- "line": 181,
+ "line": 186,
"column": 63
}
}
@@ -53063,15 +54450,15 @@
"binop": null,
"updateContext": null
},
- "start": 7524,
- "end": 7525,
+ "start": 7689,
+ "end": 7690,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 63
},
"end": {
- "line": 181,
+ "line": 186,
"column": 64
}
}
@@ -53088,15 +54475,15 @@
"postfix": false,
"binop": null
},
- "start": 7525,
- "end": 7526,
+ "start": 7690,
+ "end": 7691,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 64
},
"end": {
- "line": 181,
+ "line": 186,
"column": 65
}
}
@@ -53114,15 +54501,15 @@
"binop": null,
"updateContext": null
},
- "start": 7526,
- "end": 7527,
+ "start": 7691,
+ "end": 7692,
"loc": {
"start": {
- "line": 181,
+ "line": 186,
"column": 65
},
"end": {
- "line": 181,
+ "line": 186,
"column": 66
}
}
@@ -53140,15 +54527,15 @@
"binop": null
},
"value": "tileY",
- "start": 7533,
- "end": 7538,
+ "start": 7698,
+ "end": 7703,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 5
},
"end": {
- "line": 182,
+ "line": 187,
"column": 10
}
}
@@ -53166,15 +54553,15 @@
"binop": null,
"updateContext": null
},
- "start": 7538,
- "end": 7539,
+ "start": 7703,
+ "end": 7704,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 10
},
"end": {
- "line": 182,
+ "line": 187,
"column": 11
}
}
@@ -53192,15 +54579,15 @@
"binop": null
},
"value": "getField",
- "start": 7540,
- "end": 7548,
+ "start": 7705,
+ "end": 7713,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 12
},
"end": {
- "line": 182,
+ "line": 187,
"column": 20
}
}
@@ -53217,15 +54604,15 @@
"postfix": false,
"binop": null
},
- "start": 7548,
- "end": 7549,
+ "start": 7713,
+ "end": 7714,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 20
},
"end": {
- "line": 182,
+ "line": 187,
"column": 21
}
}
@@ -53243,15 +54630,15 @@
"binop": null,
"updateContext": null
},
- "start": 7549,
- "end": 7550,
+ "start": 7714,
+ "end": 7715,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 21
},
"end": {
- "line": 182,
+ "line": 187,
"column": 22
}
}
@@ -53270,15 +54657,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 7550,
- "end": 7557,
+ "start": 7715,
+ "end": 7722,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 22
},
"end": {
- "line": 182,
+ "line": 187,
"column": 29
}
}
@@ -53296,15 +54683,15 @@
"binop": null,
"updateContext": null
},
- "start": 7557,
- "end": 7558,
+ "start": 7722,
+ "end": 7723,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 29
},
"end": {
- "line": 182,
+ "line": 187,
"column": 30
}
}
@@ -53322,15 +54709,15 @@
"binop": null
},
"value": "room",
- "start": 7559,
- "end": 7563,
+ "start": 7724,
+ "end": 7728,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 31
},
"end": {
- "line": 182,
+ "line": 187,
"column": 35
}
}
@@ -53348,15 +54735,15 @@
"binop": null,
"updateContext": null
},
- "start": 7563,
- "end": 7564,
+ "start": 7728,
+ "end": 7729,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 35
},
"end": {
- "line": 182,
+ "line": 187,
"column": 36
}
}
@@ -53375,15 +54762,15 @@
"updateContext": null
},
"value": "tiles",
- "start": 7565,
- "end": 7572,
+ "start": 7730,
+ "end": 7737,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 37
},
"end": {
- "line": 182,
+ "line": 187,
"column": 44
}
}
@@ -53401,15 +54788,15 @@
"binop": null,
"updateContext": null
},
- "start": 7572,
- "end": 7573,
+ "start": 7737,
+ "end": 7738,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 44
},
"end": {
- "line": 182,
+ "line": 187,
"column": 45
}
}
@@ -53427,15 +54814,15 @@
"binop": null
},
"value": "tileID",
- "start": 7574,
- "end": 7580,
+ "start": 7739,
+ "end": 7745,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 46
},
"end": {
- "line": 182,
+ "line": 187,
"column": 52
}
}
@@ -53453,15 +54840,15 @@
"binop": null,
"updateContext": null
},
- "start": 7580,
- "end": 7581,
+ "start": 7745,
+ "end": 7746,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 52
},
"end": {
- "line": 182,
+ "line": 187,
"column": 53
}
}
@@ -53480,15 +54867,15 @@
"updateContext": null
},
"value": "globalY",
- "start": 7582,
- "end": 7591,
+ "start": 7747,
+ "end": 7756,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 54
},
"end": {
- "line": 182,
+ "line": 187,
"column": 63
}
}
@@ -53506,15 +54893,15 @@
"binop": null,
"updateContext": null
},
- "start": 7591,
- "end": 7592,
+ "start": 7756,
+ "end": 7757,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 63
},
"end": {
- "line": 182,
+ "line": 187,
"column": 64
}
}
@@ -53531,15 +54918,15 @@
"postfix": false,
"binop": null
},
- "start": 7592,
- "end": 7593,
+ "start": 7757,
+ "end": 7758,
"loc": {
"start": {
- "line": 182,
+ "line": 187,
"column": 64
},
"end": {
- "line": 182,
+ "line": 187,
"column": 65
}
}
@@ -53556,15 +54943,15 @@
"postfix": false,
"binop": null
},
- "start": 7598,
- "end": 7599,
+ "start": 7763,
+ "end": 7764,
"loc": {
"start": {
- "line": 183,
+ "line": 188,
"column": 4
},
"end": {
- "line": 183,
+ "line": 188,
"column": 5
}
}
@@ -53582,15 +54969,15 @@
"binop": null
},
"value": "socket",
- "start": 7604,
- "end": 7610,
+ "start": 7769,
+ "end": 7775,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 4
},
"end": {
- "line": 184,
+ "line": 189,
"column": 10
}
}
@@ -53608,15 +54995,15 @@
"binop": null,
"updateContext": null
},
- "start": 7610,
- "end": 7611,
+ "start": 7775,
+ "end": 7776,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 10
},
"end": {
- "line": 184,
+ "line": 189,
"column": 11
}
}
@@ -53634,15 +55021,15 @@
"binop": null
},
"value": "to",
- "start": 7611,
- "end": 7613,
+ "start": 7776,
+ "end": 7778,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 11
},
"end": {
- "line": 184,
+ "line": 189,
"column": 13
}
}
@@ -53659,15 +55046,15 @@
"postfix": false,
"binop": null
},
- "start": 7613,
- "end": 7614,
+ "start": 7778,
+ "end": 7779,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 13
},
"end": {
- "line": 184,
+ "line": 189,
"column": 14
}
}
@@ -53685,15 +55072,15 @@
"binop": null
},
"value": "room",
- "start": 7614,
- "end": 7618,
+ "start": 7779,
+ "end": 7783,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 14
},
"end": {
- "line": 184,
+ "line": 189,
"column": 18
}
}
@@ -53710,15 +55097,15 @@
"postfix": false,
"binop": null
},
- "start": 7618,
- "end": 7619,
+ "start": 7783,
+ "end": 7784,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 18
},
"end": {
- "line": 184,
+ "line": 189,
"column": 19
}
}
@@ -53736,15 +55123,15 @@
"binop": null,
"updateContext": null
},
- "start": 7619,
- "end": 7620,
+ "start": 7784,
+ "end": 7785,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 19
},
"end": {
- "line": 184,
+ "line": 189,
"column": 20
}
}
@@ -53762,15 +55149,15 @@
"binop": null
},
"value": "emit",
- "start": 7620,
- "end": 7624,
+ "start": 7785,
+ "end": 7789,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 20
},
"end": {
- "line": 184,
+ "line": 189,
"column": 24
}
}
@@ -53787,15 +55174,15 @@
"postfix": false,
"binop": null
},
- "start": 7624,
- "end": 7625,
+ "start": 7789,
+ "end": 7790,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 24
},
"end": {
- "line": 184,
+ "line": 189,
"column": 25
}
}
@@ -53814,15 +55201,15 @@
"updateContext": null
},
"value": "serverSendTileHealth",
- "start": 7625,
- "end": 7647,
+ "start": 7790,
+ "end": 7812,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 25
},
"end": {
- "line": 184,
+ "line": 189,
"column": 47
}
}
@@ -53840,15 +55227,15 @@
"binop": null,
"updateContext": null
},
- "start": 7647,
- "end": 7648,
+ "start": 7812,
+ "end": 7813,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 47
},
"end": {
- "line": 184,
+ "line": 189,
"column": 48
}
}
@@ -53866,15 +55253,15 @@
"binop": null
},
"value": "hpData",
- "start": 7649,
- "end": 7655,
+ "start": 7814,
+ "end": 7820,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 49
},
"end": {
- "line": 184,
+ "line": 189,
"column": 55
}
}
@@ -53891,15 +55278,15 @@
"postfix": false,
"binop": null
},
- "start": 7655,
- "end": 7656,
+ "start": 7820,
+ "end": 7821,
"loc": {
"start": {
- "line": 184,
+ "line": 189,
"column": 55
},
"end": {
- "line": 184,
+ "line": 189,
"column": 56
}
}
@@ -53917,15 +55304,15 @@
"binop": null
},
"value": "socket",
- "start": 7661,
- "end": 7667,
+ "start": 7826,
+ "end": 7832,
"loc": {
"start": {
- "line": 185,
+ "line": 190,
"column": 4
},
"end": {
- "line": 185,
+ "line": 190,
"column": 10
}
}
@@ -53943,15 +55330,15 @@
"binop": null,
"updateContext": null
},
- "start": 7667,
- "end": 7668,
+ "start": 7832,
+ "end": 7833,
"loc": {
"start": {
- "line": 185,
+ "line": 190,
"column": 10
},
"end": {
- "line": 185,
+ "line": 190,
"column": 11
}
}
@@ -53969,15 +55356,15 @@
"binop": null
},
"value": "emit",
- "start": 7668,
- "end": 7672,
+ "start": 7833,
+ "end": 7837,
"loc": {
"start": {
- "line": 185,
+ "line": 190,
"column": 11
},
"end": {
- "line": 185,
+ "line": 190,
"column": 15
}
}
@@ -53994,15 +55381,15 @@
"postfix": false,
"binop": null
},
- "start": 7672,
- "end": 7673,
+ "start": 7837,
+ "end": 7838,
"loc": {
"start": {
- "line": 185,
+ "line": 190,
"column": 15
},
"end": {
- "line": 185,
+ "line": 190,
"column": 16
}
}
@@ -54021,15 +55408,15 @@
"updateContext": null
},
"value": "serverSendTileHealth",
- "start": 7673,
- "end": 7695,
+ "start": 7838,
+ "end": 7860,
"loc": {
"start": {
- "line": 185,
+ "line": 190,
"column": 16
},
"end": {
- "line": 185,
+ "line": 190,
"column": 38
}
}
@@ -54047,15 +55434,15 @@
"binop": null,
"updateContext": null
},
- "start": 7695,
- "end": 7696,
+ "start": 7860,
+ "end": 7861,
"loc": {
"start": {
- "line": 185,
+ "line": 190,
"column": 38
},
"end": {
- "line": 185,
+ "line": 190,
"column": 39
}
}
@@ -54073,15 +55460,15 @@
"binop": null
},
"value": "hpData",
- "start": 7697,
- "end": 7703,
+ "start": 7862,
+ "end": 7868,
"loc": {
"start": {
- "line": 185,
+ "line": 190,
"column": 40
},
"end": {
- "line": 185,
+ "line": 190,
"column": 46
}
}
@@ -54098,15 +55485,15 @@
"postfix": false,
"binop": null
},
- "start": 7703,
- "end": 7704,
+ "start": 7868,
+ "end": 7869,
"loc": {
"start": {
- "line": 185,
+ "line": 190,
"column": 46
},
"end": {
- "line": 185,
+ "line": 190,
"column": 47
}
}
@@ -54126,15 +55513,15 @@
"updateContext": null
},
"value": "return",
- "start": 7709,
- "end": 7715,
+ "start": 7874,
+ "end": 7880,
"loc": {
"start": {
- "line": 186,
+ "line": 191,
"column": 4
},
"end": {
- "line": 186,
+ "line": 191,
"column": 10
}
}
@@ -54154,15 +55541,15 @@
"updateContext": null
},
"value": "true",
- "start": 7716,
- "end": 7720,
+ "start": 7881,
+ "end": 7885,
"loc": {
"start": {
- "line": 186,
+ "line": 191,
"column": 11
},
"end": {
- "line": 186,
+ "line": 191,
"column": 15
}
}
@@ -54179,15 +55566,15 @@
"postfix": false,
"binop": null
},
- "start": 7724,
- "end": 7725,
+ "start": 7889,
+ "end": 7890,
"loc": {
"start": {
- "line": 187,
+ "line": 192,
"column": 3
},
"end": {
- "line": 187,
+ "line": 192,
"column": 4
}
}
@@ -54204,15 +55591,15 @@
"postfix": false,
"binop": null
},
- "start": 7728,
- "end": 7729,
+ "start": 7893,
+ "end": 7894,
"loc": {
"start": {
- "line": 188,
+ "line": 193,
"column": 2
},
"end": {
- "line": 188,
+ "line": 193,
"column": 3
}
}
@@ -54229,15 +55616,15 @@
"postfix": false,
"binop": null
},
- "start": 7731,
- "end": 7732,
+ "start": 7896,
+ "end": 7897,
"loc": {
"start": {
- "line": 189,
+ "line": 194,
"column": 1
},
"end": {
- "line": 189,
+ "line": 194,
"column": 2
}
}
@@ -54254,15 +55641,15 @@
"postfix": false,
"binop": null
},
- "start": 7733,
- "end": 7734,
+ "start": 7898,
+ "end": 7899,
"loc": {
"start": {
- "line": 190,
+ "line": 195,
"column": 0
},
"end": {
- "line": 190,
+ "line": 195,
"column": 1
}
}
@@ -54270,15 +55657,15 @@
{
"type": "CommentBlock",
"value": "*\n * TODO\n ",
- "start": 7736,
- "end": 7751,
+ "start": 7901,
+ "end": 7916,
"loc": {
"start": {
- "line": 192,
+ "line": 197,
"column": 0
},
"end": {
- "line": 194,
+ "line": 199,
"column": 3
}
}
@@ -54298,15 +55685,15 @@
"updateContext": null
},
"value": "export",
- "start": 7752,
- "end": 7758,
+ "start": 7917,
+ "end": 7923,
"loc": {
"start": {
- "line": 195,
+ "line": 200,
"column": 0
},
"end": {
- "line": 195,
+ "line": 200,
"column": 6
}
}
@@ -54325,15 +55712,15 @@
"binop": null
},
"value": "function",
- "start": 7759,
- "end": 7767,
+ "start": 7924,
+ "end": 7932,
"loc": {
"start": {
- "line": 195,
+ "line": 200,
"column": 7
},
"end": {
- "line": 195,
+ "line": 200,
"column": 15
}
}
@@ -54351,15 +55738,15 @@
"binop": null
},
"value": "splash",
- "start": 7768,
- "end": 7774,
+ "start": 7933,
+ "end": 7939,
"loc": {
"start": {
- "line": 195,
+ "line": 200,
"column": 16
},
"end": {
- "line": 195,
+ "line": 200,
"column": 22
}
}
@@ -54376,15 +55763,15 @@
"postfix": false,
"binop": null
},
- "start": 7775,
- "end": 7776,
+ "start": 7940,
+ "end": 7941,
"loc": {
"start": {
- "line": 195,
+ "line": 200,
"column": 23
},
"end": {
- "line": 195,
+ "line": 200,
"column": 24
}
}
@@ -54401,15 +55788,15 @@
"postfix": false,
"binop": null
},
- "start": 7776,
- "end": 7777,
+ "start": 7941,
+ "end": 7942,
"loc": {
"start": {
- "line": 195,
+ "line": 200,
"column": 24
},
"end": {
- "line": 195,
+ "line": 200,
"column": 25
}
}
@@ -54426,15 +55813,15 @@
"postfix": false,
"binop": null
},
- "start": 7778,
- "end": 7779,
+ "start": 7943,
+ "end": 7944,
"loc": {
"start": {
- "line": 195,
+ "line": 200,
"column": 26
},
"end": {
- "line": 195,
+ "line": 200,
"column": 27
}
}
@@ -54451,15 +55838,15 @@
"postfix": false,
"binop": null
},
- "start": 7781,
- "end": 7782,
+ "start": 7946,
+ "end": 7947,
"loc": {
"start": {
- "line": 197,
+ "line": 202,
"column": 0
},
"end": {
- "line": 197,
+ "line": 202,
"column": 1
}
}
@@ -54477,15 +55864,15 @@
"binop": null,
"updateContext": null
},
- "start": 7783,
- "end": 7783,
+ "start": 7948,
+ "end": 7948,
"loc": {
"start": {
- "line": 198,
+ "line": 203,
"column": 0
},
"end": {
- "line": 198,
+ "line": 203,
"column": 0
}
}
diff --git a/docs/ast/source/server/utils/serverinit.js.json b/docs/ast/source/server/utils/serverinit.js.json
index d220cd6..808db37 100644
--- a/docs/ast/source/server/utils/serverinit.js.json
+++ b/docs/ast/source/server/utils/serverinit.js.json
@@ -1,28 +1,28 @@
{
"type": "File",
"start": 0,
- "end": 4333,
+ "end": 4346,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
- "line": 131,
+ "line": 132,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
- "end": 4333,
+ "end": 4346,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
- "line": 131,
+ "line": 132,
"column": 0
}
},
@@ -4008,14 +4008,14 @@
{
"type": "ExportNamedDeclaration",
"start": 1915,
- "end": 4332,
+ "end": 4345,
"loc": {
"start": {
"line": 59,
"column": 0
},
"end": {
- "line": 130,
+ "line": 131,
"column": 1
}
},
@@ -4024,14 +4024,14 @@
"declaration": {
"type": "FunctionDeclaration",
"start": 1922,
- "end": 4332,
+ "end": 4345,
"loc": {
"start": {
"line": 59,
"column": 7
},
"end": {
- "line": 130,
+ "line": 131,
"column": 1
}
},
@@ -4112,14 +4112,14 @@
"body": {
"type": "BlockStatement",
"start": 1963,
- "end": 4332,
+ "end": 4345,
"loc": {
"start": {
"line": 59,
"column": 48
},
"end": {
- "line": 130,
+ "line": 131,
"column": 1
}
},
@@ -9519,28 +9519,28 @@
{
"type": "ExpressionStatement",
"start": 3924,
- "end": 4330,
+ "end": 4343,
"loc": {
"start": {
"line": 117,
"column": 1
},
"end": {
- "line": 129,
+ "line": 130,
"column": 42
}
},
"expression": {
"type": "CallExpression",
"start": 3924,
- "end": 4330,
+ "end": 4343,
"loc": {
"start": {
"line": 117,
"column": 1
},
"end": {
- "line": 129,
+ "line": 130,
"column": 42
}
},
@@ -9566,14 +9566,14 @@
{
"type": "ObjectExpression",
"start": 3933,
- "end": 4290,
+ "end": 4303,
"loc": {
"start": {
"line": 117,
"column": 10
},
"end": {
- "line": 129,
+ "line": 130,
"column": 2
}
},
@@ -11027,35 +11027,90 @@
},
"properties": []
}
+ },
+ {
+ "type": "ObjectProperty",
+ "start": 4291,
+ "end": 4300,
+ "loc": {
+ "start": {
+ "line": 129,
+ "column": 2
+ },
+ "end": {
+ "line": 129,
+ "column": 11
+ }
+ },
+ "method": false,
+ "shorthand": false,
+ "computed": false,
+ "key": {
+ "type": "Identifier",
+ "start": 4291,
+ "end": 4297,
+ "loc": {
+ "start": {
+ "line": 129,
+ "column": 2
+ },
+ "end": {
+ "line": 129,
+ "column": 8
+ },
+ "identifierName": "shield"
+ },
+ "name": "shield"
+ },
+ "value": {
+ "type": "NumericLiteral",
+ "start": 4299,
+ "end": 4300,
+ "loc": {
+ "start": {
+ "line": 129,
+ "column": 10
+ },
+ "end": {
+ "line": 129,
+ "column": 11
+ }
+ },
+ "extra": {
+ "rawValue": 0,
+ "raw": "0"
+ },
+ "value": 0
+ }
}
]
},
{
"type": "ArrayExpression",
- "start": 4292,
- "end": 4329,
+ "start": 4305,
+ "end": 4342,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 4
},
"end": {
- "line": 129,
+ "line": 130,
"column": 41
}
},
"elements": [
{
"type": "StringLiteral",
- "start": 4293,
- "end": 4300,
+ "start": 4306,
+ "end": 4313,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 5
},
"end": {
- "line": 129,
+ "line": 130,
"column": 12
}
},
@@ -11067,15 +11122,15 @@
},
{
"type": "Identifier",
- "start": 4302,
- "end": 4306,
+ "start": 4315,
+ "end": 4319,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 14
},
"end": {
- "line": 129,
+ "line": 130,
"column": 18
},
"identifierName": "room"
@@ -11084,15 +11139,15 @@
},
{
"type": "StringLiteral",
- "start": 4308,
- "end": 4317,
+ "start": 4321,
+ "end": 4330,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 20
},
"end": {
- "line": 129,
+ "line": 130,
"column": 29
}
},
@@ -11104,29 +11159,29 @@
},
{
"type": "MemberExpression",
- "start": 4319,
- "end": 4328,
+ "start": 4332,
+ "end": 4341,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 31
},
"end": {
- "line": 129,
+ "line": 130,
"column": 40
}
},
"object": {
"type": "Identifier",
- "start": 4319,
- "end": 4325,
+ "start": 4332,
+ "end": 4338,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 31
},
"end": {
- "line": 129,
+ "line": 130,
"column": 37
},
"identifierName": "socket"
@@ -11135,15 +11190,15 @@
},
"property": {
"type": "Identifier",
- "start": 4326,
- "end": 4328,
+ "start": 4339,
+ "end": 4341,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 38
},
"end": {
- "line": 129,
+ "line": 130,
"column": 40
},
"identifierName": "id"
@@ -32886,6 +32941,111 @@
}
}
},
+ {
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 4287,
+ "end": 4288,
+ "loc": {
+ "start": {
+ "line": 128,
+ "column": 15
+ },
+ "end": {
+ "line": 128,
+ "column": 16
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "shield",
+ "start": 4291,
+ "end": 4297,
+ "loc": {
+ "start": {
+ "line": 129,
+ "column": 2
+ },
+ "end": {
+ "line": 129,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ":",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 4297,
+ "end": 4298,
+ "loc": {
+ "start": {
+ "line": 129,
+ "column": 8
+ },
+ "end": {
+ "line": 129,
+ "column": 9
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "num",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": 0,
+ "start": 4299,
+ "end": 4300,
+ "loc": {
+ "start": {
+ "line": 129,
+ "column": 10
+ },
+ "end": {
+ "line": 129,
+ "column": 11
+ }
+ }
+ },
{
"type": {
"label": "}",
@@ -32898,15 +33058,15 @@
"postfix": false,
"binop": null
},
- "start": 4289,
- "end": 4290,
+ "start": 4302,
+ "end": 4303,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 1
},
"end": {
- "line": 129,
+ "line": 130,
"column": 2
}
}
@@ -32924,15 +33084,15 @@
"binop": null,
"updateContext": null
},
- "start": 4290,
- "end": 4291,
+ "start": 4303,
+ "end": 4304,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 2
},
"end": {
- "line": 129,
+ "line": 130,
"column": 3
}
}
@@ -32950,15 +33110,15 @@
"binop": null,
"updateContext": null
},
- "start": 4292,
- "end": 4293,
+ "start": 4305,
+ "end": 4306,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 4
},
"end": {
- "line": 129,
+ "line": 130,
"column": 5
}
}
@@ -32977,15 +33137,15 @@
"updateContext": null
},
"value": "rooms",
- "start": 4293,
- "end": 4300,
+ "start": 4306,
+ "end": 4313,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 5
},
"end": {
- "line": 129,
+ "line": 130,
"column": 12
}
}
@@ -33003,15 +33163,15 @@
"binop": null,
"updateContext": null
},
- "start": 4300,
- "end": 4301,
+ "start": 4313,
+ "end": 4314,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 12
},
"end": {
- "line": 129,
+ "line": 130,
"column": 13
}
}
@@ -33029,15 +33189,15 @@
"binop": null
},
"value": "room",
- "start": 4302,
- "end": 4306,
+ "start": 4315,
+ "end": 4319,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 14
},
"end": {
- "line": 129,
+ "line": 130,
"column": 18
}
}
@@ -33055,15 +33215,15 @@
"binop": null,
"updateContext": null
},
- "start": 4306,
- "end": 4307,
+ "start": 4319,
+ "end": 4320,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 18
},
"end": {
- "line": 129,
+ "line": 130,
"column": 19
}
}
@@ -33082,15 +33242,15 @@
"updateContext": null
},
"value": "players",
- "start": 4308,
- "end": 4317,
+ "start": 4321,
+ "end": 4330,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 20
},
"end": {
- "line": 129,
+ "line": 130,
"column": 29
}
}
@@ -33108,15 +33268,15 @@
"binop": null,
"updateContext": null
},
- "start": 4317,
- "end": 4318,
+ "start": 4330,
+ "end": 4331,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 29
},
"end": {
- "line": 129,
+ "line": 130,
"column": 30
}
}
@@ -33134,15 +33294,15 @@
"binop": null
},
"value": "socket",
- "start": 4319,
- "end": 4325,
+ "start": 4332,
+ "end": 4338,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 31
},
"end": {
- "line": 129,
+ "line": 130,
"column": 37
}
}
@@ -33160,15 +33320,15 @@
"binop": null,
"updateContext": null
},
- "start": 4325,
- "end": 4326,
+ "start": 4338,
+ "end": 4339,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 37
},
"end": {
- "line": 129,
+ "line": 130,
"column": 38
}
}
@@ -33186,15 +33346,15 @@
"binop": null
},
"value": "id",
- "start": 4326,
- "end": 4328,
+ "start": 4339,
+ "end": 4341,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 38
},
"end": {
- "line": 129,
+ "line": 130,
"column": 40
}
}
@@ -33212,15 +33372,15 @@
"binop": null,
"updateContext": null
},
- "start": 4328,
- "end": 4329,
+ "start": 4341,
+ "end": 4342,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 40
},
"end": {
- "line": 129,
+ "line": 130,
"column": 41
}
}
@@ -33237,15 +33397,15 @@
"postfix": false,
"binop": null
},
- "start": 4329,
- "end": 4330,
+ "start": 4342,
+ "end": 4343,
"loc": {
"start": {
- "line": 129,
+ "line": 130,
"column": 41
},
"end": {
- "line": 129,
+ "line": 130,
"column": 42
}
}
@@ -33262,15 +33422,15 @@
"postfix": false,
"binop": null
},
- "start": 4331,
- "end": 4332,
+ "start": 4344,
+ "end": 4345,
"loc": {
"start": {
- "line": 130,
+ "line": 131,
"column": 0
},
"end": {
- "line": 130,
+ "line": 131,
"column": 1
}
}
@@ -33288,15 +33448,15 @@
"binop": null,
"updateContext": null
},
- "start": 4333,
- "end": 4333,
+ "start": 4346,
+ "end": 4346,
"loc": {
"start": {
- "line": 131,
+ "line": 132,
"column": 0
},
"end": {
- "line": 131,
+ "line": 132,
"column": 0
}
}
diff --git a/docs/class/src/client/js/obj/player.js~Player.html b/docs/class/src/client/js/obj/player.js~Player.html
index 72566f8..ec30a21 100644
--- a/docs/class/src/client/js/obj/player.js~Player.html
+++ b/docs/class/src/client/js/obj/player.js~Player.html
@@ -259,7 +259,7 @@ Player
- hasShield: boolean
+ health: *
@@ -1421,18 +1421,18 @@
-
+
@@ -1464,18 +1464,18 @@
-
+
public
- health: *
+ height: *
- source
+ source
@@ -1507,18 +1507,18 @@
-
+
@@ -1550,18 +1550,18 @@
-
+
@@ -1593,18 +1593,18 @@
-
+
public
- name: *
+ playerSprite: *
- source
+ source
@@ -1636,18 +1636,18 @@
-
+
public
- playerSprite: *
+ room: *
- source
+ source
@@ -1679,18 +1679,18 @@
-
+
@@ -2033,11 +2033,11 @@
- changeSprite(hasShield: boolean, stronghold: string)
+ changeSprite(shield: number, stronghold: string)
- source
+ source
@@ -2058,10 +2058,10 @@ Params:
- hasShield |
- boolean |
+ shield |
+ number |
|
- True if the player has shield from an element
+ | Number of extra defense points from buffs, elements, etc.
|
@@ -2149,7 +2149,7 @@
diff --git a/docs/coverage.json b/docs/coverage.json
index 0897647..c1260c8 100644
--- a/docs/coverage.json
+++ b/docs/coverage.json
@@ -23,7 +23,7 @@
"actualCount": 3,
"undocumentLines": [
4,
- 175
+ 176
]
},
"src/client/js/lib/chat-client.js": {
@@ -210,7 +210,7 @@
"expectCount": 3,
"actualCount": 2,
"undocumentLines": [
- 139
+ 144
]
},
"src/server/utils/serverinit.js": {
diff --git a/docs/file/src/client/js/global.js.html b/docs/file/src/client/js/global.js.html
index 8a75e9e..1958c4b 100644
--- a/docs/file/src/client/js/global.js.html
+++ b/docs/file/src/client/js/global.js.html
@@ -199,6 +199,7 @@
MAX_STRONGHOLD_HEALTH: 200,
MAX_NUCLEUS_HEALTH: 300,
STRONGHOLD_RADIUS: 100,
+ STRONGHOLD_DEFENSE: 5,
// Drawing
DRAW_RADIUS: 1000, // Radius around player in which to draw other objects
diff --git a/docs/file/src/client/js/obj/blueprints.js.html b/docs/file/src/client/js/obj/blueprints.js.html
index 33bffc6..a78f01e 100644
--- a/docs/file/src/client/js/obj/blueprints.js.html
+++ b/docs/file/src/client/js/obj/blueprints.js.html
@@ -321,7 +321,7 @@
texture: 'compound_ozone.png',
type: 'defense',
params: {
- defenseModifier: 10
+ defenseModifier: 1
},
atoms: {
o: 3
diff --git a/docs/file/src/client/js/obj/player.js.html b/docs/file/src/client/js/obj/player.js.html
index 17ae7a4..5313d17 100644
--- a/docs/file/src/client/js/obj/player.js.html
+++ b/docs/file/src/client/js/obj/player.js.html
@@ -157,7 +157,7 @@
this.isMoving = false
this.experience = experience // Sets the experience of the player(Passed in)
this.speedMult = 1 // Speed multiplier. Increased/decreased by different compounds
- this.hasShield = false
+ this.shield = 0
this.stronghold = 'none'
this.damagedBy = {} // Object containing the values of damage that each player has dealt.
@@ -177,6 +177,7 @@
this.textObjects.postext = new PIXI.Text('placeholderpos')
this.textObjects.teamtext = new PIXI.Text('team: ')
this.textObjects.healthtext = new PIXI.Text('health: ')
+ this.textObjects.defensetext = new PIXI.Text('defense: ')
// Assign values and positions
this.textObjects.idtext.position.set(0, GLOBAL.PLAYER_RADIUS * 9)
@@ -186,6 +187,8 @@
this.textObjects.postext.position.set(0, GLOBAL.PLAYER_RADIUS * 9 + 200)
this.textObjects.teamtext.text += this.team
this.textObjects.teamtext.position.set(0, GLOBAL.PLAYER_RADIUS * 9 + 300)
+ this.textObjects.defensetext.text += this.shield
+ this.textObjects.defensetext.position.set(0, GLOBAL.PLAYER_RADIUS * 9 + 400)
// create text and assign color
for (let item in this.textObjects) {
@@ -216,6 +219,7 @@
// Update text
this.textObjects.postext.text = '(' + Math.round(this.posX) + ', ' + Math.round(this.posY) + ')'
this.textObjects.healthtext.text = 'health: ' + this.health
+ this.textObjects.defensetext.text = 'defense: ' + this.shield + ((this.stronghold === 'team') ? ' (+5)' : '')
// Rotation
this.playerSprite.rotation += (this.id === socket.id && mouseDown) ? GLOBAL.PLAYER_EXPEDITED_ROTATION : GLOBAL.PLAYER_ROTATION
@@ -228,16 +232,16 @@
/**
* Notifies the player to check for a sprite change (shield, etc).
- * @param {boolean} hasShield True if the player has shield from an element
+ * @param {number} shield Number of extra defense points from buffs, elements, etc.
* @param {string} stronghold 'team' if player is in team stronghold, 'notteam' if player is in enemy stronghold, 'none', if not in a stronghold
*/
- changeSprite(hasShield, stronghold) {
+ changeSprite(shield, stronghold) {
// Set values
- this.hasShield = hasShield
+ this.shield = shield
this.stronghold = stronghold
// Set sprite
- if (this.hasShield || this.stronghold === 'team') {
+ if (this.shield > 0 || this.stronghold === 'team') {
this.playerSprite.texture = spritesheet.textures[teamColors[this.team] + 'playershield.png']
}
else {
diff --git a/docs/file/src/client/js/socket.js.html b/docs/file/src/client/js/socket.js.html
index bdda207..86b295e 100644
--- a/docs/file/src/client/js/socket.js.html
+++ b/docs/file/src/client/js/socket.js.html
@@ -248,12 +248,12 @@
objects[objType][obj].atomList = objRef.atomList
objects[objType][obj].speedMult = objRef.speedMult
- if (objects[objType][obj].hasShield !== objRef.hasShield || objects[objType][obj].stronghold !== objRef.stronghold) {
- objects[objType][obj].changeSprite(objRef.hasShield, objRef.stronghold)
+ if (objects[objType][obj].shield !== objRef.shield || objects[objType][obj].stronghold !== objRef.stronghold) {
+ objects[objType][obj].changeSprite(objRef.shield, objRef.stronghold)
console.log('change tex')
}
- objects[objType][obj].hasShield = objRef.hasShield
+ objects[objType][obj].shield = objRef.shield
objects[objType][obj].stronghold = objRef.stronghold
for (let atom in objRef.atomList) {
diff --git a/docs/file/src/server/server.js.html b/docs/file/src/server/server.js.html
index bb146ab..726e8f3 100644
--- a/docs/file/src/server/server.js.html
+++ b/docs/file/src/server/server.js.html
@@ -140,7 +140,7 @@
// name: 'teamname',
// players: ['id1', 'id2'...]
// ],
-// players: { id, name, room, team, health, posX, posY, vx, vy, dead, experience, damagedBy, stronghold },
+// players: { id, name, room, team, health, posX, posY, vx, vy, dead, experience, damagedBy, stronghold, defense },
// atoms: { typeID, id, posX, posY, vx, vy, team },
// compounds: { id, posX, posY, vx, vy, blueprint, sendingTeam, sender },
// tiles: { id, type, globalX, globalY, captured, owner, health }
diff --git a/docs/file/src/server/utils/compound.js.html b/docs/file/src/server/utils/compound.js.html
index c4b53ec..27500fd 100644
--- a/docs/file/src/server/utils/compound.js.html
+++ b/docs/file/src/server/utils/compound.js.html
@@ -166,7 +166,7 @@
}
}
else if (data.blueprint.type === 'defense') {
- setField(true, ['rooms', room, 'players', thisPlayer.id, 'hasShield'])
+ setField(data.blueprint.params.defenseModifier, ['rooms', room, 'players', thisPlayer.id, 'shield'])
}
else if (data.blueprint.type === 'block') {
newCompound.vx = newCompound.vy = 0
diff --git a/docs/file/src/server/utils/ondamage.js.html b/docs/file/src/server/utils/ondamage.js.html
index 8260dd2..6b25779 100644
--- a/docs/file/src/server/utils/ondamage.js.html
+++ b/docs/file/src/server/utils/ondamage.js.html
@@ -140,7 +140,9 @@
if (thisPlayer !== undefined) {
// thisPlayer.health -= data.damage;
- setField(thisPlayer.health - data.damage, ['rooms', room, 'players', data.player, 'health'])
+ if (data.damage > GLOBAL.STRONGHOLD_DEFENSE) {
+ setField(thisPlayer.health - data.damage - thisPlayer.defense, ['rooms', room, 'players', data.player, 'health'])
+ }
// Add damage to database
if (thisPlayer.damagedBy[data.sentBy] === undefined) {
@@ -163,6 +165,9 @@
setField(0, ['rooms', room, 'players', thisPlayer, 'atomList', at])
}
+ // Set defense to 0
+ setField(0, ['rooms', room, 'players', data.player, 'shield'])
+
// Reset position to spawnpoint
setField(GLOBAL.SPAWN_POINTS[getTeamNumber(room, thisPlayer.team)].x * GLOBAL.GRID_SPACING * 2, ['rooms', room, 'players', data.player, 'posX'])
setField(GLOBAL.SPAWN_POINTS[getTeamNumber(room, thisPlayer.team)].y * GLOBAL.GRID_SPACING * 2, ['rooms', room, 'players', data.player, 'posY'])
diff --git a/docs/file/src/server/utils/serverinit.js.html b/docs/file/src/server/utils/serverinit.js.html
index a5a9c17..f15167f 100644
--- a/docs/file/src/server/utils/serverinit.js.html
+++ b/docs/file/src/server/utils/serverinit.js.html
@@ -236,7 +236,8 @@
vx: 0,
vy: 0,
experience: 0,
- damagedBy: {}
+ damagedBy: {},
+ shield: 0
}, ['rooms', room, 'players', socket.id])
}
diff --git a/docs/function/index.html b/docs/function/index.html
index ac98bf1..4fc91cd 100644
--- a/docs/function/index.html
+++ b/docs/function/index.html
@@ -2690,11 +2690,11 @@
-
+
@@ -3016,11 +3016,11 @@
-
+
@@ -3361,11 +3361,11 @@
-
+
Gets the tile directly underneath any object.
@@ -3511,11 +3511,11 @@
-
+
Gets the coordinates of the tile directly underneath the object.
@@ -4256,11 +4256,11 @@
-
+
Returns true if the object parameter is within the map boundaries.
@@ -5373,11 +5373,11 @@
-
+
TODO
diff --git a/docs/identifiers.html b/docs/identifiers.html
index 1007be0..bf05d87 100644
--- a/docs/identifiers.html
+++ b/docs/identifiers.html
@@ -995,7 +995,7 @@
client/js
V
-
GLOBAL: {"DEBUG": boolean, "VERBOSE_SOCKET": *, "KEY_ESC": number, "KEY_ENTER": number, "KEY_W": number, "KEY_A": number, "KEY_S": number, "KEY_D": number, "KEY_1": number, "KEY_2": number, "KEY_3": number, "KEY_4": number, "KEY_SPACE": number, "BP_SELECT": string, "BP_MAX": number, "BP_TOOLTIP_BLACKLIST": *, "INPUT_COUNT": number, "PLACEHOLDER_NAME": string, "MAX_CHATS": number, "SERVER_IP": string, "LOCAL_HOST": string, "TEST_IP": string, "NO_ROOM_IDENTIFIER": string, "NO_TEAM_IDENTIFIER": string, "ROOM_DELETE_DELAY": number, "COOKIES": *, "COOKIE_DAYS": number, "MAX_SPEED": number, "PLAYER_RADIUS": number, "VELOCITY_STEP": number, "LERP_VALUE": number, "DEADZONE": number, "MAX_HEALTH": number, "PLAYER_ROTATION": number, "PLAYER_EXPEDITED_ROTATION": number, "ATOM_RADIUS": number, "MIN_POWERUPS": number, "MAX_POWERUPS": number, "ATTRACTION_RADIUS": number, "ATTRACTION_COEFFICIENT": number, "ATOM_SPAWN_SPEED": number, "ATOM_SPAWN_DELAY": number, "ATOM_COLLECT_THRESHOLD": number, "MAP_SIZE": number, "SPAWN_POINTS": *, "MAX_SPAWNER_HEALTH": number, "MAX_STRONGHOLD_HEALTH": number, "MAX_NUCLEUS_HEALTH": number, "STRONGHOLD_RADIUS": number, "DRAW_RADIUS": number, "GRID_SPACING": number, "GRID_LINE_STROKE": number, "FRAME_RATE": number, "TEAM_COLORS": *, "IGNITE_SPRITE": string, "ATOM_IDS": *, "ATOM_SPRITES": *, "SPRITESHEET_DIR": string, "COMPOUND_DIR": string, "EXPERIENCE_VALUES": *, "EXPERIENCE_LEVELS": *, "MAINMENU_MUSICLIST": *, "LOBBY_MUSICLIST": *, "INGAME_MUSICLIST": *, "KILL_SCORE": number, "ASSIST_SCORE": number, "WINNING_SCORE": number, "CAPTURE_SCORE": number, "MAX_DEATH_ATOMS": number}
+
GLOBAL: {"DEBUG": boolean, "VERBOSE_SOCKET": *, "KEY_ESC": number, "KEY_ENTER": number, "KEY_W": number, "KEY_A": number, "KEY_S": number, "KEY_D": number, "KEY_1": number, "KEY_2": number, "KEY_3": number, "KEY_4": number, "KEY_SPACE": number, "BP_SELECT": string, "BP_MAX": number, "BP_TOOLTIP_BLACKLIST": *, "INPUT_COUNT": number, "PLACEHOLDER_NAME": string, "MAX_CHATS": number, "SERVER_IP": string, "LOCAL_HOST": string, "TEST_IP": string, "NO_ROOM_IDENTIFIER": string, "NO_TEAM_IDENTIFIER": string, "ROOM_DELETE_DELAY": number, "COOKIES": *, "COOKIE_DAYS": number, "MAX_SPEED": number, "PLAYER_RADIUS": number, "VELOCITY_STEP": number, "LERP_VALUE": number, "DEADZONE": number, "MAX_HEALTH": number, "PLAYER_ROTATION": number, "PLAYER_EXPEDITED_ROTATION": number, "ATOM_RADIUS": number, "MIN_POWERUPS": number, "MAX_POWERUPS": number, "ATTRACTION_RADIUS": number, "ATTRACTION_COEFFICIENT": number, "ATOM_SPAWN_SPEED": number, "ATOM_SPAWN_DELAY": number, "ATOM_COLLECT_THRESHOLD": number, "MAP_SIZE": number, "SPAWN_POINTS": *, "MAX_SPAWNER_HEALTH": number, "MAX_STRONGHOLD_HEALTH": number, "MAX_NUCLEUS_HEALTH": number, "STRONGHOLD_RADIUS": number, "STRONGHOLD_DEFENSE": number, "DRAW_RADIUS": number, "GRID_SPACING": number, "GRID_LINE_STROKE": number, "FRAME_RATE": number, "TEAM_COLORS": *, "IGNITE_SPRITE": string, "ATOM_IDS": *, "ATOM_SPRITES": *, "SPRITESHEET_DIR": string, "COMPOUND_DIR": string, "EXPERIENCE_VALUES": *, "EXPERIENCE_LEVELS": *, "MAINMENU_MUSICLIST": *, "LOBBY_MUSICLIST": *, "INGAME_MUSICLIST": *, "KILL_SCORE": number, "ASSIST_SCORE": number, "WINNING_SCORE": number, "CAPTURE_SCORE": number, "MAX_DEATH_ATOMS": number}
diff --git a/docs/index.json b/docs/index.json
index 2234918..277e1f2 100644
--- a/docs/index.json
+++ b/docs/index.json
@@ -1213,7 +1213,7 @@
"__docId__": 73,
"kind": "file",
"name": "src/client/js/global.js",
- "content": "import { MAP_LAYOUT } from './obj/tiles'\n\n// Contains all global constants and functions for both the client and server.\nexport const GLOBAL = {\n\n\tDEBUG: true, // REMEMBER to toggle this lmao if you dont want your entire pc crashing\n\tVERBOSE_SOCKET: false, // true = debug clientside socket -> log if any socket method has been called\n\t// Keys and other mathematical constants\n\tKEY_ESC: 27,\n\tKEY_ENTER: 13,\n\tKEY_W: 87,\n\tKEY_A: 65,\n\tKEY_S: 83,\n\tKEY_D: 68,\n\tKEY_1: 49,\n\tKEY_2: 50,\n\tKEY_3: 51,\n\tKEY_4: 52,\n\tKEY_SPACE: 32,\n\n\t// Blueprints\n\tBP_SELECT: 'Blueprint Select - Slot ', // Text for blueprint select header\n\tBP_MAX: 4, // Maximum number of blueprints a player can have in one game at a time\n\t// Params that will not display on tooltip\n\tBP_TOOLTIP_BLACKLIST: [\n\t\t'evaporate',\n\t\t'splashImage'\n\t],\n\n\t// Main menu\n\tINPUT_COUNT: 3, // Number of input boxes on main menu\n\n\t// Chat\n\tPLACEHOLDER_NAME: 'Unnamed Player',\n\tMAX_CHATS: 50, // Max number of chats to be displayed before deleting\n\n\t// Server\n\tSERVER_IP: 'atomblast.bananiumlabs.com:12002', // Change during production!!!!!\n\tLOCAL_HOST: 'localhost:12002',\n\tTEST_IP: 'https://iogame-test.herokuapp.com/',\n\tNO_ROOM_IDENTIFIER: '$_NOROOM', // Pass to server if matchmaking is required\n\tNO_TEAM_IDENTIFIER: '$_NOTEAM', // Pass to server if matchmaking is required\n\tROOM_DELETE_DELAY: 30000, // Time, in ms, between winning and room closing\n\n\t// Cookies\n\tCOOKIES: [\n\t\t'name', // 0\n\t\t'room', // 1\n\t\t'team', // 2\n\t\t'bp-slot-1', // 3\n\t\t'bp-slot-2', // 4\n\t\t'bp-slot-3', // 5\n\t\t'bp-slot-4', // 6\n\t\t'room-type', // 7\n\t\t'server' // 8\n\t],\n\tCOOKIE_DAYS: 14, // Cookie lifetime\n\n\t// Player Movement\n\tMAX_SPEED: 6,\n\tPLAYER_RADIUS: 100,\n\tVELOCITY_STEP: 0.85, // speed multiplier when player is gliding to a stop\n\tLERP_VALUE: 0.2,\n\tDEADZONE: 0.1,\n\tMAX_HEALTH: 100, // Starting health of players\n\tPLAYER_ROTATION: 0.05,\n\tPLAYER_EXPEDITED_ROTATION: 0.1,\n\n\t// Atoms\n\tATOM_RADIUS: 30, // size of spawned atoms\n\tMIN_POWERUPS: 150, // minimum number of powerups to be spawned (TEMPORARY)\n\tMAX_POWERUPS: 300, // maximum number of powerups to be spawned (TEMPORARY)\n\tATTRACTION_RADIUS: 150, // Max distance for powerup to be attracted to player\n\tATTRACTION_COEFFICIENT: 100, // Multiplier for attraction strength\n\tATOM_SPAWN_SPEED: 15, // Speed that atom travels away from spawner\n\tATOM_SPAWN_DELAY: 5000, // Atom spawn delay, in milliseconds\n\tATOM_COLLECT_THRESHOLD: 100, // Distance away from center of player that the atom must be before being collected\n\n\t// Map and Tiles\n\tMAP_SIZE: 2000,\n\tSPAWN_POINTS: [\n\t\t{ x: 0, y: 0 },\n\t\t{ x: 6, y: 6 },\n\t\t{ x: 0, y: 6 },\n\t\t{ x: 6, y: 0 }\n\t], // Spawn points for different teams\n\tMAX_SPAWNER_HEALTH: 100,\n\tMAX_STRONGHOLD_HEALTH: 200,\n\tMAX_NUCLEUS_HEALTH: 300,\n\tSTRONGHOLD_RADIUS: 100,\n\n\t// Drawing\n\tDRAW_RADIUS: 1000, // Radius around player in which to draw other objects\n\tGRID_SPACING: 200, // space between each line on the grid\n\tGRID_LINE_STROKE: 1,\n\tFRAME_RATE: 60,\n\n\t// Colors\n\tTEAM_COLORS: [ // Purple, Green, Orange, Red. No prefixes\n\t\t'673ab7',\n\t\t'2e7d32',\n\t\t'ff8f00',\n\t\t'f44336'\n\t],\n\n\tIGNITE_SPRITE: 'placeholder_ignited.png',\n\n\t// Atoms: ID's and Sprites. ATOM_SPRITES[id] returns the texture location of atom of that id.\n\tATOM_IDS: [\n\t\t'h',\n\t\t'he',\n\t\t'c',\n\t\t'cl',\n\t\t'n',\n\t\t'o'\n\t],\n\tATOM_SPRITES: [\n\t\t'atom_hydrogen.png',\n\t\t'atom_helium.png',\n\t\t'atom_carbon.png',\n\t\t'testplayer2.png',\n\t\t'atom_nitrogen.png',\n\t\t'atom_oxygen.png'\n\t],\n\n\t// Location of spritesheet relative to pixigame\n\tSPRITESHEET_DIR: '../assets/spritesheet.json',\n\n\t// Used for main menu textures\n\tCOMPOUND_DIR: '../assets/spritesheet/compounds/',\n\n\t// Each Value corresponds with the above event\n\tEXPERIENCE_VALUES: {\n\t\tCRAFT: 10,\n\t\tKILL: 124\n\t},\n\n\t// The cutoffs for each level. Index 0 = level 1, 1 = level 2, etc\n\tEXPERIENCE_LEVELS: [\n\t\t0,\n\t\t10,\n\t\t20,\n\t\t40,\n\t\t100,\n\t\t140,\n\t\t160\n\t],\n\tMAINMENU_MUSICLIST: [\n\t\t'assets/sfx/mainmenu/placeholder1.mp3',\n\t\t'assets/sfx/mainmenu/placeholder2.mp3',\n\t\t'assets/sfx/mainmenu/placeholder3.mp3',\n\t\t'assets/sfx/mainmenu/placeholder4.mp3'\n\t],\n\tLOBBY_MUSICLIST: [\n\n\t],\n\tINGAME_MUSICLIST: [\n\n\t],\n\n\t// Deaths\n\tKILL_SCORE: 6, // How many points are awarded to the player/team who dealt the most damage to the player\n\tASSIST_SCORE: 2, // How many points are awarded to all players who assist in killing the player\n\tWINNING_SCORE: 20, // How many points are required to win the game per team. TODO increase\n\tCAPTURE_SCORE: 5, // How many points are awarded to the team who captured a stronghold/vent\n\tMAX_DEATH_ATOMS: 100 // How many atoms of each type can be ejected on death at maximum. Prevents testers from ejecting thousands of atoms at a time.\n}\n\n/**\n * Returns the distance between two objects.\n * Both objects must be GameObjects\n * @param {GameObject} obj1 First object\n * @param {GameObject} obj2 Second object\n */\nexport function distanceBetween (obj1, obj2) {\n\treturn Math.sqrt(Math.pow(obj1.posX - obj2.posX, 2) + Math.pow(obj1.posY - obj2.posY, 2))\n}\n\n/**\n * Returns true if the object parameter is within the map boundaries.\n * @param {GameObject} obj The object to test\n * @return true if the object parameter is within the map boundaries\n */\nexport function isInBounds (obj) {\n\treturn obj.posX > 0 && obj.posY > -GLOBAL.GRID_SPACING * 2 && obj.posX < MAP_LAYOUT[0].length * GLOBAL.GRID_SPACING * 2 && obj.posY < (MAP_LAYOUT.length - 1) * GLOBAL.GRID_SPACING * 2\n}\n\n/**\n * Gets the tile directly underneath any object.\n * @param {*} obj Any valid GameObject.\n * @returns {string} one-letter ID of current tile.\n */\nexport function getCurrTile (obj) {\n\tlet pos = getGlobalLocation(obj)\n\n\ttry {\n\t\treturn MAP_LAYOUT[pos.globalY][pos.globalX]\n\t}\n\tcatch (error) {\n\t\treturn 'E'\n\t}\n}\n\n/**\n * Gets the coordinates of the tile directly underneath the object.\n * @param {*} obj Any valid GameObject.\n */\nexport function getGlobalLocation (obj) {\n\treturn {\n\t\tglobalY: Math.floor(obj.posY / (GLOBAL.GRID_SPACING * 2)) + 1,\n\t\tglobalX: Math.floor(obj.posX / (GLOBAL.GRID_SPACING * 2))\n\t}\n}\n",
+ "content": "import { MAP_LAYOUT } from './obj/tiles'\n\n// Contains all global constants and functions for both the client and server.\nexport const GLOBAL = {\n\n\tDEBUG: true, // REMEMBER to toggle this lmao if you dont want your entire pc crashing\n\tVERBOSE_SOCKET: false, // true = debug clientside socket -> log if any socket method has been called\n\t// Keys and other mathematical constants\n\tKEY_ESC: 27,\n\tKEY_ENTER: 13,\n\tKEY_W: 87,\n\tKEY_A: 65,\n\tKEY_S: 83,\n\tKEY_D: 68,\n\tKEY_1: 49,\n\tKEY_2: 50,\n\tKEY_3: 51,\n\tKEY_4: 52,\n\tKEY_SPACE: 32,\n\n\t// Blueprints\n\tBP_SELECT: 'Blueprint Select - Slot ', // Text for blueprint select header\n\tBP_MAX: 4, // Maximum number of blueprints a player can have in one game at a time\n\t// Params that will not display on tooltip\n\tBP_TOOLTIP_BLACKLIST: [\n\t\t'evaporate',\n\t\t'splashImage'\n\t],\n\n\t// Main menu\n\tINPUT_COUNT: 3, // Number of input boxes on main menu\n\n\t// Chat\n\tPLACEHOLDER_NAME: 'Unnamed Player',\n\tMAX_CHATS: 50, // Max number of chats to be displayed before deleting\n\n\t// Server\n\tSERVER_IP: 'atomblast.bananiumlabs.com:12002', // Change during production!!!!!\n\tLOCAL_HOST: 'localhost:12002',\n\tTEST_IP: 'https://iogame-test.herokuapp.com/',\n\tNO_ROOM_IDENTIFIER: '$_NOROOM', // Pass to server if matchmaking is required\n\tNO_TEAM_IDENTIFIER: '$_NOTEAM', // Pass to server if matchmaking is required\n\tROOM_DELETE_DELAY: 30000, // Time, in ms, between winning and room closing\n\n\t// Cookies\n\tCOOKIES: [\n\t\t'name', // 0\n\t\t'room', // 1\n\t\t'team', // 2\n\t\t'bp-slot-1', // 3\n\t\t'bp-slot-2', // 4\n\t\t'bp-slot-3', // 5\n\t\t'bp-slot-4', // 6\n\t\t'room-type', // 7\n\t\t'server' // 8\n\t],\n\tCOOKIE_DAYS: 14, // Cookie lifetime\n\n\t// Player Movement\n\tMAX_SPEED: 6,\n\tPLAYER_RADIUS: 100,\n\tVELOCITY_STEP: 0.85, // speed multiplier when player is gliding to a stop\n\tLERP_VALUE: 0.2,\n\tDEADZONE: 0.1,\n\tMAX_HEALTH: 100, // Starting health of players\n\tPLAYER_ROTATION: 0.05,\n\tPLAYER_EXPEDITED_ROTATION: 0.1,\n\n\t// Atoms\n\tATOM_RADIUS: 30, // size of spawned atoms\n\tMIN_POWERUPS: 150, // minimum number of powerups to be spawned (TEMPORARY)\n\tMAX_POWERUPS: 300, // maximum number of powerups to be spawned (TEMPORARY)\n\tATTRACTION_RADIUS: 150, // Max distance for powerup to be attracted to player\n\tATTRACTION_COEFFICIENT: 100, // Multiplier for attraction strength\n\tATOM_SPAWN_SPEED: 15, // Speed that atom travels away from spawner\n\tATOM_SPAWN_DELAY: 5000, // Atom spawn delay, in milliseconds\n\tATOM_COLLECT_THRESHOLD: 100, // Distance away from center of player that the atom must be before being collected\n\n\t// Map and Tiles\n\tMAP_SIZE: 2000,\n\tSPAWN_POINTS: [\n\t\t{ x: 0, y: 0 },\n\t\t{ x: 6, y: 6 },\n\t\t{ x: 0, y: 6 },\n\t\t{ x: 6, y: 0 }\n\t], // Spawn points for different teams\n\tMAX_SPAWNER_HEALTH: 100,\n\tMAX_STRONGHOLD_HEALTH: 200,\n\tMAX_NUCLEUS_HEALTH: 300,\n\tSTRONGHOLD_RADIUS: 100,\n\tSTRONGHOLD_DEFENSE: 5,\n\n\t// Drawing\n\tDRAW_RADIUS: 1000, // Radius around player in which to draw other objects\n\tGRID_SPACING: 200, // space between each line on the grid\n\tGRID_LINE_STROKE: 1,\n\tFRAME_RATE: 60,\n\n\t// Colors\n\tTEAM_COLORS: [ // Purple, Green, Orange, Red. No prefixes\n\t\t'673ab7',\n\t\t'2e7d32',\n\t\t'ff8f00',\n\t\t'f44336'\n\t],\n\n\tIGNITE_SPRITE: 'placeholder_ignited.png',\n\n\t// Atoms: ID's and Sprites. ATOM_SPRITES[id] returns the texture location of atom of that id.\n\tATOM_IDS: [\n\t\t'h',\n\t\t'he',\n\t\t'c',\n\t\t'cl',\n\t\t'n',\n\t\t'o'\n\t],\n\tATOM_SPRITES: [\n\t\t'atom_hydrogen.png',\n\t\t'atom_helium.png',\n\t\t'atom_carbon.png',\n\t\t'testplayer2.png',\n\t\t'atom_nitrogen.png',\n\t\t'atom_oxygen.png'\n\t],\n\n\t// Location of spritesheet relative to pixigame\n\tSPRITESHEET_DIR: '../assets/spritesheet.json',\n\n\t// Used for main menu textures\n\tCOMPOUND_DIR: '../assets/spritesheet/compounds/',\n\n\t// Each Value corresponds with the above event\n\tEXPERIENCE_VALUES: {\n\t\tCRAFT: 10,\n\t\tKILL: 124\n\t},\n\n\t// The cutoffs for each level. Index 0 = level 1, 1 = level 2, etc\n\tEXPERIENCE_LEVELS: [\n\t\t0,\n\t\t10,\n\t\t20,\n\t\t40,\n\t\t100,\n\t\t140,\n\t\t160\n\t],\n\tMAINMENU_MUSICLIST: [\n\t\t'assets/sfx/mainmenu/placeholder1.mp3',\n\t\t'assets/sfx/mainmenu/placeholder2.mp3',\n\t\t'assets/sfx/mainmenu/placeholder3.mp3',\n\t\t'assets/sfx/mainmenu/placeholder4.mp3'\n\t],\n\tLOBBY_MUSICLIST: [\n\n\t],\n\tINGAME_MUSICLIST: [\n\n\t],\n\n\t// Deaths\n\tKILL_SCORE: 6, // How many points are awarded to the player/team who dealt the most damage to the player\n\tASSIST_SCORE: 2, // How many points are awarded to all players who assist in killing the player\n\tWINNING_SCORE: 20, // How many points are required to win the game per team. TODO increase\n\tCAPTURE_SCORE: 5, // How many points are awarded to the team who captured a stronghold/vent\n\tMAX_DEATH_ATOMS: 100 // How many atoms of each type can be ejected on death at maximum. Prevents testers from ejecting thousands of atoms at a time.\n}\n\n/**\n * Returns the distance between two objects.\n * Both objects must be GameObjects\n * @param {GameObject} obj1 First object\n * @param {GameObject} obj2 Second object\n */\nexport function distanceBetween (obj1, obj2) {\n\treturn Math.sqrt(Math.pow(obj1.posX - obj2.posX, 2) + Math.pow(obj1.posY - obj2.posY, 2))\n}\n\n/**\n * Returns true if the object parameter is within the map boundaries.\n * @param {GameObject} obj The object to test\n * @return true if the object parameter is within the map boundaries\n */\nexport function isInBounds (obj) {\n\treturn obj.posX > 0 && obj.posY > -GLOBAL.GRID_SPACING * 2 && obj.posX < MAP_LAYOUT[0].length * GLOBAL.GRID_SPACING * 2 && obj.posY < (MAP_LAYOUT.length - 1) * GLOBAL.GRID_SPACING * 2\n}\n\n/**\n * Gets the tile directly underneath any object.\n * @param {*} obj Any valid GameObject.\n * @returns {string} one-letter ID of current tile.\n */\nexport function getCurrTile (obj) {\n\tlet pos = getGlobalLocation(obj)\n\n\ttry {\n\t\treturn MAP_LAYOUT[pos.globalY][pos.globalX]\n\t}\n\tcatch (error) {\n\t\treturn 'E'\n\t}\n}\n\n/**\n * Gets the coordinates of the tile directly underneath the object.\n * @param {*} obj Any valid GameObject.\n */\nexport function getGlobalLocation (obj) {\n\treturn {\n\t\tglobalY: Math.floor(obj.posY / (GLOBAL.GRID_SPACING * 2)) + 1,\n\t\tglobalX: Math.floor(obj.posX / (GLOBAL.GRID_SPACING * 2))\n\t}\n}\n",
"static": true,
"longname": "/home/dbqeo/Documents/AtomBlast.io/src/client/js/global.js",
"access": "public",
@@ -1236,7 +1236,7 @@
"undocument": true,
"type": {
"types": [
- "{\"DEBUG\": boolean, \"VERBOSE_SOCKET\": *, \"KEY_ESC\": number, \"KEY_ENTER\": number, \"KEY_W\": number, \"KEY_A\": number, \"KEY_S\": number, \"KEY_D\": number, \"KEY_1\": number, \"KEY_2\": number, \"KEY_3\": number, \"KEY_4\": number, \"KEY_SPACE\": number, \"BP_SELECT\": string, \"BP_MAX\": number, \"BP_TOOLTIP_BLACKLIST\": *, \"INPUT_COUNT\": number, \"PLACEHOLDER_NAME\": string, \"MAX_CHATS\": number, \"SERVER_IP\": string, \"LOCAL_HOST\": string, \"TEST_IP\": string, \"NO_ROOM_IDENTIFIER\": string, \"NO_TEAM_IDENTIFIER\": string, \"ROOM_DELETE_DELAY\": number, \"COOKIES\": *, \"COOKIE_DAYS\": number, \"MAX_SPEED\": number, \"PLAYER_RADIUS\": number, \"VELOCITY_STEP\": number, \"LERP_VALUE\": number, \"DEADZONE\": number, \"MAX_HEALTH\": number, \"PLAYER_ROTATION\": number, \"PLAYER_EXPEDITED_ROTATION\": number, \"ATOM_RADIUS\": number, \"MIN_POWERUPS\": number, \"MAX_POWERUPS\": number, \"ATTRACTION_RADIUS\": number, \"ATTRACTION_COEFFICIENT\": number, \"ATOM_SPAWN_SPEED\": number, \"ATOM_SPAWN_DELAY\": number, \"ATOM_COLLECT_THRESHOLD\": number, \"MAP_SIZE\": number, \"SPAWN_POINTS\": *, \"MAX_SPAWNER_HEALTH\": number, \"MAX_STRONGHOLD_HEALTH\": number, \"MAX_NUCLEUS_HEALTH\": number, \"STRONGHOLD_RADIUS\": number, \"DRAW_RADIUS\": number, \"GRID_SPACING\": number, \"GRID_LINE_STROKE\": number, \"FRAME_RATE\": number, \"TEAM_COLORS\": *, \"IGNITE_SPRITE\": string, \"ATOM_IDS\": *, \"ATOM_SPRITES\": *, \"SPRITESHEET_DIR\": string, \"COMPOUND_DIR\": string, \"EXPERIENCE_VALUES\": *, \"EXPERIENCE_LEVELS\": *, \"MAINMENU_MUSICLIST\": *, \"LOBBY_MUSICLIST\": *, \"INGAME_MUSICLIST\": *, \"KILL_SCORE\": number, \"ASSIST_SCORE\": number, \"WINNING_SCORE\": number, \"CAPTURE_SCORE\": number, \"MAX_DEATH_ATOMS\": number}"
+ "{\"DEBUG\": boolean, \"VERBOSE_SOCKET\": *, \"KEY_ESC\": number, \"KEY_ENTER\": number, \"KEY_W\": number, \"KEY_A\": number, \"KEY_S\": number, \"KEY_D\": number, \"KEY_1\": number, \"KEY_2\": number, \"KEY_3\": number, \"KEY_4\": number, \"KEY_SPACE\": number, \"BP_SELECT\": string, \"BP_MAX\": number, \"BP_TOOLTIP_BLACKLIST\": *, \"INPUT_COUNT\": number, \"PLACEHOLDER_NAME\": string, \"MAX_CHATS\": number, \"SERVER_IP\": string, \"LOCAL_HOST\": string, \"TEST_IP\": string, \"NO_ROOM_IDENTIFIER\": string, \"NO_TEAM_IDENTIFIER\": string, \"ROOM_DELETE_DELAY\": number, \"COOKIES\": *, \"COOKIE_DAYS\": number, \"MAX_SPEED\": number, \"PLAYER_RADIUS\": number, \"VELOCITY_STEP\": number, \"LERP_VALUE\": number, \"DEADZONE\": number, \"MAX_HEALTH\": number, \"PLAYER_ROTATION\": number, \"PLAYER_EXPEDITED_ROTATION\": number, \"ATOM_RADIUS\": number, \"MIN_POWERUPS\": number, \"MAX_POWERUPS\": number, \"ATTRACTION_RADIUS\": number, \"ATTRACTION_COEFFICIENT\": number, \"ATOM_SPAWN_SPEED\": number, \"ATOM_SPAWN_DELAY\": number, \"ATOM_COLLECT_THRESHOLD\": number, \"MAP_SIZE\": number, \"SPAWN_POINTS\": *, \"MAX_SPAWNER_HEALTH\": number, \"MAX_STRONGHOLD_HEALTH\": number, \"MAX_NUCLEUS_HEALTH\": number, \"STRONGHOLD_RADIUS\": number, \"STRONGHOLD_DEFENSE\": number, \"DRAW_RADIUS\": number, \"GRID_SPACING\": number, \"GRID_LINE_STROKE\": number, \"FRAME_RATE\": number, \"TEAM_COLORS\": *, \"IGNITE_SPRITE\": string, \"ATOM_IDS\": *, \"ATOM_SPRITES\": *, \"SPRITESHEET_DIR\": string, \"COMPOUND_DIR\": string, \"EXPERIENCE_VALUES\": *, \"EXPERIENCE_LEVELS\": *, \"MAINMENU_MUSICLIST\": *, \"LOBBY_MUSICLIST\": *, \"INGAME_MUSICLIST\": *, \"KILL_SCORE\": number, \"ASSIST_SCORE\": number, \"WINNING_SCORE\": number, \"CAPTURE_SCORE\": number, \"MAX_DEATH_ATOMS\": number}"
]
}
},
@@ -1254,7 +1254,7 @@
"importPath": "atomblast.io/src/client/js/global.js",
"importStyle": "{distanceBetween}",
"description": null,
- "lineNumber": 175,
+ "lineNumber": 176,
"undocument": true,
"params": [
{
@@ -1290,7 +1290,7 @@
"importPath": "atomblast.io/src/client/js/global.js",
"importStyle": "{isInBounds}",
"description": "Returns true if the object parameter is within the map boundaries.",
- "lineNumber": 184,
+ "lineNumber": 185,
"params": [
{
"nullable": null,
@@ -1326,7 +1326,7 @@
"importPath": "atomblast.io/src/client/js/global.js",
"importStyle": "{getCurrTile}",
"description": "Gets the tile directly underneath any object.",
- "lineNumber": 193,
+ "lineNumber": 194,
"unknown": [
{
"tagName": "@returns",
@@ -1368,7 +1368,7 @@
"importPath": "atomblast.io/src/client/js/global.js",
"importStyle": "{getGlobalLocation}",
"description": "Gets the coordinates of the tile directly underneath the object.",
- "lineNumber": 208,
+ "lineNumber": 209,
"params": [
{
"nullable": null,
@@ -2039,7 +2039,7 @@
"__docId__": 106,
"kind": "file",
"name": "src/client/js/obj/blueprints.js",
- "content": "/**\n * This constant stores all data that is used to define Blueprints,\n * which define the recipe and behaviors of Compounds.\n *\n * Fields required:\n * Name: The formatted name of the compound to display\n * Unlocked: TEMPORARY. True if it should show up on initial load, false if it needs to be unlocked from playing.\n * Tooltip: Description of compound\n * Texture: Path to image to load\n * Type: Class of compound. Each different type has a different behavior as defined in `compound.js`.\n * Params: Optional parameters to pass to the compound class associated with the given type.\n * Atoms: How to make the compound. Format is `Element symbol: Number required`. All excluded atoms will be considered 0.\n */\nexport const BLUEPRINTS = {\n\tbinaryHydrogen: {\n\t\tname: 'Hydrogen',\n\t\tunlocked: true,\n\t\ttooltip: 'This is quite literally the smallest compound in the universe. Why are you using this as a weapon?',\n\t\ttexture: 'compound_PLACEHOLDER.png',\n\t\ttype: 'flammable',\n\t\tparams: {\n\t\t\tspeed: 5 * 3,\n\t\t\tdamage: 1,\n\t\t\tsize: 20,\n\t\t\tsplashDamage: 10,\n\t\t\tsplash: 50,\n\t\t\tsplashImage: '../assets/explosion.png'\n\t\t},\n\t\tatoms: {\n\t\t\th: 2\n\t\t}\n\t},\n\tbasicMethane: {\n\t\tname: 'Methane',\n\t\tunlocked: false,\n\t\ttooltip: 'Okay, who passed gas?',\n\t\ttexture: 'compound_PLACEHOLDER.png',\n\t\ttype: 'flammable',\n\t\tparams: {\n\t\t\tspeed: 3 * 3,\n\t\t\tdamage: 3,\n\t\t\tsize: 10\n\t\t},\n\t\tatoms: {\n\t\t\tc: 1,\n\t\t\th: 4\n\t\t}\n\t},\n\tbasicBenzene: {\n\t\tname: 'Benzene',\n\t\tunlocked: false,\n\t\ttooltip: 'Carbon rings. They smell nice.',\n\t\ttexture: 'compound_PLACEHOLDER.png',\n\t\ttype: 'basic',\n\t\tparams: {\n\t\t\tspeed: 1 * 3,\n\t\t\tdamage: 5,\n\t\t\tsize: 30\n\t\t},\n\t\tatoms: {\n\t\t\th: 6,\n\t\t\tc: 6\n\t\t}\n\t},\n\tbasicWater: {\n\t\tname: 'Water',\n\t\tunlocked: true,\n\t\ttooltip: 'Why life exists. Are you trying to drown someone?',\n\t\ttexture: 'compound_PLACEHOLDER.png',\n\t\ttype: 'stream',\n\t\tparams: {\n\t\t\tspeed: 4 * 3,\n\t\t\tdamage: 1,\n\t\t\tsize: 15,\n\t\t\tlength: 10,\n\t\t\tspacing: 50,\n\t\t\tcompoundsPerCraft: 10,\n\t\t\tevaporate: true\n\t\t},\n\t\tatoms: {\n\t\t\th: 2,\n\t\t\to: 1\n\t\t}\n\t},\n\tbinaryNitrogen: {\n\t\tname: 'Nitrogen',\n\t\tunlocked: true,\n\t\ttooltip: '78% of your air, and also why you get the bends.',\n\t\ttexture: 'compound_PLACEHOLDER.png',\n\t\ttype: 'basic',\n\t\tparams: {\n\t\t\tspeed: 3 * 3,\n\t\t\tdamage: 3,\n\t\t\tsize: 20\n\t\t},\n\t\tatoms: {\n\t\t\tn: 2\n\t\t}\n\t},\n\tcarbon: {\n\t\tname: 'Carbon',\n\t\tunlocked: true,\n\t\ttooltip: 'The building block of life.',\n\t\ttexture: 'placeholder_barrier.png',\n\t\ttype: 'block',\n\t\tparams: {\n\t\t\thealth: 1,\n\t\t\tsize: 50,\n\t\t\tspeed: 0\n\t\t},\n\t\tatoms: {\n\t\t\tc: 1\n\t\t}\n\t},\n\tbinaryHelium: {\n\t\tname: 'Helium',\n\t\tunlocked: false,\n\t\ttooltip: 'A nonreactive, inert gas. In other words, useless.',\n\t\ttexture: 'compound_PLACEHOLDER.png',\n\t\ttype: 'basic',\n\t\tparams: {\n\t\t\tspeed: 4 * 3,\n\t\t\tdamage: 2,\n\t\t\tsize: 14\n\t\t},\n\t\tatoms: {\n\t\t\the: 2\n\t\t}\n\t},\n\tionicSodiumChloride: {\n\t\tname: 'Sodium Chloride',\n\t\tunlocked: false,\n\t\ttooltip: 'Can kill small insects, slugs, and snails. Cannot kill much else.',\n\t\ttexture: 'compound_PLACEHOLDER.png',\n\t\ttype: 'ionic',\n\t\tparams: {\n\t\t\tspeed: 4 * 3,\n\t\t\tdamage: 2,\n\t\t\tsize: 14\n\t\t},\n\t\tatoms: {\n\t\t\tna: 1,\n\t\t\tcl: 1\n\t\t}\n\t},\n\tacidicHydrogenChloride: {\n\t\tname: 'Hydrochloric Acid',\n\t\tunlocked: false,\n\t\ttooltip: 'In a pure form, can corrode metal.',\n\t\ttexture: 'compound_PLACEHOLDER.png',\n\t\ttype: 'acidic',\n\t\tparams: {\n\t\t\tspeed: 4 * 3,\n\t\t\tdamage: 2,\n\t\t\tsize: 14\n\t\t},\n\t\tatoms: {\n\t\t\th: 1,\n\t\t\tcl: 1\n\t\t}\n\t},\n\tnuclearLithiumHydrogen: {\n\t\tname: 'Lithium Deuteride',\n\t\tunlocked: false,\n\t\ttooltip: 'Used as the primary fuel in thermonuclear weapons.',\n\t\ttexture: '../assets/spritesheet/atoms/atom_lithium.png',\n\t\ttype: 'nuclear',\n\t\tparams: {\n\t\t\tspeed: 1 * 3,\n\t\t\tdamage: 2,\n\t\t\tsize: 14\n\t\t},\n\t\tatoms: {\n\t\t\th: 1,\n\t\t\tli: 1\n\t\t}\n\t},\n\tglucose: {\n\t\tname: 'Sugar',\n\t\tunlocked: true,\n\t\ttooltip: 'S U G A R R U S H !!!!',\n\t\ttexture: 'compound_sugar.png',\n\t\ttype: 'speed',\n\t\tparams: {\n\t\t\tspeedFactor: 0.5\n\t\t},\n\t\tatoms: {\n\t\t\tc: 6,\n\t\t\th: 12,\n\t\t\to: 6\n\t\t}\n\t},\n\tprotonPack: {\n\t\tname: 'Proton Pack',\n\t\tunlocked: false,\n\t\ttooltip: 'Easy health!',\n\t\ttexture: 'compound_PLACEHOLDER.png',\n\t\ttype: 'health',\n\t\tparams: {\n\t\t\thealthModifier: 10\n\t\t},\n\t\tatoms: {\n\t\t\th: 10\n\t\t}\n\t},\n\tozone: {\n\t\tname: 'Ozone',\n\t\tunlocked: true,\n\t\ttooltip: 'Shield em up!',\n\t\ttexture: 'compound_ozone.png',\n\t\ttype: 'defense',\n\t\tparams: {\n\t\t\tdefenseModifier: 10\n\t\t},\n\t\tatoms: {\n\t\t\to: 3\n\t\t}\n\t},\n\tcyanide: {\n\t\tname: 'Cyanide',\n\t\tunlocked: true,\n\t\ttooltip: 'Less deadly and more happy than Cyanide and Happiness.',\n\t\ttexture: 'cyanide.png',\n\t\ttype: 'toxic',\n\t\tparams: {\n\t\t\tspeed: 2,\n\t\t\tsplashDamage: 0.2,\n\t\t\tsize: 100\n\t\t},\n\t\tatoms: {\n\t\t\tc: 1,\n\t\t\tn: 1\n\t\t}\n\t}\n\t// alcohol: {\n\t// \tname: 'Alcohol',\n\t// \tunlocked: false,\n\t// \ttooltip: ''\n\t// }\n}\n",
+ "content": "/**\n * This constant stores all data that is used to define Blueprints,\n * which define the recipe and behaviors of Compounds.\n *\n * Fields required:\n * Name: The formatted name of the compound to display\n * Unlocked: TEMPORARY. True if it should show up on initial load, false if it needs to be unlocked from playing.\n * Tooltip: Description of compound\n * Texture: Path to image to load\n * Type: Class of compound. Each different type has a different behavior as defined in `compound.js`.\n * Params: Optional parameters to pass to the compound class associated with the given type.\n * Atoms: How to make the compound. Format is `Element symbol: Number required`. All excluded atoms will be considered 0.\n */\nexport const BLUEPRINTS = {\n\tbinaryHydrogen: {\n\t\tname: 'Hydrogen',\n\t\tunlocked: true,\n\t\ttooltip: 'This is quite literally the smallest compound in the universe. Why are you using this as a weapon?',\n\t\ttexture: 'compound_PLACEHOLDER.png',\n\t\ttype: 'flammable',\n\t\tparams: {\n\t\t\tspeed: 5 * 3,\n\t\t\tdamage: 1,\n\t\t\tsize: 20,\n\t\t\tsplashDamage: 10,\n\t\t\tsplash: 50,\n\t\t\tsplashImage: '../assets/explosion.png'\n\t\t},\n\t\tatoms: {\n\t\t\th: 2\n\t\t}\n\t},\n\tbasicMethane: {\n\t\tname: 'Methane',\n\t\tunlocked: false,\n\t\ttooltip: 'Okay, who passed gas?',\n\t\ttexture: 'compound_PLACEHOLDER.png',\n\t\ttype: 'flammable',\n\t\tparams: {\n\t\t\tspeed: 3 * 3,\n\t\t\tdamage: 3,\n\t\t\tsize: 10\n\t\t},\n\t\tatoms: {\n\t\t\tc: 1,\n\t\t\th: 4\n\t\t}\n\t},\n\tbasicBenzene: {\n\t\tname: 'Benzene',\n\t\tunlocked: false,\n\t\ttooltip: 'Carbon rings. They smell nice.',\n\t\ttexture: 'compound_PLACEHOLDER.png',\n\t\ttype: 'basic',\n\t\tparams: {\n\t\t\tspeed: 1 * 3,\n\t\t\tdamage: 5,\n\t\t\tsize: 30\n\t\t},\n\t\tatoms: {\n\t\t\th: 6,\n\t\t\tc: 6\n\t\t}\n\t},\n\tbasicWater: {\n\t\tname: 'Water',\n\t\tunlocked: true,\n\t\ttooltip: 'Why life exists. Are you trying to drown someone?',\n\t\ttexture: 'compound_PLACEHOLDER.png',\n\t\ttype: 'stream',\n\t\tparams: {\n\t\t\tspeed: 4 * 3,\n\t\t\tdamage: 1,\n\t\t\tsize: 15,\n\t\t\tlength: 10,\n\t\t\tspacing: 50,\n\t\t\tcompoundsPerCraft: 10,\n\t\t\tevaporate: true\n\t\t},\n\t\tatoms: {\n\t\t\th: 2,\n\t\t\to: 1\n\t\t}\n\t},\n\tbinaryNitrogen: {\n\t\tname: 'Nitrogen',\n\t\tunlocked: true,\n\t\ttooltip: '78% of your air, and also why you get the bends.',\n\t\ttexture: 'compound_PLACEHOLDER.png',\n\t\ttype: 'basic',\n\t\tparams: {\n\t\t\tspeed: 3 * 3,\n\t\t\tdamage: 3,\n\t\t\tsize: 20\n\t\t},\n\t\tatoms: {\n\t\t\tn: 2\n\t\t}\n\t},\n\tcarbon: {\n\t\tname: 'Carbon',\n\t\tunlocked: true,\n\t\ttooltip: 'The building block of life.',\n\t\ttexture: 'placeholder_barrier.png',\n\t\ttype: 'block',\n\t\tparams: {\n\t\t\thealth: 1,\n\t\t\tsize: 50,\n\t\t\tspeed: 0\n\t\t},\n\t\tatoms: {\n\t\t\tc: 1\n\t\t}\n\t},\n\tbinaryHelium: {\n\t\tname: 'Helium',\n\t\tunlocked: false,\n\t\ttooltip: 'A nonreactive, inert gas. In other words, useless.',\n\t\ttexture: 'compound_PLACEHOLDER.png',\n\t\ttype: 'basic',\n\t\tparams: {\n\t\t\tspeed: 4 * 3,\n\t\t\tdamage: 2,\n\t\t\tsize: 14\n\t\t},\n\t\tatoms: {\n\t\t\the: 2\n\t\t}\n\t},\n\tionicSodiumChloride: {\n\t\tname: 'Sodium Chloride',\n\t\tunlocked: false,\n\t\ttooltip: 'Can kill small insects, slugs, and snails. Cannot kill much else.',\n\t\ttexture: 'compound_PLACEHOLDER.png',\n\t\ttype: 'ionic',\n\t\tparams: {\n\t\t\tspeed: 4 * 3,\n\t\t\tdamage: 2,\n\t\t\tsize: 14\n\t\t},\n\t\tatoms: {\n\t\t\tna: 1,\n\t\t\tcl: 1\n\t\t}\n\t},\n\tacidicHydrogenChloride: {\n\t\tname: 'Hydrochloric Acid',\n\t\tunlocked: false,\n\t\ttooltip: 'In a pure form, can corrode metal.',\n\t\ttexture: 'compound_PLACEHOLDER.png',\n\t\ttype: 'acidic',\n\t\tparams: {\n\t\t\tspeed: 4 * 3,\n\t\t\tdamage: 2,\n\t\t\tsize: 14\n\t\t},\n\t\tatoms: {\n\t\t\th: 1,\n\t\t\tcl: 1\n\t\t}\n\t},\n\tnuclearLithiumHydrogen: {\n\t\tname: 'Lithium Deuteride',\n\t\tunlocked: false,\n\t\ttooltip: 'Used as the primary fuel in thermonuclear weapons.',\n\t\ttexture: '../assets/spritesheet/atoms/atom_lithium.png',\n\t\ttype: 'nuclear',\n\t\tparams: {\n\t\t\tspeed: 1 * 3,\n\t\t\tdamage: 2,\n\t\t\tsize: 14\n\t\t},\n\t\tatoms: {\n\t\t\th: 1,\n\t\t\tli: 1\n\t\t}\n\t},\n\tglucose: {\n\t\tname: 'Sugar',\n\t\tunlocked: true,\n\t\ttooltip: 'S U G A R R U S H !!!!',\n\t\ttexture: 'compound_sugar.png',\n\t\ttype: 'speed',\n\t\tparams: {\n\t\t\tspeedFactor: 0.5\n\t\t},\n\t\tatoms: {\n\t\t\tc: 6,\n\t\t\th: 12,\n\t\t\to: 6\n\t\t}\n\t},\n\tprotonPack: {\n\t\tname: 'Proton Pack',\n\t\tunlocked: false,\n\t\ttooltip: 'Easy health!',\n\t\ttexture: 'compound_PLACEHOLDER.png',\n\t\ttype: 'health',\n\t\tparams: {\n\t\t\thealthModifier: 10\n\t\t},\n\t\tatoms: {\n\t\t\th: 10\n\t\t}\n\t},\n\tozone: {\n\t\tname: 'Ozone',\n\t\tunlocked: true,\n\t\ttooltip: 'Shield em up!',\n\t\ttexture: 'compound_ozone.png',\n\t\ttype: 'defense',\n\t\tparams: {\n\t\t\tdefenseModifier: 1\n\t\t},\n\t\tatoms: {\n\t\t\to: 3\n\t\t}\n\t},\n\tcyanide: {\n\t\tname: 'Cyanide',\n\t\tunlocked: true,\n\t\ttooltip: 'Less deadly and more happy than Cyanide and Happiness.',\n\t\ttexture: 'cyanide.png',\n\t\ttype: 'toxic',\n\t\tparams: {\n\t\t\tspeed: 2,\n\t\t\tsplashDamage: 0.2,\n\t\t\tsize: 100\n\t\t},\n\t\tatoms: {\n\t\t\tc: 1,\n\t\t\tn: 1\n\t\t}\n\t}\n\t// alcohol: {\n\t// \tname: 'Alcohol',\n\t// \tunlocked: false,\n\t// \ttooltip: ''\n\t// }\n}\n",
"static": true,
"longname": "/home/dbqeo/Documents/AtomBlast.io/src/client/js/obj/blueprints.js",
"access": "public",
@@ -2984,7 +2984,7 @@
"__docId__": 159,
"kind": "file",
"name": "src/client/js/obj/player.js",
- "content": "import { GLOBAL } from '../global.js'\nimport * as PIXI from 'pixi.js'\nimport { screenCenterX, screenCenterY, mouseDown, spritesheet } from '../pixigame.js'\nimport { socket, teamColors } from '../socket.js'\nimport { GameObject } from './gameobject.js'\n\nexport class Player extends GameObject {\n\t/**\n * Constructor for creating a new Player in the server side.\n * Player is a Sprite instance that can be added to the stage.\n * Each Player should only be created once, and updated subsequently with\n * setData().\n * @param {PIXI.Texture} texture The texture associated with this sprite\n * @param {string} id Socket ID of the player\n * @param {string} name Name of the player\n * @param {string} room Room that the player belongs to\n * @param {string} team Team that the player belongs to\n * @param {number} health Health of the player\n * @param {number} x Global x-coordinate\n * @param {number} y Global y-coordinate\n * @param {number} vx Horizontal velocity\n * @param {number} vy Vertical velocity\n */\n\tconstructor (texture, id, name, room, team, health, x, y, vx, vy, experience) {\n\t\t// Call GameObject\n\t\tsuper(texture, id, x, y, vx, vy)\n\n\t\t// Pixi Values\n\t\tthis.width = GLOBAL.PLAYER_RADIUS * 2\n\t\tthis.height = GLOBAL.PLAYER_RADIUS * 2\n\n\t\tif (id === socket.id) {\n\t\t\t// console.log('this player');\n\t\t\tthis.x = screenCenterX\n\t\t\tthis.y = screenCenterY\n\t\t}\n\t\telse { // take this player off screen until it can be processed\n\t\t\tthis.hide()\n\t\t}\n\n\t\t// Custom fields\n\t\tthis.name = name\n\t\tthis.room = room\n\t\tthis.team = team\n\t\tthis.health = health // Set the health of the player\n\t\tthis.isMoving = false\n\t\tthis.experience = experience // Sets the experience of the player(Passed in)\n\t\tthis.speedMult = 1 // Speed multiplier. Increased/decreased by different compounds\n\t\tthis.hasShield = false\n\t\tthis.stronghold = 'none'\n\n\t\tthis.damagedBy = {} // Object containing the values of damage that each player has dealt.\n\t\tthis.textObjects = {} // Contains Text to be drawn under the player (name, id, etc)\n\t\tthis.playerSprite = new PIXI.Sprite(texture)\n\n\t\tthis.setup()\n\t}\n\n\t/**\n * First-time setup for this player. All of the functions in this method will only be called once.\n */\n\tsetup () {\n\t\t// Create text objects\n\t\tthis.textObjects.nametext = new PIXI.Text('name: ')\n\t\tthis.textObjects.idtext = new PIXI.Text('id: ')\n\t\tthis.textObjects.postext = new PIXI.Text('placeholderpos')\n\t\tthis.textObjects.teamtext = new PIXI.Text('team: ')\n\t\tthis.textObjects.healthtext = new PIXI.Text('health: ')\n\n\t\t// Assign values and positions\n\t\tthis.textObjects.idtext.position.set(0, GLOBAL.PLAYER_RADIUS * 9)\n\t\tthis.textObjects.idtext.text += this.id\n\t\tthis.textObjects.nametext.position.set(0, GLOBAL.PLAYER_RADIUS * 9 + 100)\n\t\tthis.textObjects.nametext.text += this.name\n\t\tthis.textObjects.postext.position.set(0, GLOBAL.PLAYER_RADIUS * 9 + 200)\n\t\tthis.textObjects.teamtext.text += this.team\n\t\tthis.textObjects.teamtext.position.set(0, GLOBAL.PLAYER_RADIUS * 9 + 300)\n\n\t\t// create text and assign color\n\t\tfor (let item in this.textObjects) {\n\t\t\t// Add text\n\t\t\tthis.textObjects[item].style = new PIXI.TextStyle({\n\t\t\t\tfill: '0x' + GLOBAL.TEAM_COLORS[teamColors[this.team]],\n\t\t\t\tfontSize: 120\n\t\t\t})\n\t\t\tthis.addChild(this.textObjects[item])\n\t\t}\n\n\t\t// Create player sprite child\n\t\tthis.playerSprite.anchor.set(0.5, 0.5)\n\t\tthis.playerSprite.position.set(GLOBAL.PLAYER_RADIUS * 5, GLOBAL.PLAYER_RADIUS * 5)\n\t\tthis.playerSprite.scale.set(1.3, 1.3)\n\t\tthis.addChild(this.playerSprite)\n\t}\n\t/**\n * Draws all components of a given player.\n * This method should be included in the ticker and called once a frame.\n * Therefore, all setup tasks\n * should be called in setup().\n */\n\ttick () {\n\t\t// Movement\n\t\tsuper.tick(true)\n\n\t\t// Update text\n\t\tthis.textObjects.postext.text = '(' + Math.round(this.posX) + ', ' + Math.round(this.posY) + ')'\n\t\tthis.textObjects.healthtext.text = 'health: ' + this.health\n\n\t\t// Rotation\n\t\tthis.playerSprite.rotation += (this.id === socket.id && mouseDown) ? GLOBAL.PLAYER_EXPEDITED_ROTATION : GLOBAL.PLAYER_ROTATION\n\n\t\t// Draw other player\n\t\tif (this.id !== socket.id) {\n\t\t\tthis.draw()\n\t\t}\n\t}\n\n\t/**\n\t * Notifies the player to check for a sprite change (shield, etc).\n\t * @param {boolean} hasShield True if the player has shield from an element\n\t * @param {string} stronghold 'team' if player is in team stronghold, 'notteam' if player is in enemy stronghold, 'none', if not in a stronghold\n\t */\n\tchangeSprite(hasShield, stronghold) {\n\t\t// Set values\n\t\tthis.hasShield = hasShield\n\t\tthis.stronghold = stronghold\n\n\t\t// Set sprite\n\t\tif (this.hasShield || this.stronghold === 'team') {\n\t\t\tthis.playerSprite.texture = spritesheet.textures[teamColors[this.team] + 'playershield.png']\n\t\t}\n\t\telse {\n\t\t\tthis.playerSprite.texture = spritesheet.textures[teamColors[this.team] + 'player.png']\n\t\t}\n\t}\n}\n",
+ "content": "import { GLOBAL } from '../global.js'\nimport * as PIXI from 'pixi.js'\nimport { screenCenterX, screenCenterY, mouseDown, spritesheet } from '../pixigame.js'\nimport { socket, teamColors } from '../socket.js'\nimport { GameObject } from './gameobject.js'\n\nexport class Player extends GameObject {\n\t/**\n * Constructor for creating a new Player in the server side.\n * Player is a Sprite instance that can be added to the stage.\n * Each Player should only be created once, and updated subsequently with\n * setData().\n * @param {PIXI.Texture} texture The texture associated with this sprite\n * @param {string} id Socket ID of the player\n * @param {string} name Name of the player\n * @param {string} room Room that the player belongs to\n * @param {string} team Team that the player belongs to\n * @param {number} health Health of the player\n * @param {number} x Global x-coordinate\n * @param {number} y Global y-coordinate\n * @param {number} vx Horizontal velocity\n * @param {number} vy Vertical velocity\n */\n\tconstructor (texture, id, name, room, team, health, x, y, vx, vy, experience) {\n\t\t// Call GameObject\n\t\tsuper(texture, id, x, y, vx, vy)\n\n\t\t// Pixi Values\n\t\tthis.width = GLOBAL.PLAYER_RADIUS * 2\n\t\tthis.height = GLOBAL.PLAYER_RADIUS * 2\n\n\t\tif (id === socket.id) {\n\t\t\t// console.log('this player');\n\t\t\tthis.x = screenCenterX\n\t\t\tthis.y = screenCenterY\n\t\t}\n\t\telse { // take this player off screen until it can be processed\n\t\t\tthis.hide()\n\t\t}\n\n\t\t// Custom fields\n\t\tthis.name = name\n\t\tthis.room = room\n\t\tthis.team = team\n\t\tthis.health = health // Set the health of the player\n\t\tthis.isMoving = false\n\t\tthis.experience = experience // Sets the experience of the player(Passed in)\n\t\tthis.speedMult = 1 // Speed multiplier. Increased/decreased by different compounds\n\t\tthis.shield = 0\n\t\tthis.stronghold = 'none'\n\n\t\tthis.damagedBy = {} // Object containing the values of damage that each player has dealt.\n\t\tthis.textObjects = {} // Contains Text to be drawn under the player (name, id, etc)\n\t\tthis.playerSprite = new PIXI.Sprite(texture)\n\n\t\tthis.setup()\n\t}\n\n\t/**\n * First-time setup for this player. All of the functions in this method will only be called once.\n */\n\tsetup () {\n\t\t// Create text objects\n\t\tthis.textObjects.nametext = new PIXI.Text('name: ')\n\t\tthis.textObjects.idtext = new PIXI.Text('id: ')\n\t\tthis.textObjects.postext = new PIXI.Text('placeholderpos')\n\t\tthis.textObjects.teamtext = new PIXI.Text('team: ')\n\t\tthis.textObjects.healthtext = new PIXI.Text('health: ')\n\t\tthis.textObjects.defensetext = new PIXI.Text('defense: ')\n\n\t\t// Assign values and positions\n\t\tthis.textObjects.idtext.position.set(0, GLOBAL.PLAYER_RADIUS * 9)\n\t\tthis.textObjects.idtext.text += this.id\n\t\tthis.textObjects.nametext.position.set(0, GLOBAL.PLAYER_RADIUS * 9 + 100)\n\t\tthis.textObjects.nametext.text += this.name\n\t\tthis.textObjects.postext.position.set(0, GLOBAL.PLAYER_RADIUS * 9 + 200)\n\t\tthis.textObjects.teamtext.text += this.team\n\t\tthis.textObjects.teamtext.position.set(0, GLOBAL.PLAYER_RADIUS * 9 + 300)\n\t\tthis.textObjects.defensetext.text += this.shield\n\t\tthis.textObjects.defensetext.position.set(0, GLOBAL.PLAYER_RADIUS * 9 + 400)\n\n\t\t// create text and assign color\n\t\tfor (let item in this.textObjects) {\n\t\t\t// Add text\n\t\t\tthis.textObjects[item].style = new PIXI.TextStyle({\n\t\t\t\tfill: '0x' + GLOBAL.TEAM_COLORS[teamColors[this.team]],\n\t\t\t\tfontSize: 120\n\t\t\t})\n\t\t\tthis.addChild(this.textObjects[item])\n\t\t}\n\n\t\t// Create player sprite child\n\t\tthis.playerSprite.anchor.set(0.5, 0.5)\n\t\tthis.playerSprite.position.set(GLOBAL.PLAYER_RADIUS * 5, GLOBAL.PLAYER_RADIUS * 5)\n\t\tthis.playerSprite.scale.set(1.3, 1.3)\n\t\tthis.addChild(this.playerSprite)\n\t}\n\t/**\n * Draws all components of a given player.\n * This method should be included in the ticker and called once a frame.\n * Therefore, all setup tasks\n * should be called in setup().\n */\n\ttick () {\n\t\t// Movement\n\t\tsuper.tick(true)\n\n\t\t// Update text\n\t\tthis.textObjects.postext.text = '(' + Math.round(this.posX) + ', ' + Math.round(this.posY) + ')'\n\t\tthis.textObjects.healthtext.text = 'health: ' + this.health\n\t\tthis.textObjects.defensetext.text = 'defense: ' + this.shield + ((this.stronghold === 'team') ? ' (+5)' : '')\n\n\t\t// Rotation\n\t\tthis.playerSprite.rotation += (this.id === socket.id && mouseDown) ? GLOBAL.PLAYER_EXPEDITED_ROTATION : GLOBAL.PLAYER_ROTATION\n\n\t\t// Draw other player\n\t\tif (this.id !== socket.id) {\n\t\t\tthis.draw()\n\t\t}\n\t}\n\n\t/**\n\t * Notifies the player to check for a sprite change (shield, etc).\n\t * @param {number} shield Number of extra defense points from buffs, elements, etc.\n\t * @param {string} stronghold 'team' if player is in team stronghold, 'notteam' if player is in enemy stronghold, 'none', if not in a stronghold\n\t */\n\tchangeSprite(shield, stronghold) {\n\t\t// Set values\n\t\tthis.shield = shield\n\t\tthis.stronghold = stronghold\n\n\t\t// Set sprite\n\t\tif (this.shield > 0 || this.stronghold === 'team') {\n\t\t\tthis.playerSprite.texture = spritesheet.textures[teamColors[this.team] + 'playershield.png']\n\t\t}\n\t\telse {\n\t\t\tthis.playerSprite.texture = spritesheet.textures[teamColors[this.team] + 'player.png']\n\t\t}\n\t}\n}\n",
"static": true,
"longname": "/home/dbqeo/Documents/AtomBlast.io/src/client/js/obj/player.js",
"access": "public",
@@ -3315,17 +3315,17 @@
{
"__docId__": 173,
"kind": "member",
- "name": "hasShield",
+ "name": "shield",
"memberof": "src/client/js/obj/player.js~Player",
"static": false,
- "longname": "src/client/js/obj/player.js~Player#hasShield",
+ "longname": "src/client/js/obj/player.js~Player#shield",
"access": "public",
"description": null,
"lineNumber": 49,
"undocument": true,
"type": {
"types": [
- "boolean"
+ "number"
]
}
},
@@ -3423,7 +3423,7 @@
"longname": "src/client/js/obj/player.js~Player#tick",
"access": "public",
"description": "Draws all components of a given player.\nThis method should be included in the ticker and called once a frame.\nTherefore, all setup tasks\nshould be called in setup().",
- "lineNumber": 101,
+ "lineNumber": 104,
"params": [],
"return": null
},
@@ -3438,17 +3438,17 @@
"longname": "src/client/js/obj/player.js~Player#changeSprite",
"access": "public",
"description": "Notifies the player to check for a sprite change (shield, etc).",
- "lineNumber": 123,
+ "lineNumber": 127,
"params": [
{
"nullable": null,
"types": [
- "boolean"
+ "number"
],
"spread": false,
"optional": false,
- "name": "hasShield",
- "description": "True if the player has shield from an element"
+ "name": "shield",
+ "description": "Number of extra defense points from buffs, elements, etc."
},
{
"nullable": null,
@@ -4042,7 +4042,7 @@
"__docId__": 207,
"kind": "file",
"name": "src/client/js/socket.js",
- "content": "import { GLOBAL } from './global'\nimport { cookieInputs, quitGame, updateLobby, updateScores, hideElement, displayWinner, updateAtomList } from './app'\nimport ChatClient from './lib/chat-client'\nimport { loadTextures, app, createPlayer, isSetup, startGame, setIngame, spritesheet } from './pixigame'\nimport { createRenderAtom, createRenderCompound } from './obj/create'\n\n/**\n * Socket.js contains all of the clientside networking interface.\n * It contains all variables which are synced between client and server.\n */\n\n// Socket.io instance\nexport var socket\n\n/* Object containing all synced objects. Contains nested objects, which correspond to different types\n * (for example, objects[atoms], objects[players], objects[compounds])\n */\nexport var objects = {\n\tplayers: {},\n\tatoms: {},\n\tcompounds: {},\n\ttiles: {}\n}\n\n/**\n * Team colors object. Number corresponds to index at GLOBAL.TEAM_COLORS.\n * Format: {\n * \tteamname1: 0,\n * \tteamname: colorid,\n * \t...\n * }\n */\nexport var teamColors = {}\n\n/**\n * Attempts to connect to the server. Run on 'start game' press.\n * - Manages connecting to main server vs. devserver\n * - Sets up socket listeners\n * - Loads textures\n * - Loads pixi\n */\nexport function beginConnection () {\n\t// Joins debug server if conditions are met\n\tlet room = (cookieInputs[7].value === 'private' ? cookieInputs[1].value : GLOBAL.NO_ROOM_IDENTIFIER)\n\tlet teamInput = (document.querySelector('input[name=\"queue-type\"]:checked').id === 'team-option') ? cookieInputs[2].value : GLOBAL.NO_TEAM_IDENTIFIER\n\n\tif (cookieInputs[1].value === 'test') {\n\t\tconsole.info('Connecting to: ' + GLOBAL.TEST_IP)\n\t\t// DEVELOPMENT server - auto deploy from pixi branch\n\t\tsocket = io.connect(GLOBAL.TEST_IP, {\n\t\t\tquery: `room=${room}&name=${cookieInputs[0].value}&team=${teamInput}&roomType=${cookieInputs[7].value}`,\n\t\t\treconnectionAttempts: 3\n\t\t})\n\t}\n\telse if (cookieInputs[1].value === 'jurassicexp') {\n\t\tconsole.log('Dev Backdoor Initiated! Connecting to devserver')\n\t\t// Local server\n\t\tsocket = io.connect(GLOBAL.LOCAL_HOST, {\n\t\t\tquery: `room=${room}&name=${cookieInputs[0].value}&team=${teamInput}&roomType=${cookieInputs[7].value}`,\n\t\t\treconnectionAttempts: 3\n\t\t})\n\t}\n\telse {\n\t\t// Production server\n\t\tconsole.log('connecting to main server')\n\t\tsocket = io.connect(GLOBAL.SERVER_IP, {\n\t\t\tquery: `room=${room}&name=${cookieInputs[0].value}&team=${teamInput}&roomType=${cookieInputs[7].value}`,\n\t\t\treconnectionAttempts: 3\n\t\t})\n\t}\n\n\tsocket.on('connect', () => {\n\t\tsetupSocket()\n\t\t// Init pixi\n\t\tloadTextures()\n\t\tif (typeof app !== 'undefined') {\n\t\t\tapp.start()\n\t\t}\n\t})\n}\n\n/**\n * Run on disconnect to reset all server-based variables and connections\n */\nexport function disconnect () {\n\tapp.stop()\n\tsocket.disconnect()\n\n\t// Wipe objects list\n\tfor (let objType in objects) {\n\t\tobjects[objType] = {}\n\t}\n}\n\n/**\n * First time setup when connection starts. Run on connect event to ensure that the socket is connected first.\n */\nfunction setupSocket () {\n\t// Debug\n\tconsole.log('Socket:', socket)\n\n\t// Instantiate Chat System\n\tlet chat = new ChatClient({ player: cookieInputs[0].value, room: cookieInputs[1].value, team: cookieInputs[2].value })\n\tchat.addLoginMessage(cookieInputs[0].value, true)\n\tchat.registerFunctions()\n\n\t// Setup listeners\n\tsetupSocketConnection()\n\tsetupSocketInfo(chat)\n\tsetupSocketObjectRetrieval()\n\n\t// Emit join message,\n\tsocket.emit('playerJoin', { sender: chat.player, team: chat.team })\n}\n\n/**\n * Sets up socket object syncing.\n * Run in setupSocket().\n */\nfunction setupSocketObjectRetrieval () {\n\t// Syncs all objects from server once a frame\n\tsocket.on('objectSync', (data) => {\n\t\tfor (let objType in data) {\n\t\t\tif (objType !== 'tiles') {\n\t\t\t\tfor (let obj in data[objType]) {\n\t\t\t\t\tif (data[objType][obj] !== null) {\n\t\t\t\t\t\tlet objRef = data[objType][obj]\n\t\t\t\t\t\tlet clientObj = objects[objType][obj]\n\t\t\t\t\t\t// Already exists in database\n\t\t\t\t\t\tif (clientObj !== undefined && clientObj !== null) {\n\t\t\t\t\t\t\tif (objRef.id !== socket.id) {\n\t\t\t\t\t\t\t\tobjects[objType][obj].setData(objRef.posX, objRef.posY, objRef.vx, objRef.vy)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (objType === 'players') {\n\t\t\t\t\t\t\t\tobjects[objType][obj].health = objRef.health\n\t\t\t\t\t\t\t\tobjects[objType][obj].damagedBy = objRef.damagedBy\n\t\t\t\t\t\t\t\tobjects[objType][obj].atomList = objRef.atomList\n\t\t\t\t\t\t\t\tobjects[objType][obj].speedMult = objRef.speedMult\n\n\t\t\t\t\t\t\t\tif (objects[objType][obj].hasShield !== objRef.hasShield || objects[objType][obj].stronghold !== objRef.stronghold) {\n\t\t\t\t\t\t\t\t\tobjects[objType][obj].changeSprite(objRef.hasShield, objRef.stronghold)\n\t\t\t\t\t\t\t\t\tconsole.log('change tex')\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tobjects[objType][obj].hasShield = objRef.hasShield\n\t\t\t\t\t\t\t\tobjects[objType][obj].stronghold = objRef.stronghold\n\n\t\t\t\t\t\t\t\tfor (let atom in objRef.atomList) {\n\t\t\t\t\t\t\t\t\tupdateAtomList(atom)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (objType === 'compounds' && objRef.ignited) {\n\t\t\t\t\t\t\t\tobjects[objType][obj].ignited = objRef.ignited\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// Does not exist - need to clone to clientside\n\t\t\t\t\t\telse if (isSetup) {\n\t\t\t\t\t\t\tswitch (objType) {\n\t\t\t\t\t\t\t\tcase 'players':\n\t\t\t\t\t\t\t\t\tobjects[objType][obj] = createPlayer(objRef)\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\tcase 'atoms':\n\t\t\t\t\t\t\t\t\tobjects[objType][obj] = createRenderAtom(objRef)\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\tcase 'compounds':\n\t\t\t\t\t\t\t\t\tobjects[objType][obj] = createRenderCompound(objRef)\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// else { //Tile drawing\n\t\t\t// for (let tile of data.tiles) {\n\n\t\t\t// let tileName = 'tile_' + tile.col + '_' + tile.row;\n\t\t\t// if (objects.tiles[tileName] === undefined) {\n\t\t\t// // console.log(tileName);\n\t\t\t// objects.tiles[tileName] = new MapTile(MAP_LAYOUT[tile.row][tile.col], tile.col, tile.row);\n\t\t\t// }\n\n\t\t\t// }\n\t\t\t// }\n\t\t}\n\t})\n\n\t// Sync objects when they are deleted or move out of view. ONLY call after objectSync to avoid issue\n\tsocket.on('serverSendObjectRemoval', (data) => {\n\t\tif (GLOBAL.VERBOSE_SOCKET) {\n\t\t\tconsole.info('serverSendObjectRemoval() called on: ')\n\t\t\tconsole.info(data)\n\t\t\tconsole.info(objects[data.type][data.id])\n\t\t\tconsole.info(objects)\n\t\t}\n\t\tif (objects[data.type][data.id] === undefined || objects[data.type][data.id] === null) {\n\t\t\tif (GLOBAL.VERBOSE_SOCKET) {\n\t\t\t\tconsole.warn('serverSendObjectRemoval() called on invalid object. Retry.', data)\n\t\t\t}\n\t\t\tsetTimeout(() => {\n\t\t\t\ttry {\n\t\t\t\t\tif (removeObject(data)) {\n\t\t\t\t\t\tif (GLOBAL.VERBOSE_SOCKET) {\n\t\t\t\t\t\t\tconsole.info('Retry successfully removed object. While this worked, it should not happen. Please fix root cause of issue. ')\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn 0\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcatch (err) {\n\t\t\t\t\tif (GLOBAL.VERBOSE_SOCKET) {\n\t\t\t\t\t\tconsole.error('Retry failed. Object removal failed. Abandoning request. ')\n\t\t\t\t\t}\n\t\t\t\t\treturn 1\n\t\t\t\t}\n\t\t\t\t// removeObject(data);\n\t\t\t}, 1000 / 60)\n\t\t\t// return 1\n\t\t}\n\t\telse {\n\t\t\t// console.log(objects[data.type][data.id].destroyed);\n\t\t// An object was removed\n\t\t\tif (!objects[data.type][data.id].destroyed) { // Only remove if not already\n\t\t\t\tremoveObject(data)\n\t\t\t}\n\t\t\telse {\n\t\t\t\tconsole.warn('serverSendObjectRemoval() called despite object has already been destroyed.') // Sanity check\n\t\t\t\treturn 1\n\t\t\t}\n\t\t}\n\n\t\t// Must keep checking if the object was not created at time of destruction.\n\t\t// One example of this needing to be run is when a player instantly collects an atom on spawn.\n\t\t// if (objects[data.type][data.id] === undefined) {\n\t\t// \tlet thisInterval = setTimeout(() => {\n\t\t// \t\tif (objects[data.type][data.id].destroyed) {\n\t\t// \t\t\tclearInterval(thisInterval)\n\t\t// \t\t}\n\t\t// \t\telse {\n\t\t// \t\t\tremoveObject(data)\n\t\t// \t\t}\n\t\t// \t}, 200)\n\t\t// }\n\t})\n}\n\n/**\n * Sets up socket connection listeners.\n * Run in setupSocket().\n */\nfunction setupSocketConnection () {\n\t// On Connection Failure\n\tsocket.on('reconnect_failed', () => {\n\t\talert('You have lost connection to the server!')\n\t})\n\n\tsocket.on('reconnecting', (attempt) => {\n\t\tconsole.log('Lost connection. Reconnecting on attempt: ' + attempt)\n\t\tquitGame('Lost connection to server')\n\t})\n\n\tsocket.on('reconnect_error', (err) => {\n\t\tconsole.log('CRITICAL: Reconnect failed! ' + err)\n\t})\n\n\tsocket.on('pong', (ping) => {\n\t\tconsole.log('Your Ping Is: ' + ping)\n\t})\n\n\tsocket.on('disconnectedPlayer', (data) => {\n\t\tconsole.log('Player ' + data.id + ' has disconnected')\n\t\tchat.addSystemLine('Player ' + objects.players[data.id].name + ' has disconnected')\n\t\tif (objects.players[data.id] !== undefined) {\n\t\t\tobjects.players[data.id].hide()\n\t\t\tdelete objects.players[data.id]\n\t\t}\n\t})\n\n\tsocket.on('serverSendDisconnect', () => {\n\t\tquitGame('The game has ended.', false)\n\t\thideElement('winner-panel')\n\t})\n\n\t// Errors on join\n\tsocket.on('connectionError', (data) => {\n\t\tsocket.disconnect()\n\t\tquitGame(data.msg, true)\n\t})\n}\n\n/**\n * Sets up socket information transfer listeners.\n * Run in setupSocket().\n * @param {*} chat The chat client instance to be used for notifications\n */\nfunction setupSocketInfo (chat) {\n\t// Chat system receiver\n\tsocket.on('serverMSG', data => {\n\t\tchat.addSystemLine(data)\n\t})\n\n\tsocket.on('serverAnnouncement', data => {\n\t\tchat.addChatAnnouncement(data.message, data.sendingTeam)\n\t})\n\n\tsocket.on('serverSendPlayerChat', data => {\n\t\tchat.addChatLine(data.sender, data.message, false, data.sendingTeam)\n\t})\n\n\tsocket.on('serverSendLoginMessage', data => {\n\t\tchat.addLoginMessage(data.sender, false)\n\t})\n\n\t// Receive information about room players\n\tsocket.on('roomInfo', (data) => {\n\t\t// Update lobby info. Pass to app.js\n\t\tupdateLobby(data)\n\n\t\t// if(GLOBAL.DEBUG) {\n\t\t// console.log(\"rcvd: \",data);\n\t\t// }\n\t})\n\n\tsocket.on('serverSendStartGame', (data) => {\n\t\tconsole.log('game has started')\n\t\tstartGame(false, data.teams)\n\t})\n\n\tsocket.on('levelUp', (data) => {\n\t\tconsole.log('You LEVELED UP! Level: ' + data.newLevel)\n\t})\n\n\t// Respawn\n\tsocket.on('serverSendPlayerDeath', (data) => {\n\t\tconsole.log('You Died!')\n\t\tobjects.players[socket.id].setData(data.posX, data.posY, data.vx, data.vy)\n\t\tsocket.emit('verifyPlayerDeath', { id: socket.id })\n\t\tconsole.log(objects.players[socket.id])\n\t\tupdateAtomList()\n\t})\n\n\t// Another player died\n\tsocket.on('serverSendNotifyPlayerDeath', (data) => {\n\t\t// Append to chat TODO\n\t})\n\n\t// Update timer\n\tsocket.on('time', (data) => {\n\t\tdocument.getElementById('timer').innerHTML = '
' + data.time + '
'\n\t})\n\n\t// Update scores\n\tsocket.on('serverSendScoreUpdate', (data) => {\n\t\tupdateScores(data.teamSlot, data.increment)\n\t})\n\n\t// A player has won\n\tsocket.on('serverSendWinner', (data) => {\n\t\tsetIngame(false) // Disable keyboard controls and rendering\n\t\tdisplayWinner(data)\n\t})\n\n\t// Sync team colors\n\tsocket.on('serverSendTeamColors', (data) => {\n\t\tteamColors = data\n\t\tconsole.log(teamColors)\n\t})\n\n\t// Change texture when a tile has been captured\n\tsocket.on('serverSendTileCapture', (data) => {\n\t\tobjects.tiles['tile_' + data.tileX + '_' + data.tileY].texture = (spritesheet.textures[data.teamNumber + objects.tiles['tile_' + data.tileX + '_' + data.tileY].tile.texture])\n\t\t// console.log(objects.tiles['tile_' + data.tileY + '_' + data.tileX].texture)\n\t})\n\n\t// Tile health changed\n\tsocket.on('serverSendTileHealth', (data) => {\n\t\tobjects.tiles['tile_' + data.tileX + '_' + data.tileY].updateHealth(data.newHealth)\n\t})\n}\n\n/*\n ********************\n * Helper Functions *\n ********************\n*/\n\n// Helper function for serverSendObjectRemoval\nfunction removeObject (data) {\n\tif (objects[data.type][data.id] !== undefined && objects[data.type][data.id] !== null) {\n\t\tobjects[data.type][data.id].hide()\n\t\tobjects[data.type][data.id].destroy()\n\t\t// delete objects[data.type][data.id];\n\t\treturn true\n\t}\n\telse {\n\t\treturn false\n\t}\n}\n",
+ "content": "import { GLOBAL } from './global'\nimport { cookieInputs, quitGame, updateLobby, updateScores, hideElement, displayWinner, updateAtomList } from './app'\nimport ChatClient from './lib/chat-client'\nimport { loadTextures, app, createPlayer, isSetup, startGame, setIngame, spritesheet } from './pixigame'\nimport { createRenderAtom, createRenderCompound } from './obj/create'\n\n/**\n * Socket.js contains all of the clientside networking interface.\n * It contains all variables which are synced between client and server.\n */\n\n// Socket.io instance\nexport var socket\n\n/* Object containing all synced objects. Contains nested objects, which correspond to different types\n * (for example, objects[atoms], objects[players], objects[compounds])\n */\nexport var objects = {\n\tplayers: {},\n\tatoms: {},\n\tcompounds: {},\n\ttiles: {}\n}\n\n/**\n * Team colors object. Number corresponds to index at GLOBAL.TEAM_COLORS.\n * Format: {\n * \tteamname1: 0,\n * \tteamname: colorid,\n * \t...\n * }\n */\nexport var teamColors = {}\n\n/**\n * Attempts to connect to the server. Run on 'start game' press.\n * - Manages connecting to main server vs. devserver\n * - Sets up socket listeners\n * - Loads textures\n * - Loads pixi\n */\nexport function beginConnection () {\n\t// Joins debug server if conditions are met\n\tlet room = (cookieInputs[7].value === 'private' ? cookieInputs[1].value : GLOBAL.NO_ROOM_IDENTIFIER)\n\tlet teamInput = (document.querySelector('input[name=\"queue-type\"]:checked').id === 'team-option') ? cookieInputs[2].value : GLOBAL.NO_TEAM_IDENTIFIER\n\n\tif (cookieInputs[1].value === 'test') {\n\t\tconsole.info('Connecting to: ' + GLOBAL.TEST_IP)\n\t\t// DEVELOPMENT server - auto deploy from pixi branch\n\t\tsocket = io.connect(GLOBAL.TEST_IP, {\n\t\t\tquery: `room=${room}&name=${cookieInputs[0].value}&team=${teamInput}&roomType=${cookieInputs[7].value}`,\n\t\t\treconnectionAttempts: 3\n\t\t})\n\t}\n\telse if (cookieInputs[1].value === 'jurassicexp') {\n\t\tconsole.log('Dev Backdoor Initiated! Connecting to devserver')\n\t\t// Local server\n\t\tsocket = io.connect(GLOBAL.LOCAL_HOST, {\n\t\t\tquery: `room=${room}&name=${cookieInputs[0].value}&team=${teamInput}&roomType=${cookieInputs[7].value}`,\n\t\t\treconnectionAttempts: 3\n\t\t})\n\t}\n\telse {\n\t\t// Production server\n\t\tconsole.log('connecting to main server')\n\t\tsocket = io.connect(GLOBAL.SERVER_IP, {\n\t\t\tquery: `room=${room}&name=${cookieInputs[0].value}&team=${teamInput}&roomType=${cookieInputs[7].value}`,\n\t\t\treconnectionAttempts: 3\n\t\t})\n\t}\n\n\tsocket.on('connect', () => {\n\t\tsetupSocket()\n\t\t// Init pixi\n\t\tloadTextures()\n\t\tif (typeof app !== 'undefined') {\n\t\t\tapp.start()\n\t\t}\n\t})\n}\n\n/**\n * Run on disconnect to reset all server-based variables and connections\n */\nexport function disconnect () {\n\tapp.stop()\n\tsocket.disconnect()\n\n\t// Wipe objects list\n\tfor (let objType in objects) {\n\t\tobjects[objType] = {}\n\t}\n}\n\n/**\n * First time setup when connection starts. Run on connect event to ensure that the socket is connected first.\n */\nfunction setupSocket () {\n\t// Debug\n\tconsole.log('Socket:', socket)\n\n\t// Instantiate Chat System\n\tlet chat = new ChatClient({ player: cookieInputs[0].value, room: cookieInputs[1].value, team: cookieInputs[2].value })\n\tchat.addLoginMessage(cookieInputs[0].value, true)\n\tchat.registerFunctions()\n\n\t// Setup listeners\n\tsetupSocketConnection()\n\tsetupSocketInfo(chat)\n\tsetupSocketObjectRetrieval()\n\n\t// Emit join message,\n\tsocket.emit('playerJoin', { sender: chat.player, team: chat.team })\n}\n\n/**\n * Sets up socket object syncing.\n * Run in setupSocket().\n */\nfunction setupSocketObjectRetrieval () {\n\t// Syncs all objects from server once a frame\n\tsocket.on('objectSync', (data) => {\n\t\tfor (let objType in data) {\n\t\t\tif (objType !== 'tiles') {\n\t\t\t\tfor (let obj in data[objType]) {\n\t\t\t\t\tif (data[objType][obj] !== null) {\n\t\t\t\t\t\tlet objRef = data[objType][obj]\n\t\t\t\t\t\tlet clientObj = objects[objType][obj]\n\t\t\t\t\t\t// Already exists in database\n\t\t\t\t\t\tif (clientObj !== undefined && clientObj !== null) {\n\t\t\t\t\t\t\tif (objRef.id !== socket.id) {\n\t\t\t\t\t\t\t\tobjects[objType][obj].setData(objRef.posX, objRef.posY, objRef.vx, objRef.vy)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (objType === 'players') {\n\t\t\t\t\t\t\t\tobjects[objType][obj].health = objRef.health\n\t\t\t\t\t\t\t\tobjects[objType][obj].damagedBy = objRef.damagedBy\n\t\t\t\t\t\t\t\tobjects[objType][obj].atomList = objRef.atomList\n\t\t\t\t\t\t\t\tobjects[objType][obj].speedMult = objRef.speedMult\n\n\t\t\t\t\t\t\t\tif (objects[objType][obj].shield !== objRef.shield || objects[objType][obj].stronghold !== objRef.stronghold) {\n\t\t\t\t\t\t\t\t\tobjects[objType][obj].changeSprite(objRef.shield, objRef.stronghold)\n\t\t\t\t\t\t\t\t\tconsole.log('change tex')\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tobjects[objType][obj].shield = objRef.shield\n\t\t\t\t\t\t\t\tobjects[objType][obj].stronghold = objRef.stronghold\n\n\t\t\t\t\t\t\t\tfor (let atom in objRef.atomList) {\n\t\t\t\t\t\t\t\t\tupdateAtomList(atom)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (objType === 'compounds' && objRef.ignited) {\n\t\t\t\t\t\t\t\tobjects[objType][obj].ignited = objRef.ignited\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// Does not exist - need to clone to clientside\n\t\t\t\t\t\telse if (isSetup) {\n\t\t\t\t\t\t\tswitch (objType) {\n\t\t\t\t\t\t\t\tcase 'players':\n\t\t\t\t\t\t\t\t\tobjects[objType][obj] = createPlayer(objRef)\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\tcase 'atoms':\n\t\t\t\t\t\t\t\t\tobjects[objType][obj] = createRenderAtom(objRef)\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\tcase 'compounds':\n\t\t\t\t\t\t\t\t\tobjects[objType][obj] = createRenderCompound(objRef)\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// else { //Tile drawing\n\t\t\t// for (let tile of data.tiles) {\n\n\t\t\t// let tileName = 'tile_' + tile.col + '_' + tile.row;\n\t\t\t// if (objects.tiles[tileName] === undefined) {\n\t\t\t// // console.log(tileName);\n\t\t\t// objects.tiles[tileName] = new MapTile(MAP_LAYOUT[tile.row][tile.col], tile.col, tile.row);\n\t\t\t// }\n\n\t\t\t// }\n\t\t\t// }\n\t\t}\n\t})\n\n\t// Sync objects when they are deleted or move out of view. ONLY call after objectSync to avoid issue\n\tsocket.on('serverSendObjectRemoval', (data) => {\n\t\tif (GLOBAL.VERBOSE_SOCKET) {\n\t\t\tconsole.info('serverSendObjectRemoval() called on: ')\n\t\t\tconsole.info(data)\n\t\t\tconsole.info(objects[data.type][data.id])\n\t\t\tconsole.info(objects)\n\t\t}\n\t\tif (objects[data.type][data.id] === undefined || objects[data.type][data.id] === null) {\n\t\t\tif (GLOBAL.VERBOSE_SOCKET) {\n\t\t\t\tconsole.warn('serverSendObjectRemoval() called on invalid object. Retry.', data)\n\t\t\t}\n\t\t\tsetTimeout(() => {\n\t\t\t\ttry {\n\t\t\t\t\tif (removeObject(data)) {\n\t\t\t\t\t\tif (GLOBAL.VERBOSE_SOCKET) {\n\t\t\t\t\t\t\tconsole.info('Retry successfully removed object. While this worked, it should not happen. Please fix root cause of issue. ')\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn 0\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcatch (err) {\n\t\t\t\t\tif (GLOBAL.VERBOSE_SOCKET) {\n\t\t\t\t\t\tconsole.error('Retry failed. Object removal failed. Abandoning request. ')\n\t\t\t\t\t}\n\t\t\t\t\treturn 1\n\t\t\t\t}\n\t\t\t\t// removeObject(data);\n\t\t\t}, 1000 / 60)\n\t\t\t// return 1\n\t\t}\n\t\telse {\n\t\t\t// console.log(objects[data.type][data.id].destroyed);\n\t\t// An object was removed\n\t\t\tif (!objects[data.type][data.id].destroyed) { // Only remove if not already\n\t\t\t\tremoveObject(data)\n\t\t\t}\n\t\t\telse {\n\t\t\t\tconsole.warn('serverSendObjectRemoval() called despite object has already been destroyed.') // Sanity check\n\t\t\t\treturn 1\n\t\t\t}\n\t\t}\n\n\t\t// Must keep checking if the object was not created at time of destruction.\n\t\t// One example of this needing to be run is when a player instantly collects an atom on spawn.\n\t\t// if (objects[data.type][data.id] === undefined) {\n\t\t// \tlet thisInterval = setTimeout(() => {\n\t\t// \t\tif (objects[data.type][data.id].destroyed) {\n\t\t// \t\t\tclearInterval(thisInterval)\n\t\t// \t\t}\n\t\t// \t\telse {\n\t\t// \t\t\tremoveObject(data)\n\t\t// \t\t}\n\t\t// \t}, 200)\n\t\t// }\n\t})\n}\n\n/**\n * Sets up socket connection listeners.\n * Run in setupSocket().\n */\nfunction setupSocketConnection () {\n\t// On Connection Failure\n\tsocket.on('reconnect_failed', () => {\n\t\talert('You have lost connection to the server!')\n\t})\n\n\tsocket.on('reconnecting', (attempt) => {\n\t\tconsole.log('Lost connection. Reconnecting on attempt: ' + attempt)\n\t\tquitGame('Lost connection to server')\n\t})\n\n\tsocket.on('reconnect_error', (err) => {\n\t\tconsole.log('CRITICAL: Reconnect failed! ' + err)\n\t})\n\n\tsocket.on('pong', (ping) => {\n\t\tconsole.log('Your Ping Is: ' + ping)\n\t})\n\n\tsocket.on('disconnectedPlayer', (data) => {\n\t\tconsole.log('Player ' + data.id + ' has disconnected')\n\t\tchat.addSystemLine('Player ' + objects.players[data.id].name + ' has disconnected')\n\t\tif (objects.players[data.id] !== undefined) {\n\t\t\tobjects.players[data.id].hide()\n\t\t\tdelete objects.players[data.id]\n\t\t}\n\t})\n\n\tsocket.on('serverSendDisconnect', () => {\n\t\tquitGame('The game has ended.', false)\n\t\thideElement('winner-panel')\n\t})\n\n\t// Errors on join\n\tsocket.on('connectionError', (data) => {\n\t\tsocket.disconnect()\n\t\tquitGame(data.msg, true)\n\t})\n}\n\n/**\n * Sets up socket information transfer listeners.\n * Run in setupSocket().\n * @param {*} chat The chat client instance to be used for notifications\n */\nfunction setupSocketInfo (chat) {\n\t// Chat system receiver\n\tsocket.on('serverMSG', data => {\n\t\tchat.addSystemLine(data)\n\t})\n\n\tsocket.on('serverAnnouncement', data => {\n\t\tchat.addChatAnnouncement(data.message, data.sendingTeam)\n\t})\n\n\tsocket.on('serverSendPlayerChat', data => {\n\t\tchat.addChatLine(data.sender, data.message, false, data.sendingTeam)\n\t})\n\n\tsocket.on('serverSendLoginMessage', data => {\n\t\tchat.addLoginMessage(data.sender, false)\n\t})\n\n\t// Receive information about room players\n\tsocket.on('roomInfo', (data) => {\n\t\t// Update lobby info. Pass to app.js\n\t\tupdateLobby(data)\n\n\t\t// if(GLOBAL.DEBUG) {\n\t\t// console.log(\"rcvd: \",data);\n\t\t// }\n\t})\n\n\tsocket.on('serverSendStartGame', (data) => {\n\t\tconsole.log('game has started')\n\t\tstartGame(false, data.teams)\n\t})\n\n\tsocket.on('levelUp', (data) => {\n\t\tconsole.log('You LEVELED UP! Level: ' + data.newLevel)\n\t})\n\n\t// Respawn\n\tsocket.on('serverSendPlayerDeath', (data) => {\n\t\tconsole.log('You Died!')\n\t\tobjects.players[socket.id].setData(data.posX, data.posY, data.vx, data.vy)\n\t\tsocket.emit('verifyPlayerDeath', { id: socket.id })\n\t\tconsole.log(objects.players[socket.id])\n\t\tupdateAtomList()\n\t})\n\n\t// Another player died\n\tsocket.on('serverSendNotifyPlayerDeath', (data) => {\n\t\t// Append to chat TODO\n\t})\n\n\t// Update timer\n\tsocket.on('time', (data) => {\n\t\tdocument.getElementById('timer').innerHTML = '
' + data.time + '
'\n\t})\n\n\t// Update scores\n\tsocket.on('serverSendScoreUpdate', (data) => {\n\t\tupdateScores(data.teamSlot, data.increment)\n\t})\n\n\t// A player has won\n\tsocket.on('serverSendWinner', (data) => {\n\t\tsetIngame(false) // Disable keyboard controls and rendering\n\t\tdisplayWinner(data)\n\t})\n\n\t// Sync team colors\n\tsocket.on('serverSendTeamColors', (data) => {\n\t\tteamColors = data\n\t\tconsole.log(teamColors)\n\t})\n\n\t// Change texture when a tile has been captured\n\tsocket.on('serverSendTileCapture', (data) => {\n\t\tobjects.tiles['tile_' + data.tileX + '_' + data.tileY].texture = (spritesheet.textures[data.teamNumber + objects.tiles['tile_' + data.tileX + '_' + data.tileY].tile.texture])\n\t\t// console.log(objects.tiles['tile_' + data.tileY + '_' + data.tileX].texture)\n\t})\n\n\t// Tile health changed\n\tsocket.on('serverSendTileHealth', (data) => {\n\t\tobjects.tiles['tile_' + data.tileX + '_' + data.tileY].updateHealth(data.newHealth)\n\t})\n}\n\n/*\n ********************\n * Helper Functions *\n ********************\n*/\n\n// Helper function for serverSendObjectRemoval\nfunction removeObject (data) {\n\tif (objects[data.type][data.id] !== undefined && objects[data.type][data.id] !== null) {\n\t\tobjects[data.type][data.id].hide()\n\t\tobjects[data.type][data.id].destroy()\n\t\t// delete objects[data.type][data.id];\n\t\treturn true\n\t}\n\telse {\n\t\treturn false\n\t}\n}\n",
"static": true,
"longname": "/home/dbqeo/Documents/AtomBlast.io/src/client/js/socket.js",
"access": "public",
@@ -4258,7 +4258,7 @@
"__docId__": 218,
"kind": "file",
"name": "src/server/server.js",
- "content": "const express = require('express')\nconst app = express()\nconst http = require('http').Server(app)\nconst io = require('socket.io')(http)\nimport colors from 'colors' // Console colors :D\nimport { GLOBAL } from '../client/js/global'\nimport { roomMatchmaker } from './utils/matchmaker'\nimport { initGlobal, initPlayer } from './utils/serverinit'\nimport { frameSync } from './utils/framesync'\nimport { damage } from './utils/ondamage'\nimport { createCompound } from './utils/compound'\nimport { spawnAtomAtVent } from './utils/atoms'\nimport { getTeamColors } from './utils/serverutils'\nvar config = require('./config.json')\n\nconst DEBUG = true\n\napp.use(express.static(`${__dirname}/../client`))\n\n/* Contains all game data, including which rooms and players are active.\n *\n * Structure of Rooms object:\n *\n// rooms = {\n// roomName: {\n// joinable: true,\n// type: '4v4',\n// teams: [\n// name: 'teamname',\n// players: ['id1', 'id2'...]\n// ],\n// players: { id, name, room, team, health, posX, posY, vx, vy, dead, experience, damagedBy, stronghold },\n// atoms: { typeID, id, posX, posY, vx, vy, team },\n// compounds: {\tid, posX, posY, vx, vy, blueprint, sendingTeam, sender },\n//\t\t tiles: { id, type, globalX, globalY, captured, owner, health }\n// time: {\n// minutes: 0,\n// seconds: 0,\n// formattedTime: '0:00'\n// }\n// }\n// }\n*/\nlet rooms = {}\n\n/**\n * Teams object containing all the currently playing teams.\n * Structure:\n * teamName: {\n * room: 'roomName',\n * players: ['playerSocketId', 'player2SocketId', ...],\n * joinable: false/true\n * }\n *\n * -> Create a Team when the first player joins any lobby. Populate room when this occurs.\n * -> Change joinable to false when a Team is either full or the game has begun.\n * -> Delete the room from the database when the last player leaves.\n * -> There cannot be two teams with the same name. Throw an error if this occurs.\n */\nlet teams = {}\n\n// Initializize Server. Includes atom spawning and timer mechanics\ninitGlobal()\n\n// Initialize all socket listeners when a request is established\nio.on('connection', socket => {\n\t// Local variable declaration\n\tlet room = socket.handshake.query.room\n\tlet team = socket.handshake.query.team\n\n\t// Run matchmaker\n\tlet matchData = roomMatchmaker(socket, room, team)\n\troom = matchData.room\n\tteam = matchData.team\n\n\t// Init player\n\tinitPlayer(socket, room, team)\n\tlet thisPlayer = rooms[room].players[socket.id]\n\tthisPlayer.team = team\n\tthisPlayer.atomList = {}\n\tthisPlayer.speedMult = 1\n\tfor (let atom of GLOBAL.ATOM_IDS) {\n\t\tthisPlayer.atomList[atom] = 0\n\t}\n\n\t// Announce colors\n\tsocket.emit('serverSendTeamColors', getTeamColors(room))\n\tsocket.to(room).emit('serverSendTeamColors', getTeamColors(room))\n\n\t// Setup player array sync- once a frame\n\tsetInterval(() => {\n\t\tframeSync(socket, room, thisPlayer)\n\t}, 1000 / 60)\n\n\t// Receives a chat from a player, then broadcasts it to other players\n\tsocket.to(room).on('playerChat', data => {\n\t\t// console.log('sender: ' + data.sender);\n\t\tconst _sender = data.sender.replace(/(<([^>]+)>)/ig, '')\n\t\tconst _message = data.message.replace(/(<([^>]+)>)/ig, '')\n\n\t\tconsole.log('[CHAT] '.bold.blue + `${(new Date()).getHours()}:${(new Date()).getMinutes()} ${_sender}: ${_message}`.magenta)\n\n\t\tsocket.to(room).broadcast.emit('serverSendPlayerChat', { sender: _sender, message: _message.substring(0, 35), sendingTeam: data.sendingTeam })\n\t})\n\n\t// Other player joins the socket.to(room)\n\tsocket.to(room).on('playerJoin', data => {\n\t\t// console.log('sender: ' + data.sender);\n\t\tconst _sender = data.sender.replace(/(<([^>]+)>)/ig, '')\n\t\tsocket.to(room).broadcast.emit('serverSendLoginMessage', { sender: _sender, team: data.team })\n\t\tif (DEBUG) {\n\t\t\tsocket.to(room).broadcast.emit('serverMSG', 'You are connected to a DEBUG enabled server. ')\n\t\t}\n\t})\n\n\t// Broadcasts player join message\n\n\tsocket.to(room).broadcast.emit('serverSendLoginMessage', {\n\t\tsender: socket.id\n\t})\n\tif (DEBUG) {\n\t\tsocket.to(room).broadcast.emit('serverMSG', 'You are connected to a DEBUG enabled server. ')\n\t}\n\n\t// Hides the lobby screen if the game has already started\n\tif (rooms[room].started) {\n\t\tsocket.emit('serverSendStartGame', { teams: rooms[room].teams })\n\t}\n\n\t/**\n * On player movement:\n * data is in format\n * - id: index of player that moved\n * - type: atoms, players, or compounds\n * - posX: new x position\n * - posY: new y position\n * - vx: x-velocity\n * - vy: y-velocity\n */\n\tsocket.to(room).on('move', data => {\n\t\t// Player exists in database already because it was created serverside - no need for extra checking\n\t\tif (rooms[room][data.type][data.id] !== undefined && !rooms[room][data.type][data.id].dead) {\n\t\t\trooms[room][data.type][data.id].posX = data.posX\n\t\t\trooms[room][data.type][data.id].posY = data.posY\n\t\t\trooms[room][data.type][data.id].vx = data.vx\n\t\t\trooms[room][data.type][data.id].vy = data.vy\n\t\t}\n\t})\n\n\tsocket.to(room).on('damage', data => {\n\t\tdamage(data, room, socket)\n\t})\n\n\tsocket.on('verifyPlayerDeath', data => {\n\t\trooms[room].players[data.id].dead = false\n\t})\n\n\t// A player spawned a Compound\n\tsocket.to(room).on('requestCreateCompound', data => {\n\t\tlet newCompound = createCompound(data, room, thisPlayer, socket)\n\t\tif (newCompound) {\n\t\t\trooms[room].compounds[newCompound.id] = newCompound\n\t\t}\n\t})\n\n\tsocket.on('startGame', data => {\n\t\tconsole.log('Game has started in room ' + room)\n\t\t// Make the room and teams unjoinable\n\t\tfor (let tm of rooms[room].teams) {\n\t\t\tteams[tm.name].joinable = false\n\t\t}\n\t\trooms[room].joinable = false\n\n\t\t// Assign nucleus teams\n\t\tfor (let tile in rooms[room].tiles) {\n\t\t\tif (rooms[room].tiles[tile].type === 'nucleus') {\n\t\t\t\t// console.log(rooms[room].teams)\n\t\t\t\ttry {\n\t\t\t\t\trooms[room].tiles[tile].owner = rooms[room].teams[parseInt(rooms[room].tiles[tile].id.substring(1))].name\n\t\t\t\t}\n\t\t\t\tcatch (e) {\n\t\t\t\t\t// console.warn('No team exists for nucleus ' + rooms[room].tiles[tile].id.substring(1))\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tsocket.broadcast.to(room).emit('serverSendStartGame', { start: data.start, teams: rooms[room].teams })\n\t\tsocket.emit('serverSendStartGame', { start: data.start, teams: rooms[room].teams })\n\t\trooms[room].started = true\n\t})\n\n\t// Testing purposes- give yourself 5000 of each atom\n\tsocket.on('testCommand', (data) => {\n\t\tif (GLOBAL.DEBUG) {\n\t\t\t// console.log(rooms[room].players[data.player].atomList)\n\t\t\tfor (let i in rooms[room].players[data.player].atomList) {\n\t\t\t\trooms[room].players[data.player].atomList[i] += 5000\n\t\t\t}\n\t\t}\n\t})\n\n\tsocket.on('disconnect', data => {\n\t\tconsole.log('[Server]'.bold.blue + ' Disconnect Received: '.red + ('' + socket.id).yellow + ('' + rooms[room].players[socket.id]).green + ': ' + data)\n\n\t\tsocket.to(room).broadcast.emit('disconnectedPlayer', { id: socket.id }) // Broadcast to everyone in the room to delete the player\n\n\t\tdelete rooms[room].players[socket.id] // Remove the server side player\n\n\t\t// Delete room if there is nobody inside\n\t\tif (Object.keys(rooms[room].players).length === 0) {\n\t\t\tconsole.log('[Server] '.bold.blue + 'Closing room '.red + (room + '').bold.red)\n\t\t\tdelete io.sockets.adapter.rooms[socket.id]\n\t\t\tdelete rooms[room]\n\n\t\t\tif (room !== GLOBAL.NO_ROOM_IDENTIFIER) {\n\t\t\t\t// Remove from teams array\n\t\t\t\tteams[team].players.splice(teams[team].players.indexOf(socket.id), 1)\n\t\t\t\t// rooms[room].teams[team].players.splice(rooms[room].teams[team].players.indexOf(socket.id), 1);\n\n\t\t\t\t// Delete team if all players have left\n\t\t\t\tif (teams[team].players.length === 0) {\n\t\t\t\t\tdelete teams[team]\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t})\n})\n\n// Notify on console when server has started\nconst serverPort = process.env.PORT || config.port\nhttp.listen(serverPort, () => {\n\trooms = {}\n\tconsole.log('[Server] '.bold.blue + `started on port: ${serverPort}`.blue)\n})\n\n/**\n * Sets a new value for a protected server field.\n * Adopted from https://stackoverflow.com/questions/18936915/dynamically-set-property-of-nested-object\n * @param {*} value The value to set\n * @param {*} path Array containing all of the subobject identifiers, with the 0th index being the lowest level.\n * Example: rooms.myRoom.players could be accessed through a path value of ['rooms', 'myRoom', 'players']\n */\nexport function setField (value, path) {\n\tif (path === undefined || path.length === 0) {\n\t\tthrow new Error('Error in setField: path cannot be empty')\n\t}\n\n\tlet schema = (path[0] === 'rooms') ? rooms : (path[0] === 'teams') ? teams : undefined\n\tif (schema === undefined) {\n\t\tthrow new Error('Base object ' + path[0] + ' does not exist!')\n\t}\n\n\tlet len = path.length\n\tfor (let i = 1; i < len - 1; i++) {\n\t\tlet elem = path[i]\n\t\tif (!schema[elem]) schema[elem] = {}\n\t\tschema = schema[elem]\n\t}\n\n\tschema[path[len - 1]] = value\n}\n\n/**\n * Shorthand to add or concatenate an amount to a field.\n * Best used with numbers or strings.\n * @param {*} amount Amount to increment the field by.\n * @param {*} path Path to the field.\n */\nexport function incrementField (amount, path) {\n\tsetField(getField(path) + amount, path)\n}\n\n/**\n * Returns the value given a path to that value.\n * Adopted from https://stackoverflow.com/questions/6491463/accessing-nested-javascript-objects-with-string-key\n * @param {*} path Array containing all of the subobject identifiers, with the 0th index being the lowest level.\n * Example: rooms.myRoom.players could be accessed through a path value of ['rooms', 'myRoom', 'players']\n * @returns The value for the given field.\n */\nexport function getField (path) {\n\tif (path === undefined || path.length === 0) {\n\t\tthrow new Error('Error in setField: path cannot be empty')\n\t}\n\tif (path.length === undefined) {\n\t\tthrow new Error('Error in setField: path must be an array')\n\t}\n\n\tlet obj = (path[0] === 'rooms') ? rooms : (path[0] === 'teams') ? teams : undefined\n\tif (obj === undefined) {\n\t\tthrow new Error('Error in setField: Base object ' + path[0] + ' does not exist!')\n\t}\n\n\tfor (let i = 1; i < path.length; i++) {\n\t\tobj = obj[path[i]]\n\t}\n\t// console.log(path, obj);\n\treturn obj\n}\n\n/**\n * Deletes one of the three types of gameObjects synced to the server\n * @param {string} type Either players, atoms, compounds\n * @param {*} id ID of the object to delete\n * @param {string} room Room name to delete in\n * @param {*} socket socket.io instance\n */\nexport function deleteObject (type, id, room, socket) {\n\tdelete rooms[room][type][id]\n\n\t// Send clientside message\n\tsocket.to(room).broadcast.emit('serverSendObjectRemoval', { id: id, type: type })\n\tsocket.emit('serverSendObjectRemoval', { id: id, type: type })\n}\n",
+ "content": "const express = require('express')\nconst app = express()\nconst http = require('http').Server(app)\nconst io = require('socket.io')(http)\nimport colors from 'colors' // Console colors :D\nimport { GLOBAL } from '../client/js/global'\nimport { roomMatchmaker } from './utils/matchmaker'\nimport { initGlobal, initPlayer } from './utils/serverinit'\nimport { frameSync } from './utils/framesync'\nimport { damage } from './utils/ondamage'\nimport { createCompound } from './utils/compound'\nimport { spawnAtomAtVent } from './utils/atoms'\nimport { getTeamColors } from './utils/serverutils'\nvar config = require('./config.json')\n\nconst DEBUG = true\n\napp.use(express.static(`${__dirname}/../client`))\n\n/* Contains all game data, including which rooms and players are active.\n *\n * Structure of Rooms object:\n *\n// rooms = {\n// roomName: {\n// joinable: true,\n// type: '4v4',\n// teams: [\n// name: 'teamname',\n// players: ['id1', 'id2'...]\n// ],\n// players: { id, name, room, team, health, posX, posY, vx, vy, dead, experience, damagedBy, stronghold, defense },\n// atoms: { typeID, id, posX, posY, vx, vy, team },\n// compounds: {\tid, posX, posY, vx, vy, blueprint, sendingTeam, sender },\n//\t\t tiles: { id, type, globalX, globalY, captured, owner, health }\n// time: {\n// minutes: 0,\n// seconds: 0,\n// formattedTime: '0:00'\n// }\n// }\n// }\n*/\nlet rooms = {}\n\n/**\n * Teams object containing all the currently playing teams.\n * Structure:\n * teamName: {\n * room: 'roomName',\n * players: ['playerSocketId', 'player2SocketId', ...],\n * joinable: false/true\n * }\n *\n * -> Create a Team when the first player joins any lobby. Populate room when this occurs.\n * -> Change joinable to false when a Team is either full or the game has begun.\n * -> Delete the room from the database when the last player leaves.\n * -> There cannot be two teams with the same name. Throw an error if this occurs.\n */\nlet teams = {}\n\n// Initializize Server. Includes atom spawning and timer mechanics\ninitGlobal()\n\n// Initialize all socket listeners when a request is established\nio.on('connection', socket => {\n\t// Local variable declaration\n\tlet room = socket.handshake.query.room\n\tlet team = socket.handshake.query.team\n\n\t// Run matchmaker\n\tlet matchData = roomMatchmaker(socket, room, team)\n\troom = matchData.room\n\tteam = matchData.team\n\n\t// Init player\n\tinitPlayer(socket, room, team)\n\tlet thisPlayer = rooms[room].players[socket.id]\n\tthisPlayer.team = team\n\tthisPlayer.atomList = {}\n\tthisPlayer.speedMult = 1\n\tfor (let atom of GLOBAL.ATOM_IDS) {\n\t\tthisPlayer.atomList[atom] = 0\n\t}\n\n\t// Announce colors\n\tsocket.emit('serverSendTeamColors', getTeamColors(room))\n\tsocket.to(room).emit('serverSendTeamColors', getTeamColors(room))\n\n\t// Setup player array sync- once a frame\n\tsetInterval(() => {\n\t\tframeSync(socket, room, thisPlayer)\n\t}, 1000 / 60)\n\n\t// Receives a chat from a player, then broadcasts it to other players\n\tsocket.to(room).on('playerChat', data => {\n\t\t// console.log('sender: ' + data.sender);\n\t\tconst _sender = data.sender.replace(/(<([^>]+)>)/ig, '')\n\t\tconst _message = data.message.replace(/(<([^>]+)>)/ig, '')\n\n\t\tconsole.log('[CHAT] '.bold.blue + `${(new Date()).getHours()}:${(new Date()).getMinutes()} ${_sender}: ${_message}`.magenta)\n\n\t\tsocket.to(room).broadcast.emit('serverSendPlayerChat', { sender: _sender, message: _message.substring(0, 35), sendingTeam: data.sendingTeam })\n\t})\n\n\t// Other player joins the socket.to(room)\n\tsocket.to(room).on('playerJoin', data => {\n\t\t// console.log('sender: ' + data.sender);\n\t\tconst _sender = data.sender.replace(/(<([^>]+)>)/ig, '')\n\t\tsocket.to(room).broadcast.emit('serverSendLoginMessage', { sender: _sender, team: data.team })\n\t\tif (DEBUG) {\n\t\t\tsocket.to(room).broadcast.emit('serverMSG', 'You are connected to a DEBUG enabled server. ')\n\t\t}\n\t})\n\n\t// Broadcasts player join message\n\n\tsocket.to(room).broadcast.emit('serverSendLoginMessage', {\n\t\tsender: socket.id\n\t})\n\tif (DEBUG) {\n\t\tsocket.to(room).broadcast.emit('serverMSG', 'You are connected to a DEBUG enabled server. ')\n\t}\n\n\t// Hides the lobby screen if the game has already started\n\tif (rooms[room].started) {\n\t\tsocket.emit('serverSendStartGame', { teams: rooms[room].teams })\n\t}\n\n\t/**\n * On player movement:\n * data is in format\n * - id: index of player that moved\n * - type: atoms, players, or compounds\n * - posX: new x position\n * - posY: new y position\n * - vx: x-velocity\n * - vy: y-velocity\n */\n\tsocket.to(room).on('move', data => {\n\t\t// Player exists in database already because it was created serverside - no need for extra checking\n\t\tif (rooms[room][data.type][data.id] !== undefined && !rooms[room][data.type][data.id].dead) {\n\t\t\trooms[room][data.type][data.id].posX = data.posX\n\t\t\trooms[room][data.type][data.id].posY = data.posY\n\t\t\trooms[room][data.type][data.id].vx = data.vx\n\t\t\trooms[room][data.type][data.id].vy = data.vy\n\t\t}\n\t})\n\n\tsocket.to(room).on('damage', data => {\n\t\tdamage(data, room, socket)\n\t})\n\n\tsocket.on('verifyPlayerDeath', data => {\n\t\trooms[room].players[data.id].dead = false\n\t})\n\n\t// A player spawned a Compound\n\tsocket.to(room).on('requestCreateCompound', data => {\n\t\tlet newCompound = createCompound(data, room, thisPlayer, socket)\n\t\tif (newCompound) {\n\t\t\trooms[room].compounds[newCompound.id] = newCompound\n\t\t}\n\t})\n\n\tsocket.on('startGame', data => {\n\t\tconsole.log('Game has started in room ' + room)\n\t\t// Make the room and teams unjoinable\n\t\tfor (let tm of rooms[room].teams) {\n\t\t\tteams[tm.name].joinable = false\n\t\t}\n\t\trooms[room].joinable = false\n\n\t\t// Assign nucleus teams\n\t\tfor (let tile in rooms[room].tiles) {\n\t\t\tif (rooms[room].tiles[tile].type === 'nucleus') {\n\t\t\t\t// console.log(rooms[room].teams)\n\t\t\t\ttry {\n\t\t\t\t\trooms[room].tiles[tile].owner = rooms[room].teams[parseInt(rooms[room].tiles[tile].id.substring(1))].name\n\t\t\t\t}\n\t\t\t\tcatch (e) {\n\t\t\t\t\t// console.warn('No team exists for nucleus ' + rooms[room].tiles[tile].id.substring(1))\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tsocket.broadcast.to(room).emit('serverSendStartGame', { start: data.start, teams: rooms[room].teams })\n\t\tsocket.emit('serverSendStartGame', { start: data.start, teams: rooms[room].teams })\n\t\trooms[room].started = true\n\t})\n\n\t// Testing purposes- give yourself 5000 of each atom\n\tsocket.on('testCommand', (data) => {\n\t\tif (GLOBAL.DEBUG) {\n\t\t\t// console.log(rooms[room].players[data.player].atomList)\n\t\t\tfor (let i in rooms[room].players[data.player].atomList) {\n\t\t\t\trooms[room].players[data.player].atomList[i] += 5000\n\t\t\t}\n\t\t}\n\t})\n\n\tsocket.on('disconnect', data => {\n\t\tconsole.log('[Server]'.bold.blue + ' Disconnect Received: '.red + ('' + socket.id).yellow + ('' + rooms[room].players[socket.id]).green + ': ' + data)\n\n\t\tsocket.to(room).broadcast.emit('disconnectedPlayer', { id: socket.id }) // Broadcast to everyone in the room to delete the player\n\n\t\tdelete rooms[room].players[socket.id] // Remove the server side player\n\n\t\t// Delete room if there is nobody inside\n\t\tif (Object.keys(rooms[room].players).length === 0) {\n\t\t\tconsole.log('[Server] '.bold.blue + 'Closing room '.red + (room + '').bold.red)\n\t\t\tdelete io.sockets.adapter.rooms[socket.id]\n\t\t\tdelete rooms[room]\n\n\t\t\tif (room !== GLOBAL.NO_ROOM_IDENTIFIER) {\n\t\t\t\t// Remove from teams array\n\t\t\t\tteams[team].players.splice(teams[team].players.indexOf(socket.id), 1)\n\t\t\t\t// rooms[room].teams[team].players.splice(rooms[room].teams[team].players.indexOf(socket.id), 1);\n\n\t\t\t\t// Delete team if all players have left\n\t\t\t\tif (teams[team].players.length === 0) {\n\t\t\t\t\tdelete teams[team]\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t})\n})\n\n// Notify on console when server has started\nconst serverPort = process.env.PORT || config.port\nhttp.listen(serverPort, () => {\n\trooms = {}\n\tconsole.log('[Server] '.bold.blue + `started on port: ${serverPort}`.blue)\n})\n\n/**\n * Sets a new value for a protected server field.\n * Adopted from https://stackoverflow.com/questions/18936915/dynamically-set-property-of-nested-object\n * @param {*} value The value to set\n * @param {*} path Array containing all of the subobject identifiers, with the 0th index being the lowest level.\n * Example: rooms.myRoom.players could be accessed through a path value of ['rooms', 'myRoom', 'players']\n */\nexport function setField (value, path) {\n\tif (path === undefined || path.length === 0) {\n\t\tthrow new Error('Error in setField: path cannot be empty')\n\t}\n\n\tlet schema = (path[0] === 'rooms') ? rooms : (path[0] === 'teams') ? teams : undefined\n\tif (schema === undefined) {\n\t\tthrow new Error('Base object ' + path[0] + ' does not exist!')\n\t}\n\n\tlet len = path.length\n\tfor (let i = 1; i < len - 1; i++) {\n\t\tlet elem = path[i]\n\t\tif (!schema[elem]) schema[elem] = {}\n\t\tschema = schema[elem]\n\t}\n\n\tschema[path[len - 1]] = value\n}\n\n/**\n * Shorthand to add or concatenate an amount to a field.\n * Best used with numbers or strings.\n * @param {*} amount Amount to increment the field by.\n * @param {*} path Path to the field.\n */\nexport function incrementField (amount, path) {\n\tsetField(getField(path) + amount, path)\n}\n\n/**\n * Returns the value given a path to that value.\n * Adopted from https://stackoverflow.com/questions/6491463/accessing-nested-javascript-objects-with-string-key\n * @param {*} path Array containing all of the subobject identifiers, with the 0th index being the lowest level.\n * Example: rooms.myRoom.players could be accessed through a path value of ['rooms', 'myRoom', 'players']\n * @returns The value for the given field.\n */\nexport function getField (path) {\n\tif (path === undefined || path.length === 0) {\n\t\tthrow new Error('Error in setField: path cannot be empty')\n\t}\n\tif (path.length === undefined) {\n\t\tthrow new Error('Error in setField: path must be an array')\n\t}\n\n\tlet obj = (path[0] === 'rooms') ? rooms : (path[0] === 'teams') ? teams : undefined\n\tif (obj === undefined) {\n\t\tthrow new Error('Error in setField: Base object ' + path[0] + ' does not exist!')\n\t}\n\n\tfor (let i = 1; i < path.length; i++) {\n\t\tobj = obj[path[i]]\n\t}\n\t// console.log(path, obj);\n\treturn obj\n}\n\n/**\n * Deletes one of the three types of gameObjects synced to the server\n * @param {string} type Either players, atoms, compounds\n * @param {*} id ID of the object to delete\n * @param {string} room Room name to delete in\n * @param {*} socket socket.io instance\n */\nexport function deleteObject (type, id, room, socket) {\n\tdelete rooms[room][type][id]\n\n\t// Send clientside message\n\tsocket.to(room).broadcast.emit('serverSendObjectRemoval', { id: id, type: type })\n\tsocket.emit('serverSendObjectRemoval', { id: id, type: type })\n}\n",
"static": true,
"longname": "/home/dbqeo/Documents/AtomBlast.io/src/server/server.js",
"access": "public",
@@ -4951,7 +4951,7 @@
"__docId__": 239,
"kind": "file",
"name": "src/server/utils/compound.js",
- "content": "/**\n * Manages compound creation and behavior.\n * Moved from clientside compound.js\n */\nimport { GLOBAL, getCurrTile } from '../../client/js/global'\nimport { canCraft } from './atoms'\nimport { generateID } from './serverutils'\nimport { incrementField, setField, deleteObject } from '../server'\nimport { damage } from './ondamage'\nimport { addExperience } from './experience'\n\n/**\n * Checks if a compound can be created, deducts craft material, and returns the new compound.\n * Does NOT add the new compound to the objects array.\n * @param data - Data sent from the client.\n * - blueprint: The blueprint of the compound to create\n * - sendingTeam: Team of the player who sent this\n * - mousePos: Mouse position of the player who sent this. Contains x and y components\n * - sender: Player who sent this\n * - streamID: number indicating the consecutive compounds requested on this current mouse hold.\n * @param {string} room - The name of the room\n * @param thisPlayer - The current player instance\n * @param socket - Socket.io instance\n */\nexport function createCompound (data, room, thisPlayer, socket) {\n\tif (!canCraft(thisPlayer, room, data.blueprint)) {\n\t\treturn false\n\t}\n\n\t// Calculate velocities based on cursor position\n\tlet theta = Math.atan2(data.mousePos.y, data.mousePos.x)\n\tlet newCompound = {\n\t\tid: generateID(),\n\t\tposX: thisPlayer.posX + GLOBAL.PLAYER_RADIUS,\n\t\tposY: thisPlayer.posY - GLOBAL.PLAYER_RADIUS,\n\t\tvx: thisPlayer.vx + data.blueprint.params.speed * Math.cos(theta),\n\t\tvy: thisPlayer.vy + data.blueprint.params.speed * Math.sin(theta),\n\t\tblueprint: data.blueprint,\n\t\tsendingTeam: data.sendingTeam,\n\t\tsender: data.sender\n\t}\n\t// console.log(\"This player: \");\n\t// console.log(thisPlayer);\n\t// Add functionality for specific blueprint types\n\tif (data.blueprint.type === 'speed') {\n\t\tincrementField(data.blueprint.params.speedFactor * (1 / thisPlayer.speedMult), ['rooms', room, 'players', thisPlayer.id, 'speedMult'])\n\t}\n\telse if (data.blueprint.type === 'health') {\n\t\tdamage({\n\t\t\tdamage: -data.blueprint.params.healthModifier,\n\t\t\tsender: socket.id\n\t\t}, room, socket)\n\t\tif (thisPlayer.health > GLOBAL.MAX_HEALTH) {\n\t\t\tsetField(GLOBAL.MAX_HEALTH, ['rooms', room, 'players', thisPlayer.id, 'health'])\n\t\t}\n\t}\n\telse if (data.blueprint.type === 'defense') {\n\t\tsetField(true, ['rooms', room, 'players', thisPlayer.id, 'hasShield'])\n\t}\n\telse if (data.blueprint.type === 'block') {\n\t\tnewCompound.vx = newCompound.vy = 0\n\t}\n\n\t// Emits the crafting event to update experience\n\taddExperience('CRAFT', socket, room, thisPlayer.id)\n\n\t// Remove atoms from inventory\n\tif (!data.streamID || data.streamID % data.blueprint.params.compoundsPerCraft === 0 || data.streamID === 1) {\n\t\tfor (let atom in data.blueprint.atoms) {\n\t\t\tincrementField(-data.blueprint.atoms[atom], ['rooms', room, 'players', thisPlayer.id, 'atomList', atom])\n\t\t}\n\t}\n\n\treturn newCompound\n}\n\n/**\n * Checks compound behavior based on compound type. Runs once a frame.\n * @param {number} compound compound object\n * @param {string} room Name of room\n * @param socket - Socket.io instance\n */\nexport function tickCompound (compound, room, socket) {\n\t// TODO\n\tswitch (compound.blueprint.type) {\n\t\tcase 'flammable':\n\t\t\tif (getCurrTile(compound) === 'F' && !compound.ignited) {\n\t\t\t\tsetField(true, ['rooms', room, 'compounds', compound.id, 'ignited'])\n\t\t\t\t// compound.ignited = true (above statement)\n\t\t\t\t// compound.texture = PIXI.loader.resources[GLOBAL.IGNITE_SPRITE].texture; moved to client\n\t\t\t}\n\t\t\tbreak\n\t}\n\n\tif (compound.blueprint.params.evaporate) {\n\t\tif (getCurrTile(compound) === 'F') {\n\t\t\tdeleteObject('compounds', compound.id, room, socket)\n\t\t}\n\t}\n}\n",
+ "content": "/**\n * Manages compound creation and behavior.\n * Moved from clientside compound.js\n */\nimport { GLOBAL, getCurrTile } from '../../client/js/global'\nimport { canCraft } from './atoms'\nimport { generateID } from './serverutils'\nimport { incrementField, setField, deleteObject } from '../server'\nimport { damage } from './ondamage'\nimport { addExperience } from './experience'\n\n/**\n * Checks if a compound can be created, deducts craft material, and returns the new compound.\n * Does NOT add the new compound to the objects array.\n * @param data - Data sent from the client.\n * - blueprint: The blueprint of the compound to create\n * - sendingTeam: Team of the player who sent this\n * - mousePos: Mouse position of the player who sent this. Contains x and y components\n * - sender: Player who sent this\n * - streamID: number indicating the consecutive compounds requested on this current mouse hold.\n * @param {string} room - The name of the room\n * @param thisPlayer - The current player instance\n * @param socket - Socket.io instance\n */\nexport function createCompound (data, room, thisPlayer, socket) {\n\tif (!canCraft(thisPlayer, room, data.blueprint)) {\n\t\treturn false\n\t}\n\n\t// Calculate velocities based on cursor position\n\tlet theta = Math.atan2(data.mousePos.y, data.mousePos.x)\n\tlet newCompound = {\n\t\tid: generateID(),\n\t\tposX: thisPlayer.posX + GLOBAL.PLAYER_RADIUS,\n\t\tposY: thisPlayer.posY - GLOBAL.PLAYER_RADIUS,\n\t\tvx: thisPlayer.vx + data.blueprint.params.speed * Math.cos(theta),\n\t\tvy: thisPlayer.vy + data.blueprint.params.speed * Math.sin(theta),\n\t\tblueprint: data.blueprint,\n\t\tsendingTeam: data.sendingTeam,\n\t\tsender: data.sender\n\t}\n\t// console.log(\"This player: \");\n\t// console.log(thisPlayer);\n\t// Add functionality for specific blueprint types\n\tif (data.blueprint.type === 'speed') {\n\t\tincrementField(data.blueprint.params.speedFactor * (1 / thisPlayer.speedMult), ['rooms', room, 'players', thisPlayer.id, 'speedMult'])\n\t}\n\telse if (data.blueprint.type === 'health') {\n\t\tdamage({\n\t\t\tdamage: -data.blueprint.params.healthModifier,\n\t\t\tsender: socket.id\n\t\t}, room, socket)\n\t\tif (thisPlayer.health > GLOBAL.MAX_HEALTH) {\n\t\t\tsetField(GLOBAL.MAX_HEALTH, ['rooms', room, 'players', thisPlayer.id, 'health'])\n\t\t}\n\t}\n\telse if (data.blueprint.type === 'defense') {\n\t\tsetField(data.blueprint.params.defenseModifier, ['rooms', room, 'players', thisPlayer.id, 'shield'])\n\t}\n\telse if (data.blueprint.type === 'block') {\n\t\tnewCompound.vx = newCompound.vy = 0\n\t}\n\n\t// Emits the crafting event to update experience\n\taddExperience('CRAFT', socket, room, thisPlayer.id)\n\n\t// Remove atoms from inventory\n\tif (!data.streamID || data.streamID % data.blueprint.params.compoundsPerCraft === 0 || data.streamID === 1) {\n\t\tfor (let atom in data.blueprint.atoms) {\n\t\t\tincrementField(-data.blueprint.atoms[atom], ['rooms', room, 'players', thisPlayer.id, 'atomList', atom])\n\t\t}\n\t}\n\n\treturn newCompound\n}\n\n/**\n * Checks compound behavior based on compound type. Runs once a frame.\n * @param {number} compound compound object\n * @param {string} room Name of room\n * @param socket - Socket.io instance\n */\nexport function tickCompound (compound, room, socket) {\n\t// TODO\n\tswitch (compound.blueprint.type) {\n\t\tcase 'flammable':\n\t\t\tif (getCurrTile(compound) === 'F' && !compound.ignited) {\n\t\t\t\tsetField(true, ['rooms', room, 'compounds', compound.id, 'ignited'])\n\t\t\t\t// compound.ignited = true (above statement)\n\t\t\t\t// compound.texture = PIXI.loader.resources[GLOBAL.IGNITE_SPRITE].texture; moved to client\n\t\t\t}\n\t\t\tbreak\n\t}\n\n\tif (compound.blueprint.params.evaporate) {\n\t\tif (getCurrTile(compound) === 'F') {\n\t\t\tdeleteObject('compounds', compound.id, room, socket)\n\t\t}\n\t}\n}\n",
"static": true,
"longname": "/home/dbqeo/Documents/AtomBlast.io/src/server/utils/compound.js",
"access": "public",
@@ -5277,7 +5277,7 @@
"__docId__": 248,
"kind": "file",
"name": "src/server/utils/ondamage.js",
- "content": "import { GLOBAL } from '../../client/js/global'\nimport { getField, setField, incrementField } from '../server'\nimport { getTeamNumber } from './serverutils'\nimport { tmpdir } from 'os'\nimport { spawnAtom } from './atoms'\n\n/**\n * ondamage.js\n * Contains functions:\n * - damage() Runs when a player gets damaged. Updates scores and checks if a player has been killed.\n * - splash() Runs when a collision needs to cause splash damage. Creates explosion effect and deals extra damage.\n */\n\n/**\n * Changes the health of the player by the amount given.\n * @param {*} data The data sent by the client. Contains:\n * - damage (number)\n * - player (id string of player that was hit)\n * - id (id string of compound)\n * - sentBy (id string of player that sent compound)\n * @param {string} room This room.\n * @param {*} socket This socket.\n * Must include the player id and amount to damage.\n * Amount may be negative (for health boost).\n */\nexport function damage (data, room, socket) {\n\tlet thisRoom = getField(['rooms', room])\n\tlet thisPlayer = thisRoom.players[data.player]\n\n\tif (thisPlayer !== undefined) {\n\t\t// thisPlayer.health -= data.damage;\n\t\tsetField(thisPlayer.health - data.damage, ['rooms', room, 'players', data.player, 'health'])\n\n\t\t// Add damage to database\n\t\tif (thisPlayer.damagedBy[data.sentBy] === undefined) {\n\t\t\tsetField(0, ['rooms', room, 'players', data.player, 'damagedBy', data.sentBy])\n\t\t}\n\t\t// thisPlayer.damagedBy[data.sentBy] += data.damage;\n\t\tsetField(thisPlayer.damagedBy[data.sentBy] + data.damage, ['rooms', room, 'players', data.player, 'damagedBy', data.sentBy])\n\n\t\t// Check if the player has died.\n\t\tif (thisPlayer.health <= 0) {\n\t\t\t// console.log(thisRoom.teams.indexOf(socket.handshake.query.team));\n\n\t\t\t// Releases atoms and deletes the entire atoms array in player\n\t\t\tfor (let at in thisPlayer.atomList) {\n\t\t\t\tfor (let i = 0; i < GLOBAL.MAX_DEATH_ATOMS && i < thisPlayer.atomList[at]; i++) {\n\t\t\t\t\tspawnAtom(thisPlayer.posX, thisPlayer.posY, at, room, false)\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (let at in thisPlayer.atomList) {\n\t\t\t\tsetField(0, ['rooms', room, 'players', thisPlayer, 'atomList', at])\n\t\t\t}\n\n\t\t\t// Reset position to spawnpoint\n\t\t\tsetField(GLOBAL.SPAWN_POINTS[getTeamNumber(room, thisPlayer.team)].x * GLOBAL.GRID_SPACING * 2, ['rooms', room, 'players', data.player, 'posX'])\n\t\t\tsetField(GLOBAL.SPAWN_POINTS[getTeamNumber(room, thisPlayer.team)].y * GLOBAL.GRID_SPACING * 2, ['rooms', room, 'players', data.player, 'posY'])\n\t\t\tsetField(GLOBAL.MAX_HEALTH, ['rooms', room, 'players', data.player, 'health'])\n\t\t\tsetField(true, ['rooms', room, 'players', data.player, 'dead']) // This will be reset when it has been verified that the player has been placed at the proper spawnpoint\n\n\t\t\tif (socket.id === data.player) {\n\t\t\t\tlet pl = getField(['rooms', room, 'players', data.player])\n\t\t\t\tsocket.emit('serverSendPlayerDeath', { posX: pl.posX, posY: pl.posY, vx: pl.vx, vy: pl.vy })\n\t\t\t}\n\n\t\t\tif (data.id !== undefined) {\n\t\t\t\t// Read damagedBy to award points, clear in the process\n\t\t\t\tlet max = null\n\t\t\t\tlet dataToSend\n\t\t\t\tfor (let pl in thisPlayer.damagedBy) {\n\t\t\t\t\tdataToSend = {\n\t\t\t\t\t\tplayer: pl,\n\t\t\t\t\t\tteamSlot: getTeamNumber(room, thisRoom.compounds[data.id].sendingTeam),\n\t\t\t\t\t\tincrement: GLOBAL.ASSIST_SCORE,\n\t\t\t\t\t\tkill: false\n\t\t\t\t\t}\n\n\t\t\t\t\t// Add to team score, checking if team score is initialized\n\t\t\t\t\tsetField((thisRoom.teams[dataToSend.teamSlot].score === undefined) ? dataToSend.increment : thisRoom.teams[dataToSend.teamSlot].score + dataToSend.increment, ['rooms', room, 'teams', dataToSend.teamSlot, 'score'])\n\n\t\t\t\t\tsocket.to(room).broadcast.emit('serverSendScoreUpdate', dataToSend)\n\t\t\t\t\tsocket.emit('serverSendScoreUpdate', dataToSend)\n\t\t\t\t\tif (max === null || thisPlayer.damagedBy[pl] > thisPlayer.damagedBy[max]) {\n\t\t\t\t\t\tmax = pl\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Add to score of person who dealt the most damage\n\t\t\t\tdataToSend.player = max\n\t\t\t\tdataToSend.increment = GLOBAL.KILL_SCORE - GLOBAL.ASSIST_SCORE\n\t\t\t\tdataToSend.kill = true\n\t\t\t\tsocket.to(room).broadcast.emit('serverSendScoreUpdate', dataToSend)\n\t\t\t\tsocket.emit('serverSendScoreUpdate', dataToSend)\n\n\t\t\t\t// Add to team score\n\t\t\t\tincrementField(dataToSend.increment, ['rooms', room, 'teams', dataToSend.teamSlot, 'score'])\n\n\t\t\t\t// Clear damagedBy values\n\t\t\t\tfor (let pl in thisPlayer.damagedBy) {\n\t\t\t\t\tsetField(0, ['rooms', room, 'players', data.player, 'damagedBy', pl])\n\t\t\t\t}\n\n\t\t\t\t// Check if a team won\n\t\t\t\tlet highScores = [] // Possible winning teams\n\t\t\t\tlet maxScore = 0\n\t\t\t\tfor (let tm of thisRoom.teams) {\n\t\t\t\t\tif (tm.score >= GLOBAL.WINNING_SCORE) {\n\t\t\t\t\t\thighScores.push(tm)\n\t\t\t\t\t\tif (maxScore < tm.score) {\n\t\t\t\t\t\t\tmaxScore = tm.score\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfor (let winningTm of highScores) {\n\t\t\t\t\tif (winningTm.score === maxScore) {\n\t\t\t\t\t\tlet dataToSend = {\n\t\t\t\t\t\t\twinner: winningTm\n\t\t\t\t\t\t\t// teamScore: thisRoom.teams[dataToSend.teamSlot].score\n\t\t\t\t\t\t\t// other data here TODO post ranking\n\t\t\t\t\t\t}\n\t\t\t\t\t\tsocket.to(room).broadcast.emit('serverSendWinner', dataToSend)\n\t\t\t\t\t\tsocket.emit('serverSendWinner', dataToSend)\n\n\t\t\t\t\t\t// Close room after delay (kick all players)\n\t\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\t\tsocket.emit('serverSendDisconnect', {})\n\t\t\t\t\t\t\tsocket.to(room).broadcast.emit('serverSendDisconnect', {})\n\t\t\t\t\t\t}, GLOBAL.ROOM_DELETE_DELAY)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\telse {\n\t\tconsole.warn('Player of ID ' + data.player + ' couldn\\'t be damaged because they don\\'t exist!')\n\t}\n}\n\nexport function damageTile (tileID, damageAmount, player, room, socket) {\n\tincrementField(-damageAmount, ['rooms', room, 'tiles', tileID, 'health'])\n\n\t// console.log('tile ' + tileID + ' is now at ' + getField(['rooms', room, 'tiles', tileID, 'health']))\n\tlet hpData = {\n\t\tnewHealth: getField(['rooms', room, 'tiles', tileID, 'health']),\n\t\ttileX: getField(['rooms', room, 'tiles', tileID, 'globalX']),\n\t\ttileY: getField(['rooms', room, 'tiles', tileID, 'globalY'])\n\t}\n\tsocket.to(room).emit('serverSendTileHealth', hpData)\n\tsocket.emit('serverSendTileHealth', hpData)\n\n\t// Check if tile is fully captured\n\tif (getField(['rooms', room, 'tiles', tileID, 'health']) <= 0) {\n\t\tfor (let i = 0; i < 3; i++) {\n\t\t\tif (getField(['rooms', room, 'teams', i]).name === getField(['rooms', room, 'players', player, 'team'])) {\n\t\t\t\t// Notify clients of texture change\n\t\t\t\tlet data = {\n\t\t\t\t\tteamNumber: i,\n\t\t\t\t\ttileX: getField(['rooms', room, 'tiles', tileID, 'globalX']),\n\t\t\t\t\ttileY: getField(['rooms', room, 'tiles', tileID, 'globalY'])\n\t\t\t\t}\n\t\t\t\tsocket.to(room).emit('serverSendTileCapture', data)\n\t\t\t\tsocket.emit('serverSendTileCapture', data)\n\t\t\t\tlet tileCaptureMSG = {\n\t\t\t\t\tmessage: 'A ' + getField(['rooms', room, 'tiles', tileID, 'type']) + ' has been captured by ' + getField(['rooms', room, 'players', player, 'name']),\n\t\t\t\t\tsendingTeam: getField(['rooms', room, 'players', player, 'team'])\n\t\t\t\t}\n\t\t\t\tsocket.to(room).emit('serverAnnouncement', tileCaptureMSG)\n\t\t\t\tsocket.emit('serverAnnouncement', tileCaptureMSG)\n\n\t\t\t\t// Set capture status\n\t\t\t\tsetField(true, ['rooms', room, 'tiles', tileID, 'captured'])\n\t\t\t\tsetField(getField(['rooms', room, 'players', player, 'team']), ['rooms', room, 'tiles', tileID, 'owner'])\n\n\t\t\t\t// Distribute points\n\t\t\t\tincrementField(GLOBAL.CAPTURE_SCORE, ['rooms', room, 'teams', i, 'score'])\n\n\t\t\t\t// Reset health\n\t\t\t\tsetField(GLOBAL[('MAX_' + getField(['rooms', room, 'tiles', tileID, 'type']) + '_HEALTH').toUpperCase()], ['rooms', room, 'tiles', tileID, 'health'])\n\t\t\t\tlet hpData = {\n\t\t\t\t\tnewHealth: getField(['rooms', room, 'tiles', tileID, 'health']),\n\t\t\t\t\ttileX: getField(['rooms', room, 'tiles', tileID, 'globalX']),\n\t\t\t\t\ttileY: getField(['rooms', room, 'tiles', tileID, 'globalY'])\n\t\t\t\t}\n\t\t\t\tsocket.to(room).emit('serverSendTileHealth', hpData)\n\t\t\t\tsocket.emit('serverSendTileHealth', hpData)\n\t\t\t\treturn true\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * TODO\n */\nexport function splash () {\n\n}\n",
+ "content": "import { GLOBAL } from '../../client/js/global'\nimport { getField, setField, incrementField } from '../server'\nimport { getTeamNumber } from './serverutils'\nimport { tmpdir } from 'os'\nimport { spawnAtom } from './atoms'\n\n/**\n * ondamage.js\n * Contains functions:\n * - damage() Runs when a player gets damaged. Updates scores and checks if a player has been killed.\n * - splash() Runs when a collision needs to cause splash damage. Creates explosion effect and deals extra damage.\n */\n\n/**\n * Changes the health of the player by the amount given.\n * @param {*} data The data sent by the client. Contains:\n * - damage (number)\n * - player (id string of player that was hit)\n * - id (id string of compound)\n * - sentBy (id string of player that sent compound)\n * @param {string} room This room.\n * @param {*} socket This socket.\n * Must include the player id and amount to damage.\n * Amount may be negative (for health boost).\n */\nexport function damage (data, room, socket) {\n\tlet thisRoom = getField(['rooms', room])\n\tlet thisPlayer = thisRoom.players[data.player]\n\n\tif (thisPlayer !== undefined) {\n\t\t// thisPlayer.health -= data.damage;\n\t\tif (data.damage > GLOBAL.STRONGHOLD_DEFENSE) {\n\t\t\tsetField(thisPlayer.health - data.damage - thisPlayer.defense, ['rooms', room, 'players', data.player, 'health'])\n\t\t}\n\n\t\t// Add damage to database\n\t\tif (thisPlayer.damagedBy[data.sentBy] === undefined) {\n\t\t\tsetField(0, ['rooms', room, 'players', data.player, 'damagedBy', data.sentBy])\n\t\t}\n\t\t// thisPlayer.damagedBy[data.sentBy] += data.damage;\n\t\tsetField(thisPlayer.damagedBy[data.sentBy] + data.damage, ['rooms', room, 'players', data.player, 'damagedBy', data.sentBy])\n\n\t\t// Check if the player has died.\n\t\tif (thisPlayer.health <= 0) {\n\t\t\t// console.log(thisRoom.teams.indexOf(socket.handshake.query.team));\n\n\t\t\t// Releases atoms and deletes the entire atoms array in player\n\t\t\tfor (let at in thisPlayer.atomList) {\n\t\t\t\tfor (let i = 0; i < GLOBAL.MAX_DEATH_ATOMS && i < thisPlayer.atomList[at]; i++) {\n\t\t\t\t\tspawnAtom(thisPlayer.posX, thisPlayer.posY, at, room, false)\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (let at in thisPlayer.atomList) {\n\t\t\t\tsetField(0, ['rooms', room, 'players', thisPlayer, 'atomList', at])\n\t\t\t}\n\n\t\t\t// Set defense to 0\n\t\t\tsetField(0, ['rooms', room, 'players', data.player, 'shield'])\n\n\t\t\t// Reset position to spawnpoint\n\t\t\tsetField(GLOBAL.SPAWN_POINTS[getTeamNumber(room, thisPlayer.team)].x * GLOBAL.GRID_SPACING * 2, ['rooms', room, 'players', data.player, 'posX'])\n\t\t\tsetField(GLOBAL.SPAWN_POINTS[getTeamNumber(room, thisPlayer.team)].y * GLOBAL.GRID_SPACING * 2, ['rooms', room, 'players', data.player, 'posY'])\n\t\t\tsetField(GLOBAL.MAX_HEALTH, ['rooms', room, 'players', data.player, 'health'])\n\t\t\tsetField(true, ['rooms', room, 'players', data.player, 'dead']) // This will be reset when it has been verified that the player has been placed at the proper spawnpoint\n\n\t\t\tif (socket.id === data.player) {\n\t\t\t\tlet pl = getField(['rooms', room, 'players', data.player])\n\t\t\t\tsocket.emit('serverSendPlayerDeath', { posX: pl.posX, posY: pl.posY, vx: pl.vx, vy: pl.vy })\n\t\t\t}\n\n\t\t\tif (data.id !== undefined) {\n\t\t\t\t// Read damagedBy to award points, clear in the process\n\t\t\t\tlet max = null\n\t\t\t\tlet dataToSend\n\t\t\t\tfor (let pl in thisPlayer.damagedBy) {\n\t\t\t\t\tdataToSend = {\n\t\t\t\t\t\tplayer: pl,\n\t\t\t\t\t\tteamSlot: getTeamNumber(room, thisRoom.compounds[data.id].sendingTeam),\n\t\t\t\t\t\tincrement: GLOBAL.ASSIST_SCORE,\n\t\t\t\t\t\tkill: false\n\t\t\t\t\t}\n\n\t\t\t\t\t// Add to team score, checking if team score is initialized\n\t\t\t\t\tsetField((thisRoom.teams[dataToSend.teamSlot].score === undefined) ? dataToSend.increment : thisRoom.teams[dataToSend.teamSlot].score + dataToSend.increment, ['rooms', room, 'teams', dataToSend.teamSlot, 'score'])\n\n\t\t\t\t\tsocket.to(room).broadcast.emit('serverSendScoreUpdate', dataToSend)\n\t\t\t\t\tsocket.emit('serverSendScoreUpdate', dataToSend)\n\t\t\t\t\tif (max === null || thisPlayer.damagedBy[pl] > thisPlayer.damagedBy[max]) {\n\t\t\t\t\t\tmax = pl\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Add to score of person who dealt the most damage\n\t\t\t\tdataToSend.player = max\n\t\t\t\tdataToSend.increment = GLOBAL.KILL_SCORE - GLOBAL.ASSIST_SCORE\n\t\t\t\tdataToSend.kill = true\n\t\t\t\tsocket.to(room).broadcast.emit('serverSendScoreUpdate', dataToSend)\n\t\t\t\tsocket.emit('serverSendScoreUpdate', dataToSend)\n\n\t\t\t\t// Add to team score\n\t\t\t\tincrementField(dataToSend.increment, ['rooms', room, 'teams', dataToSend.teamSlot, 'score'])\n\n\t\t\t\t// Clear damagedBy values\n\t\t\t\tfor (let pl in thisPlayer.damagedBy) {\n\t\t\t\t\tsetField(0, ['rooms', room, 'players', data.player, 'damagedBy', pl])\n\t\t\t\t}\n\n\t\t\t\t// Check if a team won\n\t\t\t\tlet highScores = [] // Possible winning teams\n\t\t\t\tlet maxScore = 0\n\t\t\t\tfor (let tm of thisRoom.teams) {\n\t\t\t\t\tif (tm.score >= GLOBAL.WINNING_SCORE) {\n\t\t\t\t\t\thighScores.push(tm)\n\t\t\t\t\t\tif (maxScore < tm.score) {\n\t\t\t\t\t\t\tmaxScore = tm.score\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfor (let winningTm of highScores) {\n\t\t\t\t\tif (winningTm.score === maxScore) {\n\t\t\t\t\t\tlet dataToSend = {\n\t\t\t\t\t\t\twinner: winningTm\n\t\t\t\t\t\t\t// teamScore: thisRoom.teams[dataToSend.teamSlot].score\n\t\t\t\t\t\t\t// other data here TODO post ranking\n\t\t\t\t\t\t}\n\t\t\t\t\t\tsocket.to(room).broadcast.emit('serverSendWinner', dataToSend)\n\t\t\t\t\t\tsocket.emit('serverSendWinner', dataToSend)\n\n\t\t\t\t\t\t// Close room after delay (kick all players)\n\t\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\t\tsocket.emit('serverSendDisconnect', {})\n\t\t\t\t\t\t\tsocket.to(room).broadcast.emit('serverSendDisconnect', {})\n\t\t\t\t\t\t}, GLOBAL.ROOM_DELETE_DELAY)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\telse {\n\t\tconsole.warn('Player of ID ' + data.player + ' couldn\\'t be damaged because they don\\'t exist!')\n\t}\n}\n\nexport function damageTile (tileID, damageAmount, player, room, socket) {\n\tincrementField(-damageAmount, ['rooms', room, 'tiles', tileID, 'health'])\n\n\t// console.log('tile ' + tileID + ' is now at ' + getField(['rooms', room, 'tiles', tileID, 'health']))\n\tlet hpData = {\n\t\tnewHealth: getField(['rooms', room, 'tiles', tileID, 'health']),\n\t\ttileX: getField(['rooms', room, 'tiles', tileID, 'globalX']),\n\t\ttileY: getField(['rooms', room, 'tiles', tileID, 'globalY'])\n\t}\n\tsocket.to(room).emit('serverSendTileHealth', hpData)\n\tsocket.emit('serverSendTileHealth', hpData)\n\n\t// Check if tile is fully captured\n\tif (getField(['rooms', room, 'tiles', tileID, 'health']) <= 0) {\n\t\tfor (let i = 0; i < 3; i++) {\n\t\t\tif (getField(['rooms', room, 'teams', i]).name === getField(['rooms', room, 'players', player, 'team'])) {\n\t\t\t\t// Notify clients of texture change\n\t\t\t\tlet data = {\n\t\t\t\t\tteamNumber: i,\n\t\t\t\t\ttileX: getField(['rooms', room, 'tiles', tileID, 'globalX']),\n\t\t\t\t\ttileY: getField(['rooms', room, 'tiles', tileID, 'globalY'])\n\t\t\t\t}\n\t\t\t\tsocket.to(room).emit('serverSendTileCapture', data)\n\t\t\t\tsocket.emit('serverSendTileCapture', data)\n\t\t\t\tlet tileCaptureMSG = {\n\t\t\t\t\tmessage: 'A ' + getField(['rooms', room, 'tiles', tileID, 'type']) + ' has been captured by ' + getField(['rooms', room, 'players', player, 'name']),\n\t\t\t\t\tsendingTeam: getField(['rooms', room, 'players', player, 'team'])\n\t\t\t\t}\n\t\t\t\tsocket.to(room).emit('serverAnnouncement', tileCaptureMSG)\n\t\t\t\tsocket.emit('serverAnnouncement', tileCaptureMSG)\n\n\t\t\t\t// Set capture status\n\t\t\t\tsetField(true, ['rooms', room, 'tiles', tileID, 'captured'])\n\t\t\t\tsetField(getField(['rooms', room, 'players', player, 'team']), ['rooms', room, 'tiles', tileID, 'owner'])\n\n\t\t\t\t// Distribute points\n\t\t\t\tincrementField(GLOBAL.CAPTURE_SCORE, ['rooms', room, 'teams', i, 'score'])\n\n\t\t\t\t// Reset health\n\t\t\t\tsetField(GLOBAL[('MAX_' + getField(['rooms', room, 'tiles', tileID, 'type']) + '_HEALTH').toUpperCase()], ['rooms', room, 'tiles', tileID, 'health'])\n\t\t\t\tlet hpData = {\n\t\t\t\t\tnewHealth: getField(['rooms', room, 'tiles', tileID, 'health']),\n\t\t\t\t\ttileX: getField(['rooms', room, 'tiles', tileID, 'globalX']),\n\t\t\t\t\ttileY: getField(['rooms', room, 'tiles', tileID, 'globalY'])\n\t\t\t\t}\n\t\t\t\tsocket.to(room).emit('serverSendTileHealth', hpData)\n\t\t\t\tsocket.emit('serverSendTileHealth', hpData)\n\t\t\t\treturn true\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * TODO\n */\nexport function splash () {\n\n}\n",
"static": true,
"longname": "/home/dbqeo/Documents/AtomBlast.io/src/server/utils/ondamage.js",
"access": "public",
@@ -5347,7 +5347,7 @@
"importPath": "atomblast.io/src/server/utils/ondamage.js",
"importStyle": "{damageTile}",
"description": null,
- "lineNumber": 139,
+ "lineNumber": 144,
"undocument": true,
"params": [
{
@@ -5401,7 +5401,7 @@
"importPath": "atomblast.io/src/server/utils/ondamage.js",
"importStyle": "{splash}",
"description": "TODO",
- "lineNumber": 195,
+ "lineNumber": 200,
"params": [],
"return": null
},
@@ -5409,7 +5409,7 @@
"__docId__": 252,
"kind": "file",
"name": "src/server/utils/serverinit.js",
- "content": "import { getField, setField } from '../server'\nimport { MAP_LAYOUT, TILES, TILE_NAMES } from '../../client/js/obj/tiles'\nimport { GLOBAL } from '../../client/js/global'\nimport { spawnAtomAtVent } from './atoms'\nimport colors from 'colors' // Console colors :D\nimport { generateID } from './serverutils'\n\n/**\n * Methods to run on server initialization and player connect initialization.\n */\n\n/**\n * Global initialiation. Run once on server start.\n */\nexport function initGlobal () {\n\t// Set up atom spawning three times a second. This is processed outside of the player specific behavior because more players joining !== more resources spawn.\n\tsetInterval(() => {\n\t\tfor (let room in getField(['rooms'])) {\n\t\t\tif (getField(['rooms', room, 'started'])) {\n\t\t\t\tlet tiles = getField(['rooms', room, 'tiles'])\n\t\t\t\tfor (let tile in tiles) {\n\t\t\t\t\tif (tiles[tile].type === 'spawner') {\n\t\t\t\t\t\tspawnAtomAtVent(tiles[tile].globalY, tiles[tile].globalX, room, tiles[tile].owner, false)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}, GLOBAL.ATOM_SPAWN_DELAY)\n\n\t// Timer\n\tsetInterval(() => {\n\t\tfor (let room in getField(['rooms'])) {\n\t\t\tif (getField(['rooms', room, 'started'])) {\n\t\t\t\tlet seconds = getField(['rooms', room, 'time', 'seconds'])\n\n\t\t\t\tlet minutes = getField(['rooms', room, 'time', 'minutes'])\n\n\t\t\t\t// Equivalent to rooms[room].time.seconds++;\n\t\t\t\tsetField(seconds + 1, ['rooms', room, 'time', 'seconds'])\n\n\t\t\t\tif (seconds >= 60) {\n\t\t\t\t\tsetField(0, ['rooms', room, 'time', 'seconds'])\n\t\t\t\t\tsetField(minutes + 1, ['rooms', room, 'time', 'minutes'])\n\t\t\t\t}\n\n\t\t\t\t// Set formatted Time\n\t\t\t\tsetField(minutes + ':' + ((seconds < 10) ? '0' : '') + seconds, ['rooms', room, 'time', 'formattedTime'])\n\t\t\t}\n\t\t}\n\t}, 1000)\n}\n\n/**\n * Run on every player join.\n * @param {*} socket The socket.io instance\n * @param {string} room The name of the room that the player belongs to\n * @param {string} team The name of the team that the player belongs to\n */\nexport function initPlayer (socket, room, team) {\n\t// Initialize room array and spawn atoms on first player join\n\tlet thisRoom = getField(['rooms', room])\n\n\t// Set up room if it does not exist\n\tif (thisRoom === undefined || thisRoom === null) {\n\t\tconsole.log('[Server] '.bold.blue + 'Setting up room '.yellow + ('' + room).bold.red + ' as type ' + socket.handshake.query.roomType)\n\t\tsetField({\n\t\t\tjoinable: true,\n\t\t\tteams: [],\n\t\t\tatoms: {},\n\t\t\tcompounds: {},\n\t\t\ttype: socket.handshake.query.roomType,\n\t\t\ttime: {\n\t\t\t\tminutes: 0,\n\t\t\t\tseconds: 0,\n\t\t\t\tformattedTime: '0:00'\n\t\t\t}\n\t\t}, ['rooms', room])\n\n\t\t// Set up capturable tiles\n\t\tsetField({}, ['rooms', room, 'tiles'])\n\t\t// TODO support multiple map layouts\n\t\tfor (let row = 0; row < MAP_LAYOUT.length; row++) {\n\t\t\tfor (let col = 0; col < MAP_LAYOUT[row].length; col++) {\n\t\t\t\tlet currTile = TILES[TILE_NAMES[MAP_LAYOUT[row][col]]]\n\t\t\t\tif (currTile.type === 'spawner' || currTile.type === 'stronghold' || currTile.type === 'nucleus') {\n\t\t\t\t\t// Tile ID is randomized for everything except nucleus, which are equal to nx where x is a number from 0 to 3\n\t\t\t\t\tlet tileID = (currTile.type === 'nucleus') ? MAP_LAYOUT[row][col] : generateID()\n\n\t\t\t\t\tsetField({\n\t\t\t\t\t\tid: tileID,\n\t\t\t\t\t\ttype: currTile.type,\n\t\t\t\t\t\tglobalX: col,\n\t\t\t\t\t\tglobalY: MAP_LAYOUT.length - row - 1,\n\t\t\t\t\t\tcaptured: false,\n\t\t\t\t\t\towner: 'all',\n\t\t\t\t\t\thealth: GLOBAL[('MAX_' + currTile.type + '_HEALTH').toUpperCase()]\n\t\t\t\t\t}, ['rooms', room, 'tiles', tileID])\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tthisRoom = getField(['rooms', room])\n\n\t// Add team to database\n\n\t// Equivalent to rooms[room].teams.push({ name: team });\n\tif (getField(['teams', team, 'players']).length === 1) {\n\t\tsetField({ name: team }, ['rooms', room, 'teams', getField(['rooms', room, 'teams']).length])\n\t}\n\n\t// Check if room is full\n\tif (((thisRoom.type === '4v4' || thisRoom.type === '2v2') && thisRoom.teams.length === 2) || thisRoom.teams.length === 4) {\n\t\tsetField(false, ['rooms', room, 'joinable'])\n\t}\n\n\t// Create new player in rooms object\n\tsetField({\n\t\tid: socket.id,\n\t\tname: socket.handshake.query.name,\n\t\troom: socket.handshake.query.room,\n\t\tteam: team,\n\t\thealth: GLOBAL.MAX_HEALTH,\n\t\tposX: GLOBAL.SPAWN_POINTS[thisRoom.teams.length - 1].x * GLOBAL.GRID_SPACING * 2,\n\t\tposY: GLOBAL.SPAWN_POINTS[thisRoom.teams.length - 1].y * GLOBAL.GRID_SPACING * 2,\n\t\tvx: 0,\n\t\tvy: 0,\n\t\texperience: 0,\n\t\tdamagedBy: {}\n\t}, ['rooms', room, 'players', socket.id])\n}\n",
+ "content": "import { getField, setField } from '../server'\nimport { MAP_LAYOUT, TILES, TILE_NAMES } from '../../client/js/obj/tiles'\nimport { GLOBAL } from '../../client/js/global'\nimport { spawnAtomAtVent } from './atoms'\nimport colors from 'colors' // Console colors :D\nimport { generateID } from './serverutils'\n\n/**\n * Methods to run on server initialization and player connect initialization.\n */\n\n/**\n * Global initialiation. Run once on server start.\n */\nexport function initGlobal () {\n\t// Set up atom spawning three times a second. This is processed outside of the player specific behavior because more players joining !== more resources spawn.\n\tsetInterval(() => {\n\t\tfor (let room in getField(['rooms'])) {\n\t\t\tif (getField(['rooms', room, 'started'])) {\n\t\t\t\tlet tiles = getField(['rooms', room, 'tiles'])\n\t\t\t\tfor (let tile in tiles) {\n\t\t\t\t\tif (tiles[tile].type === 'spawner') {\n\t\t\t\t\t\tspawnAtomAtVent(tiles[tile].globalY, tiles[tile].globalX, room, tiles[tile].owner, false)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}, GLOBAL.ATOM_SPAWN_DELAY)\n\n\t// Timer\n\tsetInterval(() => {\n\t\tfor (let room in getField(['rooms'])) {\n\t\t\tif (getField(['rooms', room, 'started'])) {\n\t\t\t\tlet seconds = getField(['rooms', room, 'time', 'seconds'])\n\n\t\t\t\tlet minutes = getField(['rooms', room, 'time', 'minutes'])\n\n\t\t\t\t// Equivalent to rooms[room].time.seconds++;\n\t\t\t\tsetField(seconds + 1, ['rooms', room, 'time', 'seconds'])\n\n\t\t\t\tif (seconds >= 60) {\n\t\t\t\t\tsetField(0, ['rooms', room, 'time', 'seconds'])\n\t\t\t\t\tsetField(minutes + 1, ['rooms', room, 'time', 'minutes'])\n\t\t\t\t}\n\n\t\t\t\t// Set formatted Time\n\t\t\t\tsetField(minutes + ':' + ((seconds < 10) ? '0' : '') + seconds, ['rooms', room, 'time', 'formattedTime'])\n\t\t\t}\n\t\t}\n\t}, 1000)\n}\n\n/**\n * Run on every player join.\n * @param {*} socket The socket.io instance\n * @param {string} room The name of the room that the player belongs to\n * @param {string} team The name of the team that the player belongs to\n */\nexport function initPlayer (socket, room, team) {\n\t// Initialize room array and spawn atoms on first player join\n\tlet thisRoom = getField(['rooms', room])\n\n\t// Set up room if it does not exist\n\tif (thisRoom === undefined || thisRoom === null) {\n\t\tconsole.log('[Server] '.bold.blue + 'Setting up room '.yellow + ('' + room).bold.red + ' as type ' + socket.handshake.query.roomType)\n\t\tsetField({\n\t\t\tjoinable: true,\n\t\t\tteams: [],\n\t\t\tatoms: {},\n\t\t\tcompounds: {},\n\t\t\ttype: socket.handshake.query.roomType,\n\t\t\ttime: {\n\t\t\t\tminutes: 0,\n\t\t\t\tseconds: 0,\n\t\t\t\tformattedTime: '0:00'\n\t\t\t}\n\t\t}, ['rooms', room])\n\n\t\t// Set up capturable tiles\n\t\tsetField({}, ['rooms', room, 'tiles'])\n\t\t// TODO support multiple map layouts\n\t\tfor (let row = 0; row < MAP_LAYOUT.length; row++) {\n\t\t\tfor (let col = 0; col < MAP_LAYOUT[row].length; col++) {\n\t\t\t\tlet currTile = TILES[TILE_NAMES[MAP_LAYOUT[row][col]]]\n\t\t\t\tif (currTile.type === 'spawner' || currTile.type === 'stronghold' || currTile.type === 'nucleus') {\n\t\t\t\t\t// Tile ID is randomized for everything except nucleus, which are equal to nx where x is a number from 0 to 3\n\t\t\t\t\tlet tileID = (currTile.type === 'nucleus') ? MAP_LAYOUT[row][col] : generateID()\n\n\t\t\t\t\tsetField({\n\t\t\t\t\t\tid: tileID,\n\t\t\t\t\t\ttype: currTile.type,\n\t\t\t\t\t\tglobalX: col,\n\t\t\t\t\t\tglobalY: MAP_LAYOUT.length - row - 1,\n\t\t\t\t\t\tcaptured: false,\n\t\t\t\t\t\towner: 'all',\n\t\t\t\t\t\thealth: GLOBAL[('MAX_' + currTile.type + '_HEALTH').toUpperCase()]\n\t\t\t\t\t}, ['rooms', room, 'tiles', tileID])\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tthisRoom = getField(['rooms', room])\n\n\t// Add team to database\n\n\t// Equivalent to rooms[room].teams.push({ name: team });\n\tif (getField(['teams', team, 'players']).length === 1) {\n\t\tsetField({ name: team }, ['rooms', room, 'teams', getField(['rooms', room, 'teams']).length])\n\t}\n\n\t// Check if room is full\n\tif (((thisRoom.type === '4v4' || thisRoom.type === '2v2') && thisRoom.teams.length === 2) || thisRoom.teams.length === 4) {\n\t\tsetField(false, ['rooms', room, 'joinable'])\n\t}\n\n\t// Create new player in rooms object\n\tsetField({\n\t\tid: socket.id,\n\t\tname: socket.handshake.query.name,\n\t\troom: socket.handshake.query.room,\n\t\tteam: team,\n\t\thealth: GLOBAL.MAX_HEALTH,\n\t\tposX: GLOBAL.SPAWN_POINTS[thisRoom.teams.length - 1].x * GLOBAL.GRID_SPACING * 2,\n\t\tposY: GLOBAL.SPAWN_POINTS[thisRoom.teams.length - 1].y * GLOBAL.GRID_SPACING * 2,\n\t\tvx: 0,\n\t\tvy: 0,\n\t\texperience: 0,\n\t\tdamagedBy: {},\n\t\tshield: 0\n\t}, ['rooms', room, 'players', socket.id])\n}\n",
"static": true,
"longname": "/home/dbqeo/Documents/AtomBlast.io/src/server/utils/serverinit.js",
"access": "public",
diff --git a/docs/script/search_index.js b/docs/script/search_index.js
index 1ce7539..17f4ef6 100644
--- a/docs/script/search_index.js
+++ b/docs/script/search_index.js
@@ -1109,12 +1109,6 @@ window.esdocSearchIndex = [
"src/client/js/obj/player.js~Player#experience",
"member"
],
- [
- "src/client/js/obj/player.js~player#hasshield",
- "class/src/client/js/obj/player.js~Player.html#instance-member-hasShield",
- "src/client/js/obj/player.js~Player#hasShield",
- "member"
- ],
[
"src/client/js/obj/player.js~player#health",
"class/src/client/js/obj/player.js~Player.html#instance-member-health",
@@ -1157,6 +1151,12 @@ window.esdocSearchIndex = [
"src/client/js/obj/player.js~Player#setup",
"method"
],
+ [
+ "src/client/js/obj/player.js~player#shield",
+ "class/src/client/js/obj/player.js~Player.html#instance-member-shield",
+ "src/client/js/obj/player.js~Player#shield",
+ "member"
+ ],
[
"src/client/js/obj/player.js~player#speedmult",
"class/src/client/js/obj/player.js~Player.html#instance-member-speedMult",
diff --git a/docs/source.html b/docs/source.html
index aa9f75c..4d86501 100644
--- a/docs/source.html
+++ b/docs/source.html
@@ -152,16 +152,16 @@
2019-01-07 00:38:29 (UTC) |
- src/client/js/global.js |
+ src/client/js/global.js |
GLOBAL
distanceBetween
getCurrTile
getGlobalLocation
isInBounds |
60 %3/5 |
- 5972 byte |
- 213 |
- 2019-02-01 00:04:20 (UTC) |
+ 5996 byte |
+ 214 |
+ 2019-03-02 16:11:00 (UTC) |
src/client/js/lib/chat-client.js |
@@ -201,9 +201,9 @@
src/client/js/obj/blueprints.js |
BLUEPRINTS |
100 %1/1 |
- 4589 byte |
+ 4588 byte |
240 |
- 2019-02-07 06:50:11 (UTC) |
+ 2019-03-02 16:21:07 (UTC) |
src/client/js/obj/create.js |
@@ -237,9 +237,9 @@
src/client/js/obj/player.js |
Player |
19 %4/21 |
- 4865 byte |
- 136 |
- 2019-03-05 05:19:25 (UTC) |
+ 5160 byte |
+ 140 |
+ 2019-03-02 16:58:50 (UTC) |
src/client/js/obj/tiles.js |
@@ -277,9 +277,9 @@
objects
teamColors
66 %6/9 |
- 11547 byte |
+ 11532 byte |
396 |
- 2019-03-05 05:20:04 (UTC) |
+ 2019-03-02 16:55:00 (UTC) |
src/server/entry.js |
@@ -296,9 +296,9 @@
incrementField
setField
38 %5/13 |
- 10599 byte |
+ 10608 byte |
313 |
- 2019-03-05 05:18:28 (UTC) |
+ 2019-03-02 16:15:03 (UTC) |
src/server/utils/atoms.js |
@@ -324,9 +324,9 @@
createCompound
tickCompound |
100 %2/2 |
- 3643 byte |
+ 3673 byte |
100 |
- 2019-02-07 06:49:01 (UTC) |
+ 2019-03-02 16:20:39 (UTC) |
src/server/utils/experience.js |
@@ -353,23 +353,23 @@
2019-02-07 23:40:21 (UTC) |
- src/server/utils/ondamage.js |
+ src/server/utils/ondamage.js |
damage
damageTile
splash |
66 %2/3 |
- 7783 byte |
- 197 |
- 2019-03-02 22:31:27 (UTC) |
+ 7948 byte |
+ 202 |
+ 2019-03-02 16:22:07 (UTC) |
src/server/utils/serverinit.js |
initGlobal
initPlayer |
100 %2/2 |
- 4333 byte |
- 130 |
- 2019-03-05 05:11:54 (UTC) |
+ 4346 byte |
+ 131 |
+ 2019-03-02 16:55:36 (UTC) |
src/server/utils/serverutils.js |
diff --git a/docs/variable/index.html b/docs/variable/index.html
index 57721ae..3676c43 100644
--- a/docs/variable/index.html
+++ b/docs/variable/index.html
@@ -157,7 +157,7 @@
- GLOBAL: {"DEBUG": boolean, "VERBOSE_SOCKET": *, "KEY_ESC": number, "KEY_ENTER": number, "KEY_W": number, "KEY_A": number, "KEY_S": number, "KEY_D": number, "KEY_1": number, "KEY_2": number, "KEY_3": number, "KEY_4": number, "KEY_SPACE": number, "BP_SELECT": string, "BP_MAX": number, "BP_TOOLTIP_BLACKLIST": *, "INPUT_COUNT": number, "PLACEHOLDER_NAME": string, "MAX_CHATS": number, "SERVER_IP": string, "LOCAL_HOST": string, "TEST_IP": string, "NO_ROOM_IDENTIFIER": string, "NO_TEAM_IDENTIFIER": string, "ROOM_DELETE_DELAY": number, "COOKIES": *, "COOKIE_DAYS": number, "MAX_SPEED": number, "PLAYER_RADIUS": number, "VELOCITY_STEP": number, "LERP_VALUE": number, "DEADZONE": number, "MAX_HEALTH": number, "PLAYER_ROTATION": number, "PLAYER_EXPEDITED_ROTATION": number, "ATOM_RADIUS": number, "MIN_POWERUPS": number, "MAX_POWERUPS": number, "ATTRACTION_RADIUS": number, "ATTRACTION_COEFFICIENT": number, "ATOM_SPAWN_SPEED": number, "ATOM_SPAWN_DELAY": number, "ATOM_COLLECT_THRESHOLD": number, "MAP_SIZE": number, "SPAWN_POINTS": *, "MAX_SPAWNER_HEALTH": number, "MAX_STRONGHOLD_HEALTH": number, "MAX_NUCLEUS_HEALTH": number, "STRONGHOLD_RADIUS": number, "DRAW_RADIUS": number, "GRID_SPACING": number, "GRID_LINE_STROKE": number, "FRAME_RATE": number, "TEAM_COLORS": *, "IGNITE_SPRITE": string, "ATOM_IDS": *, "ATOM_SPRITES": *, "SPRITESHEET_DIR": string, "COMPOUND_DIR": string, "EXPERIENCE_VALUES": *, "EXPERIENCE_LEVELS": *, "MAINMENU_MUSICLIST": *, "LOBBY_MUSICLIST": *, "INGAME_MUSICLIST": *, "KILL_SCORE": number, "ASSIST_SCORE": number, "WINNING_SCORE": number, "CAPTURE_SCORE": number, "MAX_DEATH_ATOMS": number}
+ GLOBAL: {"DEBUG": boolean, "VERBOSE_SOCKET": *, "KEY_ESC": number, "KEY_ENTER": number, "KEY_W": number, "KEY_A": number, "KEY_S": number, "KEY_D": number, "KEY_1": number, "KEY_2": number, "KEY_3": number, "KEY_4": number, "KEY_SPACE": number, "BP_SELECT": string, "BP_MAX": number, "BP_TOOLTIP_BLACKLIST": *, "INPUT_COUNT": number, "PLACEHOLDER_NAME": string, "MAX_CHATS": number, "SERVER_IP": string, "LOCAL_HOST": string, "TEST_IP": string, "NO_ROOM_IDENTIFIER": string, "NO_TEAM_IDENTIFIER": string, "ROOM_DELETE_DELAY": number, "COOKIES": *, "COOKIE_DAYS": number, "MAX_SPEED": number, "PLAYER_RADIUS": number, "VELOCITY_STEP": number, "LERP_VALUE": number, "DEADZONE": number, "MAX_HEALTH": number, "PLAYER_ROTATION": number, "PLAYER_EXPEDITED_ROTATION": number, "ATOM_RADIUS": number, "MIN_POWERUPS": number, "MAX_POWERUPS": number, "ATTRACTION_RADIUS": number, "ATTRACTION_COEFFICIENT": number, "ATOM_SPAWN_SPEED": number, "ATOM_SPAWN_DELAY": number, "ATOM_COLLECT_THRESHOLD": number, "MAP_SIZE": number, "SPAWN_POINTS": *, "MAX_SPAWNER_HEALTH": number, "MAX_STRONGHOLD_HEALTH": number, "MAX_NUCLEUS_HEALTH": number, "STRONGHOLD_RADIUS": number, "STRONGHOLD_DEFENSE": number, "DRAW_RADIUS": number, "GRID_SPACING": number, "GRID_LINE_STROKE": number, "FRAME_RATE": number, "TEAM_COLORS": *, "IGNITE_SPRITE": string, "ATOM_IDS": *, "ATOM_SPRITES": *, "SPRITESHEET_DIR": string, "COMPOUND_DIR": string, "EXPERIENCE_VALUES": *, "EXPERIENCE_LEVELS": *, "MAINMENU_MUSICLIST": *, "LOBBY_MUSICLIST": *, "INGAME_MUSICLIST": *, "KILL_SCORE": number, "ASSIST_SCORE": number, "WINNING_SCORE": number, "CAPTURE_SCORE": number, "MAX_DEATH_ATOMS": number}
@@ -518,7 +518,7 @@
- GLOBAL: {"DEBUG": boolean, "VERBOSE_SOCKET": *, "KEY_ESC": number, "KEY_ENTER": number, "KEY_W": number, "KEY_A": number, "KEY_S": number, "KEY_D": number, "KEY_1": number, "KEY_2": number, "KEY_3": number, "KEY_4": number, "KEY_SPACE": number, "BP_SELECT": string, "BP_MAX": number, "BP_TOOLTIP_BLACKLIST": *, "INPUT_COUNT": number, "PLACEHOLDER_NAME": string, "MAX_CHATS": number, "SERVER_IP": string, "LOCAL_HOST": string, "TEST_IP": string, "NO_ROOM_IDENTIFIER": string, "NO_TEAM_IDENTIFIER": string, "ROOM_DELETE_DELAY": number, "COOKIES": *, "COOKIE_DAYS": number, "MAX_SPEED": number, "PLAYER_RADIUS": number, "VELOCITY_STEP": number, "LERP_VALUE": number, "DEADZONE": number, "MAX_HEALTH": number, "PLAYER_ROTATION": number, "PLAYER_EXPEDITED_ROTATION": number, "ATOM_RADIUS": number, "MIN_POWERUPS": number, "MAX_POWERUPS": number, "ATTRACTION_RADIUS": number, "ATTRACTION_COEFFICIENT": number, "ATOM_SPAWN_SPEED": number, "ATOM_SPAWN_DELAY": number, "ATOM_COLLECT_THRESHOLD": number, "MAP_SIZE": number, "SPAWN_POINTS": *, "MAX_SPAWNER_HEALTH": number, "MAX_STRONGHOLD_HEALTH": number, "MAX_NUCLEUS_HEALTH": number, "STRONGHOLD_RADIUS": number, "DRAW_RADIUS": number, "GRID_SPACING": number, "GRID_LINE_STROKE": number, "FRAME_RATE": number, "TEAM_COLORS": *, "IGNITE_SPRITE": string, "ATOM_IDS": *, "ATOM_SPRITES": *, "SPRITESHEET_DIR": string, "COMPOUND_DIR": string, "EXPERIENCE_VALUES": *, "EXPERIENCE_LEVELS": *, "MAINMENU_MUSICLIST": *, "LOBBY_MUSICLIST": *, "INGAME_MUSICLIST": *, "KILL_SCORE": number, "ASSIST_SCORE": number, "WINNING_SCORE": number, "CAPTURE_SCORE": number, "MAX_DEATH_ATOMS": number}
+ GLOBAL: {"DEBUG": boolean, "VERBOSE_SOCKET": *, "KEY_ESC": number, "KEY_ENTER": number, "KEY_W": number, "KEY_A": number, "KEY_S": number, "KEY_D": number, "KEY_1": number, "KEY_2": number, "KEY_3": number, "KEY_4": number, "KEY_SPACE": number, "BP_SELECT": string, "BP_MAX": number, "BP_TOOLTIP_BLACKLIST": *, "INPUT_COUNT": number, "PLACEHOLDER_NAME": string, "MAX_CHATS": number, "SERVER_IP": string, "LOCAL_HOST": string, "TEST_IP": string, "NO_ROOM_IDENTIFIER": string, "NO_TEAM_IDENTIFIER": string, "ROOM_DELETE_DELAY": number, "COOKIES": *, "COOKIE_DAYS": number, "MAX_SPEED": number, "PLAYER_RADIUS": number, "VELOCITY_STEP": number, "LERP_VALUE": number, "DEADZONE": number, "MAX_HEALTH": number, "PLAYER_ROTATION": number, "PLAYER_EXPEDITED_ROTATION": number, "ATOM_RADIUS": number, "MIN_POWERUPS": number, "MAX_POWERUPS": number, "ATTRACTION_RADIUS": number, "ATTRACTION_COEFFICIENT": number, "ATOM_SPAWN_SPEED": number, "ATOM_SPAWN_DELAY": number, "ATOM_COLLECT_THRESHOLD": number, "MAP_SIZE": number, "SPAWN_POINTS": *, "MAX_SPAWNER_HEALTH": number, "MAX_STRONGHOLD_HEALTH": number, "MAX_NUCLEUS_HEALTH": number, "STRONGHOLD_RADIUS": number, "STRONGHOLD_DEFENSE": number, "DRAW_RADIUS": number, "GRID_SPACING": number, "GRID_LINE_STROKE": number, "FRAME_RATE": number, "TEAM_COLORS": *, "IGNITE_SPRITE": string, "ATOM_IDS": *, "ATOM_SPRITES": *, "SPRITESHEET_DIR": string, "COMPOUND_DIR": string, "EXPERIENCE_VALUES": *, "EXPERIENCE_LEVELS": *, "MAINMENU_MUSICLIST": *, "LOBBY_MUSICLIST": *, "INGAME_MUSICLIST": *, "KILL_SCORE": number, "ASSIST_SCORE": number, "WINNING_SCORE": number, "CAPTURE_SCORE": number, "MAX_DEATH_ATOMS": number}
diff --git a/src/client/js/global.js b/src/client/js/global.js
index 7dddab9..85d0242 100644
--- a/src/client/js/global.js
+++ b/src/client/js/global.js
@@ -88,6 +88,7 @@ export const GLOBAL = {
MAX_STRONGHOLD_HEALTH: 200,
MAX_NUCLEUS_HEALTH: 300,
STRONGHOLD_RADIUS: 100,
+ STRONGHOLD_DEFENSE: 5,
// Drawing
DRAW_RADIUS: 1000, // Radius around player in which to draw other objects
diff --git a/src/client/js/obj/blueprints.js b/src/client/js/obj/blueprints.js
index 6ab4f9e..4b8b678 100644
--- a/src/client/js/obj/blueprints.js
+++ b/src/client/js/obj/blueprints.js
@@ -210,7 +210,7 @@ export const BLUEPRINTS = {
texture: 'compound_ozone.png',
type: 'defense',
params: {
- defenseModifier: 10
+ defenseModifier: 1
},
atoms: {
o: 3
diff --git a/src/client/js/obj/player.js b/src/client/js/obj/player.js
index 8d97581..e7c8797 100644
--- a/src/client/js/obj/player.js
+++ b/src/client/js/obj/player.js
@@ -46,7 +46,7 @@ export class Player extends GameObject {
this.isMoving = false
this.experience = experience // Sets the experience of the player(Passed in)
this.speedMult = 1 // Speed multiplier. Increased/decreased by different compounds
- this.hasShield = false
+ this.shield = 0
this.stronghold = 'none'
this.damagedBy = {} // Object containing the values of damage that each player has dealt.
@@ -66,6 +66,7 @@ export class Player extends GameObject {
this.textObjects.postext = new PIXI.Text('placeholderpos')
this.textObjects.teamtext = new PIXI.Text('team: ')
this.textObjects.healthtext = new PIXI.Text('health: ')
+ this.textObjects.defensetext = new PIXI.Text('defense: ')
// Assign values and positions
this.textObjects.idtext.position.set(0, GLOBAL.PLAYER_RADIUS * 9)
@@ -75,6 +76,8 @@ export class Player extends GameObject {
this.textObjects.postext.position.set(0, GLOBAL.PLAYER_RADIUS * 9 + 200)
this.textObjects.teamtext.text += this.team
this.textObjects.teamtext.position.set(0, GLOBAL.PLAYER_RADIUS * 9 + 300)
+ this.textObjects.defensetext.text += this.shield
+ this.textObjects.defensetext.position.set(0, GLOBAL.PLAYER_RADIUS * 9 + 400)
// create text and assign color
for (let item in this.textObjects) {
@@ -105,6 +108,7 @@ export class Player extends GameObject {
// Update text
this.textObjects.postext.text = '(' + Math.round(this.posX) + ', ' + Math.round(this.posY) + ')'
this.textObjects.healthtext.text = 'health: ' + this.health
+ this.textObjects.defensetext.text = 'defense: ' + this.shield + ((this.stronghold === 'team') ? ' (+5)' : '')
// Rotation
this.playerSprite.rotation += (this.id === socket.id && mouseDown) ? GLOBAL.PLAYER_EXPEDITED_ROTATION : GLOBAL.PLAYER_ROTATION
@@ -117,16 +121,16 @@ export class Player extends GameObject {
/**
* Notifies the player to check for a sprite change (shield, etc).
- * @param {boolean} hasShield True if the player has shield from an element
+ * @param {number} shield Number of extra defense points from buffs, elements, etc.
* @param {string} stronghold 'team' if player is in team stronghold, 'notteam' if player is in enemy stronghold, 'none', if not in a stronghold
*/
- changeSprite(hasShield, stronghold) {
+ changeSprite(shield, stronghold) {
// Set values
- this.hasShield = hasShield
+ this.shield = shield
this.stronghold = stronghold
// Set sprite
- if (this.hasShield || this.stronghold === 'team') {
+ if (this.shield > 0 || this.stronghold === 'team') {
this.playerSprite.texture = spritesheet.textures[teamColors[this.team] + 'playershield.png']
}
else {
diff --git a/src/client/js/socket.js b/src/client/js/socket.js
index 6438dcc..5efd4e1 100644
--- a/src/client/js/socket.js
+++ b/src/client/js/socket.js
@@ -137,12 +137,12 @@ function setupSocketObjectRetrieval () {
objects[objType][obj].atomList = objRef.atomList
objects[objType][obj].speedMult = objRef.speedMult
- if (objects[objType][obj].hasShield !== objRef.hasShield || objects[objType][obj].stronghold !== objRef.stronghold) {
- objects[objType][obj].changeSprite(objRef.hasShield, objRef.stronghold)
+ if (objects[objType][obj].shield !== objRef.shield || objects[objType][obj].stronghold !== objRef.stronghold) {
+ objects[objType][obj].changeSprite(objRef.shield, objRef.stronghold)
console.log('change tex')
}
- objects[objType][obj].hasShield = objRef.hasShield
+ objects[objType][obj].shield = objRef.shield
objects[objType][obj].stronghold = objRef.stronghold
for (let atom in objRef.atomList) {
diff --git a/src/server/server.js b/src/server/server.js
index f7e56af..7ec6530 100644
--- a/src/server/server.js
+++ b/src/server/server.js
@@ -29,7 +29,7 @@ app.use(express.static(`${__dirname}/../client`))
// name: 'teamname',
// players: ['id1', 'id2'...]
// ],
-// players: { id, name, room, team, health, posX, posY, vx, vy, dead, experience, damagedBy, stronghold },
+// players: { id, name, room, team, health, posX, posY, vx, vy, dead, experience, damagedBy, stronghold, defense },
// atoms: { typeID, id, posX, posY, vx, vy, team },
// compounds: { id, posX, posY, vx, vy, blueprint, sendingTeam, sender },
// tiles: { id, type, globalX, globalY, captured, owner, health }
diff --git a/src/server/utils/compound.js b/src/server/utils/compound.js
index cd36592..13987c6 100644
--- a/src/server/utils/compound.js
+++ b/src/server/utils/compound.js
@@ -55,7 +55,7 @@ export function createCompound (data, room, thisPlayer, socket) {
}
}
else if (data.blueprint.type === 'defense') {
- setField(true, ['rooms', room, 'players', thisPlayer.id, 'hasShield'])
+ setField(data.blueprint.params.defenseModifier, ['rooms', room, 'players', thisPlayer.id, 'shield'])
}
else if (data.blueprint.type === 'block') {
newCompound.vx = newCompound.vy = 0
diff --git a/src/server/utils/ondamage.js b/src/server/utils/ondamage.js
index c191e9b..cd00058 100644
--- a/src/server/utils/ondamage.js
+++ b/src/server/utils/ondamage.js
@@ -29,7 +29,9 @@ export function damage (data, room, socket) {
if (thisPlayer !== undefined) {
// thisPlayer.health -= data.damage;
- setField(thisPlayer.health - data.damage, ['rooms', room, 'players', data.player, 'health'])
+ if (data.damage > GLOBAL.STRONGHOLD_DEFENSE) {
+ setField(thisPlayer.health - data.damage - thisPlayer.defense, ['rooms', room, 'players', data.player, 'health'])
+ }
// Add damage to database
if (thisPlayer.damagedBy[data.sentBy] === undefined) {
@@ -52,6 +54,9 @@ export function damage (data, room, socket) {
setField(0, ['rooms', room, 'players', thisPlayer, 'atomList', at])
}
+ // Set defense to 0
+ setField(0, ['rooms', room, 'players', data.player, 'shield'])
+
// Reset position to spawnpoint
setField(GLOBAL.SPAWN_POINTS[getTeamNumber(room, thisPlayer.team)].x * GLOBAL.GRID_SPACING * 2, ['rooms', room, 'players', data.player, 'posX'])
setField(GLOBAL.SPAWN_POINTS[getTeamNumber(room, thisPlayer.team)].y * GLOBAL.GRID_SPACING * 2, ['rooms', room, 'players', data.player, 'posY'])
diff --git a/src/server/utils/serverinit.js b/src/server/utils/serverinit.js
index b16a0b3..28a84d7 100644
--- a/src/server/utils/serverinit.js
+++ b/src/server/utils/serverinit.js
@@ -125,6 +125,7 @@ export function initPlayer (socket, room, team) {
vx: 0,
vy: 0,
experience: 0,
- damagedBy: {}
+ damagedBy: {},
+ shield: 0
}, ['rooms', room, 'players', socket.id])
}