Issue #105 making objective more discoverable

This commit is contained in:
Peter Cottle 2013-06-15 20:59:47 -07:00
parent 3b8649c891
commit 31ad2a586b
9 changed files with 41 additions and 12 deletions

View file

@ -704,6 +704,9 @@ var CommandsHelperBar = HelperBar.extend({
}, {
text: 'Undo',
id: 'undo'
}, {
text: 'Objective',
id: 'objectve'
}, {
text: 'Help',
id: 'help'
@ -718,6 +721,10 @@ var CommandsHelperBar = HelperBar.extend({
HelperBar.prototype.fireCommand.apply(this, arguments);
},
onObjectiveClick: function() {
this.fireCommand('objective');
},
onLevelsClick: function() {
this.fireCommand('levels');
},