public void step(double momentumX, double x)
	{
		if(momentumX > 0)
		{
			if(x < 0 && sprites != spritesLeft)
				sprites = spritesLeft;
		
			else if(x > 0 && sprites != spritesRight)
				sprites = spritesRight;
			
			currentIndex += indexIncrement;
			
			if(currentIndex >= sprites.size())
				currentIndex = 0;
		}
		
		else
			currentIndex = 0;
	}