private void PickAndUpdateRandomCell() { var x = SmaugRandom.Between(0, Width); var y = SmaugRandom.Between(0, Height); var cell = GetCellFromMap(x, y); var rand = SmaugRandom.Between(-10, 10); switch (SmaugRandom.D8()) { case 1: cell.ChangeCloudCover(rand); break; case 2: cell.ChangeEnergy(rand); break; case 3: cell.ChangeHumidity(rand); break; case 4: cell.ChangePrecip(rand); break; case 5: cell.ChangePressure(rand); break; case 6: cell.ChangeTemperature(rand); break; case 7: cell.ChangeWindSpeedX(rand); break; case 8: cell.ChangeWindSpeedY(rand); break; } }