|
Mod Helpers
v5.9.6
A centralized collection of library code, helpful services, and end-user functions for mod management and information.
|
Assorted static "helper" functions pertaining to players relative to projectiles. More...
Static Public Member Functions | |
| static void | Hit (Projectile projectile) |
| Applies projectile "hits", as if to make the effect of impacting something (including consuming penetrations). More... | |
| static void | DrawSimple (SpriteBatch sb, Projectile proj, Vector2 pos, float rot, Color color, float scale, bool applyZoom=false) |
| Draws a given projectile More... | |
Assorted static "helper" functions pertaining to players relative to projectiles.
Definition at line 9 of file ProjectileHelpers.cs.
|
static |
Draws a given projectile
| sb | |
| proj | |
| pos | |
| rot | |
| color | |
| scale | |
| applyZoom | Whether to convert to current zoom amount of the screen. |
Definition at line 22 of file ProjectileHelpers_Draw.cs.
|
static |
Applies projectile "hits", as if to make the effect of impacting something (including consuming penetrations).
| projectile |
Definition at line 14 of file ProjectileHelpers.cs.