namespace Robust.Shared.Timing
{
///
/// Arguments of the GameLoop frame event.
///
public readonly struct FrameEventArgs
{
///
/// Seconds passed since this event was last called.
///
public float DeltaSeconds { get; }
///
/// Constructs an instance of this object.
///
/// Seconds passed since this event was last called.
public FrameEventArgs(float deltaSeconds)
{
DeltaSeconds = deltaSeconds;
}
}
}