mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-06-27 19:54:43 +02:00
fixed powerdown button
This commit is contained in:
@ -34,8 +34,8 @@ public class PowerDownScreen extends AbstractScreen {
|
||||
stage.setViewport(viewport);
|
||||
TextButton powerDownButton = new SimpleButton("PowerDown", roboRallyWrapper.font).getButton();
|
||||
stage.addActor(powerDownButton);
|
||||
powerDownButton.setY(applicationHeight / 2f);
|
||||
powerDownButton.setX(applicationWidth / 2f + powerDownButton.getWidth() / 4f);
|
||||
powerDownButton.setY(applicationHeight / 2f-50);
|
||||
powerDownButton.setX(applicationWidth / 2f - powerDownButton.getWidth() / 2f);
|
||||
this.roboRallyWrapper = roboRallyWrapper;
|
||||
camera.setToOrtho(false, applicationWidth, applicationHeight);
|
||||
startTime = System.currentTimeMillis();
|
||||
|
Reference in New Issue
Block a user