public Boid(double x, double y, double xVel, double yVel, double targetSpeed) { Pos = new Position(x, y); Vel = new Velocity(xVel, yVel); TargetSpeed = targetSpeed; }