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

Version 4.0.2 mise à jour condition fin jeu.

parent a2e4f0b9
No related branches found
No related tags found
No related merge requests found
...@@ -218,8 +218,11 @@ public class Jeu implements Game{ ...@@ -218,8 +218,11 @@ public class Jeu implements Game{
@Override @Override
public boolean isFinished() { public boolean isFinished() {
return gameCharacter.death() || getMonsterList().get(levelManager.getIndexBoss()).death(); if(gameCharacter.death() || getMonsterList().get(levelManager.getIndexBoss()).death()) {
// le jeu n'est jamais fini hearthList.clear();
return true;
}
return false;
} }
private void animation(Boolean Attack,Boolean Right,Boolean Left){ private void animation(Boolean Attack,Boolean Right,Boolean Left){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment