mirror of
https://github.com/ppy/osu.git
synced 2024-11-18 00:12:54 +08:00
38 lines
996 B
C#
38 lines
996 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 System.Collections.Generic;
|
|
using osu.Framework.Graphics;
|
|
using osu.Framework.Graphics.Batches;
|
|
using osu.Framework.Graphics.Containers;
|
|
using osu.Framework.Graphics.Drawables;
|
|
using osu.Game.Beatmaps.Objects;
|
|
using OpenTK;
|
|
using OpenTK.Graphics;
|
|
using osu.Framework;
|
|
|
|
namespace osu.Game.GameModes.Play
|
|
{
|
|
public abstract class HitRenderer : Container
|
|
{
|
|
public abstract List<HitObject> Objects { set; }
|
|
|
|
public HitRenderer()
|
|
{
|
|
RelativeSizeAxes = Axes.Both;
|
|
}
|
|
|
|
public override void Load(BaseGame game)
|
|
{
|
|
base.Load(game);
|
|
|
|
Add(new Box()
|
|
{
|
|
RelativeSizeAxes = Axes.Both,
|
|
Alpha = 0.8f,
|
|
Colour = new Color4(5, 5, 5, 255),
|
|
});
|
|
}
|
|
}
|
|
}
|