public static string FindTraitLocation(Trait trait)
 {
     return(FindTraitLocation(trait.GetType()));
 }
示例#2
0
 public void Include(Trait trait)
 {
     traits[trait.GetType().GetHashCode()] = trait;
 }
 public TraitDescriptor(Entity entity, Trait of, bool initialize)
 {
     Entity     = entity;
     this.of    = of;
     Initialize = initialize;
 }