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