Members list
Type members
Classlikes
App loop definition that takes the initial settings, initial state and loop frequency.
App loop definition that takes the initial settings, initial state and loop frequency.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Types
Value members
Concrete methods
Creates an app loop with a canvas and an audio player that keeps and updates a state on every iteration, terminating when a certain condition is reached.
Creates an app loop with a canvas and an audio player that keeps and updates a state on every iteration, terminating when a certain condition is reached.
Attributes
- renderFrame
operation to render the frame and update the state
- terminateWhen
loop termination check
Creates an app loop with an audio player that keeps and updates a state on every iteration, terminating when a certain condition is reached.
Creates an app loop with an audio player that keeps and updates a state on every iteration, terminating when a certain condition is reached.
Attributes
- renderFrame
operation to render the frame and update the state
- terminateWhen
loop termination check
Creates an app loop that keeps and updates a state on every iteration, terminating when a certain condition is reached.
Creates an app loop that keeps and updates a state on every iteration, terminating when a certain condition is reached.
This is a low level operation for custom subsystems. For most use cases, statefulRenderLoop, statefulAudioLoop and statefulAppLoop are preferred.
Attributes
- renderFrame
operation to render the frame and update the state
- terminateWhen
loop termination check
Creates a render loop with a canvas that keeps and updates a state on every iteration, terminating when a certain condition is reached.
Creates a render loop with a canvas that keeps and updates a state on every iteration, terminating when a certain condition is reached.
Attributes
- renderFrame
operation to render the frame and update the state
- terminateWhen
loop termination check
Creates an app loop with a canvas and an audio player that keeps no state.
Creates an app loop with a canvas and an audio player that keeps no state.
Attributes
- renderFrame
operation to render the frame
Creates an aoo loop with an audio player that keeps no state.
Creates an aoo loop with an audio player that keeps no state.
Attributes
- renderFrame
operation to render the frame
Creates an app loop that keeps no state.
Creates an app loop that keeps no state.
This is a low level operation for custom subsystems. For most use cases, statelessRenderLoop, statelessAudioLoop and statelessAppLoop are preferred.
Attributes
- frameRate
frame rate limit
- renderFrame
operation to render the frame
Creates a render loop with a canvas that keeps no state.
Creates a render loop with a canvas that keeps no state.
Attributes
- renderFrame
operation to render the frame