mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +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;
|
||||
}
|
||||
|
||||
/*
|
||||
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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue