mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-07-24 08:45:28 +02:00
fixet start knapp
This commit is contained in:
@@ -37,8 +37,8 @@ public class LobbyScreen extends AbstractScreen {
|
|||||||
stage = new Stage();
|
stage = new Stage();
|
||||||
TextButton startGameButton= new SimpleButton("Start", roboRallyWrapper.font).getButton();
|
TextButton startGameButton= new SimpleButton("Start", roboRallyWrapper.font).getButton();
|
||||||
stage.addActor(startGameButton);
|
stage.addActor(startGameButton);
|
||||||
startGameButton.setY(applicationHeight / 2f);
|
startGameButton.setY(applicationHeight / 2f-50 );
|
||||||
startGameButton.setX(applicationWidth / 2f + startGameButton.getWidth() / 4f);
|
startGameButton.setX(applicationWidth / 2f - startGameButton.getWidth() / 2f);
|
||||||
this.roboRallyWrapper = roboRallyWrapper;
|
this.roboRallyWrapper = roboRallyWrapper;
|
||||||
camera.setToOrtho(false, applicationWidth, applicationHeight);
|
camera.setToOrtho(false, applicationWidth, applicationHeight);
|
||||||
startGameButton.addListener(new InputListener() {
|
startGameButton.addListener(new InputListener() {
|
||||||
|
Reference in New Issue
Block a user