Пример #1
0
        /// 破棄
        public override void Term()
        {
            DoTerm();

            if (moveCollMgr != null)
            {
                moveCollMgr.Term();
            }
            if (unitCmnPlay != null)
            {
                unitCmnPlay.Term();
            }
            if (EventCntr != null)
            {
                EventCntr.Clear();
                EventCntr.Term();
            }
            if (interfereCntr != null)
            {
                interfereCntr.Term();
            }

            interfereCntr = null;
            EventCntr     = null;
            moveCollMgr   = null;
            unitCmnPlay   = null;
            dmgTrgObj     = null;
        }
 /// 開始
 public bool Start(ActorUnitCommon useCmn, Data.CharParamData useParam)
 {
     this.useUnitCmn = useCmn;
     this.useChParam = useParam;
     playEnd();
     return(true);
 }
 /// 開始
 public bool Start( ActorUnitCommon useCmn, Data.CharParamData useParam )
 {
     this.useUnitCmn    = useCmn;
     this.useChParam    = useParam;
     playEnd();
     return true;
 }
Пример #4
0
        protected bool brokenFlg;                  /// 破壊可能かのフラグ



/// 継承メソッド
///---------------------------------------------------------------------------

        /// 初期化
        public override bool Init()
        {
            unitCmnPlay = new ActorUnitCommon();

            EventCntr = new GameActorEventContainer();
            EventCntr.Init();

            Visible = false;
            return(DoInit());
        }
Пример #5
0
        /// 継承メソッド
        ///---------------------------------------------------------------------------
        /// 初期化
        public override bool Init()
        {
            unitCmnPlay = new ActorUnitCommon();

            EventCntr   = new GameActorEventContainer();
            EventCntr.Init();

            Visible          = false;
            return( DoInit() );
        }
Пример #6
0
        /// 開始
        public bool Start(ActorUnitCommon useCmn, Data.CharParamData useParam)
        {
            End();
            this.useChParam = useParam;

            playMvt    = null;
            playMvtId  = -1;
            playMvtIdx = -1;

            return(mvtActPlayer.Start(useCmn, useParam));
        }
Пример #7
0
/// 継承メソッド
///---------------------------------------------------------------------------

        /// 初期化
        public override bool Init()
        {
            unitCmnPlay = new ActorUnitCommon();
            unitCmnPlay.Init();

            moveCollMgr = new GameActorCollManager();
            moveCollMgr.Init();

            interfereCntr = new GameActorContainer();
            interfereCntr.Init();

            EventCntr = new GameActorEventContainer();
            EventCntr.Init();

            return(DoInit());
        }
Пример #8
0
        /// 破棄
        public override void Term()
        {
            DoTerm();

            if (unitCmnPlay != null)
            {
                unitCmnPlay.Term();
            }
            if (EventCntr != null)
            {
                EventCntr.Term();
            }

            EventCntr   = null;
            unitCmnPlay = null;
        }
Пример #9
0
        /// 開始
        public bool Start( ActorUnitCommon useCmn, Data.CharParamData useParam )
        {
            End();
            this.useChParam    = useParam;

            playMvt        = null;
            playMvtId      = -1;
            playMvtIdx     = -1;

            return( mvtActPlayer.Start( useCmn, useParam ) );
        }
Пример #10
0
        /// 破棄
        public override void Term()
        {
            DoTerm();

            if( moveCollMgr != null ){
            moveCollMgr.Term();
            }
            if( unitCmnPlay != null ){
            unitCmnPlay.Term();
            }
            if( EventCntr != null ){
            EventCntr.Clear();
            EventCntr.Term();
            }
            if( interfereCntr != null ){
            interfereCntr.Term();
            }

            interfereCntr = null;
            EventCntr     = null;
            moveCollMgr   = null;
            unitCmnPlay   = null;
            dmgTrgObj     = null;
        }
Пример #11
0
        /// 継承メソッド
        ///---------------------------------------------------------------------------
        /// 初期化
        public override bool Init()
        {
            unitCmnPlay = new ActorUnitCommon();
            unitCmnPlay.Init();

            moveCollMgr = new GameActorCollManager();
            moveCollMgr.Init();

            interfereCntr = new GameActorContainer();
            interfereCntr.Init();

            EventCntr = new GameActorEventContainer();
            EventCntr.Init();

            return( DoInit() );
        }
Пример #12
0
 /// 終了
 public void End()
 {
     useUnitCmn = null;
     useChParam = null;
     usePlayAct = null;
 }
Пример #13
0
        /// 破棄
        public override void Term()
        {
            DoTerm();

            if( unitCmnPlay != null ){
            unitCmnPlay.Term();
            }
            if( EventCntr != null ){
            EventCntr.Term();
            }

            EventCntr   = null;
            unitCmnPlay = null;
        }
Пример #14
0
 /// 破棄
 public void Term()
 {
     usePlayAct    = null;
     useUnitCmn    = null;
     useChParam    = null;
 }