mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
27 lines
702 B
C#
27 lines
702 B
C#
using Robust.Shared.GameObjects;
|
|
|
|
namespace Robust.Shared.Physics
|
|
{
|
|
/// <summary>
|
|
/// Stores the broadphase structure for the relevant grid / map.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed class BroadphaseComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Stores all non-static bodies.
|
|
/// </summary>
|
|
public IBroadPhase DynamicTree = default!;
|
|
|
|
/// <summary>
|
|
/// Stores all static bodies.
|
|
/// </summary>
|
|
public IBroadPhase StaticTree = default!;
|
|
|
|
/// <summary>
|
|
/// Stores all entities not in another tree.
|
|
/// </summary>
|
|
public DynamicTree<EntityUid> SundriesTree = default!;
|
|
}
|
|
}
|