Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 3
0
 public BaseUpdateScreen(IScreenGame game, TViewModel viewModel) : base(game, viewModel)
 {
     _threadService = AppServiceLocator.Resolve <IThreadService>();
 }
 protected Base3DScreen(IScreenGame game, TViewModel viewModel) : base(game, viewModel)
 {
 }