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 string0, String string1, int int0, int int1, int int2, int int3, int int4, String string2, String string3, boolean boolean0) AnimalZone
(String string0, String string1, int int0, int int1, int int2, int int3, int int4, se.krka.kahlua.vm.KahluaTable kahluaTable) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addJunction
(int int0, AnimalZone animalZone1, int int1) void
addJunction
(AnimalZoneJunction animalZoneJunction) void
addJunctionsWithOtherZone
(AnimalZone animalZone1) void
Dispose()
float
float
getClosestPointOnPolyline
(float float9, float float8, org.joml.Vector2f vector2f) boolean
getDirectionOnPolyline
(float float0, org.joml.Vector2f vector2f) float
getDistanceOfPointFromStart
(int int0) int
getIndexOfPoint
(int int3, int int2) void
getJunctionsBetween
(float float2, float float1, ArrayList<AnimalZoneJunction> arrayList) boolean
getPointOnPolyline
(float float0, org.joml.Vector2f vector2f) load
(ByteBuffer byteBuffer, int int0) load
(ByteBuffer byteBuffer, int int0, Map<Integer, String> map, SharedStrings sharedStrings) void
save
(ByteBuffer byteBuffer) 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 int3, int int2) -
getAction
-
addJunctionsWithOtherZone
-
addJunction
-
addJunction
-
getJunctionsBetween
public void getJunctionsBetween(float float2, float float1, ArrayList<AnimalZoneJunction> arrayList) -
getClosedPolylineLength
public float getClosedPolylineLength() -
getPointOnPolyline
public boolean getPointOnPolyline(float float0, org.joml.Vector2f vector2f) -
getClosestPointOnPolyline
public float getClosestPointOnPolyline(float float9, float float8, org.joml.Vector2f vector2f) -
getDistanceOfPointFromStart
public float getDistanceOfPointFromStart(int int0) -
getDirectionOnPolyline
public boolean getDirectionOnPolyline(float float0, org.joml.Vector2f vector2f) -
toString
-