mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-23 18:15:13 +00:00
Fix ScheduleInput docstring (#114)
This commit is contained in:
parent
9d6b2d25ee
commit
cfc137e749
1 changed files with 13 additions and 12 deletions
|
@ -23,17 +23,18 @@ namespace HeavenStudio.Games
|
||||||
|
|
||||||
public List<PlayerActionEvent> scheduledInputs = new List<PlayerActionEvent>();
|
public List<PlayerActionEvent> scheduledInputs = new List<PlayerActionEvent>();
|
||||||
|
|
||||||
/**
|
/// <summary>
|
||||||
* Schedule an Input for a later time in the minigame. Executes the methods put in parameters
|
/// Schedule an Input for a later time in the minigame. Executes the methods put in parameters
|
||||||
*
|
/// </summary>
|
||||||
* float startBeat : When the scheduling started (In beats)
|
/// <param name="startBeat">When the scheduling started (in beats)</param>
|
||||||
* float timer : How many beats later should the input be expected
|
/// <param name="timer">How many beats later should the input be expected</param>
|
||||||
* InputType inputType : The type of the input that's expected (Press, release, A, B, Directions..) (Check InputType class for a list)
|
/// <param name="inputType">The type of the input that's expected (Press, Release, A, B, Directions>)</param>
|
||||||
* ActionEventCallbackState OnHit : Method to run if the Input has been Hit
|
/// <param name="OnHit">Method to run if the Input has been Hit</param>
|
||||||
* ActionEventCallback OnMiss : Method to run if the Input has been Missed
|
/// <param name="OnMiss">Method to run if the Input has been Missed</param>
|
||||||
* ActionEventCallback OnBlank : Method to run whenever there's an Input while this is Scheduled (Shouldn't be used too much)
|
/// <param name="OnBlank">Method to run whenever there's an Input while this is Scheduled (Shouldn't be used too much)</param>
|
||||||
*/
|
/// <returns></returns>
|
||||||
public PlayerActionEvent ScheduleInput(float startBeat,
|
public PlayerActionEvent ScheduleInput(
|
||||||
|
float startBeat,
|
||||||
float timer,
|
float timer,
|
||||||
InputType inputType,
|
InputType inputType,
|
||||||
PlayerActionEvent.ActionEventCallbackState OnHit,
|
PlayerActionEvent.ActionEventCallbackState OnHit,
|
||||||
|
|
Loading…
Reference in a new issue