2022-09-11 16:49:10 +10:00
|
|
|
namespace Content.Shared.Movement.Events;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Raised to try and get any tile friction modifiers for a particular body.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ByRefEvent]
|
|
|
|
|
public struct TileFrictionEvent
|
|
|
|
|
{
|
|
|
|
|
public float Modifier;
|
|
|
|
|
|
|
|
|
|
public TileFrictionEvent(float modifier)
|
|
|
|
|
{
|
2025-05-13 05:14:18 -07:00
|
|
|
// TODO: If something ever uses different angular and linear modifiers, split this into two modifiers
|
2022-09-11 16:49:10 +10:00
|
|
|
Modifier = modifier;
|
|
|
|
|
}
|
|
|
|
|
}
|