public void PlaceNewWarrior() { Cell randomCell; List <Cell> emptyCells = field.GetEmptyCells(); if (emptyCells.Count == 0) { return; } randomCell = emptyCells[Random.Range(0, emptyCells.Count)]; randomCell.SetTeam((Team)Random.Range(0, (int)difficulty + 1), Random.Range(1, 3) * 2); }