using System;
using System.Collections.Generic;
using System.Text;
namespace DevComponents.DotNetBar.Animation
{
    internal class AnimationDouble : Animation
    {
        #region Constructor
        /// 
        /// Initializes a new instance of the Animation class.
        /// 
        /// Target object for animation
        /// Target property name for animation
        public AnimationDouble(AnimationEasing animationEasing, int animationDuration)
            :
            base(new AnimationRequest[0], animationEasing, animationDuration)
        {
        }
        /// 
        /// Initializes a new instance of the Animation class.
        /// 
        /// Target object for animation
        /// Target property name for animation
        public AnimationDouble(AnimationRequest animationRequest, AnimationEasing animationEasing, int animationDuration)
            :
            base(new AnimationRequest[] { animationRequest }, animationEasing, animationDuration)
        {
        }
        /// 
        /// Initializes a new instance of the Animation class.
        /// 
        /// Target object for animation
        /// Target property name for animation
        public AnimationDouble(AnimationRequest[] animationRequests, AnimationEasing animationEasing, int animationDuration)
            :
            base(animationRequests, animationEasing, animationDuration) { }
        #endregion
        protected override object GetPropertyValueCorrectType(double value)
        {
            return value;
        }
    }
}