mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 03:23:03 +08:00
Move beatmap metadata to separate class.
This commit is contained in:
parent
abe8ff21f6
commit
ef98e4ee3c
@ -13,8 +13,7 @@ namespace osu.Game.Beatmaps
|
||||
{
|
||||
public List<Beatmap> Beatmaps { get; protected set; }
|
||||
|
||||
public string Artist;
|
||||
public string Title;
|
||||
public Metadata Metadata;
|
||||
|
||||
public User Creator;
|
||||
}
|
||||
|
8
osu.Game/Beatmaps/Metadata.cs
Normal file
8
osu.Game/Beatmaps/Metadata.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace osu.Game.Beatmaps
|
||||
{
|
||||
public class Metadata
|
||||
{
|
||||
public string Artist;
|
||||
public string Title;
|
||||
}
|
||||
}
|
@ -47,6 +47,7 @@
|
||||
<ItemGroup>
|
||||
<Compile Include="Beatmaps\Beatmap.cs" />
|
||||
<Compile Include="Beatmaps\BeatmapSet.cs" />
|
||||
<Compile Include="Beatmaps\Metadata.cs" />
|
||||
<Compile Include="Beatmaps\Objects\HitObject.cs" />
|
||||
<Compile Include="Beatmaps\Samples\HitSampleInfo.cs" />
|
||||
<Compile Include="Beatmaps\Samples\SampleBank.cs" />
|
||||
|
Loading…
Reference in New Issue
Block a user