From bd872f6ab812c86b6f41bb91935f357acbff8961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Sun, 27 Nov 2016 15:04:56 +0100 Subject: [PATCH] Explicitly make various member variabled of CursorTrail private. --- osu.Game/Graphics/Cursor/CursorTrail.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/osu.Game/Graphics/Cursor/CursorTrail.cs b/osu.Game/Graphics/Cursor/CursorTrail.cs index 2263c0a884..2fcc11d5ae 100644 --- a/osu.Game/Graphics/Cursor/CursorTrail.cs +++ b/osu.Game/Graphics/Cursor/CursorTrail.cs @@ -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();