Remove leftover Rectangle code.

This commit is contained in:
Jan Philipp Timme 2014-11-08 18:21:05 +01:00
parent 50a898aeef
commit d5092bd668
1 changed files with 0 additions and 5 deletions

View File

@ -78,11 +78,6 @@ public class CollisionHandler {
boolean y_overlap = total_height > Math.abs(Math.max(y2, y4) - Math.min(y1, y3)); boolean y_overlap = total_height > Math.abs(Math.max(y2, y4) - Math.min(y1, y3));
return x_overlap && y_overlap; return x_overlap && y_overlap;
/*
Rectangle one = new Rectangle(cOne.getX() , cOne.getY(), cOne.getWidth(), cOne.getHeight());
Rectangle two = new Rectangle(cTwo.getX() , cTwo.getY(), cTwo.getWidth(), cTwo.getHeight());
return one.intersects(two);
*/
} }
} }