示例#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);
 }