public void setLoopAnimations(int startAnimation, int endAnimation) {
		int newAnimationStartRow = startAnimation / numColumns;
		int newAnimationStartColumn = startAnimation % numColumns;

		int newAnimationEndRow = endAnimation / numColumns;
		int newAnimationEndColumn = endAnimation % numColumns;

		if (newAnimationStartRow == animationStartRow && newAnimationStartColumn == animationStartColumn && newAnimationEndRow == animationEndRow && newAnimationEndColumn == animationEndColumn)
			return;

		animationStartRow = newAnimationStartRow;
		animationStartColumn = newAnimationStartColumn;

		animationEndRow = newAnimationEndRow;
		animationEndColumn = newAnimationEndColumn;

		currentRow = animationStartRow;
		currentColumn = animationStartColumn;
	}