Class AnimalZone
java.lang.Object
zombie.iso.zones.Zone
zombie.characters.animals.AnimalZone
-
Field Summary
FieldsFields inherited from class zombie.iso.zones.Zone
geometryType, h, haveConstruction, hourLastSeen, id, isPreferredZoneForSquare, lastActionTimestamp, name, pickedRZStory, pickedXForZoneStory, pickedYForZoneStory, points, polylineOutlinePoints, polylineWidth, s_clipper, spawnedZombies, spawnSpecialZombies, totalArea, triangleAreas, triangles, type, w, x, y, z, zombiesTypeToSpawn
-
Constructor Summary
ConstructorsConstructorDescriptionAnimalZone
(String arg0, String arg1, int arg2, int arg3, int arg4, int arg5, int arg6, String arg7, String arg8, boolean arg9) AnimalZone
(String arg0, String arg1, int arg2, int arg3, int arg4, int arg5, int arg6, se.krka.kahlua.vm.KahluaTable arg7) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addJunction
(int arg0, AnimalZone arg1, int arg2) void
void
void
Dispose()
float
float
getClosestPointOnPolyline
(float arg0, float arg1, org.joml.Vector2f arg2) boolean
getDirectionOnPolyline
(float arg0, org.joml.Vector2f arg1) float
getDistanceOfPointFromStart
(int arg0) int
getIndexOfPoint
(int arg0, int arg1) void
getJunctionsBetween
(float float2, float float1, ArrayList<AnimalZoneJunction> arrayList) boolean
getPointOnPolyline
(float arg0, org.joml.Vector2f arg1) load
(ByteBuffer arg0, int arg1) load
(ByteBuffer byteBuffer, int int0, Map<Integer, String> map, SharedStrings sharedStrings) void
save
(ByteBuffer arg0) void
save
(ByteBuffer byteBuffer, Map<String, Integer> map) toString()
Methods inherited from class zombie.iso.zones.Zone
addSquare, contains, difference, getClippedSegmentOfPolyline, getHeight, getHoursSinceLastSeen, getLastActionTimestamp, getName, getOriginalName, getPolygonTriangles, getPolylineLength, getPolylineOutlineTriangles, getRandomFreeSquareInZone, getRandomSquareInZone, getRandomUnseenSquareInZone, getSquares, getTotalArea, getType, getWidth, getX, getY, getZ, getZombieDensity, haveCons, intersects, isFullyStreamed, isPoint, isPolygon, isPolyline, isPreferredZoneForSquare, isRectangle, pickRandomLocation, removeSquare, sendToServer, setH, setHaveConstruction, setHourSeenToCurrent, setLastActionTimestamp, setName, setOriginalName, setPickedXForZoneStory, setPickedYForZoneStory, setType, setW, setX, setY
-
Field Details
-
m_action
-
m_junctions
-
-
Constructor Details
-
AnimalZone
public AnimalZone() -
AnimalZone
-
AnimalZone
-
-
Method Details
-
save
-
save
-
load
-
Dispose
-
getIndexOfPoint
public int getIndexOfPoint(int arg0, int arg1) -
getAction
-
addJunctionsWithOtherZone
-
addJunction
-
addJunction
-
getJunctionsBetween
public void getJunctionsBetween(float float2, float float1, ArrayList<AnimalZoneJunction> arrayList) -
getClosedPolylineLength
public float getClosedPolylineLength() -
getPointOnPolyline
public boolean getPointOnPolyline(float arg0, org.joml.Vector2f arg1) -
getClosestPointOnPolyline
public float getClosestPointOnPolyline(float arg0, float arg1, org.joml.Vector2f arg2) -
getDistanceOfPointFromStart
public float getDistanceOfPointFromStart(int arg0) -
getDirectionOnPolyline
public boolean getDirectionOnPolyline(float arg0, org.joml.Vector2f arg1) -
toString
-