osu/osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/TrianglesPiece.cs

27 lines
767 B
C#
Raw Normal View History

2018-01-05 11:21:19 +00:00
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Graphics.Backgrounds;
2017-04-18 07:05:58 +00:00
namespace osu.Game.Rulesets.Osu.Objects.Drawables.Pieces
{
public class TrianglesPiece : Triangles
{
protected override bool ExpireOffScreenTriangles => false;
protected override bool CreateNewTriangles => false;
protected override float SpawnRatio => 0.5f;
public TrianglesPiece()
{
TriangleScale = 1.2f;
2017-03-01 02:56:14 +00:00
HideAlphaDiscrepancies = false;
}
protected override void Update()
{
if (IsPresent)
base.Update();
}
}
2018-01-05 11:21:19 +00:00
}