Class NebulaEditor
java.lang.Object
com.fs.starfarer.api.impl.campaign.procgen.NebulaEditor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clearArc
(float x, float y, float innerRadius, float outerRadius, float startAngle, float endAngle) void
clearArc
(float x, float y, float innerRadius, float outerRadius, float startAngle, float endAngle, float noiseThresholdToClear) void
clearArc
(float x, float y, float innerRadius, float outerRadius, float startAngle, float endAngle, float endRadiusMult, float noiseThresholdToClear) int[][]
int[][]
getTiles()
int[][]
float
boolean
void
noisePrune
(float fractionKeep) void
void
setSetToOrigInsteadOfClear
(boolean setToOrigInsteadOfClear) void
setTileAt
(float x, float y, int value) void
setTileAt
(float x, float y, int value, float noiseThresholdToClear) void
setTileAt
(float x, float y, int value, float noiseThresholdToClear, boolean setToOrigTile)
-
Field Details
-
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
-
NebulaEditor
-
-
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)
-