Class NebulaEditor

java.lang.Object
com.fs.starfarer.api.impl.campaign.procgen.NebulaEditor

public class NebulaEditor extends Object
  • Field Details

    • plugin

      protected BaseTiledTerrain plugin
    • tiles

      protected int[][] tiles
    • orig

      protected int[][] orig
    • ts

      protected float ts
    • width

      protected float width
    • height

      protected float height
    • cx

      protected float cx
    • cy

      protected float cy
    • w

      protected int w
    • h

      protected int h
    • setToOrigInsteadOfClear

      protected boolean setToOrigInsteadOfClear
  • Constructor Details

  • Method Details

    • getTilesCopy

      public int[][] getTilesCopy()
    • getTiles

      public int[][] getTiles()
    • getOrigTiles

      public int[][] getOrigTiles()
    • getTileSize

      public float getTileSize()
    • regenNoise

      public void regenNoise()
    • noisePrune

      public void noisePrune(float fractionKeep)
    • clearArc

      public void clearArc(float x, float y, float innerRadius, float outerRadius, float startAngle, float endAngle)
    • clearArc

      public void clearArc(float x, float y, float innerRadius, float outerRadius, float startAngle, float endAngle, float noiseThresholdToClear)
    • clearArc

      public void clearArc(float x, float y, float innerRadius, float outerRadius, float startAngle, float endAngle, float endRadiusMult, float noiseThresholdToClear)
    • isSetToOrigInsteadOfClear

      public boolean isSetToOrigInsteadOfClear()
    • setSetToOrigInsteadOfClear

      public void setSetToOrigInsteadOfClear(boolean setToOrigInsteadOfClear)
    • setTileAt

      public void setTileAt(float x, float y, int value)
    • setTileAt

      public void setTileAt(float x, float y, int value, float noiseThresholdToClear)
    • setTileAt

      public void setTileAt(float x, float y, int value, float noiseThresholdToClear, boolean setToOrigTile)