2021-06-04 10:46:50 +00:00
|
|
|
// 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;
|
2021-06-04 10:54:46 +00:00
|
|
|
public readonly int RNGSeed;
|
2021-06-04 10:46:50 +00:00
|
|
|
|
2021-06-04 10:54:46 +00:00
|
|
|
public HitExplosionEntry(double startTime, float position, float scale, Color4 objectColour, int rngSeed)
|
2021-06-04 10:46:50 +00:00
|
|
|
{
|
|
|
|
LifetimeStart = startTime;
|
|
|
|
Position = position;
|
|
|
|
Scale = scale;
|
|
|
|
ObjectColour = objectColour;
|
2021-06-04 10:54:46 +00:00
|
|
|
RNGSeed = rngSeed;
|
2021-06-04 10:46:50 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|