Exemplo n.º 1
0
 /// <summary>Runs once at the beginning of <see cref="DyingTime"/>.
 /// By default, it shoots outward according to <see cref="DyingSpeed"/>.</summary>
 public virtual void DyingFirstTick()
 {
     Projectile.velocity = RelativePosition.OfLength(DyingSpeed);
 }
Exemplo n.º 2
0
 /// <summary>Moves the orbital relative to the player and at the given distance.</summary>
 public void SetDistance(float newDistance)
 {
     SetPosition(RelativePosition.OfLength(newDistance));
 }