public void ResetBaseReel() { m_previousReelType = m_currentReelType; m_currentReelType = ReelType.NONE; m_currentReadState[(int)ReelReadState.REELSTART] = false; m_currentReadState[(int)ReelReadState.REELEND] = false; }
public void ResetFreeReel() { ReelType tempType = m_previousReelType; m_previousReelType = m_currentReelType; m_currentReelType = tempType; m_currentReadState[(int)ReelReadState.FREEREELSTART] = false; m_currentReadState[(int)ReelReadState.FREEREELEND] = false; }
public void LeaveFreeReel() { m_previousReelType = m_currentReelType; m_currentReelType = ReelType.NONE; m_enteredState[(int)ReelReadState.FREEREELEND] = m_arrayDepth; m_currentReadState[(int)ReelReadState.FREEREELSTART] = false; m_currentReadState[(int)ReelReadState.FREEREELEND] = true; }
public void ResetModifierReel() { ReelType tempType = m_previousReelType; m_previousReelType = m_currentReelType; m_currentReelType = tempType; m_currentReadState[(int)ReelReadState.MODIFIERSTART] = false; m_currentReadState[(int)ReelReadState.MODIFIEREND] = false; }
public void EnterBaseReel() { m_previousReelType = m_currentReelType; m_currentReelType = ReelType.BASEREEL; m_enteredState[(int)ReelReadState.REELSTART] = m_arrayDepth; m_currentReadState[(int)ReelReadState.REELSTART] = true; m_currentReadState[(int)ReelReadState.REELEND] = false; }
public void LeaveModifierReel() { ReelType tempType = m_previousReelType; m_previousReelType = m_currentReelType; m_currentReelType = tempType; m_enteredState[(int)ReelReadState.MODIFIEREND] = m_arrayDepth; m_currentReadState[(int)ReelReadState.MODIFIERSTART] = false; m_currentReadState[(int)ReelReadState.MODIFIEREND] = true; }
public void EnterModifierReel() { m_previousReelType = m_currentReelType; if (m_currentSetType == ReelSetType.FREEMODREEL) { m_currentReelType = ReelType.FREEMODREEL; } else { m_currentReelType = ReelType.BASEMODREEL; } m_enteredState[(int)ReelReadState.MODIFIERSTART] = m_arrayDepth; m_currentReadState[(int)ReelReadState.MODIFIERSTART] = true; m_currentReadState[(int)ReelReadState.MODIFIEREND] = false; }
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; }
public void EnterModifierReel() { m_previousReelType = m_currentReelType; if (m_currentSetType == ReelSetType.FREEMODREEL) m_currentReelType = ReelType.FREEMODREEL; else m_currentReelType = ReelType.BASEMODREEL; m_enteredState[(int)ReelReadState.MODIFIERSTART] = m_arrayDepth; m_currentReadState[(int)ReelReadState.MODIFIERSTART] = true; m_currentReadState[(int)ReelReadState.MODIFIEREND] = false; }
public SlotReel(int i) { type = (ReelType)i; }