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