Fix: RoundRectButtonSetting x, y

This commit is contained in:
2018-06-11 09:57:32 +09:00
parent 8a820ff07f
commit cbe59fa819
4 changed files with 5 additions and 8 deletions
+1 -2
View File
@@ -93,11 +93,10 @@ class Result {
}
makeStartButton() {
let setting = new RoundRectButtonSetting(200, 100);
let setting = new RoundRectButtonSetting(game.world.centerX, game.world.height / 2 - 70, 200, 100);
setting.fontStyle.fontWeight = "bold";
let startButton = new RoundRectButton(setting, RoundRectButton.NONE_ICON, "다시 시작", this.startStage);
startButton.move(game.world.centerX, game.world.height / 2 - 70);
}
startStage() {