示例#1
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);
        }
示例#2
0
 public SystemScreenViewModel(FlagshipGameViewModel flagshipGameViewModel, SystemScreen systemScreen)
 {
     FlagshipGameViewModel = flagshipGameViewModel;
     SystemScreen = systemScreen;
     Initialize();
 }