fleche tranpercante
This commit is contained in:
parent
457dcbf7c2
commit
9d9c4dca8a
|
@ -199,11 +199,7 @@ public class Arrow extends EntityQuad {
|
|||
Player player = (Player) actor;
|
||||
if (player == GameScreen.playerCurrent && TTL > 19.5) continue;
|
||||
if (Intersector.overlapConvexPolygons(player.hitbox, this.hitbox)) {
|
||||
landed = true;
|
||||
GameScreen.removePlayer(player);
|
||||
GameScreen.arrows.removeActor(this);
|
||||
GameScreen.nextPlayer();
|
||||
GameScreen.setFocus(GameScreen.playerCurrent);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue