mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
fixed powerdown button
This commit is contained in:
parent
af85c1d64e
commit
87124b93c0
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user