@Override public int drawLine(final Graphics render, int idx) { final String[] items = menu.getItems(); int i = 0; for (final String item : items) { StringUtil.drawLine(render, idx++, i++ + ": [red]" + item); } return idx; }
@Override public final int drawLine(final Graphics render, int idx) { final String camPos = "Camera Position (x,y,z): (" + client.getCamPosX() + ", " + client.getCamPosY() + ", " + client.getCamPosZ() + ")"; final String camAngle = "Camera Angle (pitch, yaw): (" + client.getCameraPitch() + ", " + client.getCameraYaw() + ")"; StringUtil.drawLine(render, idx++, camPos); StringUtil.drawLine(render, idx++, camAngle); return idx; }