public void updatePosition() {
                if (xPos < xDestination)
                        xPos += 1;
                else if (xPos > xDestination)
                        xPos -= 1;

                if (yPos < yDestination)
                        yPos += 1;
                else if (yPos > yDestination)
                        yPos -= 1;
                if (xPos == xDestination && yPos == yDestination) {
                        if (command == Command.WaitingArea) {
                                agent.msgAnimationFinishedGoToWaitingArea();
                        }
                        if (command == Command.GoToSeat)
                                agent.msgAnimationFinishedGoToSeat();
                        else if (command == Command.LeaveRestaurant) {
                                agent.msgAnimationFinishedLeaveRestaurant();
                                //agent.print("about to call gui.setCustomerEnabled(agent);");
                                isHungry = false;
//                                gui.setCustomerEnabled(agent);
                        }
                        command = Command.noCommand;
                }
        }