mirror of
https://github.com/ppy/osu.git
synced 2025-01-21 06:42:54 +08:00
Minor changes to pass the AppVeyor test
This commit is contained in:
parent
d229fed128
commit
2051be7453
@ -29,7 +29,7 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
private OsuInputManager inputManager;
|
private OsuInputManager inputManager;
|
||||||
|
|
||||||
private List<OsuReplayFrame> replayFrames;
|
private List<OsuReplayFrame> replayFrames;
|
||||||
private int frameIndex = 0;
|
private int frameIndex;
|
||||||
|
|
||||||
public void Update(Playfield playfield)
|
public void Update(Playfield playfield)
|
||||||
{
|
{
|
||||||
@ -44,7 +44,7 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
{
|
{
|
||||||
// If we are, move to the next frame, and update the mouse position
|
// If we are, move to the next frame, and update the mouse position
|
||||||
frameIndex++;
|
frameIndex++;
|
||||||
new MousePositionAbsoluteInput() { Position = playfield.ToScreenSpace(replayFrames[frameIndex].Position) }.Apply(inputManager.CurrentState, inputManager);
|
new MousePositionAbsoluteInput { Position = playfield.ToScreenSpace(replayFrames[frameIndex].Position) }.Apply(inputManager.CurrentState, inputManager);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Implement the functionality to automatically spin spinners
|
// TODO: Implement the functionality to automatically spin spinners
|
||||||
|
Loading…
Reference in New Issue
Block a user