2019-01-24 16:43:03 +08: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.
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
2021-10-01 17:24:46 +08:00
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
|
using osu.Game.Storyboards.Drawables;
|
|
|
|
|
using osuTK;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
2017-09-08 05:55:05 +08:00
|
|
|
|
namespace osu.Game.Storyboards
|
|
|
|
|
{
|
2024-03-06 05:05:56 +08:00
|
|
|
|
public class StoryboardSprite : StoryboardElementWithDuration<DrawableStoryboardSprite>
|
2017-09-08 05:55:05 +08:00
|
|
|
|
{
|
2017-09-13 17:22:24 +08:00
|
|
|
|
public StoryboardSprite(string path, Anchor origin, Vector2 initialPosition)
|
2024-03-06 05:05:56 +08:00
|
|
|
|
: base(path, origin, initialPosition)
|
2017-09-08 05:55:05 +08:00
|
|
|
|
{
|
|
|
|
|
}
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
2024-03-06 05:05:56 +08:00
|
|
|
|
public override DrawableStoryboardSprite CreateStoryboardDrawable() => new DrawableStoryboardSprite(this);
|
2017-09-08 05:55:05 +08:00
|
|
|
|
}
|
|
|
|
|
}
|