Class WorldMapStreet

java.lang.Object
zombie.worldMap.streets.WorldMapStreet

public final class WorldMapStreet extends Object
  • Constructor Details

  • Method Details

    • getOwner

      public WorldMapStreets getOwner()
    • getMinX

      public float getMinX()
    • getMinY

      public float getMinY()
    • getMaxX

      public float getMaxX()
    • getMaxY

      public float getMaxY()
    • getNumPoints

      public int getNumPoints()
    • getPointX

      public float getPointX(int index)
    • getPointY

      public float getPointY(int index)
    • getLength

      public float getLength(UIWorldMap ui)
    • getLengthSquared

      public float getLengthSquared(UIWorldMap ui)
    • addPoint

      public void addPoint(float x, float y)
    • insertPoint

      public void insertPoint(int index, float x, float y)
    • removePoint

      public void removePoint(int index)
    • setPoint

      public void setPoint(int index, float x, float y)
    • setWidth

      public void setWidth(int width)
    • getWidth

      public int getWidth()
    • reverseDirection

      public void reverseDirection()
    • getTranslatedText

      public String getTranslatedText()
    • setTranslatedText

      public void setTranslatedText(String text)
    • getFont

      public UIFont getFont(UIWorldMap ui)
    • getFontScale

      public double getFontScale(UIWorldMap ui)
    • getIntersections

      public ArrayList<Intersection> getIntersections()
    • resetIntersectionRenderFlag

      public void resetIntersectionRenderFlag()
    • getPointOn

      public boolean getPointOn(UIWorldMap ui, float t, PointOn pointOn)
    • render

      public void render(UIWorldMap ui, StreetRenderData renderData)
    • renderLines

      public void renderLines(UIWorldMap ui, float r, float g, float b, float a, int thickness, StreetRenderData renderData)
    • renderIntersections

      public void renderIntersections(UIWorldMap ui, float r, float g, float b, float a)
    • clipToObscuredCells

      public void clipToObscuredCells()
    • getClosestPointOn

      public float getClosestPointOn(UIWorldMap ui, float uiX, float uiY, ClosestPoint closestPoint)
    • getClosestPointOn

      public float getClosestPointOn(float worldX, float worldY, ClosestPoint closestPoint)
    • pickPoint

      public int pickPoint(UIWorldMap ui, float uiX, float uiY)
    • getAddPointLocation

      public ClosestPoint getAddPointLocation(UIWorldMap ui, float uiX, float uiY, ClosestPoint closestPoint)
    • createHighlightPolygons

      public void createHighlightPolygons(gnu.trove.list.array.TFloatArrayList polygon, gnu.trove.list.array.TFloatArrayList triangles)
    • createPolygon

      public void createPolygon(gnu.trove.list.array.TFloatArrayList points)
    • triangulate

      public void triangulate(gnu.trove.list.array.TFloatArrayList polygon, gnu.trove.list.array.TFloatArrayList triangles)
    • isOnScreen

      public boolean isOnScreen(UIWorldMap ui)
    • createCopy

      public WorldMapStreet createCopy(WorldMapStreets owner)