tileSprite(x, y, width, height, key, frame) → {Phaser.TileSprite}
Creates a new TileSprite object.
Parameters
Name Type Description x number The x coordinate (in world space) to position the TileSprite at. y number The y coordinate (in world space) to position the TileSprite at. width number The width of the TileSprite. height number The height of the TileSprite. key string | Phaser.BitmapData | PIXI.Texture This is the image or texture used by the TileSprite during rendering. It c