Beispiel #1
0
        private void returnButton_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            UIHost uiHost = RuntimeData.Instance.gameEngine.uihost;

            // 在此处添加事件处理程序实现。
            this.Visibility = System.Windows.Visibility.Collapsed;
            uiHost.mainMenu.Load();
        }
 public GameEngine(UIHost uihost)
 {
     this.uihost = uihost;
 }