public override string VisitEndTurn(EndTurnCommand command)
        {
            string json = "  \"command\": {\n";

            json += "    \"player\": \"" + command.GetPlayerName() + "\",\n";
            json += "    \"type\": \"end turn\",\n";
            json += "  },\n";
            return(json);
        }
        public override string VisitEndTurn(EndTurnCommand command)
        {
            string xml = "<command>\n";

            xml += "  <player>" + command.GetPlayerName() + "</player>\n";
            xml += "  <type>End turn</type>\n";
            xml += "</command>\n";
            return(xml);
        }
 public abstract string VisitEndTurn(EndTurnCommand command);
 public override string VisitEndTurn(EndTurnCommand command)
 {
     return("Player " + command.GetPlayerName() + " completed their turn.\n");
 }