indigo.gameengine
package indigo.gameengine
Type members
Classlikes
final class GameEngine[StartUpData, GameModel, ViewModel](fonts: Set[FontInfo], animations: Set[Animation], shaders: Set[Shader], initialise: AssetCollection => Dice => Outcome[Startup[StartUpData]], initialModel: StartUpData => Outcome[GameModel], initialViewModel: StartUpData => GameModel => Outcome[ViewModel], frameProccessor: FrameProcessor[StartUpData, GameModel, ViewModel], initialisationEvents: List[GlobalEvent])
- Companion
- object
class GameLoop[StartUpData, GameModel, ViewModel](boundaryLocator: BoundaryLocator, sceneProcessor: SceneProcessor, gameEngine: GameEngine[StartUpData, GameModel, ViewModel], gameConfig: GameConfig, initialModel: GameModel, initialViewModel: ViewModel, frameProcessor: FrameProcessor[StartUpData, GameModel, ViewModel])