Mod Helpers  v5.9.6
A centralized collection of library code, helpful services, and end-user functions for mod management and information.
HamstarHelpers.Helpers.Projectiles.ProjectileHelpers Class Reference

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...
 

Detailed Description

Assorted static "helper" functions pertaining to players relative to projectiles.

Definition at line 9 of file ProjectileHelpers.cs.

Member Function Documentation

◆ DrawSimple()

static void HamstarHelpers.Helpers.Projectiles.ProjectileHelpers.DrawSimple ( SpriteBatch  sb,
Projectile  proj,
Vector2  pos,
float  rot,
Color  color,
float  scale,
bool  applyZoom = false 
)
static

Draws a given projectile

Parameters
sb
proj
pos
rot
color
scale
applyZoomWhether to convert to current zoom amount of the screen.

Definition at line 22 of file ProjectileHelpers_Draw.cs.

◆ Hit()

static void HamstarHelpers.Helpers.Projectiles.ProjectileHelpers.Hit ( Projectile  projectile)
static

Applies projectile "hits", as if to make the effect of impacting something (including consuming penetrations).

Parameters
projectile

Definition at line 14 of file ProjectileHelpers.cs.


The documentation for this class was generated from the following files: