コード例 #1
0
ファイル: CtrlStage.cs プロジェクト: hatano0x06/Coroppoxus
/// 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
ファイル: CtrlStage.cs プロジェクト: hatano0x06/Coroppoxus
        /// 破棄
        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
ファイル: CtrlStage.cs プロジェクト: hatano0x06/Coroppoxus
        /// 破棄
        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
ファイル: CtrlStage.cs プロジェクト: hatano0x06/Coroppoxus
        /// 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;
        }