Package zombie.worldMap
Class WorldMap
java.lang.Object
zombie.worldMap.WorldMap
- All Implemented Interfaces:
AssetStateObserver
public final class WorldMap extends java.lang.Object implements AssetStateObserver
-
Field Summary
Fields Modifier and Type Field Description java.util.ArrayList
m_data
java.util.ArrayList
m_images
java.util.ArrayList
m_lastDataInDirectory
int
m_maxDataX
int
m_maxDataY
int
m_maxX
int
m_maxY
int
m_minDataX
int
m_minDataY
int
m_minX
int
m_minY
-
Constructor Summary
Constructors Constructor Description WorldMap()
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
m_data
public final java.util.ArrayList m_data -
m_images
public final java.util.ArrayList m_images -
m_minDataX
public int m_minDataX -
m_minDataY
public int m_minDataY -
m_maxDataX
public int m_maxDataX -
m_maxDataY
public int m_maxDataY -
m_minX
public int m_minX -
m_minY
public int m_minY -
m_maxX
public int m_maxX -
m_maxY
public int m_maxY -
m_lastDataInDirectory
public final java.util.ArrayList m_lastDataInDirectory
-
-
Constructor Details
-
WorldMap
public WorldMap()
-
-
Method Details
-
setBoundsInCells
public void setBoundsInCells(int int1, int int2, int int3, int int4) -
setBoundsInSquares
public void setBoundsInSquares(int int1, int int2, int int3, int int4) -
setBoundsFromData
public void setBoundsFromData() -
setBoundsFromWorld
public void setBoundsFromWorld() -
addData
public void addData(java.lang.String string) -
getDataCount
public int getDataCount() -
getDataByIndex
-
clearData
public void clearData() -
endDirectoryData
public void endDirectoryData() -
isLastDataInDirectory
-
hasData
public boolean hasData() -
addImages
public void addImages(java.lang.String string) -
hasImages
public boolean hasImages() -
getImagesCount
public int getImagesCount() -
getImagesByIndex
-
getMinXInCells
public int getMinXInCells() -
getMinYInCells
public int getMinYInCells() -
getMaxXInCells
public int getMaxXInCells() -
getMaxYInCells
public int getMaxYInCells() -
getWidthInCells
public int getWidthInCells() -
getHeightInCells
public int getHeightInCells() -
getMinXInSquares
public int getMinXInSquares() -
getMinYInSquares
public int getMinYInSquares() -
getMaxXInSquares
public int getMaxXInSquares() -
getMaxYInSquares
public int getMaxYInSquares() -
getWidthInSquares
public int getWidthInSquares() -
getHeightInSquares
public int getHeightInSquares() -
getCell
-
getDataWidthInCells
public int getDataWidthInCells() -
getDataHeightInCells
public int getDataHeightInCells() -
getDataWidthInSquares
public int getDataWidthInSquares() -
getDataHeightInSquares
public int getDataHeightInSquares() -
Reset
public static void Reset() -
onStateChanged
- Specified by:
onStateChanged
in interfaceAssetStateObserver
-