Пример #1
0
        public void PlayStory(int nStoryID)
        {
            // 临时处理一下

            // Boss出场
            //			if (nStoryID == 76)
            //			{
            //				PlayCutscene(1);
            //			}
            //			// 转场
            //			else if (nStoryID == 81)
            //			{
            //                CloseSyncPos = true;
            //				PlayCutscene(2);
            //			}
            //			else if (nStoryID == 77)
            //			{
            //				PlayCutscene(3);
            //			}
            //			else if (nStoryID == 84)
            //			{
            //				PlayCutscene(4);
            //			}
            //			else if (nStoryID == 80)
            //			{
            //				PlayCutscene(5);
            //			}
            //			else
            {
                CutsceneFactoryBase factory = new CutsceneFactoryCommonDialog(nStoryID);
                m_CurrentPlayingCutscene = factory.CreatCutscene();
                m_CurrentPlayingCutscene.Play();
                m_nCurrentPlayingCutsceneID = nStoryID;
            }
        }
Пример #2
0
        public void PlayCommonStory(int nStoryID)
        {
            m_CurCutsceneType = CutsceneType.DialogStory;
            CutsceneFactoryBase factory = new CutsceneFactoryCommonDialog(nStoryID);

            m_CurrentPlayingCutscene = factory.CreatCutscene();
            m_CurrentPlayingCutscene.Play();
            m_nCurrentPlayingCutsceneID = nStoryID;
        }