mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-22 19:43:55 +00:00
Added GTWeen
This commit is contained in:
parent
457998788e
commit
2036e4e748
152 changed files with 5889 additions and 7 deletions
27
GTweensGodot/Godot/Source/Tweeners/GodotColorTweener.cs
Normal file
27
GTweensGodot/Godot/Source/Tweeners/GodotColorTweener.cs
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
using Godot;
|
||||
using GTweens.Delegates;
|
||||
using GTweens.Tweeners;
|
||||
using GTweensGodot.Interpolators;
|
||||
|
||||
namespace GTweensGodot.Tweeners;
|
||||
|
||||
public sealed class GodotColorTweener : Tweener<Color>
|
||||
{
|
||||
public GodotColorTweener(
|
||||
Getter getter,
|
||||
Setter setter,
|
||||
Getter to,
|
||||
float duration,
|
||||
ValidationDelegates.Validation validation
|
||||
)
|
||||
: base(
|
||||
getter,
|
||||
setter,
|
||||
to,
|
||||
duration,
|
||||
GodotColorInterpolator.Instance,
|
||||
validation
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
uid://c8cyqa2nc87io
|
||||
27
GTweensGodot/Godot/Source/Tweeners/GodotVector2ITweener.cs
Normal file
27
GTweensGodot/Godot/Source/Tweeners/GodotVector2ITweener.cs
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
using Godot;
|
||||
using GTweens.Delegates;
|
||||
using GTweens.Tweeners;
|
||||
using GTweensGodot.Interpolators;
|
||||
|
||||
namespace GTweensGodot.Tweeners;
|
||||
|
||||
public sealed class GodotVector2ITweener : Tweener<Vector2I>
|
||||
{
|
||||
public GodotVector2ITweener(
|
||||
Getter getter,
|
||||
Setter setter,
|
||||
Getter to,
|
||||
float duration,
|
||||
ValidationDelegates.Validation validation
|
||||
)
|
||||
: base(
|
||||
getter,
|
||||
setter,
|
||||
to,
|
||||
duration,
|
||||
GodotVector2IInterpolator.Instance,
|
||||
validation
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
uid://dg832ig7kf0jy
|
||||
27
GTweensGodot/Godot/Source/Tweeners/GodotVector2Tweener.cs
Normal file
27
GTweensGodot/Godot/Source/Tweeners/GodotVector2Tweener.cs
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
using Godot;
|
||||
using GTweens.Delegates;
|
||||
using GTweens.Tweeners;
|
||||
using GTweensGodot.Interpolators;
|
||||
|
||||
namespace GTweensGodot.Tweeners;
|
||||
|
||||
public sealed class GodotVector2Tweener : Tweener<Vector2>
|
||||
{
|
||||
public GodotVector2Tweener(
|
||||
Getter getter,
|
||||
Setter setter,
|
||||
Getter to,
|
||||
float duration,
|
||||
ValidationDelegates.Validation validation
|
||||
)
|
||||
: base(
|
||||
getter,
|
||||
setter,
|
||||
to,
|
||||
duration,
|
||||
GodotVector2Interpolator.Instance,
|
||||
validation
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
uid://dhdwyenhxgusf
|
||||
27
GTweensGodot/Godot/Source/Tweeners/GodotVector3Tweener.cs
Normal file
27
GTweensGodot/Godot/Source/Tweeners/GodotVector3Tweener.cs
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
using Godot;
|
||||
using GTweens.Delegates;
|
||||
using GTweens.Tweeners;
|
||||
using GTweensGodot.Interpolators;
|
||||
|
||||
namespace GTweensGodot.Tweeners;
|
||||
|
||||
public sealed class GodotVector3Tweener : Tweener<Vector3>
|
||||
{
|
||||
public GodotVector3Tweener(
|
||||
Getter currentValueGetter,
|
||||
Setter setter,
|
||||
Getter to,
|
||||
float duration,
|
||||
ValidationDelegates.Validation validation
|
||||
)
|
||||
: base(
|
||||
currentValueGetter,
|
||||
setter,
|
||||
to,
|
||||
duration,
|
||||
GodotVector3Interpolator.Instance,
|
||||
validation
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
uid://bnthkuv2plwo7
|
||||
Loading…
Add table
Add a link
Reference in a new issue