Add: mouse icon

This commit is contained in:
2019-08-05 18:21:09 +09:00
parent efb728ab5e
commit 6aa82dc03d
6 changed files with 20 additions and 18 deletions
+3 -1
View File
@@ -9,6 +9,8 @@ MainMenu.prototype.preload = function() {
game.load.image('home', '../../../resources/image/icon/home.png');
game.load.image('keyboard', '../../../resources/image/icon/keyboard.png');
game.load.image('mouse', '../../../resources/image/icon/mouse.png');
game.load.script('webfont', '//ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js');
}
@@ -212,7 +214,7 @@ MainMenu.prototype.makeAppGroupButtons = function() {
this.appGroupTabLayout.add(typingPlayGroupTab);
var mousePlayGroupTab = new AppGroupTab( (function() { console.log("mouse exam"); }).bind(this) );
mousePlayGroupTab.reserveIcon("home");
mousePlayGroupTab.reserveIcon("mouse");
mousePlayGroupTab.reserveShortcutText("놀이");
this.appGroupTabLayout.add(mousePlayGroupTab);