1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-24 21:27:25 +08:00
osu-lazer/osu.Game.Rulesets.Osu/Skinning/Default/TrianglesPiece.cs

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

27 lines
714 B
C#
Raw Normal View History

// 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.
2018-04-13 17:19:50 +08:00
using osu.Game.Graphics.Backgrounds;
2018-04-13 17:19:50 +08:00
2020-12-04 19:21:53 +08:00
namespace osu.Game.Rulesets.Osu.Skinning.Default
{
public partial class TrianglesPiece : Triangles
{
protected override bool CreateNewTriangles => false;
protected override float SpawnRatio => 0.5f;
2018-04-13 17:19:50 +08:00
public TrianglesPiece(int? seed = null)
: base(seed)
{
TriangleScale = 1.2f;
2017-03-01 10:56:14 +08:00
HideAlphaDiscrepancies = false;
}
2018-04-13 17:19:50 +08:00
protected override void Update()
{
if (IsPresent)
base.Update();
}
}
2018-01-05 19:21:19 +08:00
}