Class PlanetGenDataSpec

java.lang.Object
com.fs.starfarer.api.impl.campaign.procgen.PlanetGenDataSpec
All Implemented Interfaces:
EntityGenDataSpec

public class PlanetGenDataSpec extends Object implements EntityGenDataSpec
  • Constructor Details

    • PlanetGenDataSpec

      public PlanetGenDataSpec(org.json.JSONObject row) throws org.json.JSONException
      Throws:
      org.json.JSONException
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getCategory

      public String getCategory()
      Specified by:
      getCategory in interface EntityGenDataSpec
    • getFrequency

      public float getFrequency()
    • getId

      public String getId()
      Specified by:
      getId in interface EntityGenDataSpec
    • getHabOffsetMin

      public float getHabOffsetMin()
    • getHabOffsetMax

      public float getHabOffsetMax()
    • getMinRadius

      public float getMinRadius()
    • getMaxRadius

      public float getMaxRadius()
    • getMinColor

      public Color getMinColor()
    • getMaxColor

      public Color getMaxColor()
    • getMultiplier

      public float getMultiplier(String key)
    • getTags

      public Set<String> getTags()
    • addTag

      public void addTag(String tag)
    • hasTag

      public boolean hasTag(String tag)
    • getMultipliers

      public Map<String,Float> getMultipliers()
    • getProbOrbits

      public float getProbOrbits()
    • getMinOrbits

      public float getMinOrbits()
    • getMaxOrbits

      public float getMaxOrbits()
    • getHabOffsetYOUNG

      public float getHabOffsetYOUNG()
      Specified by:
      getHabOffsetYOUNG in interface EntityGenDataSpec
    • getHabOffsetAVERAGE

      public float getHabOffsetAVERAGE()
      Specified by:
      getHabOffsetAVERAGE in interface EntityGenDataSpec
    • getHabOffsetOLD

      public float getHabOffsetOLD()
      Specified by:
      getHabOffsetOLD in interface EntityGenDataSpec