File tree 6 files changed +18
-18
lines changed
6 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -137053,7 +137053,7 @@ var ArcadePhysics = new Class({
137053
137053
{
137054
137054
if (!targets)
137055
137055
{
137056
- targets = this.world.bodies.entries ;
137056
+ targets = Array.from( this.world.bodies) ;
137057
137057
}
137058
137058
137059
137059
var min = Number.MAX_VALUE;
@@ -137107,7 +137107,7 @@ var ArcadePhysics = new Class({
137107
137107
{
137108
137108
if (!targets)
137109
137109
{
137110
- targets = this.world.bodies.entries ;
137110
+ targets = Array.from( this.world.bodies) ;
137111
137111
}
137112
137112
137113
137113
var max = -1;
@@ -143715,7 +143715,7 @@ var StaticPhysicsGroup = new Class({
143715
143715
*/
143716
143716
refresh: function ()
143717
143717
{
143718
- var children = this.children.entries ;
143718
+ var children = Array.from( this.children) ;
143719
143719
143720
143720
for (var i = 0; i < children.length; i++)
143721
143721
{
@@ -145551,12 +145551,12 @@ var World = new Class({
145551
145551
145552
145552
if (object1.isParent && (object1.physicsType === undefined || object2 === undefined || object1 === object2))
145553
145553
{
145554
- object1 = object1.children.entries ;
145554
+ object1 = Array.from( object1.children) ;
145555
145555
}
145556
145556
145557
145557
if (object2 && object2.isParent && object2.physicsType === undefined)
145558
145558
{
145559
- object2 = object2.children.entries ;
145559
+ object2 = Array.from( object2.children) ;
145560
145560
}
145561
145561
145562
145562
var object1isArray = Array.isArray(object1);
Original file line number Diff line number Diff line change @@ -136950,7 +136950,7 @@ var ArcadePhysics = new Class({
136950
136950
{
136951
136951
if (!targets)
136952
136952
{
136953
- targets = this.world.bodies.entries ;
136953
+ targets = Array.from( this.world.bodies) ;
136954
136954
}
136955
136955
136956
136956
var min = Number.MAX_VALUE;
@@ -137004,7 +137004,7 @@ var ArcadePhysics = new Class({
137004
137004
{
137005
137005
if (!targets)
137006
137006
{
137007
- targets = this.world.bodies.entries ;
137007
+ targets = Array.from( this.world.bodies) ;
137008
137008
}
137009
137009
137010
137010
var max = -1;
@@ -143612,7 +143612,7 @@ var StaticPhysicsGroup = new Class({
143612
143612
*/
143613
143613
refresh: function ()
143614
143614
{
143615
- var children = this.children.entries ;
143615
+ var children = Array.from( this.children) ;
143616
143616
143617
143617
for (var i = 0; i < children.length; i++)
143618
143618
{
@@ -145448,12 +145448,12 @@ var World = new Class({
145448
145448
145449
145449
if (object1.isParent && (object1.physicsType === undefined || object2 === undefined || object1 === object2))
145450
145450
{
145451
- object1 = object1.children.entries ;
145451
+ object1 = Array.from( object1.children) ;
145452
145452
}
145453
145453
145454
145454
if (object2 && object2.isParent && object2.physicsType === undefined)
145455
145455
{
145456
- object2 = object2.children.entries ;
145456
+ object2 = Array.from( object2.children) ;
145457
145457
}
145458
145458
145459
145459
var object1isArray = Array.isArray(object1);
Original file line number Diff line number Diff line change @@ -137051,7 +137051,7 @@ var ArcadePhysics = new Class({
137051
137051
{
137052
137052
if (!targets)
137053
137053
{
137054
- targets = this.world.bodies.entries ;
137054
+ targets = Array.from( this.world.bodies) ;
137055
137055
}
137056
137056
137057
137057
var min = Number.MAX_VALUE;
@@ -137105,7 +137105,7 @@ var ArcadePhysics = new Class({
137105
137105
{
137106
137106
if (!targets)
137107
137107
{
137108
- targets = this.world.bodies.entries ;
137108
+ targets = Array.from( this.world.bodies) ;
137109
137109
}
137110
137110
137111
137111
var max = -1;
@@ -143713,7 +143713,7 @@ var StaticPhysicsGroup = new Class({
143713
143713
*/
143714
143714
refresh: function ()
143715
143715
{
143716
- var children = this.children.entries ;
143716
+ var children = Array.from( this.children) ;
143717
143717
143718
143718
for (var i = 0; i < children.length; i++)
143719
143719
{
@@ -145549,12 +145549,12 @@ var World = new Class({
145549
145549
145550
145550
if (object1.isParent && (object1.physicsType === undefined || object2 === undefined || object1 === object2))
145551
145551
{
145552
- object1 = object1.children.entries ;
145552
+ object1 = Array.from( object1.children) ;
145553
145553
}
145554
145554
145555
145555
if (object2 && object2.isParent && object2.physicsType === undefined)
145556
145556
{
145557
- object2 = object2.children.entries ;
145557
+ object2 = Array.from( object2.children) ;
145558
145558
}
145559
145559
145560
145560
var object1isArray = Array.isArray(object1);
You can’t perform that action at this time.
0 commit comments