37 float angle = Misc.getAngleInDegrees(
system.getCenter().getLocation(),
jumpPoint.getLocation());
38 float dist = Misc.getDistance(
system.getCenter().getLocation(),
jumpPoint.getLocation()) + 3000f;
40 angle += (float) Math.random() * 10f - 20f;
41 dist += (float) Math.random() * 500f;
43 Vector2f loc = Misc.getUnitVectorAtDegreeAngle(angle);
45 Vector2f.add(
system.getCenter().getLocation(), loc, loc);
47 SectorEntityToken token =
system.createToken(loc.x, loc.y);
48 fleet.addAssignment(FleetAssignment.ORBIT_AGGRESSIVE, token, 3f,
"laying in wait");