mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
fixet start knapp
This commit is contained in:
parent
42275703b0
commit
1f50fe67bf
@ -37,8 +37,8 @@ public class LobbyScreen extends AbstractScreen {
|
||||
stage = new Stage();
|
||||
TextButton startGameButton= new SimpleButton("Start", roboRallyWrapper.font).getButton();
|
||||
stage.addActor(startGameButton);
|
||||
startGameButton.setY(applicationHeight / 2f);
|
||||
startGameButton.setX(applicationWidth / 2f + startGameButton.getWidth() / 4f);
|
||||
startGameButton.setY(applicationHeight / 2f-50 );
|
||||
startGameButton.setX(applicationWidth / 2f - startGameButton.getWidth() / 2f);
|
||||
this.roboRallyWrapper = roboRallyWrapper;
|
||||
camera.setToOrtho(false, applicationWidth, applicationHeight);
|
||||
startGameButton.addListener(new InputListener() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user