/// <summary> /// 繪製畫面 /// </summary> protected void Drawing() { BufferGraphics.Clear(Color.White); OnBeforeDraw(BufferGraphics); EffectObjects.AllDoBeforeDraw(BufferGraphics); EffectObjects.AllDoBeforeDrawFloor(BufferGraphics); OnDrawFloor(BufferGraphics); EffectObjects.AllDoBeforeDrawObject(BufferGraphics); GameObjects.AllDrawSelf(BufferGraphics); OnBeforeDrawUI(BufferGraphics); EffectObjects.AllDoBeforeDrawUI(BufferGraphics); UIObjects.AllDrawSelf(BufferGraphics); OnAfterDrawUI(BufferGraphics); EffectObjects.AllDoAfterDraw(BufferGraphics); OnAfterDrawReset(BufferGraphics); OnAfterDraw(BufferGraphics); ThisGraphics.DrawImageUnscaled(BufferImage, 0, 0); }