From 7961d32a2f2a969b4a744b8f75c87ab107c17122 Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Thu, 23 Apr 2020 10:49:27 +0200 Subject: [PATCH] =?UTF-8?q?Gj=C3=B8r=20noen=20kosmetiske=20endringer=20p?= =?UTF-8?q?=C3=A5=20vinneskjermen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../roborally/gamewrapper/screens/WinnerScreen.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/inf112/fiasko/roborally/gamewrapper/screens/WinnerScreen.java b/src/main/java/inf112/fiasko/roborally/gamewrapper/screens/WinnerScreen.java index f1975f3..c5c3c8a 100644 --- a/src/main/java/inf112/fiasko/roborally/gamewrapper/screens/WinnerScreen.java +++ b/src/main/java/inf112/fiasko/roborally/gamewrapper/screens/WinnerScreen.java @@ -50,18 +50,17 @@ public class WinnerScreen extends AbstractScreen { @Override public void render(float delta) { - Gdx.gl.glClearColor(0.2f, 1f, 0.2f, 1); + Gdx.gl.glClearColor(0.2f, 0.2f, 0.2f, 1); Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT); camera.update(); roboRallyWrapper.batch.setProjectionMatrix(camera.combined); roboRallyWrapper.batch.begin(); - roboRallyWrapper.font.draw(roboRallyWrapper.batch, "The winner is: " + - roboRallyWrapper.roboRallyGame.getWinningPlayerName(), applicationWidth / 2f - 380 / 2f, - applicationHeight / 2f + 100, 380, 1, + roboRallyWrapper.font.draw(roboRallyWrapper.batch, "The winner is: ", applicationWidth / 2f - 380 / 2f, + applicationHeight / 2f + 300, 380, 1, true); roboRallyWrapper.font.draw(roboRallyWrapper.batch, "Click the button to exit the game", - applicationWidth / 2f - 380 / 2f, applicationHeight / 2f + 100, 380, 1, + applicationWidth / 2f - 380 / 2f, applicationHeight / 2f + 150, 380, 1, true); roboRallyWrapper.batch.end(); stage.draw();