Beispiel #1
0
        protected override void UnloadContent()
        {
            if (audio != null)
            {
                //audio.Pause();
                audio.Dispose();
            }

            skeletonMeshRenderer.End();

            _DxDeviceManager.EndDraw();
            _DxDeviceManager.Dispose();


            mapObjects_NPCs.Clear();
            mapObjects_Mobs.Clear();
            mapObjects_Reactors.Clear();
            mapObjects_Portal.Clear();

            backgrounds_front.Clear();
            backgrounds_back.Clear();

            texturePool.Dispose();

            // clear prior mirror bottom boundary
            rect_mirrorBottom      = new Rectangle();
            mirrorBottomReflection = null;
        }
        protected override void UnloadContent()
        {
            // TODO: Unload any non ContentManager content here
            skeletonRenderer.End();

            graphicsDeviceMgr.EndDraw();
            graphicsDeviceMgr.Dispose();
            graphicsDeviceMgr = null;
        }
        protected override void UnloadContent()
        {
            // TODO: Unload any non ContentManager content here
            graphicsDeviceMgr.EndDraw();
            graphicsDeviceMgr.Dispose();
            graphicsDeviceMgr = null;

            dxDrawableItem = null;
        }
Beispiel #4
0
        protected override void UnloadContent()
        {
            if (audio != null)
            {
                //audio.Pause();
                audio.Dispose();
            }

            skeletonMeshRenderer.End();

            _DxDeviceManager.EndDraw();
            _DxDeviceManager.Dispose();
        }
        protected override void UnloadContent()
        {
            if (audio != null)
            {
                //audio.Pause();
                audio.Dispose();
            }

            skeletonMeshRenderer.End();

            _DxDeviceManager.EndDraw();
            _DxDeviceManager.Dispose();


            mapObjects_NPCs.Clear();
            mapObjects_Mobs.Clear();
            mapObjects_Reactors.Clear();
            mapObjects_Portal.Clear();

            backgrounds_front.Clear();
            backgrounds_back.Clear();

            texturePool.Dispose();
        }
Beispiel #6
0
 public void endDraw()
 {
     m_spriteBatch.End();
     m_graphics.EndDraw();
 }