Storyboards implementation.

This commit is contained in:
Damnae
2017-09-07 23:55:05 +02:00
parent c2b16dae10
commit e547416193
20 changed files with 925 additions and 25 deletions

View 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}";
}
}