osukey/osu.Game.Rulesets.Catch/UI/HitExplosionEntry.cs
ekrctb 181f1da3d3 Maintain catch hit explosion by lifetime entries
- Fix hit explosion not showing when a replay is rewound to a time after a hit object is caught
2021-06-04 19:46:50 +09:00

24 lines
703 B
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Performance;
using osuTK.Graphics;
namespace osu.Game.Rulesets.Catch.UI
{
public class HitExplosionEntry : LifetimeEntry
{
public readonly float Position;
public readonly float Scale;
public readonly Color4 ObjectColour;
public HitExplosionEntry(double startTime, float position, float scale, Color4 objectColour)
{
LifetimeStart = startTime;
Position = position;
Scale = scale;
ObjectColour = objectColour;
}
}
}