public void addRandomBalls(int count) {
		int rndY, rndX;
		for (int i = 0; i < count; i++) {
			if (_freeCells == 0) {
				_linesGame.gameOver();
				break;
			}
			for(;;) {
				rndX = _random.nextInt(_nX);
				rndY = _random.nextInt(_nY);
				if (_state[rndY][rndX] == null) {
					_state[rndY][rndX] = getNextBall();
					_state[rndY][rndX].setFieldX(rndX);
					_state[rndY][rndX].setFieldY(rndY);
					_freeCells--;
					checkMove(rndY, rndX, false);
					break;
				}
			}
		}
		if (_freeCells == 0) {
			_linesGame.gameOver();
		}
	}