Skip to content

Commit

Permalink
Added useSpriteSheet config property. Fix #6752
Browse files Browse the repository at this point in the history
  • Loading branch information
photonstorm committed Jun 7, 2024
1 parent 5036abe commit 2f3a92b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gameobjects/sprite/typedefs/SpriteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
* @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.
* @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.
* @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.
*/

0 comments on commit 2f3a92b

Please sign in to comment.