Beispiel #1
0
    public bool has_trait(LOTRGame.TRAITS t)
    {
        foreach (LOTRGame.TRAITS trait in traits)
        {
            if (trait == t)
            {
                return(true);
            }
        }

        return(false);
    }
Beispiel #2
0
 public void remove_trait(LOTRGame.TRAITS trait)
 {
     temporary_traits.Remove(trait);
 }
Beispiel #3
0
 public bool has_trait(LOTRGame.TRAITS trait)
 {
     return(traits.Contains(trait) || temporary_traits.Contains(trait));
 }
Beispiel #4
0
 public void add_trait(LOTRGame.TRAITS trait)
 {
     temporary_traits.Add(trait);
 }