mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-12 17:35:55 +00:00
27 lines
668 B
C#
27 lines
668 B
C#
|
|
using System.Numerics;
|
|||
|
|
using GTweens.Delegates;
|
|||
|
|
using GTweens.Interpolators;
|
|||
|
|
|
|||
|
|
namespace GTweens.Tweeners
|
|||
|
|
{
|
|||
|
|
public sealed class SystemVector2Tweener : Tweener<Vector2>
|
|||
|
|
{
|
|||
|
|
public SystemVector2Tweener(
|
|||
|
|
Getter currValueGetter,
|
|||
|
|
Setter setter,
|
|||
|
|
Getter to,
|
|||
|
|
float duration,
|
|||
|
|
ValidationDelegates.Validation validation
|
|||
|
|
)
|
|||
|
|
: base(
|
|||
|
|
currValueGetter,
|
|||
|
|
setter,
|
|||
|
|
to,
|
|||
|
|
duration,
|
|||
|
|
SystemVector2Interpolator.Instance,
|
|||
|
|
validation
|
|||
|
|
)
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|