public BlackCard(SceneDZData data) : base(data) { m_sceneCardBaseData = new SceneCardBaseData(); m_sceneCardBaseData.m_trackAniControl = new BlackAniControl(this); m_render = new BlackCardRender(this); }
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); }