Files
MonoGame.Extended/Source/MonoGame.Extended.Tweening/TweenAnimation.cs
T
2017-03-14 21:53:19 +10:00

19 lines
530 B
C#

using System;
using System.Collections.Generic;
using MonoGame.Extended.Animations;
namespace MonoGame.Extended.Tweening
{
public abstract class TweenAnimation<T> : Animation
{
protected TweenAnimation(T target, Action onCompleteAction = null, bool disposeOnComplete = true)
: base(onCompleteAction, disposeOnComplete)
{
Target = target;
Tweens = new List<Animation>();
}
public T Target { get; }
public IList<Animation> Tweens { get; }
}
}