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

19 lines
421 B
C#

using Robust.Shared.GameObjects;
using Robust.Shared.Physics.Components;
namespace Robust.Shared.Physics.Events;
[ByRefEvent]
public struct PreventCollideEvent
{
public PhysicsComponent BodyA;
public PhysicsComponent BodyB;
public bool Cancelled = false;
public PreventCollideEvent(PhysicsComponent ourBody, PhysicsComponent otherBody)
{
BodyA = ourBody;
BodyB = otherBody;
}
}