Scene

trait Scene[StartUpData, GameModel, ViewModel]

Describes the functions that a valid scene must implement.

Companion:
object
class Object
trait Matchable
class Any

Type members

Value members

Abstract methods

def modelLens: Lens[GameModel, SceneModel]
def present(context: FrameContext[StartUpData], model: SceneModel, viewModel: SceneViewModel): Outcome[SceneUpdateFragment]
def updateModel(context: FrameContext[StartUpData], model: SceneModel): GlobalEvent => Outcome[SceneModel]
def updateViewModel(context: FrameContext[StartUpData], model: SceneModel, viewModel: SceneViewModel): GlobalEvent => Outcome[SceneViewModel]