Definition

eu.joaocosta.minart.runtime.AppLoop.Definition
trait Definition[State, Settings, Subsystem]

App loop definition that takes the initial settings, initial state and loop frequency.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def configure(initialSettings: Settings, frameRate: LoopFrequency, initialState: State): AppLoop[State, Subsystem]

Applies the following configuration to the app loop definition

Applies the following configuration to the app loop definition

Value parameters

frameRate

frame rate of the app loop

initialSettings

initial settings of the subsystems

initialState

initial state of the loop

Attributes

Concrete methods

final def configure(initialSettings: Settings, frameRate: LoopFrequency)(using ev: Unit =:= State): AppLoop[State, Subsystem]

Applies the following configuration to the app loop definition

Applies the following configuration to the app loop definition

Value parameters

frameRate

frame rate of the app loop

initialSettings

initial settings of the subsystems

Attributes