示例#1
0
 public GalaxyFeature(string _name, GalaxyFeatureType _featureType, Color _iconColor)
 {
     name        = _name;
     featureType = _featureType;
     iconColor   = new Color(_iconColor.r * 0.5f, _iconColor.g * 0.5f, _iconColor.b * 0.5f);
     icon        = SpriteLoader.GetFeatureSprite(featureType.ToString());
 }