Package zombie.vehicles
Class PolygonalMap2
java.lang.Object
zombie.vehicles.PolygonalMap2
public class PolygonalMap2
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PolygonalMap2.IPathfinder
static class
PolygonalMap2.Path
static class
PolygonalMap2.VehiclePoly
-
Field Summary
Fields Modifier and Type Field Description static boolean
CLOSE_TO_WALLS
static PolygonalMap2
instance
-
Constructor Summary
Constructors Constructor Description PolygonalMap2()
-
Method Summary
Modifier and Type Method Description void
addChunkToWorld(IsoChunk chunk)
zombie.vehicles.PolygonalMap2.PathFindRequest
addRequest(PolygonalMap2.IPathfinder iPathfinder, Mover mover, float float1, float float2, float float3, float float4, float float5, float float6)
void
addVehicleToWorld(BaseVehicle baseVehicle)
void
cancelRequest(Mover mover)
void
init(IsoMetaGrid metaGrid)
boolean
intersectLineWithVehicle(float float1, float float2, float float3, float float4, BaseVehicle baseVehicle, Vector2 vector2)
boolean
lineClearCollide(float float1, float float2, float float3, float float4, int int1)
boolean
lineClearCollide(float float1, float float2, float float3, float float4, int int1, IsoMovingObject movingObject)
boolean
lineClearCollide(float float1, float float2, float float3, float float4, int int1, IsoMovingObject movingObject, boolean boolean1, boolean boolean2)
void
removeChunkFromWorld(IsoChunk chunk)
void
removeVehicleFromWorld(BaseVehicle baseVehicle)
void
render()
void
resolveCollision(IsoGameCharacter gameCharacter, float float1, float float2)
void
squareChanged(IsoGridSquare square)
void
stop()
void
updateMain()
void
updateThread()
void
updateVehicle(BaseVehicle baseVehicle)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
CLOSE_TO_WALLS
public static final boolean CLOSE_TO_WALLS- See Also:
- Constant Field Values
-
instance
-
-
Constructor Details
-
PolygonalMap2
public PolygonalMap2()
-
-
Method Details
-
render
public void render() -
squareChanged
-
addChunkToWorld
-
removeChunkFromWorld
-
addVehicleToWorld
-
updateVehicle
-
removeVehicleFromWorld
-
init
-
stop
public void stop() -
updateMain
public void updateMain() -
updateThread
public void updateThread() -
addRequest
public zombie.vehicles.PolygonalMap2.PathFindRequest addRequest(PolygonalMap2.IPathfinder iPathfinder, Mover mover, float float1, float float2, float float3, float float4, float float5, float float6) -
cancelRequest
-
lineClearCollide
public boolean lineClearCollide(float float1, float float2, float float3, float float4, int int1) -
lineClearCollide
public boolean lineClearCollide(float float1, float float2, float float3, float float4, int int1, IsoMovingObject movingObject) -
lineClearCollide
public boolean lineClearCollide(float float1, float float2, float float3, float float4, int int1, IsoMovingObject movingObject, boolean boolean1, boolean boolean2) -
intersectLineWithVehicle
public boolean intersectLineWithVehicle(float float1, float float2, float float3, float float4, BaseVehicle baseVehicle, Vector2 vector2) -
resolveCollision
-