Example #1
0
/// public メソッド
///---------------------------------------------------------------------------

        /// 初期化
        public bool Init()
        {
            actorStg = new ActorStgNormal();
            actorStg.Init();

            actorDestination = new ActorDestinationMark();
            actorDestination.Init();

            calCollLook = new ActorUnitCollLook();
            calCollLook.Init();

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

            towerPos.Xyz      = StaticDataList.getVectorZero();
            effectPos.Xyz     = StaticDataList.getVectorZero();
            mode              = 0;
            TouchCount        = 0;
            MonumentSetFlag   = false;
            makeEnemyMonument = 0;

            TowerAreaNorth = -114.4f;
            TowerAreaSouth = -120.4f;
            TowerAreaEast  = 109.0f;
            TowerAreaWest  = 103.0f;

            return(true);
        }
        /// 敵の登録
        public void EntryAddDestinationMark(Vector3 pos)
        {
            ActorDestinationMark actorCh = new ActorDestinationMark();
            actorCh.Init();
            actorCh.Start();
            actorChList.Add( actorCh );

            SetPlace( (actorChList.Count-1), pos );
        }
Example #3
0
        /// 敵の登録
        public void EntryAddDestinationMark(Vector3 pos)
        {
            ActorDestinationMark actorCh = new ActorDestinationMark();

            actorCh.Init();
            actorCh.Start();
            actorChList.Add(actorCh);

            SetPlace((actorChList.Count - 1), pos);
        }
Example #4
0
        /// 破棄
        public void Term()
        {
            if (calCollLook != null)
            {
                calCollLook.Term();
            }
            if (EventCntr != null)
            {
                EventCntr.Clear();
                EventCntr.Term();
            }
            actorStg.Term();
            actorDestination.Term();

            EventCntr        = null;
            calCollLook      = null;
            actorStg         = null;
            actorDestination = null;
        }
Example #5
0
        /// 破棄
        public void Term()
        {
            if( calCollLook != null ){
            calCollLook.Term();
            }
            if( EventCntr != null ){
            EventCntr.Clear();
            EventCntr.Term();
            }
            actorStg.Term();
            actorDestination.Term();

            EventCntr		  = null;
            calCollLook       = null;
            actorStg          = null;
            actorDestination  = null;
        }
Example #6
0
        /// public メソッド
        ///---------------------------------------------------------------------------
        /// 初期化
        public bool Init()
        {
            actorStg = new ActorStgNormal();
            actorStg.Init();

            actorDestination = new ActorDestinationMark();
            actorDestination.Init();

            calCollLook    = new ActorUnitCollLook();
            calCollLook.Init();

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

            towerPos.Xyz = StaticDataList.getVectorZero();
            effectPos.Xyz = StaticDataList.getVectorZero();
            mode = 0;
            TouchCount = 0;
            MonumentSetFlag = false;
            makeEnemyMonument = 0;

            TowerAreaNorth = -114.4f;
            TowerAreaSouth = -120.4f;
            TowerAreaEast = 109.0f;
            TowerAreaWest = 103.0f;

            return true;
        }