Пример #1
0
 public static string FindTraitLocation(Trait trait)
 {
     return(FindTraitLocation(trait.GetType()));
 }
Пример #2
0
 public void Include(Trait trait)
 {
     traits[trait.GetType().GetHashCode()] = trait;
 }
Пример #3
0
 public TraitDescriptor(Entity entity, Trait of, bool initialize)
 {
     Entity     = entity;
     this.of    = of;
     Initialize = initialize;
 }