Example usage for com.badlogic.gdx.graphics.g2d SpriteBatch draw

List of usage examples for com.badlogic.gdx.graphics.g2d SpriteBatch draw

Introduction

In this page you can find the example usage for com.badlogic.gdx.graphics.g2d SpriteBatch draw.

Prototype

@Override
    public void draw(TextureRegion region, float width, float height, Affine2 transform) 

Source Link

Usage

From source file:okj.easy.graphics.graphics2d.SpriteA.java

License:Apache License

public void draw(SpriteBatch spriteBatch) {
    spriteBatch.draw(mCurrentTexture, getVertices(), 0, SPRITE_SIZE);
}