16 lines
321 B
C#
16 lines
321 B
C#
namespace Content.Shared.Movement.Events;
|
|
|
|
/// <summary>
|
|
/// Raised on an entity whenever it should change movement sprite
|
|
/// </summary>
|
|
[ByRefEvent]
|
|
public readonly struct SpriteMoveEvent
|
|
{
|
|
public readonly bool IsMoving = false;
|
|
|
|
public SpriteMoveEvent(bool isMoving)
|
|
{
|
|
IsMoving = isMoving;
|
|
}
|
|
}
|