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