mirror of
https://github.com/wassname/phaser.git
synced 2026-07-11 00:40:20 +08:00
Input Component done and new Button object done and included. Also finished the build script.
This commit is contained in:
@@ -79,5 +79,10 @@ Phaser.GameObjectFactory.prototype = {
|
||||
|
||||
},
|
||||
|
||||
button: function (x, y, key, callback, callbackContext, overFrame, outFrame, downFrame) {
|
||||
|
||||
return this.world.add(new Phaser.Button(this.game, x, y, key, callback, callbackContext, overFrame, outFrame, downFrame));
|
||||
|
||||
},
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user