Example #1
0
        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);
        }
Example #2
0
 public StatusSiteswap(Siteswap siteswap)
 {
     status = new CyclicArray <HandStatus>(siteswap.MaxThrow());
 }
Example #3
0
 private void Setup(IEnumerable <int> siteswap)
 {
     this.siteswap = new CyclicArray <int>(siteswap.ToArray());
 }