diff --git a/src/Game/Battle.java b/src/Game/Battle.java index 3b317f4..503983d 100644 --- a/src/Game/Battle.java +++ b/src/Game/Battle.java @@ -86,7 +86,7 @@ public class Battle { return lineSpeech; } - public boolean getScreenBattle(){ + public boolean getScreenBattleOn(){ return screenBattleOn; } diff --git a/src/Screen/ScreenBattle.java b/src/Screen/ScreenBattle.java index d64c2f8..6b1f6dc 100644 --- a/src/Screen/ScreenBattle.java +++ b/src/Screen/ScreenBattle.java @@ -28,7 +28,7 @@ public class ScreenBattle extends RenderingScreen{ private Battle b = null; - private boolean screenBattleOn = true; + @Override public void onInit() { @@ -91,9 +91,7 @@ public class ScreenBattle extends RenderingScreen{ //TODO afficher le joueur } - public boolean getScreenBattleOn(){ - return screenBattleOn; - } + public void manage(Controller c, Battle battle){ if(PokeMudry.front_montant){