/// <summary> /// Rolls the gas giant size and updates it. /// </summary> /// <param name="s">The gas gaint we are editing</param> /// <param name="roll">The dice roll</param> public static void updateGasGiantSize(Satellite s, int roll) { if (roll <= 10) s.updateSize(Satellite.SIZE_SMALL); if (roll >= 11 && roll <= 16) s.updateSize(Satellite.SIZE_MEDIUM); if (roll >= 17) s.updateSize(Satellite.SIZE_LARGE); }