public void startMoving(Direction dir) {
		move(dir);
		int last = queuedMoveDirectionPreferences.length - 1;
		int dirIndex = last;
		for(int i = 0; i < last && dirIndex == last; i++)
			if(queuedMoveDirectionPreferences[i] == dir)
				dirIndex = i;
		for(int i = dirIndex; i >= 1; i--)
			queuedMoveDirectionPreferences[i] = queuedMoveDirectionPreferences[i - 1];
		queuedMoveDirectionPreferences[0] = dir;
	}