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

            Initialize();
        }
Ejemplo 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);
        }