Exemple #1
0
 public void MoveRight()
 {
     KeyRight.CanExecute(false);
     CallPropertyChanged("KeyRight");
     HintShow.HideHint();
     player.Col = player.Col + 1;
     CallPropertyChanged("PlayerMargin");
     if (isMulti)
     {
         speaker.PlayCommand("right");
     }
     CheckIfWon();
     KeyRight.CanExecute(true);
     CallPropertyChanged("KeyRight");
 }
 protected virtual void OnKeyRight()
 {
     KeyRight?.Invoke(this, EventArgs.Empty);
 }