Class IsoWorldRegion
java.lang.Object
zombie.iso.areas.isoregion.regions.IsoWorldRegion
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addIsoChunkRegion
(IsoChunkRegion region) protected void
addRoof()
boolean
containsIsoChunkRegion
(IsoChunkRegion region) getColor()
int
getID()
int
float
int
protected void
init
(int int0) boolean
boolean
boolean
protected boolean
isInPool()
boolean
void
void
merge
(IsoWorldRegion other) protected void
removeIsoChunkRegion
(IsoChunkRegion isoChunkRegion) protected void
removeRoofs
(int int0) protected IsoWorldRegion
reset()
protected void
protected void
int
size()
swapIsoChunkRegions
(ArrayList<IsoChunkRegion> newlist) void
-
Constructor Details
-
IsoWorldRegion
-
-
Method Details
-
getID
public int getID() -
getColor
-
size
public int size() -
getSquareSize
public int getSquareSize()- Specified by:
getSquareSize
in interfaceIWorldRegion
-
isInPool
protected boolean isInPool() -
init
protected void init(int int0) -
reset
-
unlinkNeighbors
public void unlinkNeighbors() -
linkNeighbors
public void linkNeighbors() -
getNeighbors
- Specified by:
getNeighbors
in interfaceIWorldRegion
-
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 int0) -
addIsoChunkRegion
-
removeIsoChunkRegion
-
containsIsoChunkRegion
-
swapIsoChunkRegions
-
resetSquareSize
protected void resetSquareSize() -
setDirtyEnclosed
protected void setDirtyEnclosed() -
isEnclosed
public boolean isEnclosed() -
merge
-
getDebugIsoChunkRegionCopy
- Specified by:
getDebugIsoChunkRegionCopy
in interfaceIWorldRegion
-