protected BaseScreen(IScreenGame game, TViewModel viewModel) { Game = game; ViewModel = viewModel; BindingContext = ViewModel !; GameContent = Game.Content; GraphicsDevice = Game.GraphicsDevice; }
public MonoGameNavigationService( IServiceLocator serviceLocator, INavigationLookup navigationLookup, IThreadService threadService, IScreenGame screenGame) { _serviceLocator = serviceLocator; _navigationLookup = navigationLookup; _threadService = threadService; _screenGame = screenGame; }
public BaseUpdateScreen(IScreenGame game, TViewModel viewModel) : base(game, viewModel) { _threadService = AppServiceLocator.Resolve <IThreadService>(); }
protected Base3DScreen(IScreenGame game, TViewModel viewModel) : base(game, viewModel) { }