indigo.scenes

package indigo.scenes

Members list

Type members

Classlikes

trait Scene[StartUpData, GameModel, ViewModel]

Describes the functions that a valid scene must implement.

Describes the functions that a valid scene must implement.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class GameScene
object Scene

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Scene.type
final class SceneContext[StartUpData](val sceneName: SceneName, val sceneStartTime: Seconds, val frameContext: FrameContext[StartUpData])

SceneContext is a Scene specific equivalent of FrameContext, and exposes all of the fields and methods or a normal FrameContext object. It adds information about the scene currently running.

SceneContext is a Scene specific equivalent of FrameContext, and exposes all of the fields and methods or a normal FrameContext object. It adds information about the scene currently running.

Value parameters

frameContext

The normal frame context object that all other fields delegate to.

sceneName

The name of the current scene.

sceneStartTime

The time that the current scene was entered.

Attributes

Supertypes
class Object
trait Matchable
class Any
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.

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
trait GlobalEvent
class Object
trait Matchable
class Any
Show all
Known subtypes
case JumpTo
final case class SceneFinder(previous: List[ScenePosition], current: ScenePosition, next: List[ScenePosition])

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
class SceneManager[StartUpData, GameModel, ViewModel](scenes: NonEmptyList[Scene[StartUpData, GameModel, ViewModel]], scenesFinder: SceneFinder)

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object SceneManager

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
object SceneName

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
SceneName.type
final case class ScenePosition(index: Int, name: SceneName)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Types

opaque type SceneName