public class NebulaEditor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected float |
cx |
protected float |
cy |
protected int |
h |
protected float |
height |
protected int[][] |
orig |
protected BaseTiledTerrain |
plugin |
protected boolean |
setToOrigInsteadOfClear |
protected int[][] |
tiles |
protected float |
ts |
protected int |
w |
protected float |
width |
Constructor and Description |
---|
NebulaEditor(BaseTiledTerrain plugin) |
Modifier and Type | Method and Description |
---|---|
void |
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[][] |
getOrigTiles() |
int[][] |
getTiles() |
int[][] |
getTilesCopy() |
float |
getTileSize() |
boolean |
isSetToOrigInsteadOfClear() |
void |
noisePrune(float fractionKeep) |
void |
regenNoise() |
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) |
protected BaseTiledTerrain plugin
protected int[][] tiles
protected int[][] orig
protected float ts
protected float width
protected float height
protected float cx
protected float cy
protected int w
protected int h
protected boolean setToOrigInsteadOfClear
public NebulaEditor(BaseTiledTerrain plugin)
public int[][] getTilesCopy()
public int[][] getTiles()
public int[][] getOrigTiles()
public float getTileSize()
public void regenNoise()
public void noisePrune(float fractionKeep)
public void clearArc(float x, float y, float innerRadius, float outerRadius, float startAngle, float endAngle)
public void clearArc(float x, float y, float innerRadius, float outerRadius, float startAngle, float endAngle, float noiseThresholdToClear)
public void clearArc(float x, float y, float innerRadius, float outerRadius, float startAngle, float endAngle, float endRadiusMult, float noiseThresholdToClear)
public boolean isSetToOrigInsteadOfClear()
public void setSetToOrigInsteadOfClear(boolean setToOrigInsteadOfClear)
public void setTileAt(float x, float y, int value)
public void setTileAt(float x, float y, int value, float noiseThresholdToClear)
public void setTileAt(float x, float y, int value, float noiseThresholdToClear, boolean setToOrigTile)
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.