public Coords generateSpawn() {
	Random randomGenerator = new Random();
	Coords res = null;

	int max = 5;

	for (int x = 0; x <= max; ++x) {
	    int randx = randomGenerator.nextInt(this.rows - 1);
	    int randy = randomGenerator.nextInt(this.cols - 1);

	    if (x == max) // 5x nic nahodne nenasel  -> jde sekvencne
	    {
		randx = randy = 0;
	    }

	    for (int i = randx; i < this.rows; i++) {

		for (int j = randy; j < this.cols; j++) {
		    MapField field = this.fields[i][j];

		    if (field.isPath() && field.canSeize()) {
			return new Coords(i, j);
		    }
		}
	    }
	}

	if (res == null) {
	    res = this.generateSpawn();
	}
	

	return res;
    }