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