Move physics fixtures to its own component (#2220)

This commit is contained in:
metalgearsloth
2021-12-01 12:59:42 +11:00
committed by GitHub
parent d157aab786
commit ebc0fc9c60
30 changed files with 618 additions and 537 deletions

View File

@@ -113,6 +113,16 @@ namespace Robust.UnitTesting
compFactory.RegisterClass<PhysicsMapComponent>();
}
if (!compFactory.AllRegisteredTypes.Contains(typeof(BroadphaseComponent)))
{
compFactory.RegisterClass<BroadphaseComponent>();
}
if (!compFactory.AllRegisteredTypes.Contains(typeof(FixturesComponent)))
{
compFactory.RegisterClass<FixturesComponent>();
}
if(entMan.EventBus == null)
{
entMan.Startup();