using RhythmBase.Components;
using RhythmBase.Components.Easing;
namespace RhythmBase.Events
{
///
/// Represents an event to paint hands with specified properties.
///
public class PaintHands : BaseEvent, IEaseEvent, IRoomEvent
{
///
/// Initializes a new instance of the class.
///
public PaintHands()
{
TintColor = new PaletteColor(true);
BorderColor = new PaletteColor(true);
Rooms = new RDRoom(true, new byte[1]);
Type = EventType.PaintHands;
Tab = Tabs.Actions;
}
///
/// Gets or sets the tint color of the hands.
///
[EaseProperty]
public PaletteColor TintColor { get; set; }
///
/// Gets or sets the easing type for the event.
///
public EaseType Ease { get; set; }
///
/// Gets or sets the border style of the hands.
///
public Borders Border { get; set; }
///
/// Gets or sets the border color of the hands.
///
[EaseProperty]
public PaletteColor BorderColor { get; set; }
///
/// Gets or sets the opacity of the hands.
///
[EaseProperty]
public int Opacity { get; set; }
///
/// Gets or sets a value indicating whether the hands should be tinted.
///
public bool Tint { get; set; }
///
/// Gets or sets the duration of the event.
///
public float Duration { get; set; }
///
/// Gets or sets the rooms associated with the event.
///
public RDRoom Rooms { get; set; }
///
/// Gets or sets the player hands associated with the event.
///
public PlayerHands Hands { get; set; }
///
/// Gets the type of the event.
///
public override EventType Type { get; }
///
/// Gets the tab category of the event.
///
public override Tabs Tab { get; }
///
/// Specifies the border styles available for the hands.
///
public enum Borders
{
///
/// No border.
///
None,
///
/// Outline border.
///
Outline,
///
/// Glow border.
///
Glow
}
}
}