Package zombie.iso
Class IsoMetaGrid.Zone
java.lang.Object
zombie.iso.IsoMetaGrid.Zone
- Direct Known Subclasses:
IsoMetaGrid.VehicleZone
- Enclosing class:
- IsoMetaGrid
public static class IsoMetaGrid.Zone
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description int
h
boolean
haveConstruction
int
hourLastSeen
int
lastActionTimestamp
java.lang.String
name
java.lang.String
type
int
w
int
x
int
y
int
z
-
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
difference(int int1, int int2, int int3, int int4, int int5, java.util.ArrayList arrayList)
int
getHeight()
float
getHoursSinceLastSeen()
int
getLastActionTimestamp()
java.lang.String
getName()
java.lang.String
getOriginalName()
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)
void
removeSquare(IsoGridSquare square)
void
sendToServer()
void
setHaveConstruction(boolean boolean1)
void
setHourSeenToCurrent()
void
setLastActionTimestamp(int int1)
void
setName(java.lang.String string)
void
setOriginalName(java.lang.String string)
void
setType(java.lang.String string)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
hourLastSeen
public int hourLastSeen -
lastActionTimestamp
public int lastActionTimestamp -
haveConstruction
public boolean haveConstruction -
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
-
-
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
-
getHoursSinceLastSeen
public float getHoursSinceLastSeen() -
setHourSeenToCurrent
public void setHourSeenToCurrent() -
setHaveConstruction
public void setHaveConstruction(boolean boolean1) -
haveCons
public boolean haveCons() -
getZombieDensity
public int getZombieDensity() -
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() -
getType
public java.lang.String getType() -
setType
public void setType(java.lang.String string) -
setName
public void setName(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)
-