public class ItemObjectRenderer
extends java.lang.Object
Constructor and Description |
---|
ItemObjectRenderer(com.badlogic.gdx.graphics.g2d.SpriteBatch batcher)
Accepts the SpriteBatch instance used to render the ItemObjects passed to render().
|
Modifier and Type | Method and Description |
---|---|
void |
draw(ItemObject itemObject,
boolean transparent)
Accepts the ItemObject to draw, and whether or not to draw it transparent.
|
public ItemObjectRenderer(com.badlogic.gdx.graphics.g2d.SpriteBatch batcher)
public void draw(ItemObject itemObject, boolean transparent)