mirror of
https://github.com/ppy/osu.git
synced 2025-03-24 04:38:44 +08:00
Move enum to end of file.
This commit is contained in:
parent
dde3a68c8f
commit
0b203a7bf4
@ -11,20 +11,6 @@ namespace osu.Game.Beatmaps.Objects.Osu
|
|||||||
{
|
{
|
||||||
public Vector2 Position { get; set; }
|
public Vector2 Position { get; set; }
|
||||||
|
|
||||||
[Flags]
|
|
||||||
private enum HitObjectType
|
|
||||||
{
|
|
||||||
Circle = 1,
|
|
||||||
Slider = 2,
|
|
||||||
NewCombo = 4,
|
|
||||||
CircleNewCombo = 5,
|
|
||||||
SliderNewCombo = 6,
|
|
||||||
Spinner = 8,
|
|
||||||
ColourHax = 122,
|
|
||||||
Hold = 128,
|
|
||||||
ManiaLong = 128,
|
|
||||||
}
|
|
||||||
|
|
||||||
public static OsuBaseHit Parse(string val)
|
public static OsuBaseHit Parse(string val)
|
||||||
{
|
{
|
||||||
string[] split = val.Split(',');
|
string[] split = val.Split(',');
|
||||||
@ -54,5 +40,19 @@ namespace osu.Game.Beatmaps.Objects.Osu
|
|||||||
// TODO: "addition" field
|
// TODO: "addition" field
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Flags]
|
||||||
|
private enum HitObjectType
|
||||||
|
{
|
||||||
|
Circle = 1,
|
||||||
|
Slider = 2,
|
||||||
|
NewCombo = 4,
|
||||||
|
CircleNewCombo = 5,
|
||||||
|
SliderNewCombo = 6,
|
||||||
|
Spinner = 8,
|
||||||
|
ColourHax = 122,
|
||||||
|
Hold = 128,
|
||||||
|
ManiaLong = 128,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user