Archived
forked from RDTKEditor/RDTKEditor
添加对 Core 的直接引用
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
using RhythmBase.Components;
|
||||
namespace RhythmBase.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a camera pulse event in a room.
|
||||
/// </summary>
|
||||
public class PulseCamera : BaseEvent, IRoomEvent
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="PulseCamera"/> class.
|
||||
/// </summary>
|
||||
public PulseCamera()
|
||||
{
|
||||
Rooms = new RDRoom(true, new byte[1]);
|
||||
Type = EventType.PulseCamera;
|
||||
Tab = Tabs.Actions;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the rooms associated with the event.
|
||||
/// </summary>
|
||||
public RDRoom Rooms { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the strength of the pulse.
|
||||
/// </summary>
|
||||
public byte Strength { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the count of pulses.
|
||||
/// </summary>
|
||||
public int Count { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the frequency of the pulses.
|
||||
/// </summary>
|
||||
public float Frequency { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the type of the event.
|
||||
/// </summary>
|
||||
public override EventType Type { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the tab associated with the event.
|
||||
/// </summary>
|
||||
public override Tabs Tab { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user