Exemple #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 override void End()
        {
            DoEnd();

            EventCntr.Clear();
            Enable = false;
        }
        /// 破棄
        public override void Term()
        {
            DoTerm();

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

            interfereCntr = null;
            EventCntr     = null;
            moveCollMgr   = null;
            calCollMove   = null;
        }
Exemple #4
0
        /// 終了
        public override void End()
        {
            DoEnd();
            unitCmnPlay.End();

            EventCntr.Clear();

            dmgTrgObj = null;
            Enable    = false;
        }
Exemple #5
0
        /// 開始
        public override bool Start()
        {
            stateIsPlayId = StateId.Stand;
            SetStateStand();

            unitCmnPlay.Start(this, interfereCntr, moveCollMgr);
            EventCntr.Clear();

            Enable = DoStart();
            return(Enable);
        }
 /// 開始
 public override bool Start()
 {
     EventCntr.Clear();
     Enable = DoStart();
     return(Enable);
 }