Esempio n. 1
0
        public void DisplayStatus()
        {
            List <string> prompts = new List <string>
            {
                "Name: " + this.Name,
                "Level: " + this.Level,
                "Health: " + this.CurrentHP + " | " + this.MaxHP,
                "Mana: " + this.CurrentMP + " | " + this.MaxMP,
                "Stamina: " + this.CurrentStamina + " | " + this.MaxStamina,
                "Attack: " + this.Attack,
                "Defense: " + this.Defense,
                "Magic Attack: " + this.MagAttack,
                "Magic Defense: " + this.MagDefense,
                "Luck: " + this.Luck,
                "Experience Value: " + this.Exp + "xp",
                "Gold: " + this.Gold
            };

            foreach (string name in AbilityNames)
            {
                prompts.Add($"Ability: {name}");
            }
            DisplayMethods.DisplayInformation(prompts);
            DisplayMethods.DisplayWrappedInformation($"Lore: {this.Lore}");
            DisplayMethods.DisplayInformation("Press any key to continue...", true);
        }