zombie.iso
Class IsoChunkMap

java.lang.Object
  extended by zombie.iso.IsoChunkMap

public class IsoChunkMap
extends java.lang.Object


Field Summary
static int CellSize
           
static int ChunkDiv
           
static int ChunkGridWidth
           
static int ChunksPerWidth
           
 int PlayerID
           
static java.util.HashMap<java.lang.Integer,IsoChunk> SharedChunks
           
static int[] SWorldX
           
static int[] SWorldY
           
 int WorldX
           
static int WorldXA
           
 int WorldY
           
static int WorldYA
           
static int WorldZA
           
 
Constructor Summary
IsoChunkMap(IsoCell cell)
           
 
Method Summary
 void copy(IsoChunkMap from)
           
static void DoSave()
           
 IsoChunk getChunk(int x, int y)
           
 IsoChunk getChunkForGridSquare(int x, int y)
           
 IsoGridSquare getGridSquare(int x, int y, int z)
           
 IsoRoom getRoom(int iD)
           
 int getWidthInTiles()
           
 int getWorldXMaxTiles()
           
 int getWorldXMin()
           
 int getWorldXMinTiles()
           
 int getWorldYMaxTiles()
           
 int getWorldYMin()
           
 int getWorldYMinTiles()
           
 void LoadChunk(int wx, int wy, int x, int y)
           
 void LoadChunkForLater(int wx, int wy, int x, int y)
           
 void LoadDown()
           
 void LoadLeft()
           
 void LoadRight()
           
 void LoadUp()
           
 void ProcessChunkPos(IsoGameCharacter chr)
           
 void renderBloodForChunks(int zza)
           
 void Right()
           
 void Save()
           
 void setChunk(int x, int y, IsoChunk c)
           
 void setGridSquare(IsoGridSquare square, int x, int y, int z)
           
 void setGridSquare(IsoGridSquare square, int wx, int wy, int x, int y, int z)
           
static void setWorldStartPos(int x, int y)
           
 void update()
           
 void UpdateCellCache()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ChunkDiv

public static int ChunkDiv

ChunksPerWidth

public static int ChunksPerWidth

ChunkGridWidth

public static int ChunkGridWidth

CellSize

public static int CellSize

PlayerID

public int PlayerID

WorldXA

public static int WorldXA

WorldYA

public static int WorldYA

WorldZA

public static int WorldZA

SWorldX

public static int[] SWorldX

WorldX

public int WorldX

WorldY

public int WorldY

SWorldY

public static int[] SWorldY

SharedChunks

public static java.util.HashMap<java.lang.Integer,IsoChunk> SharedChunks
Constructor Detail

IsoChunkMap

public IsoChunkMap(IsoCell cell)
Method Detail

setWorldStartPos

public static void setWorldStartPos(int x,
                                    int y)

update

public void update()

LoadChunk

public void LoadChunk(int wx,
                      int wy,
                      int x,
                      int y)

LoadChunkForLater

public void LoadChunkForLater(int wx,
                              int wy,
                              int x,
                              int y)

getChunkForGridSquare

public IsoChunk getChunkForGridSquare(int x,
                                      int y)

setGridSquare

public void setGridSquare(IsoGridSquare square,
                          int wx,
                          int wy,
                          int x,
                          int y,
                          int z)

setGridSquare

public void setGridSquare(IsoGridSquare square,
                          int x,
                          int y,
                          int z)

getGridSquare

public IsoGridSquare getGridSquare(int x,
                                   int y,
                                   int z)

getChunk

public IsoChunk getChunk(int x,
                         int y)

setChunk

public void setChunk(int x,
                     int y,
                     IsoChunk c)

LoadLeft

public void LoadLeft()

LoadRight

public void LoadRight()

LoadUp

public void LoadUp()

LoadDown

public void LoadDown()

UpdateCellCache

public void UpdateCellCache()

Right

public void Right()

getWorldXMin

public int getWorldXMin()

getWorldYMin

public int getWorldYMin()

ProcessChunkPos

public void ProcessChunkPos(IsoGameCharacter chr)

getRoom

public IsoRoom getRoom(int iD)

getWidthInTiles

public int getWidthInTiles()

getWorldXMinTiles

public int getWorldXMinTiles()

getWorldYMinTiles

public int getWorldYMinTiles()

getWorldXMaxTiles

public int getWorldXMaxTiles()

getWorldYMaxTiles

public int getWorldYMaxTiles()

Save

public void Save()

DoSave

public static void DoSave()

renderBloodForChunks

public void renderBloodForChunks(int zza)

copy

public void copy(IsoChunkMap from)