public void setStepParameter(int stepNumber, int stepSpeed){
        this.remainingTime = this.stepNumber = stepNumber;
        this.stepSpeed = stepSpeed;
        this.actualStepNumber = 0;
        timer = new Timer(this.stepSpeed, this);
        timer.setInitialDelay(0);
    }