コード例 #1
0
        //---------------------------------------------------------------------
        public void destroy()
        {
            if (mEntityFactory != null)
            {
                mEntityFactory = null;
            }

            if (mParticleSystemDataPrototype != null)
            {
                mParticleSystemDataPrototype = null;
            }

            if (mRouteObjectMgr != null)
            {
                mRouteObjectMgr = null;
            }

            if (mParticleSystemFactory != null)
            {
                mParticleSystemFactory.destroy();
                mParticleSystemFactory = null;
            }

            if (mParticleSystemKeeper != null)
            {
                mParticleSystemKeeper.destroy();
                mParticleSystemKeeper = null;
            }

            if (mBaseEntityKeeper != null)
            {
                mBaseEntityKeeper.destroy();
                mBaseEntityKeeper = null;
            }
        }
コード例 #2
0
 //---------------------------------------------------------------------
 public void create(List <JsonPacket> json_packet_list, List <RouteJsonPacket> route_json_packet_list)
 {
     mParticleSystemDataPrototype = new ParticleSystemDataPrototype(json_packet_list, mParticleSystemFactory);
     mParticleSystemKeeper        = new ParticleSystemKeeper();
     mBaseEntityKeeper            = new BaseEntityKeeper();
     mRouteObjectMgr = new RouteObjectMgr(route_json_packet_list);
 }
コード例 #3
0
ファイル: BaseFishLordMgr.cs プロジェクト: yinlei/Fishing
 //---------------------------------------------------------------------
 public void create(List<JsonPacket> json_packet_list, List<RouteJsonPacket> route_json_packet_list)
 {
     mParticleSystemDataPrototype = new ParticleSystemDataPrototype(json_packet_list, mParticleSystemFactory);
     mParticleSystemKeeper = new ParticleSystemKeeper();
     mBaseEntityKeeper = new BaseEntityKeeper();
     mRouteObjectMgr = new RouteObjectMgr(route_json_packet_list);
 }
コード例 #4
0
ファイル: BaseFishLordMgr.cs プロジェクト: yinlei/Fishing
        //---------------------------------------------------------------------
        public void destroy()
        {
            if (mEntityFactory != null)
            {
                mEntityFactory = null;
            }

            if (mParticleSystemDataPrototype != null)
            {
                mParticleSystemDataPrototype = null;
            }

            if (mRouteObjectMgr != null)
            {
                mRouteObjectMgr = null;
            }

            if (mParticleSystemFactory != null)
            {
                mParticleSystemFactory.destroy();
                mParticleSystemFactory = null;
            }

            if (mParticleSystemKeeper != null)
            {
                mParticleSystemKeeper.destroy();
                mParticleSystemKeeper = null;
            }

            if (mBaseEntityKeeper != null)
            {
                mBaseEntityKeeper.destroy();
                mBaseEntityKeeper = null;
            }
        }