mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-06 17:58:05 +02:00
I thought I'd think of something better for pathfinding but I did not.
17 lines
365 B
C#
17 lines
365 B
C#
namespace Robust.Shared.GameObjects
|
|
{
|
|
[ByRefEvent]
|
|
public readonly struct CollisionChangeEvent
|
|
{
|
|
public readonly PhysicsComponent Body;
|
|
|
|
public readonly bool CanCollide;
|
|
|
|
public CollisionChangeEvent(PhysicsComponent body, bool canCollide)
|
|
{
|
|
Body = body;
|
|
CanCollide = canCollide;
|
|
}
|
|
}
|
|
}
|