using UnityEngine; namespace NightclubArcadia.Skills { public sealed class UnityRollSource : IRollSource { public int Roll(int sides) { if (sides < 1) { throw new System.ArgumentOutOfRangeException(nameof(sides)); } return Random.Range(1, sides + 1); } } }