예제 #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;
 }