StandardFrameProcessor

final class StandardFrameProcessor[StartUpData, Model, ViewModel](val subSystemsRegister: SubSystemsRegister, val eventFilters: EventFilters, val modelUpdate: (FrameContext[StartUpData], Model) => GlobalEvent => Outcome[Model], val viewModelUpdate: (FrameContext[StartUpData], Model, ViewModel) => GlobalEvent => Outcome[ViewModel], val viewUpdate: (FrameContext[StartUpData], Model, ViewModel) => Outcome[SceneUpdateFragment]) extends FrameProcessor[StartUpData, Model, ViewModel] with StandardFrameProcessorFunctions[StartUpData, Model, ViewModel]
trait StandardFrameProcessorFunctions[StartUpData, Model, ViewModel]
trait FrameProcessor[StartUpData, Model, ViewModel]
class Object
trait Matchable
class Any

Value members

Concrete methods

def run(startUpData: => StartUpData, model: => Model, viewModel: => ViewModel, gameTime: GameTime, globalEvents: List[GlobalEvent], inputState: InputState, dice: Dice, boundaryLocator: BoundaryLocator): Outcome[(Model, ViewModel, SceneUpdateFragment)]

Inherited methods

def processModel(frameContext: FrameContext[StartUpData], model: Model, globalEvents: List[GlobalEvent]): Outcome[Model]
def processView(frameContext: FrameContext[StartUpData], model: Model, viewModel: ViewModel): Outcome[SceneUpdateFragment]
def processViewModel(frameContext: FrameContext[StartUpData], model: Model, viewModel: ViewModel, globalEvents: List[GlobalEvent]): Outcome[ViewModel]

Concrete fields

val modelUpdate: (FrameContext[StartUpData], Model) => GlobalEvent => Outcome[Model]
val viewModelUpdate: (FrameContext[StartUpData], Model, ViewModel) => GlobalEvent => Outcome[ViewModel]
val viewUpdate: (FrameContext[StartUpData], Model, ViewModel) => Outcome[SceneUpdateFragment]