This repository has been archived on 2025-10-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
RDTKEditor/RhythmBaseCore/Events/SetBeatsPerMinute.cs
T

27 lines
638 B
C#

namespace RhythmBase.Events
{
/// <summary>
/// Represents an event to set the beats per minute (BPM) in the rhythm base.
/// </summary>
public class SetBeatsPerMinute : BaseBeatsPerMinute
{
/// <summary>
/// Initializes a new instance of the <see cref="SetBeatsPerMinute"/> class.
/// </summary>
public SetBeatsPerMinute()
{
Type = EventType.SetBeatsPerMinute;
Tab = Tabs.Sounds;
}
/// <inheritdoc/>
public override EventType Type { get; }
/// <inheritdoc/>
public override Tabs Tab { get; }
/// <inheritdoc/>
public override string ToString() => base.ToString() + $" BPM:{BeatsPerMinute}";
}
}