Class IsoWorldRegion
java.lang.Object
zombie.iso.areas.isoregion.regions.IsoWorldRegion
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddIsoChunkRegion(IsoChunkRegion region) voidclearBuildingDef(ArrayList<IsoGameCharacter.Location> arrayList) booleancontainsIsoChunkRegion(IsoChunkRegion region) intgetCellX()intgetCellY()getColor()intgetID()intfloatintbooleanbooleanbooleanbooleanvoidvoidmerge(IsoWorldRegion other) voidsetBuildingDef(BuildingDef buildingDefx) intsize()swapIsoChunkRegions(ArrayList<IsoChunkRegion> newlist) void
-
Method Details
-
getID
public int getID() -
getColor
-
size
public int size() -
getSquareSize
public int getSquareSize()- Specified by:
getSquareSizein interfaceIWorldRegion
-
unlinkNeighbors
public void unlinkNeighbors() -
linkNeighbors
public void linkNeighbors() -
getNeighbors
- Specified by:
getNeighborsin interfaceIWorldRegion
-
getDebugConnectedNeighborCopy
- Specified by:
getDebugConnectedNeighborCopyin interfaceIWorldRegion
-
isFogMask
public boolean isFogMask()- Specified by:
isFogMaskin interfaceIWorldRegion
-
isPlayerRoom
public boolean isPlayerRoom()- Specified by:
isPlayerRoomin interfaceIWorldRegion
-
isFullyRoofed
public boolean isFullyRoofed()- Specified by:
isFullyRoofedin interfaceIWorldRegion
-
getRoofedPercentage
public float getRoofedPercentage() -
getRoofCnt
public int getRoofCnt()- Specified by:
getRoofCntin interfaceIWorldRegion
-
addIsoChunkRegion
-
containsIsoChunkRegion
-
swapIsoChunkRegions
-
isEnclosed
public boolean isEnclosed() -
merge
-
getDebugIsoChunkRegionCopy
- Specified by:
getDebugIsoChunkRegionCopyin interfaceIWorldRegion
-
getCellX
public int getCellX() -
getCellY
public int getCellY() -
setBuildingDef
-
getBuildingDef
-
clearBuildingDef
-