mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 11:17:39 +02:00
More comments, new method to detect expected inputs
IsExpectingInputNow() detects wether the player is expected to input something at the closest InputEvent
This commit is contained in:
@ -86,7 +86,13 @@ namespace HeavenStudio.Games
|
||||
Blank();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsExpectingInputNow()
|
||||
{
|
||||
float normalizedBeat = Conductor.instance.GetPositionFromBeat(startBeat, timer);
|
||||
return normalizedBeat > Minigame.EarlyTime() && normalizedBeat < Minigame.EndTime();
|
||||
}
|
||||
|
||||
public bool IsCorrectInput()
|
||||
{
|
||||
|
Reference in New Issue
Block a user