static void OnDrawBackground(Main m) { if (HookManager.GameBehaviour.PreDrawBackground(spriteBatch)) { m.RealDrawBackground(); HookManager.GameBehaviour.PostDrawBackground(spriteBatch); } }