mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 18:20:34 +08:00
32 lines
1007 B
C#
32 lines
1007 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;
|
||
|
|
||
|
namespace osu.Game.Rulesets.Catch.UI
|
||
|
{
|
||
|
public class CatcherTrailEntry : LifetimeEntry
|
||
|
{
|
||
|
public readonly CatcherAnimationState CatcherState;
|
||
|
|
||
|
public readonly float Position;
|
||
|
|
||
|
/// <summary>
|
||
|
/// The scaling of the catcher body. It also represents a flipped catcher (negative x component).
|
||
|
/// </summary>
|
||
|
public readonly Vector2 Scale;
|
||
|
|
||
|
public readonly CatcherTrailAnimation Animation;
|
||
|
|
||
|
public CatcherTrailEntry(double startTime, CatcherAnimationState catcherState, float position, Vector2 scale, CatcherTrailAnimation animation)
|
||
|
{
|
||
|
LifetimeStart = startTime;
|
||
|
CatcherState = catcherState;
|
||
|
Position = position;
|
||
|
Scale = scale;
|
||
|
Animation = animation;
|
||
|
}
|
||
|
}
|
||
|
}
|