Esempio n. 1
0
        public GalaxyScreenViewModel(FlagshipGameViewModel flagshipGameViewModel, GalaxyScreen galaxyScreen)
        {
            FlagshipGameViewModel = flagshipGameViewModel;
            FlagshipGame = FlagshipGameViewModel.FlagshipGame;
            GalaxyScreen = galaxyScreen;

            Initialize();
        }
Esempio n. 2
0
        public FlagshipGameScreen(Composite parent)
            : base(parent)
        {
            GalaxyScreen = new GalaxyScreen(parent) { GrabHorizontal = true, GrabVertical = false };

            SystemScreen = new SystemScreen(parent) { GrabHorizontal = true, GrabVertical = false };
            SystemScreen.SetEnabled(false);

            AddControl(GalaxyScreen);
            AddControl(SystemScreen);
        }