Move movement to client.

This commit is contained in:
Pieter-Jan Briers
2019-04-04 16:18:43 +02:00
parent b8e7ae925f
commit 0fe1407214
11 changed files with 406 additions and 3 deletions

View File

@@ -47,6 +47,8 @@ using Content.Shared.Interfaces;
using SS14.Server.Interfaces.ServerStatus;
using SS14.Shared.Timing;
using Content.Server.GameObjects.Components.Destructible;
using Content.Server.GameObjects.Components.Movement;
using Content.Server.Interfaces.GameObjects.Components.Movement;
namespace Content.Server
{
@@ -143,6 +145,11 @@ namespace Content.Server
factory.RegisterIgnore("IconSmooth");
factory.RegisterIgnore("SubFloorHide");
factory.Register<PlayerInputMoverComponent>();
factory.RegisterReference<PlayerInputMoverComponent, IMoverComponent>();
factory.Register<AiControllerComponent>();
IoCManager.Register<ISharedNotifyManager, ServerNotifyManager>();
IoCManager.Register<IServerNotifyManager, ServerNotifyManager>();
IoCManager.Register<IGameTicker, GameTicker>();