Fix: RoundRectButtonSetting x, y

This commit is contained in:
jisangs committed 2018-06-11 09:58:28 +09:00
1 parent 8a820ff07f
commit cbe59fa819
4 files changed
+5 -8

No files matched your search

+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() {