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

◆ Resize()

void Terraria.Projectile.Resize ( int newWidth,
int newHeight )
inline

Definition at line 18707 of file Projectile.cs.

18708 {
18709 position = base.Center;
18710 width = newWidth;
18711 height = newHeight;
18712 base.Center = position;
18713 }
Vector2 position
Definition Entity.cs:14

References Terraria.Entity.height, Terraria.Entity.position, and Terraria.Entity.width.