phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.
13 lines (12 loc) • 794 B
JavaScript
/**
* @typedef {object} Phaser.Types.GameObjects.TileSprite.TileSpriteConfig
* @extends Phaser.Types.GameObjects.GameObjectConfig
* @since 3.0.0
*
* @property {number} [x=0] - The x coordinate of the Tile Sprite.
* @property {number} [y=0] - The y coordinate of the Tile Sprite.
* @property {number} [width=512] - The width of the Tile Sprite. If zero it will use the size of the texture frame.
* @property {number} [height=512] - The height of the Tile Sprite. If zero it will use the size of the texture frame.
* @property {string} [key=''] - The key of the Texture this Tile Sprite will use to render with, as stored in the Texture Manager.
* @property {(number|string|Phaser.Textures.Frame)} [frame=''] - An optional frame from the Texture this Tile Sprite is rendering with.
*/