コード例 #1
0
        public GalaxyScreenViewModel(FlagshipGameViewModel flagshipGameViewModel, GalaxyScreen galaxyScreen)
        {
            FlagshipGameViewModel = flagshipGameViewModel;
            FlagshipGame = FlagshipGameViewModel.FlagshipGame;
            GalaxyScreen = galaxyScreen;

            Initialize();
        }
コード例 #2
0
ファイル: FlagshipGameScreen.cs プロジェクト: mtrupkin/StarRL
        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);
        }