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

◆ PostDraw()

virtual void Terraria.ModLoader.ModNPC.PostDraw ( SpriteBatch spriteBatch,
Vector2 screenPos,
Color drawColor )
inlinevirtual

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
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 615 of file ModNPC.cs.

616 {
617 }