mirror of
https://github.com/wassname/phaser.git
synced 2026-07-09 00:20:17 +08:00
Adding Type support for collision checks.
This commit is contained in:
@@ -21,6 +21,8 @@ Phaser.Button = function (game, x, y, key, callback, callbackContext, overFrame,
|
||||
|
||||
Phaser.Sprite.call(this, game, x, y, key, outFrame);
|
||||
|
||||
this.type = Phaser.BUTTON;
|
||||
|
||||
this._onOverFrameName = null;
|
||||
this._onOutFrameName = null;
|
||||
this._onDownFrameName = null;
|
||||
|
||||
Reference in New Issue
Block a user