public void drawStepCells(Graphics g) { Cell[] c = antigen.getCells(); int j = antigen.getStep(); int i = 0; while (i < j) { drawCircle(g, c[i].posX, c[i].posY, c[i].radian, antigen.getColor()); i++; } if (j == antigen.getFilled()) { antigen.resetStep(); antigen.setStillStep(false); antigen.setLastView(true); } else { antigen.setStep(); } }