Class IsoWorldRegion
java.lang.Object
zombie.iso.areas.isoregion.regions.IsoWorldRegion
- All Implemented Interfaces:
IWorldRegion
public final class IsoWorldRegion extends java.lang.Object implements IWorldRegion
-
Constructor Summary
Constructors Modifier Constructor Description protected
IsoWorldRegion(IsoRegionManager regionManager)
-
Method Summary
Modifier and Type Method Description void
addIsoChunkRegion(IsoChunkRegion chunkRegion)
protected void
addRoof()
boolean
containsIsoChunkRegion(IsoChunkRegion chunkRegion)
Color
getColor()
java.util.ArrayList
getDebugConnectedNeighborCopy()
java.util.ArrayList
getDebugIsoChunkRegionCopy()
int
getID()
java.util.ArrayList
getNeighbors()
int
getRoofCnt()
float
getRoofedPercentage()
int
getSquareSize()
protected void
init(int int1)
boolean
isEnclosed()
boolean
isFogMask()
boolean
isFullyRoofed()
protected boolean
isInPool()
boolean
isPlayerRoom()
void
linkNeighbors()
void
merge(IsoWorldRegion worldRegion)
protected void
removeIsoChunkRegion(IsoChunkRegion chunkRegion)
protected void
removeRoofs(int int1)
protected IsoWorldRegion
reset()
protected void
resetSquareSize()
protected void
setDirtyEnclosed()
int
size()
java.util.ArrayList
swapIsoChunkRegions(java.util.ArrayList arrayList)
void
unlinkNeighbors()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
IsoWorldRegion
-
-
Method Details
-
getID
public int getID() -
getColor
-
size
public int size() -
getSquareSize
public int getSquareSize() -
isInPool
protected boolean isInPool() -
init
protected void init(int int1) -
reset
-
unlinkNeighbors
public void unlinkNeighbors() -
linkNeighbors
public void linkNeighbors() -
getNeighbors
public java.util.ArrayList getNeighbors()- Specified by:
getNeighbors
in interfaceIWorldRegion
-
getDebugConnectedNeighborCopy
public java.util.ArrayList getDebugConnectedNeighborCopy()- Specified by:
getDebugConnectedNeighborCopy
in interfaceIWorldRegion
-
isFogMask
public boolean isFogMask()- Specified by:
isFogMask
in interfaceIWorldRegion
-
isPlayerRoom
public boolean isPlayerRoom()- Specified by:
isPlayerRoom
in interfaceIWorldRegion
-
isFullyRoofed
public boolean isFullyRoofed()- Specified by:
isFullyRoofed
in interfaceIWorldRegion
-
getRoofedPercentage
public float getRoofedPercentage() -
getRoofCnt
public int getRoofCnt()- Specified by:
getRoofCnt
in interfaceIWorldRegion
-
addRoof
protected void addRoof() -
removeRoofs
protected void removeRoofs(int int1) -
addIsoChunkRegion
-
removeIsoChunkRegion
-
containsIsoChunkRegion
-
swapIsoChunkRegions
public java.util.ArrayList swapIsoChunkRegions(java.util.ArrayList arrayList) -
resetSquareSize
protected void resetSquareSize() -
setDirtyEnclosed
protected void setDirtyEnclosed() -
isEnclosed
public boolean isEnclosed() -
merge
-
getDebugIsoChunkRegionCopy
public java.util.ArrayList getDebugIsoChunkRegionCopy()- Specified by:
getDebugIsoChunkRegionCopy
in interfaceIWorldRegion
-