2019-01-24 16:43:03 +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.
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
|
|
|
|
using osu.Game.Graphics.Backgrounds;
|
|
|
|
|
|
2020-12-04 19:21:53 +08:00
|
|
|
|
namespace osu.Game.Rulesets.Osu.Skinning.Default
|
2018-04-13 17:19:50 +08:00
|
|
|
|
{
|
2022-11-24 13:32:20 +08:00
|
|
|
|
public partial class TrianglesPiece : Triangles
|
2018-04-13 17:19:50 +08:00
|
|
|
|
{
|
2020-11-17 12:06:52 +08:00
|
|
|
|
protected override bool CreateNewTriangles => false;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
protected override float SpawnRatio => 0.5f;
|
|
|
|
|
|
2020-10-02 00:48:41 +08:00
|
|
|
|
public TrianglesPiece(int? seed = null)
|
|
|
|
|
: base(seed)
|
2018-04-13 17:19:50 +08:00
|
|
|
|
{
|
|
|
|
|
TriangleScale = 1.2f;
|
|
|
|
|
HideAlphaDiscrepancies = false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void Update()
|
|
|
|
|
{
|
|
|
|
|
if (IsPresent)
|
|
|
|
|
base.Update();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|