using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Aiwaz.Common.Animations { public class LinearValueAnimation : ValueAnimation { public LinearValueAnimation() : base() { AnimationName = "Linear"; } protected override float Calculate(double NormalizedTime) { return (float)(StartValue * (1.0 - NormalizedTime) + EndValue * NormalizedTime); } } }