Package zombie
Class ZombiePopulationManager.ZombiePopulationRenderer
java.lang.Object
zombie.ZombiePopulationManager.ZombiePopulationRenderer
- Enclosing class:
- ZombiePopulationManager
public class ZombiePopulationManager.ZombiePopulationRenderer
extends java.lang.Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ZombiePopulationRenderer()
-
Method Summary
Modifier and Type Method Description void
render(UIElement ui, float zoom, float xPos, float yPos)
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)
float
uiToWorldX(float x)
float
uiToWorldY(float y)
float
worldToScreenX(float x)
float
worldToScreenY(float y)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
draww
public float draww -
drawh
public float drawh
-
-
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) -
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) -
render
-