Class ZombiePopulationRenderer
java.lang.Object
zombie.popman.ZombiePopulationRenderer
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBoolean(String name) getOptionByIndex(int index) getOptionByName(String name) intvoidload()voidoutlineRect(float x, float y, float w, float h, float r, float g, float b, float a) voidvoidrenderCellInfo(int cellX, int cellY, int effectivePopulation, int targetPopulation, float lastRepopTime) voidrenderCircle(float x, float y, float radius, 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) voidrenderString(float x, float y, String str, double r, double g, double b, double a) voidrenderVehicle(int sqlid, float x, float y, float r, float g, float b) voidrenderZombie(float x, float y, float r, float g, float b) voidsave()voidsetBoolean(String name, boolean value) voidsetWallFollowerEnd(int x, int y) voidsetWallFollowerStart(int x, int y) floatuiToWorldX(float x) floatuiToWorldY(float y) voidwallFollowerMouseMove(int x, int y) floatworldToScreenX(float x) floatworldToScreenY(float y)
-
Constructor Details
-
ZombiePopulationRenderer
public ZombiePopulationRenderer()
-
-
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) -
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) -
renderCircle
public void renderCircle(float x, float y, float radius, float r, float g, float b, float a) -
renderZombie
public void renderZombie(float x, float y, float r, float g, float b) -
renderVehicle
public void renderVehicle(int sqlid, float x, float y, float r, float g, float b) -
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) -
render
-
setWallFollowerStart
public void setWallFollowerStart(int x, int y) -
setWallFollowerEnd
public void setWallFollowerEnd(int x, int y) -
wallFollowerMouseMove
public void wallFollowerMouseMove(int x, int y) -
getOptionByName
-
getOptionCount
public int getOptionCount() -
getOptionByIndex
-
setBoolean
-
getBoolean
-
save
public void save() -
load
public void load()
-