public SmoothStretchGen(TerrainGenerator tg) { opt = (SmoothStrechOpt)tg.gen_opts; this.draw_editor = true; this.gen_type = GeneratorType.SmoothStretch; }
public SmoothStretchGen(float scale_x, float scale_y, float amplitude) { opt = new SmoothStrechOpt(scale_x, scale_y); this.draw_editor = true; this.gen_type = GeneratorType.SmoothStretch; }
public SmoothStretchGen(SmoothStrechOpt opt) { this.opt = opt; }