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

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