//Copyright (c) 2007-2016 ppy Pty Ltd . //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Beatmaps; using osu.Game.Beatmaps.Samples; using OpenTK.Graphics; using osu.Game.Graphics; namespace osu.Game.Modes.Objects { /// /// A hitobject describes a point in a beatmap /// public abstract class HitObject { public double StartTime; public virtual double EndTime => StartTime; public bool NewCombo { get; set; } public Color4 Colour = OsuColor.Combo1; public double Duration => EndTime - StartTime; public HitSampleInfo Sample; public virtual void SetDefaultsFromBeatmap(Beatmap beatmap) { } } }