mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 03:07:26 +08:00
27 lines
706 B
C#
27 lines
706 B
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 osu.Game.Graphics.Backgrounds;
|
|
|
|
namespace osu.Game.Rulesets.Osu.Skinning.Default
|
|
{
|
|
public class TrianglesPiece : Triangles
|
|
{
|
|
protected override bool CreateNewTriangles => false;
|
|
protected override float SpawnRatio => 0.5f;
|
|
|
|
public TrianglesPiece(int? seed = null)
|
|
: base(seed)
|
|
{
|
|
TriangleScale = 1.2f;
|
|
HideAlphaDiscrepancies = false;
|
|
}
|
|
|
|
protected override void Update()
|
|
{
|
|
if (IsPresent)
|
|
base.Update();
|
|
}
|
|
}
|
|
}
|