Move beatmap metadata to separate class.

This commit is contained in:
Dean Herbert 2016-08-31 13:52:30 +09:00
parent abe8ff21f6
commit ef98e4ee3c
3 changed files with 10 additions and 2 deletions

View File

@ -13,8 +13,7 @@ public class BeatmapSet
{
public List<Beatmap> Beatmaps { get; protected set; }
public string Artist;
public string Title;
public Metadata Metadata;
public User Creator;
}

View File

@ -0,0 +1,8 @@
namespace osu.Game.Beatmaps
{
public class Metadata
{
public string Artist;
public string Title;
}
}

View File

@ -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" />