19 }
22 boolean c1 = Intersector.overlaps(new Rectangle(gp.player.pos.x - 16, gp.player.pos.y - 16, gp.player.texWidth + 32, gp.player.height + 32), getRect());
23 boolean c2 = Intersector.overlaps(new Rectangle((gp.player.pos.x + gp.world.getWidth() * 16) - 16, gp.player.pos.y - 16, gp.player.texWidth + 32, gp.player.height + 32), getRect());
24 boolean c3 = Intersector.overlaps(new Rectangle((gp.player.pos.x - gp.world.getWidth() * 16) - 16, gp.player.pos.y - 16, gp.player.texWidth + 32, gp.player.height + 32), getRect());
29 }
43 }
50 // if (move.x > 2) move.x = 2;
51 // if (move.x < -2) move.x = -2;
52 // if (move.y > 2) move.y = 2;
53 // if (move.y < -2) move.y = -2;
54 }
55 }
63 }
64 }
65 }
69 }
73 }
75 }