Class IsoRegionsRenderer
java.lang.Object
zombie.iso.areas.isoregion.IsoRegionsRenderer
TurboTuTone. Base functionality copied from ZombiePopulationRenderer
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoideditSquare(int x, int y) booleangetBoolean(String name) getChunkRegion(int x, int y) getEditOptionByIndex(int index) getEditOptionByName(String name) intgetOptionByIndex(int index) getOptionByName(String name) intintgetZLevelOptionByIndex(int index) getZLevelOptionByName(String name) intbooleanhasChunkRegion(int x, int y) booleanbooleanvoidload()voidoutlineRect(float x, float y, float w, float h, float r, float g, float b, float a) voidvoidvoidrenderCellInfo(int cellX, int cellY, int effectivePopulation, int targetPopulation, float lastRepopTime) voidrenderEntity(float size, float x, float y, float r, float g, float b, float a) voidrenderLine(float x1, float y1, float x2, float y2, float r, float g, float b, float a) voidrenderRect(float x, float y, float w, float h, float r, float g, float b, float a) voidrenderSquare(float x, float y, float r, float g, float b, float alpha) voidrenderString(float x, float y, String str, double r, double g, double b, double a) voidrenderStringUI(float x, float y, String str, double r, double g, double b, double a) voidrenderStringUI(float x, float y, String str, Color c) voidrenderZombie(float x, float y, float r, float g, float b) voidsave()voidsetBoolean(String name, boolean value) voidsetEditOption(int index, boolean b) voidsetEditSquareCoord(int x, int y) voidsetSelected(int x, int y) voidsetSelectedWorld(int x, int y) voidsetZLevelOption(int index, boolean b) floatuiToWorldX(float x) floatuiToWorldY(float y) voidfloatworldToScreenX(float x) floatworldToScreenY(float y)
-
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
-
renderStringUI
-
renderString
-
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
-
recalcSurroundings
public void recalcSurroundings() -
hasChunkRegion
public boolean hasChunkRegion(int x, int y) -
getChunkRegion
-
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
-
getEditOptionCount
public int getEditOptionCount() -
getEditOptionByIndex
-
setEditOption
public void setEditOption(int index, boolean b) -
getZLevel
public int getZLevel() -
getZLevelOptionByName
-
getZLevelOptionCount
public int getZLevelOptionCount() -
getZLevelOptionByIndex
-
setZLevelOption
public void setZLevelOption(int index, boolean b) -
getOptionByName
-
getOptionCount
public int getOptionCount() -
getOptionByIndex
-
setBoolean
-
getBoolean
-
save
public void save() -
load
public void load()
-