public static Results Roll(this IEnumerable<IRollable> toRoll, int iterations) { var roller = new Roller(); foreach (var rollable in toRoll) { roller.AddRollable(rollable); } return roller.Roll(iterations); }
public static Results Roll(this IRollable rollable, int iterations) { var roller = new Roller(); roller.AddRollable(rollable); return roller.Roll(iterations); }