Skip to content

Commit 4e7c8c1

Browse files
committed
Fixed defs phaserjs#5405
1 parent f941f5a commit 4e7c8c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/animations/typedefs/AnimationFrame.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @typedef {object} Phaser.Types.Animations.AnimationFrame
33
* @since 3.0.0
44
*
5-
* @property {string} key - The key of the texture within the Texture Manager to use for this Animation Frame.
5+
* @property {string} [key] - The key of the texture within the Texture Manager to use for this Animation Frame.
66
* @property {(string|number)} [frame] - The key, or index number, of the frame within the texture to use for this Animation Frame.
77
* @property {number} [duration=0] - The duration, in ms, of this frame of the animation.
88
* @property {boolean} [visible] - Should the parent Game Object be visible during this frame of the animation?

0 commit comments

Comments
 (0)