public class KoAnimation
extends java.lang.Object
Constructor and Description |
---|
KoAnimation(com.jonathan.survivor.World world,
com.badlogic.gdx.graphics.g2d.SpriteBatch batcher,
com.badlogic.gdx.graphics.OrthographicCamera worldCamera)
Accepts the SpriteBatch instance where Spine skeletons are drawn, and the camera used to view the world, which allows the animations to be centered on the screen.
|
Modifier and Type | Method and Description |
---|---|
void |
draw(float deltaTime)
Draws the animation to the center of the screen.
|
public KoAnimation(com.jonathan.survivor.World world, com.badlogic.gdx.graphics.g2d.SpriteBatch batcher, com.badlogic.gdx.graphics.OrthographicCamera worldCamera)