Exemplo n.º 1
0
 public MainViewModel(FlagshipGame flagshipGame, MainScreen mainScreen)
 {
     MainScreen = mainScreen;
     MainScreenViewModel = new MainMenuViewModel(this, MainScreen.MenuScreen);
     FlagshipGameViewModel = new FlagshipGameViewModel(flagshipGame, this, MainScreen.GameScreen);
     FlagshipGame = flagshipGame;
 }
Exemplo n.º 2
0
        public GalaxyScreenViewModel(FlagshipGameViewModel flagshipGameViewModel, GalaxyScreen galaxyScreen)
        {
            FlagshipGameViewModel = flagshipGameViewModel;
            FlagshipGame = FlagshipGameViewModel.FlagshipGame;
            GalaxyScreen = galaxyScreen;

            Initialize();
        }
Exemplo n.º 3
0
 public SystemScreenViewModel(FlagshipGameViewModel flagshipGameViewModel, SystemScreen systemScreen)
 {
     FlagshipGameViewModel = flagshipGameViewModel;
     SystemScreen = systemScreen;
     Initialize();
 }