Package zombie.iso
Class IsoMetaGrid.Zone
java.lang.Object
zombie.iso.IsoMetaGrid.Zone
- Direct Known Subclasses:
IsoMannequin.MannequinZone
,IsoMetaGrid.VehicleZone
- Enclosing class:
- IsoMetaGrid
public static class IsoMetaGrid.Zone
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description IsoMetaGrid.ZoneGeometryType
geometryType
int
h
boolean
haveConstruction
int
hourLastSeen
java.lang.Double
id
boolean
isPreferredZoneForSquare
int
lastActionTimestamp
java.lang.String
name
RandomizedZoneStoryBase
pickedRZStory
int
pickedXForZoneStory
int
pickedYForZoneStory
gnu.trove.list.array.TIntArrayList
points
float[]
polylineOutlinePoints
int
polylineWidth
java.util.HashMap
spawnedZombies
java.lang.Boolean
spawnSpecialZombies
float[]
triangles
java.lang.String
type
int
w
int
x
int
y
int
z
java.lang.String
zombiesTypeToSpawn
-
Constructor Summary
Constructors Constructor Description Zone(java.lang.String string, java.lang.String string2, int int1, int int2, int int3, int int4, int int5)
-
Method Summary
Modifier and Type Method Description void
addSquare(IsoGridSquare square)
boolean
contains(int int1, int int2, int int3)
boolean
difference(int int1, int int2, int int3, int int4, int int5, java.util.ArrayList arrayList)
void
Dispose()
int
getClippedSegmentOfPolyline(int int1, int int2, int int3, int int4, double[] doubleArray)
int
getHeight()
float
getHoursSinceLastSeen()
int
getLastActionTimestamp()
java.lang.String
getName()
java.lang.String
getOriginalName()
float[]
getPolygonTriangles()
float[]
getPolylineOutlineTriangles()
IsoGridSquare
getRandomSquareInZone()
IsoGridSquare
getRandomUnseenSquareInZone()
java.util.ArrayList
getSquares()
java.lang.String
getType()
int
getWidth()
int
getX()
int
getY()
int
getZombieDensity()
boolean
haveCons()
boolean
intersects(int int1, int int2, int int3, int int4, int int5)
boolean
isPoint()
boolean
isPolygon()
boolean
isPolyline()
boolean
isRectangle()
void
removeSquare(IsoGridSquare square)
void
sendToServer()
void
setH(int int1)
void
setHaveConstruction(boolean boolean1)
void
setHourSeenToCurrent()
void
setLastActionTimestamp(int int1)
void
setName(java.lang.String string)
void
setOriginalName(java.lang.String string)
void
setPickedXForZoneStory(int int1)
void
setPickedYForZoneStory(int int1)
void
setType(java.lang.String string)
void
setW(int int1)
void
setX(int int1)
void
setY(int int1)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
id
public java.lang.Double id -
hourLastSeen
public int hourLastSeen -
lastActionTimestamp
public int lastActionTimestamp -
haveConstruction
public boolean haveConstruction -
spawnedZombies
public final java.util.HashMap spawnedZombies -
zombiesTypeToSpawn
public java.lang.String zombiesTypeToSpawn -
spawnSpecialZombies
public java.lang.Boolean spawnSpecialZombies -
name
public java.lang.String name -
type
public java.lang.String type -
x
public int x -
y
public int y -
z
public int z -
w
public int w -
h
public int h -
geometryType
-
points
public final gnu.trove.list.array.TIntArrayList points -
polylineWidth
public int polylineWidth -
polylineOutlinePoints
public float[] polylineOutlinePoints -
triangles
public float[] triangles -
pickedXForZoneStory
public int pickedXForZoneStory -
pickedYForZoneStory
public int pickedYForZoneStory -
pickedRZStory
-
isPreferredZoneForSquare
public boolean isPreferredZoneForSquare
-
-
Constructor Details
-
Zone
public Zone(java.lang.String string, java.lang.String string2, int int1, int int2, int int3, int int4, int int5)
-
-
Method Details
-
setX
public void setX(int int1) -
setY
public void setY(int int1) -
setW
public void setW(int int1) -
setH
public void setH(int int1) -
isPoint
public boolean isPoint() -
isPolygon
public boolean isPolygon() -
isPolyline
public boolean isPolyline() -
isRectangle
public boolean isRectangle() -
setPickedXForZoneStory
public void setPickedXForZoneStory(int int1) -
setPickedYForZoneStory
public void setPickedYForZoneStory(int int1) -
getHoursSinceLastSeen
public float getHoursSinceLastSeen() -
setHourSeenToCurrent
public void setHourSeenToCurrent() -
setHaveConstruction
public void setHaveConstruction(boolean boolean1) -
haveCons
public boolean haveCons() -
getZombieDensity
public int getZombieDensity() -
contains
public boolean contains(int int1, int int2, int int3) -
intersects
public boolean intersects(int int1, int int2, int int3, int int4, int int5) -
difference
public boolean difference(int int1, int int2, int int3, int int4, int int5, java.util.ArrayList arrayList) -
getRandomSquareInZone
-
getRandomUnseenSquareInZone
-
addSquare
-
getSquares
public java.util.ArrayList getSquares() -
removeSquare
-
getName
public java.lang.String getName() -
setName
public void setName(java.lang.String string) -
getType
public java.lang.String getType() -
setType
public void setType(java.lang.String string) -
getLastActionTimestamp
public int getLastActionTimestamp() -
setLastActionTimestamp
public void setLastActionTimestamp(int int1) -
getX
public int getX() -
getY
public int getY() -
getHeight
public int getHeight() -
getWidth
public int getWidth() -
sendToServer
public void sendToServer() -
getOriginalName
public java.lang.String getOriginalName() -
setOriginalName
public void setOriginalName(java.lang.String string) -
getClippedSegmentOfPolyline
public int getClippedSegmentOfPolyline(int int1, int int2, int int3, int int4, double[] doubleArray) -
getPolygonTriangles
public float[] getPolygonTriangles() -
getPolylineOutlineTriangles
public float[] getPolylineOutlineTriangles() -
Dispose
public void Dispose()
-