Skip to content

Commit 0945083

Browse files
committed
Removed further mentions of RenderTexture re: TileSprite.
1 parent b3757ed commit 0945083

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/gameobjects/GameObjectCreator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Phaser.GameObjectCreator.prototype = {
168168
* @param {number} y - The y coordinate (in world space) to position the TileSprite at.
169169
* @param {number} width - The width of the TileSprite.
170170
* @param {number} height - The height of the TileSprite.
171-
* @param {string|Phaser.RenderTexture|Phaser.BitmapData|PIXI.Texture} key - This is the image or texture used by the TileSprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture or PIXI.Texture.
171+
* @param {string|Phaser.BitmapData|PIXI.Texture} key - This is the image or texture used by the TileSprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture or PIXI.Texture.
172172
* @param {string|number} frame - If this TileSprite is using part of a sprite sheet or texture atlas you can specify the exact frame to use by giving a string or numeric index.
173173
* @return {Phaser.TileSprite} The newly created tileSprite object.
174174
*/

src/gameobjects/GameObjectFactory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ Phaser.GameObjectFactory.prototype = {
250250
* @param {number} y - The y coordinate of the TileSprite. The coordinate is relative to any parent container this TileSprite may be in.
251251
* @param {number} width - The width of the TileSprite.
252252
* @param {number} height - The height of the TileSprite.
253-
* @param {string|Phaser.RenderTexture|Phaser.BitmapData|Phaser.Video|PIXI.Texture} key - The image used as a texture by this display object during rendering. If a string Phaser will get for an entry in the Image Cache. Or it can be an instance of a RenderTexture, BitmapData, Video or PIXI.Texture.
253+
* @param {string|Phaser.BitmapData|Phaser.Video|PIXI.Texture} key - The image used as a texture by this display object during rendering. If a string Phaser will get for an entry in the Image Cache. Or it can be an instance of a RenderTexture, BitmapData, Video or PIXI.Texture.
254254
* @param {string|number} [frame] - If a Texture Atlas or Sprite Sheet is used this allows you to specify the frame to be used. Use either an integer for a Frame ID or a string for a frame name.
255255
* @param {Phaser.Group} [group] - Optional Group to add the object to. If not specified it will be added to the World group.
256256
* @return {Phaser.TileSprite} The newly created TileSprite object.

src/gameobjects/TileSprite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
* @param {number} y - The y coordinate (in world space) to position the TileSprite at.
5454
* @param {number} width - The width of the TileSprite.
5555
* @param {number} height - The height of the TileSprite.
56-
* @param {string|Phaser.RenderTexture|Phaser.BitmapData|PIXI.Texture} key - This is the image or texture used by the TileSprite during rendering. It can be a string which is a reference to the Phaser Image Cache entry, or an instance of a RenderTexture, PIXI.Texture or BitmapData.
56+
* @param {string|Phaser.BitmapData|PIXI.Texture} key - This is the image or texture used by the TileSprite during rendering. It can be a string which is a reference to the Phaser Image Cache entry, or an instance of a RenderTexture, PIXI.Texture or BitmapData.
5757
* @param {string|number} frame - If this TileSprite is using part of a sprite sheet or texture atlas you can specify the exact frame to use by giving a string or numeric index.
5858
*/
5959
Phaser.TileSprite = function (game, x, y, width, height, key, frame) {

0 commit comments

Comments
 (0)