public ClientGameEngine(IGuiFactory guiFactory) { _splashScreen = guiFactory.CreateSplashScreen(); _splashScreen.Show(); _mainWindow = guiFactory.CreateMainWindow(); _mainWindow.Show(); }
public GameEngine(IGuiFactory uiFactory) { IGuiSplashscreen splash = uiFactory.CreateSplashscreen(); splash.Show("Loading...", TimeSpan.FromSeconds(5)); IGuiMainWindow window = uiFactory.CreateMainWindow(WindowStyle.NoFrame); window.Show(); }