Skip to content

Commit 3cba010

Browse files
committed
Removed un-used properties
1 parent c86ff4c commit 3cba010

2 files changed

Lines changed: 1 addition & 38 deletions

File tree

src/physics/arcade/StaticBody.js

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -290,36 +290,6 @@ var StaticBody = new Class({
290290
*/
291291
this.customSeparateY = false;
292292

293-
/**
294-
* The amount of horizontal overlap (before separation), if this Body is colliding with another.
295-
*
296-
* @name Phaser.Physics.Arcade.StaticBody#overlapX
297-
* @type {number}
298-
* @default 0
299-
* @since 3.0.0
300-
*/
301-
this.overlapX = 0;
302-
303-
/**
304-
* The amount of vertical overlap (before separation), if this Body is colliding with another.
305-
*
306-
* @name Phaser.Physics.Arcade.StaticBody#overlapY
307-
* @type {number}
308-
* @default 0
309-
* @since 3.0.0
310-
*/
311-
this.overlapY = 0;
312-
313-
/**
314-
* The amount of overlap (before separation), if this StaticBody is circular and colliding with another circular body.
315-
*
316-
* @name Phaser.Physics.Arcade.StaticBody#overlapR
317-
* @type {number}
318-
* @default 0
319-
* @since 3.0.0
320-
*/
321-
this.overlapR = 0;
322-
323293
/**
324294
* Whether this StaticBody has ever overlapped with another while both were not moving.
325295
*

src/physics/arcade/tilemap/TileCheckX.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,7 @@ var TileCheckX = function (body, tile, tileLeft, tileRight, tileBias, isLayer)
6868

6969
if (ox !== 0)
7070
{
71-
if (body.customSeparateX)
72-
{
73-
body.overlapX = ox;
74-
}
75-
else
76-
{
77-
ProcessTileSeparationX(body, ox);
78-
}
71+
ProcessTileSeparationX(body, ox);
7972
}
8073

8174
return ox;

0 commit comments

Comments
 (0)