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

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

Introduction

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

Prototype

@Override
    public void draw(PolygonSpriteBatch spriteBatch) 

Source Link

Usage

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

public void render(PolygonSpriteBatch _polygonBatch) {
    for (int i = 0; i < polygonSprites.size; ++i) {
        RubePolygonSprite sprite = polygonSprites.get(i);
        sprite.draw(_polygonBatch);
    }/*from w w w.j ava2 s . co m*/
}