Skip to content

Commit 2f3a92b

Browse files
committed
Added useSpriteSheet config property. Fix #6752
1 parent 5036abe commit 2f3a92b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gameobjects/sprite/typedefs/SpriteConfig.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
* @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.
77
* @property {(string|number)} [frame] - An optional frame from the Texture this Game Object is rendering with.
88
* @property {(string|Phaser.Animations.Animation|Phaser.Types.Animations.PlayAnimationConfig)} [anims] - The string-based key of the animation to play, or an Animation instance, or a `PlayAnimationConfig` object.
9+
* @property {boolean} [useSpriteSheet] - This property is used exclusively by `Tilemap.createFromTiles`. Set to `true` if this Sprite is being created by a Tilemap and is part of a spritesheet.
910
*/

0 commit comments

Comments
 (0)