GameEngine

indigo.gameengine.GameEngine
See theGameEngine companion object
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: Batch[GlobalEvent])

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def kill(): Unit
def rebuildGameLoop(parentElement: Element, firstRun: Boolean): AssetCollection => Unit
def start(parentElement: Element, config: GameConfig, configAsync: Future[Option[GameConfig]], assets: Set[AssetType], assetsAsync: Future[Set[AssetType]], bootEvents: Batch[GlobalEvent]): GameEngine[StartUpData, GameModel, ViewModel]