From 7308d1e6f877b9738cf77029088cfbd6eed5b75d Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Tue, 10 Jan 2023 22:49:07 +0000 Subject: [PATCH] Update SpriteConfig.js --- src/gameobjects/sprite/typedefs/SpriteConfig.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gameobjects/sprite/typedefs/SpriteConfig.js b/src/gameobjects/sprite/typedefs/SpriteConfig.js index da2d327bf..20694de99 100644 --- a/src/gameobjects/sprite/typedefs/SpriteConfig.js +++ b/src/gameobjects/sprite/typedefs/SpriteConfig.js @@ -3,6 +3,6 @@ * @extends Phaser.Types.GameObjects.GameObjectConfig * @since 3.0.0 * - * @property {string} [key] - The key of the Texture this Game Object will use to render with, as stored in the Texture Manager. - * @property {(number|string)} [frame] - An optional frame from the Texture this Game Object is rendering with. + * @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. */