添加对 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
+47
View File
@@ -0,0 +1,47 @@
namespace RhythmBase.Components
{
/// <summary>
/// Represents a bookmark in the rhythm base.
/// </summary>
public class Bookmark
{
/// <summary>
/// Gets or sets the beat where the bookmark is located.
/// </summary>
public RDBeat Beat { get; set; }
/// <summary>
/// Gets or sets the color of the bookmark.
/// </summary>
public BookmarkColors Color { get; set; }
/// <summary>
/// Returns a string that represents the current bookmark.
/// </summary>
/// <returns>A string that represents the current bookmark.</returns>
public override string ToString() => string.Format("{0}, {1}", Beat, Color);
/// <summary>
/// Specifies the colors available for bookmarks.
/// </summary>
public enum BookmarkColors
{
/// <summary>
/// Represents the color blue.
/// </summary>
Blue,
/// <summary>
/// Represents the color red.
/// </summary>
Red,
/// <summary>
/// Represents the color yellow.
/// </summary>
Yellow,
/// <summary>
/// Represents the color green.
/// </summary>
Green
}
}
}