@adatechnology/game-shapes 0.2.2 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1134,17 +1134,19 @@ var GameShapes = (() => {
1134
1134
  if (p.prevZ) p.prevZ.nextZ = p.nextZ;
1135
1135
  if (p.nextZ) p.nextZ.prevZ = p.prevZ;
1136
1136
  }
1137
- function Node(i, x, y) {
1138
- this.i = i;
1139
- this.x = x;
1140
- this.y = y;
1141
- this.prev = null;
1142
- this.next = null;
1143
- this.z = 0;
1144
- this.prevZ = null;
1145
- this.nextZ = null;
1146
- this.steiner = false;
1147
- }
1137
+ var Node = class {
1138
+ constructor(i, x, y) {
1139
+ this.i = i;
1140
+ this.x = x;
1141
+ this.y = y;
1142
+ this.prev = null;
1143
+ this.next = null;
1144
+ this.z = 0;
1145
+ this.prevZ = null;
1146
+ this.nextZ = null;
1147
+ this.steiner = false;
1148
+ }
1149
+ };
1148
1150
  function signedArea(data, start, end, dim) {
1149
1151
  let sum = 0;
1150
1152
  for (let i = start, j = end - dim; i < end; i += dim) {