コード例 #1
0
 public BlackCard(SceneDZData data) :
     base(data)
 {
     m_sceneCardBaseData = new SceneCardBaseData();
     m_sceneCardBaseData.m_trackAniControl = new BlackAniControl(this);
     m_render = new BlackCardRender(this);
 }
コード例 #2
0
ファイル: BlackCard.cs プロジェクト: zhutaorun/unitygame
 public BlackCard(SceneDZData data) : 
     base(data)
 {
     m_sceneCardBaseData = new SceneCardBaseData();
     m_sceneCardBaseData.m_trackAniControl = new BlackAniControl(this);
     m_render = new BlackCardRender(this);
 }
コード例 #3
0
        protected bool m_svrDispose;        // 服务器已经删除了这个对象

        public ExceptBlackSceneCard(SceneDZData data) : 
            base(data)
        {
            m_svrDispose = false;
            m_sceneCardBaseData = new SceneCardBaseData();
            m_sceneCardBaseData.m_fightData = new FightData();
            m_sceneCardBaseData.m_animFSM = new AnimFSM();
            m_sceneCardBaseData.m_animFSM.card = this;
            m_sceneCardBaseData.m_animFSM.Start();

            m_sceneCardBaseData.m_moveControl = new CardMoveControl(this);

            m_sceneCardBaseData.m_aiController = new AIController();
            m_sceneCardBaseData.m_aiController.btID = BTID.e1000;
            m_sceneCardBaseData.m_aiController.possess(this);
        }
コード例 #4
0
        protected bool m_svrDispose;        // 服务器已经删除了这个对象

        public ExceptBlackSceneCard(SceneDZData data) :
            base(data)
        {
            m_svrDispose                       = false;
            m_sceneCardBaseData                = new SceneCardBaseData();
            m_sceneCardBaseData.m_fightData    = new FightData();
            m_sceneCardBaseData.m_animFSM      = new AnimFSM();
            m_sceneCardBaseData.m_animFSM.card = this;
            m_sceneCardBaseData.m_animFSM.Start();

            m_sceneCardBaseData.m_moveControl = new CardMoveControl(this);

            m_sceneCardBaseData.m_aiController      = new AIController();
            m_sceneCardBaseData.m_aiController.btID = BTID.e1000;
            m_sceneCardBaseData.m_aiController.possess(this);
        }