LowLevelAllSubsystems

eu.joaocosta.minart.backend.subsystem.LowLevelAllSubsystems
See theLowLevelAllSubsystems companion object
final case class LowLevelAllSubsystems(lowLevelCanvas: LowLevelCanvas, lowLevelAudioPlayer: LowLevelAudioPlayer) extends LowLevelSubsystem[(Settings, Settings)]

Aggregation of all subsystems.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait AutoCloseable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def changeSettings(newSettings: (Settings, Settings)): Unit

Changes the settings of the subsystem.

Changes the settings of the subsystem.

Value parameters

newSettings

new settings to apply

Attributes

def close(): Unit

Destroys the subsystem.

Destroys the subsystem.

Calling any operation on this object after calling close() without calling init() has an undefined behavior.

Attributes

def init(settings: (Settings, Settings)): LowLevelAllSubsystems.this.type

Creates the subsystem.

Creates the subsystem.

Operations can only be called after calling this.

Value parameters

settings

settings used to configure the subsystem

Attributes

Returns

this subsystem

Checks if the subsystem is created or if it has been destroyed.

Checks if the subsystem is created or if it has been destroyed.

Attributes

Returns the current settings.

Returns the current settings.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Inherited fields

Attributes

Inherited from:
AudioPlayerSubsystem
val canvas: Canvas

Attributes

Inherited from:
CanvasSubsystem