예제 #1
0
        /// シーンの初期化
        public bool Init(DemoGame.SceneManager sceneMgr)
        {
            useSceneMgr = sceneMgr;

            calCollGrav = new ActorUnitCollGravity();
            calCollGrav.Init();

            moveCollMgr = new GameActorCollManager();
            moveCollMgr.Init();

            shapeMove = new ShapeSphere();
            shapeMove.Init(1);
            shapeMove.Set(0, StaticDataList.getVectorZero(), 0.001f);

            renderSph = new DemoGame.RenderGeometry();
            renderSph.MakeSphere();
///        trgObj        = null;

            /// 移動する自身のOBJを登録
            moveCollMgr.SetMoveShape(shapeMove);


            trgObjMoveSpd = 1.0f;
            setPlaceTypeParam(trgObjType);

            nowTaskId = debugMenuTaskId.SelectObj;
            changeTask(debugMenuTaskId.SelectObj);
            return(true);
        }
예제 #2
0
/// 継承メソッド
///---------------------------------------------------------------------------

        /// 初期化
        public override bool Init()
        {
            objMark = new ObjDestinationMark();
            objMark.Init();

            moveCollMgr = new GameActorCollManager();
            moveCollMgr.Init();
            return(true);
        }
예제 #3
0
        /// 継承メソッド
        ///---------------------------------------------------------------------------
        /// 初期化
        public override bool Init()
        {
            objMark = new ObjDestinationMark();
            objMark.Init();

            moveCollMgr = new GameActorCollManager();
            moveCollMgr.Init();
            return true;
        }
예제 #4
0
/// 継承メソッド
///---------------------------------------------------------------------------

        /// 初期化
        public override bool Init()
        {
            unitCmnPlay = new ActorUnitCommon();
            unitCmnPlay.Init();

            moveCollMgr = new GameActorCollManager();
            moveCollMgr.Init();

            interfereCntr = new GameActorContainer();
            interfereCntr.Init();

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

            return(DoInit());
        }
예제 #5
0
/// 継承メソッド
///---------------------------------------------------------------------------

        /// 初期化
        public override bool Init()
        {
            moveCollMgr = new GameActorCollManager();
            moveCollMgr.Init();

            interfereCntr = new GameActorContainer();
            interfereCntr.Init();

            calCollMove = new ActorUnitCollMove();
            calCollMove.Init();

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

            return(DoInit());
        }
예제 #6
0
        /// 継承メソッド
        ///---------------------------------------------------------------------------
        /// 初期化
        public override bool Init()
        {
            moveCollMgr = new GameActorCollManager();
            moveCollMgr.Init();

            interfereCntr = new GameActorContainer();
            interfereCntr.Init();

            calCollMove    = new ActorUnitCollMove();
            calCollMove.Init();

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

            return( DoInit() );
        }
예제 #7
0
        /// 継承メソッド
        ///---------------------------------------------------------------------------
        /// 初期化
        public override bool Init()
        {
            unitCmnPlay = new ActorUnitCommon();
            unitCmnPlay.Init();

            moveCollMgr = new GameActorCollManager();
            moveCollMgr.Init();

            interfereCntr = new GameActorContainer();
            interfereCntr.Init();

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

            return( DoInit() );
        }
예제 #8
0
        /// シーンの初期化
        public bool Init( DemoGame.SceneManager sceneMgr )
        {
            useSceneMgr = sceneMgr;

            calCollGrav    = new ActorUnitCollGravity();
            calCollGrav.Init();

            moveCollMgr = new GameActorCollManager();
            moveCollMgr.Init();

            shapeMove = new ShapeSphere();
            shapeMove.Init(1);
            shapeMove.Set( 0, StaticDataList.getVectorZero(), 0.001f );

            renderSph = new DemoGame.RenderGeometry();
            renderSph.MakeSphere();
            ///        trgObj        = null;

            /// 移動する自身のOBJを登録
            moveCollMgr.SetMoveShape( shapeMove );

            trgObjMoveSpd = 1.0f;
            setPlaceTypeParam( trgObjType );

            nowTaskId    = debugMenuTaskId.SelectObj;
            changeTask( debugMenuTaskId.SelectObj );
            return true;
        }