public void pinsDowned(int pins)
	{
		totalScore(pins);
		int roll1 = game.get(getCurrentFrame()).getRoll1();
		int roll2 = game.get(getCurrentFrame()).getRoll2();
		int roll3 = game.get(getCurrentFrame()).getRoll3();
		
		if(getCurrentFrame() != 9)
		{
			if(roll1<0)
			{
				game.get(getCurrentFrame()).setRoll1(pins);
				score.set(indexScore, pins);
				indexScore++;
			}
			else
			{
				game.get(getCurrentFrame()).setRoll2(pins);
				score.set(indexScore, pins);
				indexScore++;
			}
				
		}
		else
		{
			if(roll1<0)
			{
				game.get(getCurrentFrame()).setRoll1(pins);
				score.set(indexScore, pins);
				indexScore++;
			}
			else if(roll2<0)
			{
				game.get(getCurrentFrame()).setRoll2(pins);
				score.set(indexScore, pins);
				indexScore++;
			}
			else if((roll1+roll2)>=10)
			{
				game.get(getCurrentFrame()).setRoll3(pins);
				score.set(indexScore, pins);
				indexScore++;
			}
		}
		
		

	}