コード例 #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;
 }