コード例 #1
0
        public void Draw()
        {
            blurEffect.WriteRenderTarget(renderer.FogManager.CurrentColor());
            switch (nextScene)               //背景は前のシーンを描画
            {
            case SceneType.Dungeon:
                dungeonScene.Draw();
                break;

            case SceneType.Town:
                townScene.Draw();
                break;

            case SceneType.Boss:
                bossScene.Draw();
                break;
            }
            blurEffect.ReleaseRenderTarget();
            blurEffect.Draw(renderer);


            renderer.Begin();

            ui.Draw();

            renderer.End();
        }