mirror of
https://github.com/photonstorm/phaser
synced 2025-02-18 06:58:30 +00:00
parent
2f8d6a023d
commit
bf087e5068
1 changed files with 2 additions and 2 deletions
|
@ -224,8 +224,8 @@ var Animation = new Class({
|
|||
*
|
||||
* @param {Phaser.Animations.Animation} target - The target to set the values on.
|
||||
* @param {number} totalFrames - The total number of frames in the animation.
|
||||
* @param {number} duration - The duration to calculate the frame rate from.
|
||||
* @param {number} frameRate - The frame ate to calculate the duration from.
|
||||
* @param {?number} [duration] - The duration to calculate the frame rate from. Pass `null` if you wish to set the `frameRate` instead.
|
||||
* @param {?number} [frameRate] - The frame rate to calculate the duration from.
|
||||
*/
|
||||
calculateDuration: function (target, totalFrames, duration, frameRate)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue