mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Explicitly make various member variabled of CursorTrail private.
This commit is contained in:
@ -22,23 +22,23 @@ namespace osu.Game.Graphics.Cursor
|
|||||||
public override bool Contains(Vector2 screenSpacePos) => true;
|
public override bool Contains(Vector2 screenSpacePos) => true;
|
||||||
public override bool HandleInput => true;
|
public override bool HandleInput => true;
|
||||||
|
|
||||||
int currentIndex;
|
private int currentIndex;
|
||||||
|
|
||||||
Shader shader;
|
private Shader shader;
|
||||||
Texture texture;
|
private Texture texture;
|
||||||
|
|
||||||
Vector2 size => texture.Size * Scale;
|
private Vector2 size => texture.Size * Scale;
|
||||||
|
|
||||||
private double timeOffset;
|
private double timeOffset;
|
||||||
|
|
||||||
private float time;
|
private float time;
|
||||||
|
|
||||||
TrailDrawNodeSharedData trailDrawNodeSharedData = new TrailDrawNodeSharedData();
|
private TrailDrawNodeSharedData trailDrawNodeSharedData = new TrailDrawNodeSharedData();
|
||||||
const int MAX_SPRITES = 2048;
|
private const int MAX_SPRITES = 2048;
|
||||||
|
|
||||||
private TrailPart[] parts = new TrailPart[MAX_SPRITES];
|
private TrailPart[] parts = new TrailPart[MAX_SPRITES];
|
||||||
|
|
||||||
Vector2? lastPosition;
|
private Vector2? lastPosition;
|
||||||
|
|
||||||
protected override DrawNode CreateDrawNode() => new TrailDrawNode();
|
protected override DrawNode CreateDrawNode() => new TrailDrawNode();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user