From fa6cbbe1d36c76cf47cc7bc926b3249d03f37a95 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 5 Sep 2019 17:19:37 +0900 Subject: [PATCH] Remove more from empty project --- .../Drawables/DrawableEmptyScrollingObject.cs | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/templates/ruleset-scrolling-empty/osu.Game.Rulesets.EmptyScrolling/Objects/Drawables/DrawableEmptyScrollingObject.cs b/templates/ruleset-scrolling-empty/osu.Game.Rulesets.EmptyScrolling/Objects/Drawables/DrawableEmptyScrollingObject.cs index 622f2d2..6bbadf1 100644 --- a/templates/ruleset-scrolling-empty/osu.Game.Rulesets.EmptyScrolling/Objects/Drawables/DrawableEmptyScrollingObject.cs +++ b/templates/ruleset-scrolling-empty/osu.Game.Rulesets.EmptyScrolling/Objects/Drawables/DrawableEmptyScrollingObject.cs @@ -1,12 +1,8 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -using osu.Framework.Allocation; using osu.Framework.Graphics; -using osu.Framework.Graphics.Sprites; -using osu.Framework.Graphics.Textures; using osu.Game.Rulesets.Objects.Drawables; -using osu.Game.Rulesets.EmptyScrolling.UI; using osu.Game.Rulesets.Scoring; using osuTK; using osuTK.Graphics; @@ -20,16 +16,8 @@ public DrawableEmptyScrollingObject(EmptyScrollingHitObject hitObject) { Size = new Vector2(40); Origin = Anchor.Centre; - } - [BackgroundDependencyLoader] - private void load(EmptyScrollingPlayfield playfield, TextureStore textures) - { - AddInternal(new Sprite - { - RelativeSizeAxes = Axes.Both, - Texture = textures.Get("coin"), - }); + // todo: add visuals. } protected override void CheckForResult(bool userTriggered, double timeOffset)