mirror of
https://github.com/ppy/osu
synced 2025-02-08 14:17:29 +00: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 List<Beatmap> Beatmaps { get; protected set; }
|
||||||
|
|
||||||
public string Artist;
|
public Metadata Metadata;
|
||||||
public string Title;
|
|
||||||
|
|
||||||
public User Creator;
|
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>
|
<ItemGroup>
|
||||||
<Compile Include="Beatmaps\Beatmap.cs" />
|
<Compile Include="Beatmaps\Beatmap.cs" />
|
||||||
<Compile Include="Beatmaps\BeatmapSet.cs" />
|
<Compile Include="Beatmaps\BeatmapSet.cs" />
|
||||||
|
<Compile Include="Beatmaps\Metadata.cs" />
|
||||||
<Compile Include="Beatmaps\Objects\HitObject.cs" />
|
<Compile Include="Beatmaps\Objects\HitObject.cs" />
|
||||||
<Compile Include="Beatmaps\Samples\HitSampleInfo.cs" />
|
<Compile Include="Beatmaps\Samples\HitSampleInfo.cs" />
|
||||||
<Compile Include="Beatmaps\Samples\SampleBank.cs" />
|
<Compile Include="Beatmaps\Samples\SampleBank.cs" />
|
||||||
|
Loading…
Reference in New Issue
Block a user