mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 03:56:31 +00:00
19 lines
530 B
C#
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; }
|
|
}
|
|
} |