2016-09-02 18:25:13 +08:00
|
|
|
|
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
2016-09-02 19:30:27 +08:00
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
|
using osu.Framework.Graphics.Batches;
|
2016-09-02 18:25:13 +08:00
|
|
|
|
using osu.Framework.Graphics.Containers;
|
2016-09-02 19:30:27 +08:00
|
|
|
|
using osu.Framework.Graphics.Drawables;
|
2016-09-02 18:25:13 +08:00
|
|
|
|
using osu.Game.Beatmaps.Objects;
|
2016-09-11 01:27:42 +08:00
|
|
|
|
using OpenTK;
|
2016-09-02 18:25:13 +08:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.GameModes.Play
|
|
|
|
|
{
|
|
|
|
|
public abstract class HitRenderer : LargeContainer
|
|
|
|
|
{
|
2016-09-26 14:07:29 +08:00
|
|
|
|
public abstract List<HitObject> Objects { get; set; }
|
2016-09-02 19:30:27 +08:00
|
|
|
|
|
|
|
|
|
public override void Load()
|
|
|
|
|
{
|
|
|
|
|
base.Load();
|
|
|
|
|
|
2016-09-11 01:27:42 +08:00
|
|
|
|
Add(new Box() { SizeMode = InheritMode.XY, Alpha = 0.1f, Scale = new Vector2(0.99f) });
|
2016-09-02 19:30:27 +08:00
|
|
|
|
}
|
2016-09-02 18:25:13 +08:00
|
|
|
|
}
|
|
|
|
|
}
|