mirror of
https://github.com/wassname/phaser.git
synced 2026-08-11 11:23:06 +08:00
Adding Type support for collision checks.
This commit is contained in:
@@ -13,6 +13,8 @@ Phaser.TileSprite = function (game, x, y, width, height, key, frame) {
|
||||
|
||||
PIXI.TilingSprite.call(this, this.texture, width, height);
|
||||
|
||||
this.type = Phaser.TILESPRITE;
|
||||
|
||||
/**
|
||||
* The scaling of the image that is being tiled
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user