1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 05:42:54 +08:00
osu-lazer/osu.Game/Screens/Play/HUD/ArgonScoreWedge.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
1.1 KiB
C#
Raw Normal View History

2023-10-26 14:10:56 +08:00
// 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)
},
};
}
}
}