UNPKG

phaser

Version:

A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.

9 lines (8 loc) 427 B
/** * @typedef {object} Phaser.Types.GameObjects.Sprite.SpriteConfig * @extends Phaser.Types.GameObjects.GameObjectConfig * @since 3.0.0 * * @property {(string|Phaser.Textures.Texture)} [key] - The key, or instance of the Texture this Game Object will use to render with, as stored in the Texture Manager. * @property {(string|number)} [frame] - An optional frame from the Texture this Game Object is rendering with. */