Ejemplo n.º 1
0
 public void Play(PlayType play)
 {
     //delayed event to notify of the move choosen by the player
     _dispatcher.Add <PlayMade>(new PlayMade(_player, play));
     if (play == PlayType.None)
     {
         _dispatcher.Publish <InvalidPlay>(new InvalidPlay(_player, play));
     }
 }