示例#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);
        }
示例#2
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;
        }
示例#3
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;
        }
示例#4
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;
        }