1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-06 19:47:19 +08:00
osu-lazer/osu.Game/Storyboards/StoryboardSample.cs

30 lines
755 B
C#
Raw Normal View History

2017-09-07 23:55:05 +02:00
// 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;
using System;
2017-09-07 23:55:05 +02:00
namespace osu.Game.Storyboards
{
2017-09-13 11:22:24 +02:00
public class StoryboardSample : IStoryboardElement
2017-09-07 23:55:05 +02:00
{
2017-09-08 13:04:53 +02:00
public string Path { get; set; }
public bool IsDrawable => false;
2017-09-07 23:55:05 +02:00
public double Time;
public float Volume;
2017-09-13 11:22:24 +02:00
public StoryboardSample(string path, double time, float volume)
2017-09-07 23:55:05 +02:00
{
Path = path;
Time = time;
Volume = volume;
}
public Drawable CreateDrawable()
{
throw new InvalidOperationException();
}
2017-09-07 23:55:05 +02:00
}
}