mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Storyboards implementation.
This commit is contained in:
27
osu.Game/Storyboards/CommandLoop.cs
Normal file
27
osu.Game/Storyboards/CommandLoop.cs
Normal file
@ -0,0 +1,27 @@
|
||||
// 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.Framework.Graphics;
|
||||
|
||||
namespace osu.Game.Storyboards
|
||||
{
|
||||
public class CommandLoop : CommandTimelineGroup
|
||||
{
|
||||
private double startTime;
|
||||
private int loopCount;
|
||||
|
||||
public CommandLoop(double startTime, int loopCount)
|
||||
{
|
||||
this.startTime = startTime;
|
||||
this.loopCount = loopCount;
|
||||
}
|
||||
|
||||
public override void ApplyTransforms(Drawable drawable)
|
||||
{
|
||||
//base.ApplyTransforms(drawable);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
=> $"{startTime} x{loopCount}";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user