Class UIWorldMapV1
java.lang.Object
zombie.worldMap.UIWorldMapV1
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final WorldMapMarkers
protected WorldMapMarkersV1
protected final WorldMapRenderer
protected final WorldMapStyle
protected WorldMapStyleV1
protected WorldMapSymbolsV1
protected final WorldMap
-
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
protected float
getWorldScale
(float float0) 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) protected float
worldOriginUIX
(float float0, float float1) protected float
worldOriginUIY
(float float0, float float1) float
float
float
worldToUIX
(float worldX, float worldY) protected float
worldToUIX
(float float0, float float1, float float2, float float3, float float4, org.joml.Matrix4f matrix4f0, org.joml.Matrix4f matrix4f1) float
worldToUIY
(float worldX, float worldY) protected float
worldToUIY
(float float0, float float1, float float2, float float3, float float4, org.joml.Matrix4f matrix4f0, org.joml.Matrix4f matrix4f1) void
zoomAt
(float uiX, float uiY, float delta) protected float
zoomMult()
-
Field Details
-
m_worldMap
-
m_style
-
m_renderer
-
m_markers
-
m_markersV1
-
m_styleV1
-
m_symbolsV1
-
-
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) -
worldToUIX
protected float worldToUIX(float float0, float float1, float float2, float float3, float float4, org.joml.Matrix4f matrix4f0, org.joml.Matrix4f matrix4f1) -
worldToUIY
protected float worldToUIY(float float0, float float1, float float2, float float3, float float4, org.joml.Matrix4f matrix4f0, org.joml.Matrix4f matrix4f1) -
worldOriginUIX
protected float worldOriginUIX(float float0, float float1) -
worldOriginUIY
protected float worldOriginUIY(float float0, float float1) -
zoomMult
protected float zoomMult() -
getWorldScale
protected float getWorldScale(float float0) -
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
-