Skip to content

Commit

Permalink
Beatmap - Fix build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mempler committed Oct 30, 2021
1 parent 6e2d23f commit a4521db
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Qsor.Game/Beatmaps/Beatmap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ public void ConstructFromString(string content)
case Category.Editor:
break;
case Category.HitObjects:
// Not implemented just yet

/*
var hitObjectColorIndex = 0;
var hitObjectColor = Color4.White;
// Not implemented just yet
continue;

foreach (var hitObjectValue in GetValues().Select(s => s.Split(',')))
{
var x = double.Parse(hitObjectValue[0]);
Expand All @@ -116,17 +116,14 @@ public void ConstructFromString(string content)
if ((hitObjectType & HitObjectType.Circle) != 0)
{
/*
HitObject circle =
new HitCircle(this, timing, new Vector2((float) x, (float) y), hitObjectColor);
HitObjects.Add(circle);
*/
}
if ((hitObjectType & HitObjectType.Slider) != 0)
{
/*
var sliderInfo = hitObjectValue[5].Split("|");
var sliderType = sliderInfo[0] switch
Expand Down Expand Up @@ -170,9 +167,10 @@ public void ConstructFromString(string content)
slider.HitObjectColour = hitObjectColor;
HitObjects.Add(slider);
*/
}
}
*/

break;
case Category.Difficulty:
Difficulty.CircleSize = GetValue<double>("CircleSize");
Expand Down

0 comments on commit a4521db

Please sign in to comment.