public override string ToString() { string text = "\n\t" + name + '\t' + '(' + (color) + ')' + '\n' + "punten\n\t" + points + "\nStationnen" + StationsToString() + '\n' + "Amount of trains:\n\t" + (amountOfTrains - 8) + '\n' + "DestinationCards:" + CardMethods <AbstrDestCard> .getCardValues(DestinationCards) + '\n' + "Traincards:" + '\n' + CardMethods <TrainCard> .getAllSortedTrainCards(traincards) + '\n'; return(text); }
private static void Header(List <TrainCard> visibleTraincards, int roundNumber, Player player) { Program.logboek.WriteLine(""); Program.logboek.WriteLine(""); //ExtensionMethods.WaitForUser(); // Console.Clear(); Program.logboek.WriteLine("Round " + roundNumber); Program.logboek.WriteLine("De zichtbare kaarten zijn"); Program.logboek.WriteLine(CardMethods <TrainCard> .getCardValues(visibleTraincards)); Program.logboek.WriteLine(player.ToString()); Program.logboek.WriteLine("-----------------------------------"); Program.logboek.WriteLine("Turn:\t" + player.GetName()); Program.logboek.WriteLine("\t1.\tPick some TrainCards\n\t" + "2.\tBuild a track between 2 cities\n\t" + "3.\tPick a destination Card\n\t" + "4.\tBuild a station"); }