From f21a8c7482795d459ce94b48f75fa5c00892a1ba Mon Sep 17 00:00:00 2001 From: Fastium <79766552+Fastium@users.noreply.github.com> Date: Sat, 11 Jun 2022 19:32:43 +0200 Subject: [PATCH] Update ScreenBattle.java --- src/Screen/ScreenBattle.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Screen/ScreenBattle.java b/src/Screen/ScreenBattle.java index 7e52d76..b90f597 100644 --- a/src/Screen/ScreenBattle.java +++ b/src/Screen/ScreenBattle.java @@ -44,6 +44,9 @@ public class ScreenBattle extends RenderingScreen{ textEnemy = new TextEnemy("enemi"); textEnemy.generateText(); + + + //display the question generateFont("resources/font/OptimusPrinceps.ttf", 40, Color.BLACK); @@ -58,9 +61,6 @@ public class ScreenBattle extends RenderingScreen{ displayDialog(g); - System.out.println(textEnemy.lines.get(lineSpeech).attackOn); - - } @Override @@ -108,10 +108,10 @@ public class ScreenBattle extends RenderingScreen{ public void manage(Controller c){ if (c.keyStatus.get(Input.Keys.SPACE)){ - if(textEnemy.lines.get(lineSpeech).attackOn == false){ readNextLine(); } + } if (c.keyStatus.get(Input.Keys.NUM_1)){ if(textEnemy.lines.get(lineSpeech).attackOn == true){