using Newtonsoft.Json;
using RhythmBase.Components;
using RhythmBase.Components.Easing;
namespace RhythmBase.Events
{
///
/// Represents an event to show rooms.
///
public class ShowRooms : BaseEvent, IEaseEvent, IRoomEvent
{
///
/// Initializes a new instance of the class.
///
public ShowRooms()
{
Rooms = new RDRoom(false, new byte[1]);
Heights = new List(4);
Type = EventType.ShowRooms;
Tab = Tabs.Rooms;
}
///
/// Gets or sets the rooms associated with the event.
///
[JsonProperty]
public RDRoom Rooms { get; set; }
///
/// Gets or sets the ease type for the event.
///
public EaseType Ease { get; set; }
///
/// Gets or sets the heights associated with the event.
///
public List Heights { get; set; }
///
/// Gets or sets the duration of the transition.
///
[JsonProperty("transitionTime")]
public float Duration { get; set; }
///
/// Gets the type of the event.
///
public override EventType Type { get; }
///
/// Gets the tab associated with the event.
///
public override Tabs Tab { get; }
}
}