예제 #1
0
        public void PrintData()
        {
            PrintMessage("Beauty", Beauty.ToString(), Utilities.Getmark(1, Beauty));
            PrintMessage("Smarts", Smarts.ToString(), Utilities.Getmark(4, Smarts));
            PrintMessage("Phisics", Phisics.ToString(), Utilities.Getmark(7, Phisics));

            PrintAllData(arr);
        }
예제 #2
0
        /**
         * TODO
         * Equipment
         * Powers
         * Hindrances
         *
         * Later:
         * Injuries
         **/

        public override string ToString()
        {
            StringBuilder retval = new StringBuilder("");

            retval.AppendLine("Name:" + Name);
            retval.AppendLine("Charisma:" + Charisma.ToString());
            retval.AppendLine("Pace:" + Pace.ToString());
            retval.AppendLine("Parry:" + Parry.ToString());
            retval.AppendLine("Toughness:" + Toughness.ToString());
            retval.AppendLine("Agility:" + Agility.ToString());
            retval.AppendLine("Smarts:" + Smarts.ToString());
            retval.AppendLine("Strength:" + Strength.ToString());
            retval.AppendLine("Spirit:" + Spirit.ToString());
            retval.AppendLine("Vigor:" + Vigor.ToString());
            return(retval.ToString());
        }