Files
RobustToolbox/Robust.Shared/Physics/PhysicsWakeEvent.cs
2022-09-14 17:23:35 +10:00

28 lines
575 B
C#

using Robust.Shared.GameObjects;
using Robust.Shared.Physics.Components;
namespace Robust.Shared.Physics
{
[ByRefEvent]
public readonly struct PhysicsWakeEvent
{
public readonly PhysicsComponent Body;
public PhysicsWakeEvent(PhysicsComponent component)
{
Body = component;
}
}
[ByRefEvent]
public readonly struct PhysicsSleepEvent
{
public readonly PhysicsComponent Body;
public PhysicsSleepEvent(PhysicsComponent component)
{
Body = component;
}
}
}