예제 #1
0
        public              ReelScenario this[ReelPos index]
        {
            get
            {
                switch (index)
                {
                case ReelPos.Left: return(Left);

                case ReelPos.Middle: return(Middle);

                case ReelPos.Right: return(Right);

                default: throw new InvalidEnumArgumentException();
                }
            }
        }
예제 #2
0
 public ReachInfo(RoleValue reachRole, ReelPos reachPos)
 {
     this.ReachedRole  = reachRole;
     this.ReachReelPos = reachPos;
 }