GameEngine

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

Value members

Concrete methods

@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.throw")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
def rebuildGameLoop(firstRun: Boolean): AssetCollection => Unit
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.null")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
def start(config: GameConfig, configAsync: Future[Option[GameConfig]], assets: Set[AssetType], assetsAsync: Future[Set[AssetType]], bootEvents: List[GlobalEvent]): Unit

Concrete fields

@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.var")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.var", "scalafix:DisableSyntax.null")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.var", "scalafix:DisableSyntax.null")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.var", "scalafix:DisableSyntax.null")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
var gameLoop: Long => Long => Unit
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.var", "scalafix:DisableSyntax.null")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
var gameLoopInstance: GameLoop[StartUpData, GameModel, ViewModel]
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.var", "scalafix:DisableSyntax.null")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.var", "scalafix:DisableSyntax.null")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.var", "scalafix:DisableSyntax.null")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.var", "scalafix:DisableSyntax.null")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.var")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
var startUpData: StartUpData
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.var", "scalafix:DisableSyntax.null")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))