public void setStepWithAnimationSpeed(int step, int fps) { int currentFramesPerStep = artist.getFramesPerStep(); artist.setFramesPerStep(fps); artist.setStepNum(step); repaint(); artist.setFramesPerStep(currentFramesPerStep); }
/** * Set the step of the panel * * @param step */ public void setStep(int step) { artist.setStepNum(step); updated = true; }