Class DataChunk

java.lang.Object
zombie.iso.areas.isoregion.data.DataChunk

public final class DataChunk extends Object
TurboTuTone.
  • Field Details

    • highestZ

      protected int highestZ
    • lastUpdateStamp

      protected long lastUpdateStamp
  • Constructor Details

    • DataChunk

      protected DataChunk(int int1, int int2, DataCell dataCell, int int0)
  • Method Details

    • getHashId

      protected int getHashId()
    • getChunkX

      public int getChunkX()
    • getChunkY

      public int getChunkY()
    • getChunkRegions

      protected ArrayList<IsoChunkRegion> getChunkRegions(int int0)
    • getLastUpdateStamp

      public long getLastUpdateStamp()
    • setLastUpdateStamp

      public void setLastUpdateStamp(long _lastUpdateStamp)
    • isDirty

      protected boolean isDirty(int int0)
    • setDirty

      protected void setDirty(int int0)
    • setDirtyAllActive

      public void setDirtyAllActive()
    • unsetDirtyAll

      protected void unsetDirtyAll()
    • getSquare

      public byte getSquare(int x, int y, int z)
    • getSquare

      public byte getSquare(int x, int y, int z, boolean ignoreCoordCheck)
    • setOrAddSquare

      protected byte setOrAddSquare(int int0, int int1, int int2, byte byte0)
    • setOrAddSquare

      protected byte setOrAddSquare(int int0, int int1, int int2, byte byte0, boolean boolean0)
    • save

      public void save(ByteBuffer bb)
      SAVE/LOAD
    • load

      public void load(ByteBuffer bb, int worldVersion, boolean readLength)
    • setSelectedFlags

      public void setSelectedFlags(int x, int y, int z)
    • selectedHasFlags

      public boolean selectedHasFlags(byte flags)
    • squareHasFlags

      protected boolean squareHasFlags(int int0, int int1, int int2, byte byte0)
    • squareGetFlags

      public byte squareGetFlags(int x, int y, int z)
    • squareAddFlags

      protected void squareAddFlags(int int0, int int1, int int2, byte byte0)
    • squareRemoveFlags

      protected void squareRemoveFlags(int int0, int int1, int int2, byte byte0)
    • squareCanConnect

      protected boolean squareCanConnect(int int1, int int2, int int0, byte byte0)
    • getIsoChunkRegion

      public IsoChunkRegion getIsoChunkRegion(int x, int y, int z)
    • setRegion

      public void setRegion(int x, int y, int z, byte regionIndex)
    • recalculate

      protected void recalculate()
    • link

      protected void link(DataChunk dataChunk1, DataChunk dataChunk2, DataChunk dataChunk3, DataChunk dataChunk4)
    • interConnect

      protected void interConnect()
    • recalcRoofs

      protected void recalcRoofs()