pythagoreantree/src/PythagorasTreeSeed.java
Jan Christian Grünhage 494d13bba3 Added Seeds
The added Seed Class is containing the information needed for building a tree.
With this it is possible to have nice I/O when running the application without arguments but adding the possibility to run the application with arguments for nearly no I/O, without having much code twice
2015-02-11 12:26:23 +01:00

23 lines
563 B
Java

/**
* Created by Christian on 11.02.2015.
*/
public class PythagorasTreeSeed {
public double size;
public int loopSize;
public int depth;
public double angle;
public PythagorasTree.PythagorasTreeVariant variant;
public PythagorasTreeSeed() {
}
public PythagorasTreeSeed(double size, int loopSize, int depth, double angle, PythagorasTree.PythagorasTreeVariant variant) {
this.size = size;
this.loopSize = loopSize;
this.depth = depth;
this.angle = angle;
this.variant = variant;
}
}