private static IEnumerable <int> Split(int siteswap) { var list = new List <int>(); while (siteswap > 0) { list.Add(siteswap.Mod(10)); siteswap /= 10; } list.Reverse(); return(list); }
public StatusSiteswap(Siteswap siteswap) { status = new CyclicArray <HandStatus>(siteswap.MaxThrow()); }
private void Setup(IEnumerable <int> siteswap) { this.siteswap = new CyclicArray <int>(siteswap.ToArray()); }