* Enable nullability in Content.Client * Remove #nullable enable * Merge fixes * Remove Debug.Assert * Merge fixes * Fix build * Fix build
22 lines
553 B
C#
22 lines
553 B
C#
using Content.Shared.GameObjects.Components.Body;
|
|
using Content.Shared.Interfaces.GameObjects.Components;
|
|
using Robust.Shared.GameObjects;
|
|
|
|
namespace Content.Client.GameObjects.Components.Body
|
|
{
|
|
[RegisterComponent]
|
|
[ComponentReference(typeof(IBody))]
|
|
public class BodyComponent : SharedBodyComponent, IDraggable
|
|
{
|
|
bool IDraggable.CanStartDrag(StartDragDropEventArgs args)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
bool IDraggable.CanDrop(CanDropEventArgs args)
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
}
|