TraitList() public method

public TraitList ( ) : List
return List
コード例 #1
0
        // Load a Legendary object.
        public void LoadLegendary(Legendary target)
        {
            LegendaryAbility          = target;
            LegendaryAbilityName.Text = target.Title;

            foreach (LegendaryTrait trait in target.TraitList())
            {
                Traits.Items.Add(trait.Title + " | " + trait.Ability);
            }
        }
コード例 #2
0
        // Load a Legendary object.
        public void LoadLegendary(Legendary target)
        {
            LegendaryAbility = target;
            LegendaryAbilityName.Text = target.Title;

            foreach (LegendaryTrait trait in target.TraitList())
            {
                Traits.Items.Add(trait.Title + " | " + trait.Ability);
            }
        }