mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
28 lines
575 B
C#
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;
|
|
}
|
|
}
|
|
}
|