diff --git a/Dalamud/Interface/Animation/EasingFunctions/InQuint.cs b/Dalamud/Interface/Animation/EasingFunctions/InQuint.cs new file mode 100644 index 000000000..42604f136 --- /dev/null +++ b/Dalamud/Interface/Animation/EasingFunctions/InQuint.cs @@ -0,0 +1,27 @@ +using System; + +namespace Dalamud.Interface.Animation.EasingFunctions +{ + /// + /// Class providing an "InQuint" easing animation. + /// + public class InQuint : Easing + { + /// + /// Initializes a new instance of the class. + /// + /// The duration of the animation. + public InQuint(TimeSpan duration) + : base(duration) + { + // ignored + } + + /// + public override void Update() + { + var p = this.Progress; + this.Value = p * p * p * p * p; + } + } +}