dfd1841e2f
New pythagoras Tree implementation, not fully working yet
17 lines
316 B
Java
17 lines
316 B
Java
import ch.aplu.turtle.Turtle;
|
|
|
|
/**
|
|
* Created by Christian on 10.02.2015.
|
|
*/
|
|
public class TurtleState {
|
|
private double x;
|
|
private double y;
|
|
private double heading;
|
|
|
|
public TurtleState(Turtle turtle) {
|
|
x = turtle.getX();
|
|
y = turtle.getY();
|
|
heading = turtle.heading();
|
|
}
|
|
}
|