indigo.scenes

Type members

Classlikes

trait Lens[A, B]

Represents a simple-as-they-come lens, primarily for use with scenes in order to extract and replace the parts of, say, a model that the scene wants to operate on.

Represents a simple-as-they-come lens, primarily for use with scenes in order to extract and replace the parts of, say, a model that the scene wants to operate on.

Companion
object
object Lens
Companion
class
trait Scene[StartUpData, GameModel, ViewModel]

Describes the functions that a valid scene must implement.

Describes the functions that a valid scene must implement.

Companion
object
object Scene
Companion
class
enum SceneEvent extends GlobalEvent

The events used by the scene manager to move between scenes.

The events used by the scene manager to move between scenes.

final case
class SceneFinder(previous: List[ScenePosition], current: ScenePosition, next: List[ScenePosition])
Companion
object
Companion
class
class SceneManager[StartUpData, GameModel, ViewModel](scenes: NonEmptyList[Scene[StartUpData, GameModel, ViewModel]], scenesFinder: SceneFinder)
Companion
object
Companion
class
object SceneName
final case
class ScenePosition(index: Int, name: SceneName)

Types

opaque type SceneName