Class VehiclePoly
java.lang.Object
zombie.pathfind.VehiclePoly
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsPoint(float x, float y) init(VehiclePoly other) init(BaseVehicle vehicle, float RADIUS) booleanisEqual(VehiclePoly other) static Vector2lineIntersection(Vector2 start1, Vector2 end1, Vector2 start2, Vector2 end2) void
-
Field Details
-
t
-
x1
public float x1 -
y1
public float y1 -
x2
public float x2 -
y2
public float y2 -
x3
public float x3 -
y3
public float y3 -
x4
public float x4 -
y4
public float y4 -
z
public float z -
borders
-
-
Constructor Details
-
VehiclePoly
public VehiclePoly()
-
-
Method Details
-
init
-
init
-
lineIntersection
-
containsPoint
public boolean containsPoint(float x, float y) -
isEqual
-
toByteBuffer
-