mirror of
https://github.com/wassname/phaser.git
synced 2026-07-25 13:20:14 +08:00
Added the new Button game object and various other input and tilemap fixes.
This commit is contained in:
@@ -72,7 +72,7 @@ module Phaser {
|
||||
|
||||
public renderGameObject(object) {
|
||||
|
||||
if (object.type == Types.SPRITE)
|
||||
if (object.type == Types.SPRITE || object.type == Types.BUTTON)
|
||||
{
|
||||
this.renderSprite(this._camera, object);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user