Ejemplo n.º 1
0
        object m_Data;                                          // ユーザーデータ

        public StateMachine()
        {
            m_Timer       = TMO.TMO_FEVR;
            m_TimeOut     = TMO.TMO_FEVR;
            m_TimeOutData = 0;
            m_OnTimeOut   = null;
        }
Ejemplo n.º 2
0
 protected void SetState(ST state)
 {
     m_State       = state;
     m_Timer       = TMO.TMO_FEVR;
     m_TimeOut     = TMO.TMO_FEVR;
     m_TimeOutData = 0;
     m_OnTimeOut   = null;
 }
Ejemplo n.º 3
0
 protected void SetState(ST state, TMO timeOut, object timeOutData,
                         TTimeOutEvent onTimeOut)
 {
     m_State       = state;
     m_Timer       = timeOut;
     m_TimeOut     = timeOut;
     m_TimeOutData = timeOutData;
     m_OnTimeOut   = onTimeOut;
 }