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, KahluaTable arg7) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddJunction(int arg0, AnimalZone arg1, int arg2) voidvoidvoidDispose()floatfloatgetClosestPointOnPolyline(float arg0, float arg1, Vector2f arg2) booleangetDirectionOnPolyline(float arg0, Vector2f arg1) floatgetDistanceOfPointFromStart(int arg0) intgetIndexOfPoint(int arg0, int arg1) voidgetJunctionsBetween(float float2, float float1, ArrayList<AnimalZoneJunction> arrayList) booleangetPointOnPolyline(float arg0, Vector2f arg1) load(ByteBuffer arg0, int arg1) load(ByteBuffer byteBuffer, int int0, Map<Integer, String> map, SharedStrings sharedStrings) voidsave(ByteBuffer arg0) voidsave(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
public AnimalZone(String arg0, String arg1, int arg2, int arg3, int arg4, int arg5, int arg6, KahluaTable arg7) -
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
-
getClosestPointOnPolyline
-
getDistanceOfPointFromStart
public float getDistanceOfPointFromStart(int arg0) -
getDirectionOnPolyline
-
toString
-