public void drawAdditive( TextureRegion tr, float width, float height, float origX, float origY, float x, float y, float rot, Color tint) { maybeChangeAdditive(true); myDrawer.draw(tr, width, height, origX, origY, x, y, rot, tint); }
public void maybeChangeAdditive(boolean additive) { if (myCurrAdditive == additive) return; myCurrAdditive = additive; myDrawer.setAdditive(additive); }
public void drawCircle( TextureRegion tex, Vector2 center, float radius, Color col, float width, float vh) { maybeChangeAdditive(false); myDrawer.drawCircle(tex, center, radius, col, width, vh); }
public void draw(ParticleEmitter emitter, TextureAtlas.AtlasRegion tex, boolean additive) { maybeChangeAdditive(additive); emitter.draw(myDrawer.getBatch(emitter.getSprite().getTexture(), tex)); }
public void drawLine( TextureRegion tex, Vector2 p1, Vector2 p2, Color col, float width, boolean precise) { maybeChangeAdditive(false); myDrawer.drawLine(tex, p1, p2, col, width, precise); }
public void drawLine( TextureRegion tex, float x, float y, float angle, float len, Color col, float width) { maybeChangeAdditive(false); myDrawer.drawLine(tex, x, y, angle, len, col, width); }
public void drawString(String s, float x, float y, float size, boolean centered, Color col) { maybeChangeAdditive(false); myDrawer.drawString(s, x, y, size, centered, col); }
public void end() { myDrawer.end(); }
public void updateMtx(SolGame game) { myDrawer.setMtx(game.getCam().getMtx()); }
public void begin() { myDrawer.begin(); }