예제 #1
0
 public Trait GetTrait(Trait.Type type)
 {
     return(Trait.GetTrait(type, traits));
 }
예제 #2
0
 public bool HasTrait(Trait.Type type)
 {
     return(traitList.Exists(x => x.type == type));
 }