public int drawLine(final Graphics render, int idx) { int animation; if (ctx.game.isLoggedIn()) { animation = ctx.players.getMyPlayer().getAnimation(); } else { animation = -1; } StringUtil.drawLine(render, idx++, "Animation " + animation); return idx; }
public int drawLine(final Graphics render, int idx) { final int floor = game.getPlane(); StringUtil.drawLine(render, idx++, "Floor " + floor); return idx; }