public class ZombieRenderer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static com.esotericsoftware.spine.AnimationStateData |
animStateData
Defines the crossfading times between the zombies' animations.
|
| Constructor and Description |
|---|
ZombieRenderer(com.jonathan.survivor.World world,
com.badlogic.gdx.graphics.g2d.SpriteBatch batcher)
Accepts the World instance whose methods are called when needed, and the SpriteBatch used to draw the zombies.
|
public static com.esotericsoftware.spine.AnimationStateData animStateData
public ZombieRenderer(com.jonathan.survivor.World world,
com.badlogic.gdx.graphics.g2d.SpriteBatch batcher)
public void draw(Zombie zombie, boolean transparent, float deltaTime)