public class CropSimulation extends Simulation
Modifier and Type | Field and Description |
---|---|
protected float |
minHeight |
protected float |
minWidth |
Constructor and Description |
---|
CropSimulation(int seed) |
CropSimulation(int seed,
float minWidth,
float minHeight) |
Modifier and Type | Method and Description |
---|---|
MBFImage |
applySimulation(MBFImage input) |
randomFloatInRange, randomIntInRange
public CropSimulation(int seed)
public CropSimulation(int seed, float minWidth, float minHeight)
public MBFImage applySimulation(MBFImage input)
applySimulation
in class Simulation