Ejemplo n.º 1
0
 internal BodyTrait(BodyTraitType type, StarData location, IkonComposite loadData) :
     this(type, new LocationBody(location), loadData)
 {
 }
Ejemplo n.º 2
0
 internal BodyTrait(BodyTraitType type, StarData location) :
     this(type, new LocationBody(location))
 {
 }
Ejemplo n.º 3
0
 internal BodyTrait(BodyTraitType type, Planet location) :
     this(type, new LocationBody(location.Star, location))
 {
 }
Ejemplo n.º 4
0
 private BodyTrait(BodyTraitType type, ITraitEffect effect)
 {
     this.Type   = type;
     this.Effect = effect;
 }
Ejemplo n.º 5
0
 private BodyTrait(BodyTraitType type, LocationBody location, IkonComposite loadData)
 {
     this.Type   = type;
     this.Effect = type.Effect.Load(location, this, loadData);
 }
Ejemplo n.º 6
0
 private BodyTrait(BodyTraitType type, LocationBody location)
 {
     this.Type   = type;
     this.Effect = type.Effect.Instantiate(location, this);
 }