Exemple #1
0
        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);
        }