Exemple #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;
 }
        public GalaxyScreenViewModel(FlagshipGameViewModel flagshipGameViewModel, GalaxyScreen galaxyScreen)
        {
            FlagshipGameViewModel = flagshipGameViewModel;
            FlagshipGame = FlagshipGameViewModel.FlagshipGame;
            GalaxyScreen = galaxyScreen;

            Initialize();
        }
 public SystemScreenViewModel(FlagshipGameViewModel flagshipGameViewModel, SystemScreen systemScreen)
 {
     FlagshipGameViewModel = flagshipGameViewModel;
     SystemScreen = systemScreen;
     Initialize();
 }