|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinevirtual |
Allows you to draw things behind this NPC, or to modify the way this NPC is drawn. Substract screenPos from the draw position before drawing. Return false to stop the game from drawing the NPC (useful if you're manually drawing the NPC). Returns true by default.
| spriteBatch | The spritebatch to draw on |
| screenPos | The screen position used to translate world position into screen position |
| drawColor | The color the NPC is drawn in |
Definition at line 604 of file ModNPC.cs.