public void updatePosition() {
		if (xPos < xDestination){
    		prevXPos = xPos; 
    		xPos++;
    	}	//xPos = xPos + 2; 
        else if (xPos > xDestination){
        	prevXPos = xPos;
        	xPos--;
        }	//xPos = xPos - 2;
        if (yPos < yDestination){
        	prevYPos = yPos;
        	yPos++;
        }	//yPos = yPos + 2;
        else if (yPos > yDestination){
        	prevYPos = yPos; 
        	yPos--; 
        	//yPos = yPos - 2;
        }
		if (xPos == xDestination && yPos == yDestination) {
			if(xDestination == cookingXPos){
    			if(xPos != prevXPos && yPos != prevYPos){
    				prevXPos = xPos;
    				prevYPos = yPos;
            		agent.msgAnimationReady(); 
            	}
    		}

		}
	}