public class BackgroundRenderer
extends java.lang.Object
Constructor and Description |
---|
BackgroundRenderer(com.badlogic.gdx.graphics.g2d.SpriteBatch batcher,
com.badlogic.gdx.graphics.OrthographicCamera worldCamera)
Accepts the SpriteBatch used to draw the background, and the world camera where the background tiles are rendered.
|
Modifier and Type | Method and Description |
---|---|
void |
render(float deltaTime)
Called every frame to render the Background to the screen.
|