Ejemplo n.º 1
0
 protected virtual void EndAddPlayer(Mobile from, object target)
 {
     if (target is PlayerMobile)
     {
         if (!CardGame.IsPlaying((PlayerMobile)target))
         {
             CardGame.AddPlayer((PlayerMobile)target, CardGame.HandSize);
         }
     }
     else
     {
         BeginAddPlayer();
         from.SendMessage("Only players can join this game.");
     }
 }