From 06ce436144410fc0f8f117d2303b79acc4ac5335 Mon Sep 17 00:00:00 2001 From: Chris Bradfield Date: Sun, 24 Sep 2017 11:37:28 -0700 Subject: [PATCH] [DOCS] Update SpriteFrames class ref --- doc/classes/SpriteFrames.xml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/doc/classes/SpriteFrames.xml b/doc/classes/SpriteFrames.xml index f4a8eeabe44..e46fdc80e09 100644 --- a/doc/classes/SpriteFrames.xml +++ b/doc/classes/SpriteFrames.xml @@ -4,7 +4,7 @@ Sprite frame library for AnimatedSprite. - Sprite frame library for [AnimatedSprite]. + Sprite frame library for [AnimatedSprite]. Contains frames and animation data for playback. @@ -17,6 +17,7 @@ + Adds a new animation to the the library. @@ -29,6 +30,7 @@ + Adds a frame to the given animation. @@ -37,12 +39,14 @@ + Removes all frames from the given animation. + Removes all animations. A "default" animation will be created. @@ -51,6 +55,7 @@ + If [code]true[/code] the given animation will loop. @@ -59,6 +64,7 @@ + The animation's speed in frames per second. @@ -69,6 +75,7 @@ + Returns the animation's selected frame. @@ -77,6 +84,7 @@ + Returns the number of frames in the animation. @@ -85,6 +93,7 @@ + If [code]true[/code] the named animation exists. @@ -93,6 +102,7 @@ + Removes the given animation. @@ -103,6 +113,7 @@ + Removes the animation's selected frame. @@ -113,6 +124,7 @@ + Changes the animation's name to [code]newname[/code]. @@ -123,6 +135,7 @@ + If [code]true[/code] the animation will loop. @@ -133,6 +146,7 @@ + The animation's speed in frames per second. @@ -145,11 +159,13 @@ + Sets the texture of the given frame. + An [Array] containing the [code]name[/code], [code]speed[/code], [code]loop[/code], and [code]frames[/code] of each animation.