mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:43:19 +08:00
Add descriptions to enum members
This commit is contained in:
parent
eec9f6d191
commit
b43ee2d61c
@ -1,6 +1,8 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace osu.Game.Beatmaps
|
||||
{
|
||||
/// <summary>
|
||||
@ -9,8 +11,14 @@ namespace osu.Game.Beatmaps
|
||||
public enum CountdownType
|
||||
{
|
||||
None = 0,
|
||||
|
||||
[Description("Normal")]
|
||||
Normal = 1,
|
||||
|
||||
[Description("Half speed")]
|
||||
HalfSpeed = 2,
|
||||
|
||||
[Description("Double speed")]
|
||||
DoubleSpeed = 3
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user