Add: ChocoSettingButton

This commit is contained in:
2019-07-25 10:53:57 +09:00
parent 1df8fba0a5
commit c5ddd81e7d
6 changed files with 90 additions and 15 deletions
+4 -1
View File
@@ -185,13 +185,16 @@ MainMenu.prototype.makeQuitButton = function() {
// quitButton.addIcon("tile_choco");
// quitButton.setIconSize(30);
var settingButton = new ChocoSettingButton(
(function() { console.log("setting"); }).bind(this)
);
var backButton = new ChocoBackButton(
(function() { console.log("back"); }).bind(this)
);
// backButton.addIcon("tile_choco");
// backButton.setIconSize(30);
this.appGroupButtons.quitButton = quitButton;
this.appGroupButtons.settingButton = settingButton;
this.appGroupButtons.backButton = backButton;
}