Skip to content

Commit

Permalink
add since to numFrames
Browse files Browse the repository at this point in the history
  • Loading branch information
Geokureli authored Jan 4, 2024
1 parent 161df9a commit 20e9d39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flixel/animation/FlxAnimationController.hx
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,15 @@ class FlxAnimationController implements IFlxDestroyable
/**
* The total number of frames in this image.
* WARNING: assumes each row in the sprite sheet is full!
* @since 5.3.0
*/
public var numFrames(get, never):Int;

/**
* The total number of frames in this image.
* WARNING: assumes each row in the sprite sheet is full!
*/
@:deprecated("frames is deprecated, use numFrames")
@:deprecated("frames is deprecated, use numFrames") // 5.3.0
public var frames(get, never):Int;

/**
Expand Down

0 comments on commit 20e9d39

Please sign in to comment.