Exemplo n.º 1
0
        public void LeaveFreeReelSet()
        {
            m_previousSetType = m_currentSetType;
            m_currentSetType  = ReelSetType.NONE;

            m_enteredState[(int)ReelReadState.FREEREELSETEND] = m_arrayDepth;

            m_currentReadState[(int)ReelReadState.FREEREELSETSTART] = false;
            m_currentReadState[(int)ReelReadState.FREEREELSETEND]   = true;
        }
Exemplo n.º 2
0
        public void EnterBaseReelSet()
        {
            m_previousSetType = m_currentSetType;
            m_currentSetType  = ReelSetType.BASEREEL;

            m_enteredState[(int)ReelReadState.REELSETSTART] = m_arrayDepth;

            m_currentReadState[(int)ReelReadState.REELSETSTART] = true;
            m_currentReadState[(int)ReelReadState.REELSETEND]   = false;
        }
Exemplo n.º 3
0
        public void LeaveModifierReelSet()
        {
            ReelSetType tempSetType = m_previousSetType;

            m_previousSetType = m_currentSetType;
            m_currentSetType  = tempSetType;

            m_enteredState[(int)ReelReadState.MODIFIERSETEND] = m_arrayDepth;

            m_currentReadState[(int)ReelReadState.MODIFIERSETSTART] = false;
            m_currentReadState[(int)ReelReadState.MODIFIERSETEND]   = true;
        }
Exemplo n.º 4
0
        public void EnterModifierReelSet()
        {
            m_previousSetType = m_currentSetType;

            if (m_currentSetType == ReelSetType.BASEREEL)
            {
                m_currentSetType = ReelSetType.BASEMODREEL;
            }
            else
            {
                m_currentSetType = ReelSetType.FREEMODREEL;
            }

            m_enteredState[(int)ReelReadState.MODIFIERSETSTART] = m_arrayDepth;

            m_currentReadState[(int)ReelReadState.MODIFIERSETSTART] = true;
            m_currentReadState[(int)ReelReadState.MODIFIERSETEND]   = false;
        }
Exemplo n.º 5
0
 public ParserState()
 {
     m_currentReelType  = ReelType.NONE;
     m_previousReelType = ReelType.NONE;
     m_currentSetType   = ReelSetType.NONE;
     m_previousSetType  = ReelSetType.NONE;
     m_currentReadState = new BitArray(13);
     m_enteredState     = new int[13];
     m_enteredState[(int)ReelReadState.NONE]             = 0;
     m_enteredState[(int)ReelReadState.REELSTART]        = 0;
     m_enteredState[(int)ReelReadState.REELEND]          = 0;
     m_enteredState[(int)ReelReadState.MODIFIERSTART]    = 0;
     m_enteredState[(int)ReelReadState.MODIFIEREND]      = 0;
     m_enteredState[(int)ReelReadState.FREEREELSTART]    = 0;
     m_enteredState[(int)ReelReadState.FREEREELEND]      = 0;
     m_enteredState[(int)ReelReadState.REELSETSTART]     = 0;
     m_enteredState[(int)ReelReadState.REELSETEND]       = 0;
     m_enteredState[(int)ReelReadState.MODIFIERSETSTART] = 0;
     m_enteredState[(int)ReelReadState.MODIFIERSETEND]   = 0;
     m_enteredState[(int)ReelReadState.FREEREELSETSTART] = 0;
     m_enteredState[(int)ReelReadState.FREEREELSETEND]   = 0;
     m_arrayDepth = 0;
 }
Exemplo n.º 6
0
 public ParserState()
 {
     m_currentReelType = ReelType.NONE;
     m_previousReelType = ReelType.NONE;
     m_currentSetType = ReelSetType.NONE;
     m_previousSetType = ReelSetType.NONE;
     m_currentReadState = new BitArray(13);
     m_enteredState = new int[13];
     m_enteredState[(int)ReelReadState.NONE] = 0;
     m_enteredState[(int)ReelReadState.REELSTART] = 0;
     m_enteredState[(int)ReelReadState.REELEND] = 0;
     m_enteredState[(int)ReelReadState.MODIFIERSTART] = 0;
     m_enteredState[(int)ReelReadState.MODIFIEREND] = 0;
     m_enteredState[(int)ReelReadState.FREEREELSTART] = 0;
     m_enteredState[(int)ReelReadState.FREEREELEND] = 0;
     m_enteredState[(int)ReelReadState.REELSETSTART] = 0;
     m_enteredState[(int)ReelReadState.REELSETEND] = 0;
     m_enteredState[(int)ReelReadState.MODIFIERSETSTART] = 0;
     m_enteredState[(int)ReelReadState.MODIFIERSETEND] = 0;
     m_enteredState[(int)ReelReadState.FREEREELSETSTART] = 0;
     m_enteredState[(int)ReelReadState.FREEREELSETEND] = 0;
     m_arrayDepth = 0;
 }
Exemplo n.º 7
0
        public void LeaveModifierReelSet()
        {
            ReelSetType tempSetType = m_previousSetType;
            m_previousSetType = m_currentSetType;
            m_currentSetType = tempSetType;

            m_enteredState[(int)ReelReadState.MODIFIERSETEND] = m_arrayDepth;

            m_currentReadState[(int)ReelReadState.MODIFIERSETSTART] = false;
            m_currentReadState[(int)ReelReadState.MODIFIERSETEND] = true;
        }
Exemplo n.º 8
0
        public void LeaveFreeReelSet()
        {
            m_previousSetType = m_currentSetType;
            m_currentSetType = ReelSetType.NONE;

            m_enteredState[(int)ReelReadState.FREEREELSETEND] = m_arrayDepth;

            m_currentReadState[(int)ReelReadState.FREEREELSETSTART] = false;
            m_currentReadState[(int)ReelReadState.FREEREELSETEND] = true;
        }
Exemplo n.º 9
0
        public void EnterModifierReelSet()
        {
            m_previousSetType = m_currentSetType;

            if (m_currentSetType == ReelSetType.BASEREEL)
                m_currentSetType = ReelSetType.BASEMODREEL;
            else
                m_currentSetType = ReelSetType.FREEMODREEL;

            m_enteredState[(int)ReelReadState.MODIFIERSETSTART] = m_arrayDepth;

            m_currentReadState[(int)ReelReadState.MODIFIERSETSTART] = true;
            m_currentReadState[(int)ReelReadState.MODIFIERSETEND] = false;
        }
Exemplo n.º 10
0
        public void EnterBaseReelSet()
        {
            m_previousSetType = m_currentSetType;
            m_currentSetType = ReelSetType.BASEREEL;

            m_enteredState[(int)ReelReadState.REELSETSTART] = m_arrayDepth;

            m_currentReadState[(int)ReelReadState.REELSETSTART] = true;
            m_currentReadState[(int)ReelReadState.REELSETEND] = false;
        }