public void move() {
        if(pause<=0){
            x += stepX;
            y += stepY;
            stepsLeft--;
            if(amountToTransfer!=0){
                if(isPowerBar) {
                finalPosX = transferPowerTo.getBarPos()[0];
                } else {
                    finalPosX = transferXPTo.getBarPos()[0];
                }
                stepX = (finalPosX-x)/stepsLeft;
                stepY = (finalPosY-y)/stepsLeft;
            }
        } else {
            pause--;
        }
        if(stepsLeft<=0){
            if(amountToTransfer>0){
                if(isPowerBar) {
                    transferPowerTo.addPower(amountToTransfer);
                } else {
                    transferXPTo.addXP(amountToTransfer);
                }
            }
            game.removeSpark(this);
        }
        if(glow){
	        //for(int x=-5;x<=5;x++){
		    //    for(int y=-5;y<=5;y++){
	        //		game.addGlow((int)(Color.RGBtoHSB(color.getRed(), color.getGreen(), color.getBlue(), null)[0]),(int) (Color.RGBtoHSB(color.getRed(), color.getGreen(), color.getBlue(), null)[1]), 100-(Math.abs(y+x)*20), (int)(this.x+x), (int)(this.y+y));
		    //    }
	        //}
        }
    }