@Override
	public synchronized void move() {
		float curX, curY;
		curX = getX();
		curY = getY();
		if(getState().equals("eaten")){
			move2();
			return;
		}
		else{
			if (getDirection().equals("left") && !isAsleep()){
				curX -= GameBoard.tileLength/4;
				setX(curX);
			}
			else if (getDirection().equals("right") && !isAsleep()){
				curX += GameBoard.tileLength/4;
				setX(curX);
			}
			else if (getDirection().equals("up") && !isAsleep()){
				curY -= GameBoard.tileLength/4;
				setY(curY);
			}
			else if (getDirection().equals("down") && !isAsleep()){
				curY += GameBoard.tileLength/4;
				setY(curY);
			}
		}
		updateCenter();
	}