mirror of
https://github.com/photonstorm/phaser
synced 2025-02-25 20:07:08 +00:00
Removed unused code
This commit is contained in:
parent
7a05c205b1
commit
28b41254ba
1 changed files with 0 additions and 38 deletions
|
@ -112,44 +112,6 @@ var CheckOverlap = function (collisionInfo)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
if (body1.isWorldBlockedLeft())
|
|
||||||
{
|
|
||||||
body2.setHardBlockedLeft();
|
|
||||||
}
|
|
||||||
else if (body2.isWorldBlockedLeft())
|
|
||||||
{
|
|
||||||
body1.setHardBlockedLeft();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (body1.isWorldBlockedRight())
|
|
||||||
{
|
|
||||||
body2.setHardBlockedRight();
|
|
||||||
}
|
|
||||||
else if (body2.isWorldBlockedRight())
|
|
||||||
{
|
|
||||||
body1.setHardBlockedRight();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (body1.isWorldBlockedUp())
|
|
||||||
{
|
|
||||||
body2.setHardBlockedUp();
|
|
||||||
}
|
|
||||||
else if (body2.isWorldBlockedUp())
|
|
||||||
{
|
|
||||||
body1.setHardBlockedUp();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (body1.isWorldBlockedDown())
|
|
||||||
{
|
|
||||||
body2.setHardBlockedDown();
|
|
||||||
}
|
|
||||||
else if (body2.isWorldBlockedDown())
|
|
||||||
{
|
|
||||||
body1.setHardBlockedDown();
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
return collisionInfo.touching;
|
return collisionInfo.touching;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue