Package zombie.worldMap
Class WorldMapRenderer.Drawer
java.lang.Object
zombie.core.textures.TextureDraw.GenericDrawer
zombie.worldMap.WorldMapRenderer.Drawer
- Enclosing class:
- WorldMapRenderer
public static final class WorldMapRenderer.Drawer extends TextureDraw.GenericDrawer
-
Field Summary
Fields Modifier and Type Field Description float
m_zoomF
-
Method Summary
Modifier and Type Method Description void
drawLineString(WorldMapStyleLayer.RenderArgs renderArgs, WorldMapFeature worldMapFeature, WorldMapStyleLayer.RGBAf rGBAf, float float1)
void
drawLineStringTexture(WorldMapStyleLayer.RenderArgs renderArgs, WorldMapFeature worldMapFeature, WorldMapStyleLayer.RGBAf rGBAf, float float1, Texture texture)
void
drawLineStringXXX(WorldMapStyleLayer.RenderArgs renderArgs, WorldMapFeature worldMapFeature, WorldMapStyleLayer.RGBAf rGBAf, float float1)
void
drawLineStringYYY(WorldMapStyleLayer.RenderArgs renderArgs, WorldMapFeature worldMapFeature, WorldMapStyleLayer.RGBAf rGBAf, float float1)
void
drawTexture(Texture texture, WorldMapStyleLayer.RGBAf rGBAf, int int1, int int2, int int3, int int4)
void
drawTextureTiled(Texture texture, WorldMapStyleLayer.RGBAf rGBAf, int int1, int int2, int int3, int int4, int int5, int int6)
void
drawTextureTiled(Texture texture, WorldMapStyleLayer.RGBAf rGBAf, int int1, int int2, int int3, int int4, int int5, int int6, int int7, int int8)
void
fillPolygon(WorldMapStyleLayer.RenderArgs renderArgs, WorldMapFeature worldMapFeature, WorldMapStyleLayer.RGBAf rGBAf)
void
fillPolygon(WorldMapStyleLayer.RenderArgs renderArgs, WorldMapFeature worldMapFeature, WorldMapStyleLayer.RGBAf rGBAf, Texture texture, float float1)
int
getAbsoluteX()
int
getAbsoluteY()
int
getHeight()
int
getWidth()
float
getWorldScale()
void
postRender()
void
render()
float
uiToWorldX(float float1, float float2)
float
uiToWorldY(float float1, float float2)
float
worldOriginUIX(float float1)
float
worldOriginUIY(float float1)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
m_zoomF
public float m_zoomF
-
-
Method Details
-
getAbsoluteX
public int getAbsoluteX() -
getAbsoluteY
public int getAbsoluteY() -
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getWorldScale
public float getWorldScale() -
uiToWorldX
public float uiToWorldX(float float1, float float2) -
uiToWorldY
public float uiToWorldY(float float1, float float2) -
worldOriginUIX
public float worldOriginUIX(float float1) -
worldOriginUIY
public float worldOriginUIY(float float1) -
drawLineStringXXX
public void drawLineStringXXX(WorldMapStyleLayer.RenderArgs renderArgs, WorldMapFeature worldMapFeature, WorldMapStyleLayer.RGBAf rGBAf, float float1) -
drawLineStringYYY
public void drawLineStringYYY(WorldMapStyleLayer.RenderArgs renderArgs, WorldMapFeature worldMapFeature, WorldMapStyleLayer.RGBAf rGBAf, float float1) -
drawLineString
public void drawLineString(WorldMapStyleLayer.RenderArgs renderArgs, WorldMapFeature worldMapFeature, WorldMapStyleLayer.RGBAf rGBAf, float float1) -
drawLineStringTexture
public void drawLineStringTexture(WorldMapStyleLayer.RenderArgs renderArgs, WorldMapFeature worldMapFeature, WorldMapStyleLayer.RGBAf rGBAf, float float1, Texture texture) -
fillPolygon
public void fillPolygon(WorldMapStyleLayer.RenderArgs renderArgs, WorldMapFeature worldMapFeature, WorldMapStyleLayer.RGBAf rGBAf) -
fillPolygon
public void fillPolygon(WorldMapStyleLayer.RenderArgs renderArgs, WorldMapFeature worldMapFeature, WorldMapStyleLayer.RGBAf rGBAf, Texture texture, float float1) -
drawTexture
public void drawTexture(Texture texture, WorldMapStyleLayer.RGBAf rGBAf, int int1, int int2, int int3, int int4) -
drawTextureTiled
public void drawTextureTiled(Texture texture, WorldMapStyleLayer.RGBAf rGBAf, int int1, int int2, int int3, int int4, int int5, int int6) -
drawTextureTiled
public void drawTextureTiled(Texture texture, WorldMapStyleLayer.RGBAf rGBAf, int int1, int int2, int int3, int int4, int int5, int int6, int int7, int int8) -
render
public void render()- Specified by:
render
in classTextureDraw.GenericDrawer
-
postRender
public void postRender()- Overrides:
postRender
in classTextureDraw.GenericDrawer
-