Add: ChocoSettingButton
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user