Skip to content
Snippets Groups Projects
Commit 8b439c44 authored by Azurlors's avatar Azurlors
Browse files

OUI

parent d69d4d07
No related branches found
No related tags found
No related merge requests found
......@@ -78,8 +78,10 @@ public class Character extends Entity{
}
public void collisionGestion(){
collisionObstacle(this.getHitBox(), getObstacleTable().get(2).getHitbox(),2);
System.out.println(collisionObstacle(this.getHitBox(), getObstacleTable().get(2).getHitbox(),2).toString());
for (int i=0;i<getObstacleTable().size();i++) {
collisionObstacle(this.getHitBox(), getObstacleTable().get(i).getHitbox(), i);
System.out.println(collisionObstacle(this.getHitBox(), getObstacleTable().get(i).getHitbox(),i).toString());
}
}
@Override
public void attaque(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment