mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Rework beatmap post-processing into HitRenderer.
This commit is contained in:
@ -6,8 +6,10 @@ using OpenTK;
|
||||
|
||||
namespace osu.Game.Modes.Objects
|
||||
{
|
||||
internal class Hit : HitObjectWithCombo, IHasPosition
|
||||
internal class Hit : HitObject, IHasPosition, IHasCombo
|
||||
{
|
||||
public Vector2 Position { get; set; }
|
||||
|
||||
public bool NewCombo { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -1,15 +0,0 @@
|
||||
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using osu.Game.Modes.Objects.Types;
|
||||
using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Game.Modes.Objects
|
||||
{
|
||||
internal class HitObjectWithCombo : HitObject, IHasCombo
|
||||
{
|
||||
public Color4 ComboColour { get; set; }
|
||||
public bool NewCombo { get; set; }
|
||||
public int ComboIndex { get; set; }
|
||||
}
|
||||
}
|
@ -7,7 +7,7 @@ using OpenTK;
|
||||
|
||||
namespace osu.Game.Modes.Objects
|
||||
{
|
||||
internal class Slider : HitObjectWithCombo, IHasCurve, IHasPosition, IHasDistance, IHasRepeats
|
||||
internal class Slider : HitObject, IHasCurve, IHasPosition, IHasDistance, IHasRepeats, IHasCombo
|
||||
{
|
||||
public List<Vector2> ControlPoints { get; set; }
|
||||
public CurveType CurveType { get; set; }
|
||||
@ -17,5 +17,7 @@ namespace osu.Game.Modes.Objects
|
||||
public double Distance { get; set; }
|
||||
|
||||
public int RepeatCount { get; set; }
|
||||
|
||||
public bool NewCombo { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,6 @@
|
||||
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
using OpenTK.Graphics;
|
||||
|
||||
namespace osu.Game.Modes.Objects.Types
|
||||
{
|
||||
/// <summary>
|
||||
@ -10,19 +8,9 @@ namespace osu.Game.Modes.Objects.Types
|
||||
/// </summary>
|
||||
public interface IHasCombo
|
||||
{
|
||||
/// <summary>
|
||||
/// The colour of this HitObject in the combo.
|
||||
/// </summary>
|
||||
Color4 ComboColour { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether the HitObject starts a new combo.
|
||||
/// </summary>
|
||||
bool NewCombo { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The combo index.
|
||||
/// </summary>
|
||||
int ComboIndex { get; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user