Changes resulting from merging Client and Server PhysicsComponent.

This commit is contained in:
Acruid
2020-07-01 12:03:19 -07:00
parent b807b9e7ee
commit f0561d8d95
14 changed files with 25 additions and 56 deletions

View File

@@ -1,3 +1,4 @@
using Robust.Shared.GameObjects.Components;
using Robust.Shared.Interfaces.Physics;
using Robust.Shared.IoC;
using Robust.Shared.Maths;
@@ -9,7 +10,7 @@ namespace Content.Shared.Physics
public class ThrowController: VirtualController
{
private float _throwTime;
private SharedPhysicsComponent _component;
private PhysicsComponent _component;
public const float DefaultThrowTime = 0.25f;
@@ -19,7 +20,7 @@ namespace Content.Shared.Physics
set => _throwTime = value;
}
public override SharedPhysicsComponent ControlledComponent
public override PhysicsComponent ControlledComponent
{
set => _component = value;
}