Exemple #1
0
        // Helper to combine the attributes into a single line, to make it easier to display the item as a string
        public string FormatOutput()
        {
            var myReturn = string.Empty;

            myReturn += Name;
            myReturn += " , " + Description;
            myReturn += " , Level : " + Level.ToString();
            myReturn += " , Total Experience : " + ExperienceTotal;
            myReturn += " , " + CharacterAttribute.FormatOutput();
            myReturn += " , Items : " + ItemSlotsFormatOutput();
            myReturn += " Damage : " + GetDamageDice();

            return(myReturn);
        }