示例#1
0
        private void MenuVMStartGameRequested(object sender, StartGameEventArgs e)
        {
            _gameVM = _gameVMFactory.CreateInstance(e.Difficulty);
            _gameVM.GameCompleted += GameVMGameCompleted;

            Content = _gameVM;
        }
示例#2
0
 public void RaiseStartGameRequested(StartGameEventArgs e)
 {
     var handler = StartGameRequested;
     if (handler != null)
     {
         handler(this, e);
     }
 }