private void Run()
{
using (gameKernel)
{
gameKernel.Run();
}
}
internal static void Setup(GameProperties properties, Action initializer) { if (SetupCalled) { throw new EngineSetupException("Engine.Setup called multiple times."); } Instance = new ArtemisEngine(properties, initializer); Instance.Run(); }