Example usage for com.badlogic.gdx.rube.graphics.g2d RubeSprite draw

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

Introduction

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

Prototype

@Override
    public void draw(Batch spriteBatch) 

Source Link

Usage

From source file:com.badlogic.gdx.rube.test.SpriteRenderer.java

public void render(SpriteBatch _batch) {
    for (int i = 0; i < sprites.size; ++i) {
        RubeSprite sprite = sprites.get(i);
        sprite.draw(_batch);
    }//from   ww w.  jav a2s.c o  m
}