cirnogodot/Scripts/Resources/TimeModifier.cs

24 lines
464 B
C#
Raw Normal View History

2025-02-09 11:48:30 +01:00
using Godot;
namespace Cirno.Scripts.Resources;
[GlobalClass]
public partial class TimeModifier : Resource
{
[Export] public float TimeInSeconds = 1f;
[Export] public TimeModifierType ModifierType;
[Export] public float Value;
2025-02-13 18:25:55 +01:00
}
public class ModifierWrapper
{
public TimeModifier TimeModifier { get; set; }
public bool Applied { get; set; } = false;
2025-02-09 11:48:30 +01:00
}
public enum TimeModifierType
{
SpeedChange,
RotationChange,
FacePlayer
}