Home | History | Annotate | Download | only in utils

Lines Matching refs:Batch

20 import com.badlogic.gdx.graphics.g2d.Batch;

42 public void draw (Batch batch, float x, float y, float width, float height) {
44 float batchColor = batch.getPackedColor();
45 sprite.setColor(batch.getColor().mul(spriteColor));
50 sprite.draw(batch);
53 batch.setColor(batchColor);
56 public void draw (Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX,
60 float batchColor = batch.getPackedColor();
61 sprite.setColor(batch.getColor().mul(spriteColor));
67 sprite.draw(batch);
70 batch.setColor(batchColor);