Пример #1
0
 public PlanetType(
     ElementId id,
     AbstractImage icon,
     string name,
     string description,
     YieldCalculator yieldCalculator
     ) : base(id, ElementType.PlanetType)
 {
     this.icon            = icon;
     this.name            = name;
     this.description     = description;
     this.yieldCalculator = yieldCalculator;
 }
Пример #2
0
 public ClusterType(
     ElementId id,
     AbstractImage icon,
     string name,
     string description,
     YieldModifier yieldModifier
     ) : base(id, ElementType.ClusterType)
 {
     this.icon          = icon;
     this.name          = name;
     this.description   = description;
     this.yieldModifier = yieldModifier;
 }