添加对 Core 的直接引用

This commit is contained in:
OLDREDSTONE
2025-03-25 15:49:57 +08:00
parent 24907abedb
commit 06c19bf10a
296 changed files with 24961 additions and 2 deletions
+52
View File
@@ -0,0 +1,52 @@
using RhythmBase.Components;
namespace RhythmBase.Events
{
/// <summary>
/// Represents a BassDrop event in the rhythm base.
/// </summary>
public class BassDrop : BaseEvent, IRoomEvent
{
/// <summary>
/// Initializes a new instance of the <see cref="BassDrop"/> class.
/// </summary>
public BassDrop()
{
Rooms = new RDRoom(true, new byte[1]);
Type = EventType.BassDrop;
Tab = Tabs.Actions;
}
/// <inheritdoc/>
public RDRoom Rooms { get; set; }
/// <summary>
/// Gets or sets the strength of the BassDrop event.
/// </summary>
public StrengthType Strength { get; set; }
/// <inheritdoc/>
public override EventType Type { get; }
/// <inheritdoc/>
public override Tabs Tab { get; }
/// <inheritdoc/>
public override string ToString() => base.ToString() + $" {Strength}";
/// <summary>
/// Defines the strength levels for the BassDrop event.
/// </summary>
public enum StrengthType
{
/// <summary>
/// Low strength.
/// </summary>
Low,
/// <summary>
/// Medium strength.
/// </summary>
Medium,
/// <summary>
/// High strength.
/// </summary>
High
}
}
}