Add missing access modifiers.

This commit is contained in:
Dean Herbert
2017-03-09 13:55:29 +09:00
parent 9772f2a042
commit dc5ac6e88f
5 changed files with 9 additions and 9 deletions

View File

@ -17,7 +17,7 @@ namespace osu.Game.IO.Legacy
/// handle null strings and simplify use with ISerializable. </summary>
public class SerializationReader : BinaryReader
{
Stream stream;
private Stream stream;
public SerializationReader(Stream s)
: base(s, Encoding.UTF8)

View File

@ -58,7 +58,7 @@ namespace osu.Game.Modes
public LegacyReplayFrame CurrentFrame => !hasFrames ? null : replayContent[currentFrameIndex];
public LegacyReplayFrame NextFrame => !hasFrames ? null : replayContent[nextFrameIndex];
int currentFrameIndex;
private int currentFrameIndex;
private int nextFrameIndex => MathHelper.Clamp(currentFrameIndex + (currentDirection > 0 ? 1 : -1), 0, replayContent.Count - 1);
@ -125,8 +125,8 @@ namespace osu.Game.Modes
private const double sixty_frame_time = 1000.0 / 60;
double currentTime;
int currentDirection;
private double currentTime;
private int currentDirection;
/// <summary>
/// When set, we will ensure frames executed by nested drawables are frame-accurate to replay data.
@ -136,7 +136,7 @@ namespace osu.Game.Modes
private bool hasFrames => replayContent.Count > 0;
bool inImportantSection =>
private bool inImportantSection =>
FrameAccuratePlayback &&
//a button is in a pressed state
(currentDirection > 0 ? CurrentFrame : NextFrame)?.ButtonState > LegacyButtonState.None &&