// Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Rulesets.Objects; using osu.Game.Beatmaps; namespace osu.Game.Rulesets.Replays { public abstract class AutoGenerator : IAutoGenerator where T : HitObject { /// /// Creates the auto replay and returns it. /// Every subclass of OsuAutoGeneratorBase should implement this! /// public abstract Replay Generate(); #region Parameters /// /// The beatmap we're making. /// protected Beatmap Beatmap; #endregion public AutoGenerator(Beatmap beatmap) { Beatmap = beatmap; } #region Constants // Shared amongst all modes protected const double KEY_UP_DELAY = 50; #endregion } }