1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 05:27:23 +08:00

Explicitly make various member variabled of CursorTrail private.

This commit is contained in:
Thomas Müller 2016-11-27 15:04:56 +01:00
parent 724f849543
commit bd872f6ab8

View File

@ -22,23 +22,23 @@ namespace osu.Game.Graphics.Cursor
public override bool Contains(Vector2 screenSpacePos) => true;
public override bool HandleInput => true;
int currentIndex;
private int currentIndex;
Shader shader;
Texture texture;
private Shader shader;
private Texture texture;
Vector2 size => texture.Size * Scale;
private Vector2 size => texture.Size * Scale;
private double timeOffset;
private float time;
TrailDrawNodeSharedData trailDrawNodeSharedData = new TrailDrawNodeSharedData();
const int MAX_SPRITES = 2048;
private TrailDrawNodeSharedData trailDrawNodeSharedData = new TrailDrawNodeSharedData();
private const int MAX_SPRITES = 2048;
private TrailPart[] parts = new TrailPart[MAX_SPRITES];
Vector2? lastPosition;
private Vector2? lastPosition;
protected override DrawNode CreateDrawNode() => new TrailDrawNode();