* Doors WiP * Kinda seem to work now? * Finished * Oh yeah maybe enable that. * It works except it doesn't * Undo formatting changes * BuildChecker too
29 lines
860 B
C#
29 lines
860 B
C#
using Content.Client.GameObjects;
|
|
using Content.Client.Interfaces.GameObjects;
|
|
using SS14.Shared.ContentPack;
|
|
using SS14.Shared.Interfaces.GameObjects;
|
|
using SS14.Shared.IoC;
|
|
|
|
namespace Content.Client
|
|
{
|
|
public class EntryPoint : GameClient
|
|
{
|
|
public override void Init()
|
|
{
|
|
var factory = IoCManager.Resolve<IComponentFactory>();
|
|
|
|
factory.RegisterIgnore("Inventory");
|
|
factory.RegisterIgnore("Item");
|
|
factory.RegisterIgnore("Interactable");
|
|
factory.RegisterIgnore("Damageable");
|
|
factory.RegisterIgnore("Destructible");
|
|
factory.RegisterIgnore("Temperature");
|
|
|
|
factory.Register<HandsComponent>();
|
|
factory.RegisterReference<HandsComponent, IHandsComponent>();
|
|
|
|
factory.Register<ClientDoorComponent>();
|
|
}
|
|
}
|
|
}
|