eu.joaocosta.minart.runtime

Members list

Type members

Classlikes

trait AppLoop[State, Subsystem]

App loop that keeps an internal state that is passed to every iteration.

App loop that keeps an internal state that is passed to every iteration.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object AppLoop

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
AppLoop.type
sealed trait LoopFrequency

Definition of a loop iteration frequency.

Definition of a loop iteration frequency.

This is commonly used to represent the desired framerate.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class LoopDuration
object Never.type
object Uncapped.type
object LoopFrequency

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
trait LoopRunner

Abstraction that allows to run loops at a certain frequency in a platforrm agnostic way.

Abstraction that allows to run loops at a certain frequency in a platforrm agnostic way.

This is useful for interop with backends that do nor provide Thread.sleep or that require that an event loop keeps being consumed.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object LoopRunner

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
LoopRunner.type
trait MinartApp[State, Subsystem]

Entrypoint for Minart applications.

Entrypoint for Minart applications.

Attributes

Supertypes
class Object
trait Matchable
class Any
enum Platform

Runtime representation of the runtime platform. In general, it is preferable to handle platform-specific code at compile time, but this can be helpful for small changes.

Runtime representation of the runtime platform. In general, it is preferable to handle platform-specific code at compile time, but this can be helpful for small changes.

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Platform

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Platform.type
trait Resource

Resource that can be loaded.

Resource that can be loaded.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Resource

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Resource.type