using RhythmBase.Components;
namespace RhythmBase.Events
{
///
/// Represents a camera pulse event in a room.
///
public class PulseCamera : BaseEvent, IRoomEvent
{
///
/// Initializes a new instance of the class.
///
public PulseCamera()
{
Rooms = new RDRoom(true, new byte[1]);
Type = EventType.PulseCamera;
Tab = Tabs.Actions;
}
///
/// Gets or sets the rooms associated with the event.
///
public RDRoom Rooms { get; set; }
///
/// Gets or sets the strength of the pulse.
///
public byte Strength { get; set; }
///
/// Gets or sets the count of pulses.
///
public int Count { get; set; }
///
/// Gets or sets the frequency of the pulses.
///
public float Frequency { 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; }
}
}