From a4521db1a4b26bd5c6f1a94893a81fd193750816 Mon Sep 17 00:00:00 2001 From: Mempler Date: Sat, 30 Oct 2021 19:35:21 +0200 Subject: [PATCH] Beatmap - Fix build warnings --- Qsor.Game/Beatmaps/Beatmap.cs | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Qsor.Game/Beatmaps/Beatmap.cs b/Qsor.Game/Beatmaps/Beatmap.cs index 4c2f8f1..f3ca1cd 100644 --- a/Qsor.Game/Beatmaps/Beatmap.cs +++ b/Qsor.Game/Beatmaps/Beatmap.cs @@ -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]); @@ -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 @@ -170,9 +167,10 @@ public void ConstructFromString(string content) slider.HitObjectColour = hitObjectColor; HitObjects.Add(slider); - */ } } + */ + break; case Category.Difficulty: Difficulty.CircleSize = GetValue("CircleSize");