public class ProjectileRenderer
extends java.lang.Object
Constructor and Description |
---|
ProjectileRenderer(com.badlogic.gdx.graphics.g2d.SpriteBatch batcher)
Accepts the SpriteBatch instance used to render the Projectiles passed to the draw() method.
|
Modifier and Type | Method and Description |
---|---|
void |
draw(Projectile projectile)
Draws the given Projectile on-screen.
|
public ProjectileRenderer(com.badlogic.gdx.graphics.g2d.SpriteBatch batcher)
public void draw(Projectile projectile)