public void addSource(SourceType stype, double dist) { SourcePoint spoint = new SourcePoint(world.surface.getRandomPointFromLast(rnd, (int)dist), stype, rnd); world.addSourcePoint(spoint); }
public void addSource(SourceType stype, double dist) { SourcePoint spoint = new SourcePoint(world.surface.getRandomPointFromLast(rnd, (int)dist), stype, rnd); world.addSourcePoint(spoint); }