internal static string MovesToString(IEnumerable<Move> moves) { return string.Join(" ", moves.Select(m => string.Format("{0} {1} {2}", m.Location.X, m.Location.Y, (int)m.Direction))); }
/// <summary> /// Call to send your move orders and complete your turn. /// </summary> public static void SendMoves(IEnumerable <Move> moves) { SendString(Move.MovesToString(moves)); }