osu/osu.Game/Storyboards/SampleDefinition.cs

25 lines
644 B
C#
Raw Normal View History

2017-09-07 21:55:05 +00: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;
namespace osu.Game.Storyboards
{
2017-09-08 11:04:53 +00:00
public class SampleDefinition : IElementDefinition
2017-09-07 21:55:05 +00:00
{
2017-09-08 11:04:53 +00:00
public string Path { get; set; }
2017-09-07 21:55:05 +00:00
public double Time;
public float Volume;
public SampleDefinition(string path, double time, float volume)
{
Path = path;
Time = time;
Volume = volume;
}
public Drawable CreateDrawable()
=> null;
}
}