1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 16:19:35 +08:00
osu-lazer/osu.Game/Screens/Play/HUD/ArgonScoreWedge.cs
2023-11-07 01:59:36 +03:00

41 lines
1.1 KiB
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Skinning;
using osuTK;
namespace osu.Game.Screens.Play.HUD
{
public partial class ArgonScoreWedge : CompositeDrawable, ISerialisableDrawable
{
public bool UsesFixedAnchor { get; set; }
[BackgroundDependencyLoader]
private void load()
{
AutoSizeAxes = Axes.Both;
var vertices = new List<Vector2>();
InternalChildren = new Drawable[]
{
new ArgonWedgePiece
{
WedgeWidth = { Value = 380 },
WedgeHeight = { Value = 72 },
},
new ArgonWedgePiece
{
WedgeWidth = { Value = 380 },
WedgeHeight = { Value = 72 },
Position = new Vector2(4, 5)
},
};
}
}
}