/// <summary>
 /// A string representation of this Move.
 /// </summary>
 /// <returns></returns>
 public override string ToString()
 {
     if (IllegalMove.Equals(""))
     {
         return(PlayerName + " place_armies " + Region.Id + " " + Armies);
     }
     else
     {
         return(PlayerName + " illegal_move " + IllegalMove);
     }
 }
Beispiel #2
0
 /// <summary>
 /// A string representation of this Move.
 /// </summary>
 /// <returns></returns>
 public override string ToString()
 {
     if (IllegalMove.Equals(""))
     {
         return(PlayerName + " attack/transfer " + FromRegion.Id + " " + ToRegion.Id + " " + Armies);
     }
     else
     {
         return(PlayerName + " illegal_move " + IllegalMove);
     }
 }