1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-03 22:02:58 +08:00
osu-lazer/osu.Game/Beatmaps/Objects/HitObject.cs
2016-09-26 15:07:29 +09:00

21 lines
557 B
C#

//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Beatmaps.Samples;
namespace osu.Game.Beatmaps.Objects
{
/// <summary>
/// A hitobject describes a point in a beatmap
/// </summary>
public abstract class HitObject
{
public double StartTime;
public double? EndTime;
public double Duration => (EndTime ?? StartTime) - StartTime;
public HitSampleInfo Sample;
}
}