Static
forCreates a new instance of BeatRepeat.
The metronome used to count how many beats have passed.
How many beats the repetition should run for.
The action to perform for every update that the repeat is active.
Static
forCreates a new instance of MsRepeat.
How many milliseconds the repetition should run for.
The action to perform for every update that the repeat is active.
Static
untilCreates a new instance of ConditionalRepeat.
The condition which must be satisfied for the repeat to automatically finish.
The action to perform for every update that the repeat is active.
Generated using TypeDoc
The Repeat class contains static methods for slightly more nice and intuitive creation of repeats.