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 TypeMethodDescriptionvoid
void
editSquare
(int x, int y) boolean
getBoolean
(String name) getChunkRegion
(int x, int y) getEditOptionByIndex
(int index) getEditOptionByName
(String name) int
getOptionByIndex
(int index) getOptionByName
(String name) int
int
getZLevelOptionByIndex
(int index) getZLevelOptionByName
(String name) int
boolean
hasChunkRegion
(int x, int y) boolean
boolean
void
load()
void
outlineRect
(float x, float y, float w, float h, float r, float g, float b, float a) void
void
void
renderCellInfo
(int cellX, int cellY, int effectivePopulation, int targetPopulation, float lastRepopTime) void
renderEntity
(float size, float x, float y, float r, float g, float b, float a) void
renderLine
(float x1, float y1, float x2, float y2, float r, float g, float b, float a) void
renderRect
(float x, float y, float w, float h, float r, float g, float b, float a) void
renderSquare
(float x, float y, float r, float g, float b, float alpha) void
renderString
(float x, float y, String str, double r, double g, double b, double a) void
renderStringUI
(float x, float y, String str, double r, double g, double b, double a) void
renderStringUI
(float x, float y, String str, Color c) void
renderZombie
(float x, float y, float r, float g, float b) void
save()
void
setBoolean
(String name, boolean value) void
setEditOption
(int index, boolean b) void
setEditSquareCoord
(int x, int y) void
setSelected
(int x, int y) void
setSelectedWorld
(int x, int y) void
setZLevelOption
(int index, boolean b) float
uiToWorldX
(float x) float
uiToWorldY
(float y) void
float
worldToScreenX
(float x) float
worldToScreenY
(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()
-