SWB/swb_shared/MovementImpact.cs

A small shared struct describing a movement impact: a velocity multiplier and a duration timer. Used by movement code to scale wish velocity for a set time.

namespace SWB.Shared;

public struct MovementImpact
{
	/// <summary>Modifies the velocity (WishVelocity *= Amount) [1 = none]</summary>
	public float Amount = 1f;
	public TimeUntil Duration = 0;

	public MovementImpact() { }
}