TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ PostDraw()

virtual void Terraria.ModLoader.GlobalNPC.PostDraw ( NPC npc,
SpriteBatch spriteBatch,
Vector2 screenPos,
Color drawColor )
inlinevirtualinherited

Allows you to draw things in front of this NPC. Substract screenPos from the draw position before drawing. This method is called even if PreDraw returns false.

Parameters
npcThe NPC that is being drawn
spriteBatchThe spritebatch to draw on
screenPosThe screen position used to translate world position into screen position
drawColorThe color the NPC is drawn in

Definition at line 529 of file GlobalNPC.cs.

530 {
531 }