Rename conversion methods for clarity

This commit is contained in:
Dean Herbert
2020-03-25 20:21:34 +09:00
parent 800e395bc8
commit 8a2aac5f83
7 changed files with 12 additions and 12 deletions

View File

@ -39,7 +39,7 @@ namespace osu.Game.Rulesets.Catch.Replays
}
}
public void ConvertFrom(LegacyReplayFrame currentFrame, IBeatmap beatmap, ReplayFrame lastFrame = null)
public void FromLegacy(LegacyReplayFrame currentFrame, IBeatmap beatmap, ReplayFrame lastFrame = null)
{
Position = currentFrame.Position.X / CatchPlayfield.BASE_WIDTH;
Dashing = currentFrame.ButtonState == ReplayButtonState.Left1;
@ -57,7 +57,7 @@ namespace osu.Game.Rulesets.Catch.Replays
}
}
public LegacyReplayFrame ConvertTo(IBeatmap beatmap)
public LegacyReplayFrame ToLegacy(IBeatmap beatmap)
{
ReplayButtonState state = ReplayButtonState.None;