mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
20 lines
442 B
C#
20 lines
442 B
C#
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Physics.Components;
|
|
|
|
namespace Robust.Shared.Physics.Events
|
|
{
|
|
[ByRefEvent]
|
|
public readonly struct CollisionChangeEvent
|
|
{
|
|
public readonly PhysicsComponent Body;
|
|
|
|
public readonly bool CanCollide;
|
|
|
|
public CollisionChangeEvent(PhysicsComponent body, bool canCollide)
|
|
{
|
|
Body = body;
|
|
CanCollide = canCollide;
|
|
}
|
|
}
|
|
}
|