Example #1
0
 public override Boolean Execute(TwoServerWindow twoServer, Player player, string[] cardArgs)
 {
     twoServer.DownDeck.Push(this);
     twoServer.PlayerList.RemovePlayerCard(player, this);
     twoServer.SendPlayerCards(player);
     twoServer.SendToAllPlayers("TOPCARD " + SortValue);
     twoServer.SendToPlayer(player, "TARGETPLAYER Princess Fufu!");
     twoServer.WaitingCard = this;
     twoServer.WaitForPlayerTarget("Who To Fufu?");
     return true;
 }
Example #2
0
 public void SendToPlayerTest()
 {
     TwoServerWindow target = new TwoServerWindow(); // TODO: Initialize to an appropriate value
     Player p = null; // TODO: Initialize to an appropriate value
     string toSend = string.Empty; // TODO: Initialize to an appropriate value
     target.SendToPlayer(p, toSend);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }