예제 #1
0
        /// <summary>
        /// Rendering 초기화작업
        /// </summary>
        public void RenderInit()
        {
            DrawModelManager = new ModelManager(dx_Device);
            DrawModelManager.CreateDrawModel(dx_Device, ModelManager.ROBOT, "Robot.dds");
            DrawModelManager.CreateDrawModel(dx_Device, ModelManager.HAZARD, "Hazard.jpg");
            DrawModelManager.CreateDrawModel(dx_Device, ModelManager.COLOR, "ColorBlob.png");


            RobotObj = new DrawObj(dx_Device, ModelManager.ROBOT);

            //움직임 초기화
            RobotMover = new ModelActionController(RobotObj);

            MainCamera = new Camera(dx_Device);
            UIState    = UI_READY;
        }
        /// <summary>
        /// Rendering 초기화작업
        /// </summary>
        public void RenderInit()
        {
            DrawModelManager = new ModelManager(dx_Device);
            DrawModelManager.CreateDrawModel(dx_Device, ModelManager.ROBOT, "Robot.dds");
            DrawModelManager.CreateDrawModel(dx_Device, ModelManager.HAZARD, "Hazard.jpg");
            DrawModelManager.CreateDrawModel(dx_Device, ModelManager.COLOR, "ColorBlob.png");

            RobotObj = new DrawObj(dx_Device, ModelManager.ROBOT);

            //움직임 초기화
            RobotMover = new ModelActionController(RobotObj);

            MainCamera = new Camera(dx_Device);
            UIState = UI_READY;
        }