public bool has_trait(LOTRGame.TRAITS t) { foreach (LOTRGame.TRAITS trait in traits) { if (trait == t) { return(true); } } return(false); }
public void remove_trait(LOTRGame.TRAITS trait) { temporary_traits.Remove(trait); }
public bool has_trait(LOTRGame.TRAITS trait) { return(traits.Contains(trait) || temporary_traits.Contains(trait)); }
public void add_trait(LOTRGame.TRAITS trait) { temporary_traits.Add(trait); }