eu.joaocosta.minart.runtime

Members list

Concise view

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
Graph
Supertypes
class Object
trait Matchable
class Any
object AppLoop

Attributes

Companion:
trait
Graph
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
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Never.type
object Uncapped.type

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

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
Graph
Supertypes
class Object
trait Matchable
class Any
object LoopRunner

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait MinartApp[State, Subsystem]

Entrypoint for Minart applications.

Entrypoint for Minart applications.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
sealed trait 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
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object JS.type
object JVM.type
object Native.type
object Platform

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
trait Resource

Resource that can be loaded.

Resource that can be loaded.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
object Resource

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type