public override void AfterMoving() { // left shift old position int attackFrame = animationFrame - targetStartFrame; blurHelper.Update(projectile.Center, targetStartFrame != default && attackFrame > windupFrames); if (targetStartFrame != default && (animationFrame - targetStartFrame > framesToLiveAfterAttack || Vector2.DistanceSquared(player.Center, projectile.Center) > 1300f * 1300f)) { projectile.Kill(); } scHelper.UpdateDrawers(false, drawFuncs); }
public override void AfterMoving() { base.AfterMoving(); UpdateSmallStars(); scHelper.UpdateDrawers(false, DrawSmallStars, DrawBigStars); }
public override void AfterMoving() { scHelper.UpdateDrawers(false, DrawVines, DrawBody, DrawFoliage); }