Interface Drawable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void render​(com.badlogic.gdx.graphics.g2d.SpriteBatch batch)
      Renders the Drawable to the given SpriteBatch.
      • Methods inherited from interface com.badlogic.gdx.utils.Disposable

        dispose
    • Method Detail

      • render

        void render​(com.badlogic.gdx.graphics.g2d.SpriteBatch batch)
        Renders the Drawable to the given SpriteBatch. This method must be called during a batch-drawing sequence operation, i.e. between SpriteBatch.begin() and SpriteBatch.end().
        Parameters:
        batch - Target of the rendering operation