class Path { Vec2D[] p; Vec2D last; BoundaryCheck bounds; Line2D a,b; Line2D.LineIntersection cut; float theta=0; float delta; float speed; int numSearches; public Path(BoundaryCheck bounds, float speed, float delta, int history) { this.bounds=bounds; this.speed=speed; this.delta=delta; p=new Vec2D[history]; a=new Line2D(new Vec2D(),new Vec2D()); b=new Line2D(new Vec2D(),new Vec2D()); for(int i=0; i