Class UIWorldMapV1
java.lang.Object
zombie.worldMap.UIWorldMapV1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
centerOn
(float worldX, float worldY) void
void
float
boolean
getBoolean
(String name) float
float
int
getDataFileByIndex
(int index) double
int
int
int
int
int
int
int
int
int
int
int
getOptionByIndex
(int index) int
getStyle()
int
int
float
float
getZoomF()
float
float
void
moveView
(float dx, float dy) void
void
setBackgroundRGBA
(float r, float g, float b, float a) void
setBoolean
(String name, boolean value) void
void
void
setBoundsInCells
(int minX, int minY, int maxX, int maxY) void
setBoundsInSquares
(int minX, int minY, int maxX, int maxY) void
void
setDropShadowWidth
(int width) void
setMapItem
(MapItem mapItem) void
setUnvisitedGridRGBA
(float r, float g, float b, float a) void
setUnvisitedRGBA
(float r, float g, float b, float a) void
setZoom
(float zoom) float
uiToWorldX
(float uiX, float uiY) float
uiToWorldX
(float uiX, float uiY, float zoomF, float centerWorldX, float centerWorldY) float
uiToWorldY
(float uiX, float uiY) float
uiToWorldY
(float uiX, float uiY, float zoomF, float centerWorldX, float centerWorldY) float
float
float
worldToUIX
(float worldX, float worldY) float
worldToUIY
(float worldX, float worldY) void
zoomAt
(float uiX, float uiY, float delta)
-
Constructor Details
-
UIWorldMapV1
-
-
Method Details
-
setMapItem
-
getRenderer
-
getMarkers
-
getStyle
-
getMarkersAPI
-
getStyleAPI
-
getSymbolsAPI
-
addData
-
getDataCount
public int getDataCount() -
getDataFileByIndex
-
clearData
public void clearData() -
endDirectoryData
public void endDirectoryData() -
addImages
-
getImagesCount
public int getImagesCount() -
setBoundsInCells
public void setBoundsInCells(int minX, int minY, int maxX, int maxY) -
setBoundsInSquares
public void setBoundsInSquares(int minX, int minY, int maxX, int maxY) -
setBoundsFromWorld
public void setBoundsFromWorld() -
setBoundsFromData
public void setBoundsFromData() -
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() -
uiToWorldX
public float uiToWorldX(float uiX, float uiY, float zoomF, float centerWorldX, float centerWorldY) -
uiToWorldY
public float uiToWorldY(float uiX, float uiY, float zoomF, float centerWorldX, float centerWorldY) -
worldOriginX
public float worldOriginX() -
worldOriginY
public float worldOriginY() -
getBaseZoom
public float getBaseZoom() -
getZoomF
public float getZoomF() -
getWorldScale
public float getWorldScale() -
getCenterWorldX
public float getCenterWorldX() -
getCenterWorldY
public float getCenterWorldY() -
uiToWorldX
public float uiToWorldX(float uiX, float uiY) -
uiToWorldY
public float uiToWorldY(float uiX, float uiY) -
worldToUIX
public float worldToUIX(float worldX, float worldY) -
worldToUIY
public float worldToUIY(float worldX, float worldY) -
centerOn
public void centerOn(float worldX, float worldY) -
moveView
public void moveView(float dx, float dy) -
zoomAt
public void zoomAt(float uiX, float uiY, float delta) -
setZoom
public void setZoom(float zoom) -
resetView
public void resetView() -
mouseToWorldX
public float mouseToWorldX() -
mouseToWorldY
public float mouseToWorldY() -
setBackgroundRGBA
public void setBackgroundRGBA(float r, float g, float b, float a) -
setDropShadowWidth
public void setDropShadowWidth(int width) -
setUnvisitedRGBA
public void setUnvisitedRGBA(float r, float g, float b, float a) -
setUnvisitedGridRGBA
public void setUnvisitedGridRGBA(float r, float g, float b, float a) -
getOptionCount
public int getOptionCount() -
getOptionByIndex
-
setBoolean
-
getBoolean
-
setDouble
-
getDouble
-