public void DrawPathfinderOutline(SpriteBatch spriteBatch) { //Draw the bloom effect for the head in addition Texture2D headTex = Main.projectileTexture[Head.type]; PathfinderOutlineDraw.DrawAfterImage(spriteBatch, headTex, Head.Center, Head.DrawFrame(), Vector2.Zero, Head.Opacity, Head.rotation, Head.scale, Head.DrawFrame().Size() / 2, (Head.spriteDirection < 0) ? SpriteEffects.FlipHorizontally : SpriteEffects.None); PathfinderOutlineDraw.DrawAfterImage(spriteBatch, npc, npc.frame, Vector2.Zero, npc.frame.Size() / 2); }
public void DrawPathfinderOutline(SpriteBatch spriteBatch) => PathfinderOutlineDraw.DrawAfterImage(spriteBatch, npc, npc.frame, Vector2.Zero, npc.frame.Size() / 2);