Class IsoRegionsRenderer

java.lang.Object
zombie.iso.areas.isoregion.IsoRegionsRenderer

public class IsoRegionsRenderer extends Object
TurboTuTone. Base functionality copied from ZombiePopulationRenderer
  • Constructor Details

    • IsoRegionsRenderer

      public IsoRegionsRenderer()
  • Method Details

    • worldToScreenX

      public float worldToScreenX(float x)
    • worldToScreenY

      public float worldToScreenY(float y)
    • uiToWorldX

      public float uiToWorldX(float x)
    • uiToWorldY

      public float uiToWorldY(float y)
    • renderStringUI

      public void renderStringUI(float x, float y, String str, Color c)
    • renderStringUI

      public void renderStringUI(float x, float y, String str, double r, double g, double b, double a)
    • renderString

      public void renderString(float x, float y, String str, double r, double g, double b, double a)
    • renderRect

      public void renderRect(float x, float y, float w, float h, float r, float g, float b, float a)
    • renderLine

      public void renderLine(float x1, float y1, float x2, float y2, float r, float g, float b, float a)
    • outlineRect

      public void outlineRect(float x, float y, float w, float h, float r, float g, float b, float a)
    • renderCellInfo

      public void renderCellInfo(int cellX, int cellY, int effectivePopulation, int targetPopulation, float lastRepopTime)
    • renderZombie

      public void renderZombie(float x, float y, float r, float g, float b)
    • renderSquare

      public void renderSquare(float x, float y, float r, float g, float b, float alpha)
    • renderEntity

      public void renderEntity(float size, float x, float y, float r, float g, float b, float a)
    • render

      public void render(UIElement ui, float zoom, float xPos, float yPos)
    • recalcSurroundings

      public void recalcSurroundings()
    • hasChunkRegion

      public boolean hasChunkRegion(int x, int y)
    • getChunkRegion

      public IsoChunkRegion getChunkRegion(int x, int y)
    • setSelected

      public void setSelected(int x, int y)
    • setSelectedWorld

      public void setSelectedWorld(int x, int y)
    • unsetSelected

      public void unsetSelected()
    • isHasSelected

      public boolean isHasSelected()
    • setEditSquareCoord

      public void setEditSquareCoord(int x, int y)
    • editSquare

      public void editSquare(int x, int y)
    • isEditingEnabled

      public boolean isEditingEnabled()
    • editRotate

      public void editRotate()
    • getEditOptionByName

      public ConfigOption getEditOptionByName(String name)
    • getEditOptionCount

      public int getEditOptionCount()
    • getEditOptionByIndex

      public ConfigOption getEditOptionByIndex(int index)
    • setEditOption

      public void setEditOption(int index, boolean b)
    • getZLevel

      public int getZLevel()
    • getZLevelOptionByName

      public ConfigOption getZLevelOptionByName(String name)
    • getZLevelOptionCount

      public int getZLevelOptionCount()
    • getZLevelOptionByIndex

      public ConfigOption getZLevelOptionByIndex(int index)
    • setZLevelOption

      public void setZLevelOption(int index, boolean b)
    • getOptionByName

      public ConfigOption getOptionByName(String name)
    • getOptionCount

      public int getOptionCount()
    • getOptionByIndex

      public ConfigOption getOptionByIndex(int index)
    • setBoolean

      public void setBoolean(String name, boolean value)
    • getBoolean

      public boolean getBoolean(String name)
    • save

      public void save()
    • load

      public void load()