示例#1
0
        internal static void OnDrawPlayer(Main m, Player p, Vector2 pos, float r, Vector2 o, float shadow)
        {
            var bh = p.P_BHandler as PlayerBHandler;

            if (bh != null)
                bh.PreDraw(Main.spriteBatch);

            m.RealDrawPlayer(p, pos, r, o, shadow);

            if (bh != null)
                bh.PostDraw(Main.spriteBatch);
        }