Interface Drawable
-
- All Superinterfaces:
com.badlogic.gdx.utils.Disposable
- All Known Implementing Classes:
Area
,Character
,GameMap
,GameOverMenu
,HeadsUpDisplay
,Interactable
,Item
,Overlay
,PauseMenu
public interface Drawable extends com.badlogic.gdx.utils.Disposable
- Author:
- ENG1 Team 23 (Cohort 3)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
render(com.badlogic.gdx.graphics.g2d.SpriteBatch batch)
Renders theDrawable
to the givenSpriteBatch
.
-
-
-
Method Detail
-
render
void render(com.badlogic.gdx.graphics.g2d.SpriteBatch batch)
Renders theDrawable
to the givenSpriteBatch
. This method must be called during a batch-drawing sequence operation, i.e. betweenSpriteBatch.begin()
andSpriteBatch.end()
.- Parameters:
batch
- Target of the rendering operation
-
-