예제 #1
0
 public StarData(Color color, float imageSizeScale, IStarName name, Vector2D position, List <StarTraitType> traits)
 {
     this.Color          = color;
     this.ImageSizeScale = imageSizeScale;
     this.Name           = name;
     this.Position       = position;
     this.Traits         = new PendableSet <IStarTrait>(traits.Select(x => x.Make()));
 }
예제 #2
0
 public StarSystemBuilder(Color color, float imageSizeScale, IStarName name, Vector2D position, List <StarTraitType> traits)
 {
     this.Star    = new StarData(color, imageSizeScale, name, position, traits);
     this.Planets = new List <Planet>();
 }