コード例 #1
0
        /// 破棄
        public void Term()
        {
            GameCtrlDrawManager.GetInstance().Term();

            ctrlPl.Term();
            ctrlHobit.Term();
            ctrlTo.Term();
            ctrlWall.Term();
            ctrlCam.Term();
            ctrlStg.Term();
            ctrlEffect.Term();
            ctrlEvent.Term();
            ctrlDesMark.Term();
            ctrlHouse.Term();
            ctrlMo.Term();

            ctrlPl      = null;
            ctrlHobit   = null;
            ctrlTo      = null;
            ctrlWall    = null;
            ctrlCam     = null;
            ctrlStg     = null;
            ctrlEffect  = null;
            ctrlEvent   = null;
            ctrlDesMark = null;
            ctrlHouse   = null;
            ctrlMo      = null;
            graphDev    = null;
        }
コード例 #2
0
        /// 破棄
        public void Term()
        {
            GameCtrlDrawManager.GetInstance().Term();

            ctrlPl.Term();
            ctrlHobit.Term();
            ctrlTo.Term();
            ctrlWall.Term();
            ctrlCam.Term();
            ctrlStg.Term();
            ctrlEffect.Term();
            ctrlEvent.Term();
            ctrlDesMark.Term();
            ctrlHouse.Term();
            ctrlMo.Term();

            ctrlPl        = null;
            ctrlHobit        = null;
            ctrlTo        = null;
            ctrlWall      = null;
            ctrlCam       = null;
            ctrlStg       = null;
            ctrlEffect    = null;
            ctrlEvent     = null;
            ctrlDesMark	  = null;
            ctrlHouse	  = null;
            ctrlMo		  = null;
            graphDev      = null;
        }
コード例 #3
0
        /// public メソッド
        ///---------------------------------------------------------------------------
        /// 初期化
        public bool Init()
        {
            ctrlPl = new CtrlPlayer();
            ctrlPl.Init();

            ctrlHobit = new CtrlHobit();
            ctrlHobit.Init();

            ctrlTo = new CtrlTower();
            ctrlTo.Init();

            ctrlWall = new CtrlWall();
            ctrlWall.Init();

            ctrlCam = new CtrlCamera();
            ctrlCam.Init();

            ctrlStg = new CtrlStage();
            ctrlStg.Init();

            ctrlEffect = new CtrlEffect();
            ctrlEffect.Init();

            ctrlEvent = new CtrlEvent();
            ctrlEvent.Init();

            ctrlDesMark = new CtrlDestinationMark();
            ctrlDesMark.Init();

            ctrlHouse = new CtrlHouse();
            ctrlHouse.Init();

            ctrlMo = new CtrlMonument();
            ctrlMo.Init();

            GameCtrlDrawManager.GetInstance().Init();

            EnemyNumber = 0;
            HouseNumber = 0;
            TowerNumber = 0;
            WallNumber = 0;
            MonumentNumber = 0;
            EnemyDrawFlag = false;
            TowerDrawFlag = false;
            WallDrawFlag = false;
            HouseDrawFlag = false;
            EatingFlag = false;
            MonumentDrawFlag = false;
            EatCharNumber = 0;

            AddEnemyFromMo = false;
            AddHouseFromMo = false;
            changePlAni = false;
            changePlMode = false;
            eatingBoss = false;
            AddEnemyFromNecro = false;
            battleStartFlag = false;
            AddEffectFromEnemy = false;
            AddTower = false;

            ZonbiNumber = 30;

            EnemyMoPos = new Vector3(-70.0f, 45.0f, 65.0f);

            countTime = 0;
            SortNumber = 0;
            nowFps = 0.0f;

            EatingNow = false;
            EatingCount = 0;
            EatingStart = 20;

            return true;
        }
コード例 #4
0
/// public メソッド
///---------------------------------------------------------------------------

        /// 初期化
        public bool Init()
        {
            ctrlPl = new CtrlPlayer();
            ctrlPl.Init();

            ctrlHobit = new CtrlHobit();
            ctrlHobit.Init();

            ctrlTo = new CtrlTower();
            ctrlTo.Init();

            ctrlWall = new CtrlWall();
            ctrlWall.Init();

            ctrlCam = new CtrlCamera();
            ctrlCam.Init();

            ctrlStg = new CtrlStage();
            ctrlStg.Init();

            ctrlEffect = new CtrlEffect();
            ctrlEffect.Init();

            ctrlEvent = new CtrlEvent();
            ctrlEvent.Init();

            ctrlDesMark = new CtrlDestinationMark();
            ctrlDesMark.Init();

            ctrlHouse = new CtrlHouse();
            ctrlHouse.Init();

            ctrlMo = new CtrlMonument();
            ctrlMo.Init();

            GameCtrlDrawManager.GetInstance().Init();

            EnemyNumber      = 0;
            HouseNumber      = 0;
            TowerNumber      = 0;
            WallNumber       = 0;
            MonumentNumber   = 0;
            EnemyDrawFlag    = false;
            TowerDrawFlag    = false;
            WallDrawFlag     = false;
            HouseDrawFlag    = false;
            EatingFlag       = false;
            MonumentDrawFlag = false;
            EatCharNumber    = 0;

            AddEnemyFromMo     = false;
            AddHouseFromMo     = false;
            changePlAni        = false;
            changePlMode       = false;
            eatingBoss         = false;
            AddEnemyFromNecro  = false;
            battleStartFlag    = false;
            AddEffectFromEnemy = false;
            AddTower           = false;

            ZonbiNumber = 30;

            EnemyMoPos = new Vector3(-70.0f, 45.0f, 65.0f);

            countTime  = 0;
            SortNumber = 0;
            nowFps     = 0.0f;

            EatingNow   = false;
            EatingCount = 0;
            EatingStart = 20;

            return(true);
        }