22 lines
517 B
C#
22 lines
517 B
C#
using Content.Shared.Body.Components;
|
|
using Content.Shared.DragDrop;
|
|
using Robust.Shared.GameObjects;
|
|
|
|
namespace Content.Client.Body.Components
|
|
{
|
|
[RegisterComponent]
|
|
[ComponentReference(typeof(SharedBodyComponent))]
|
|
public sealed class BodyComponent : SharedBodyComponent, IDraggable
|
|
{
|
|
bool IDraggable.CanStartDrag(StartDragDropEvent args)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
bool IDraggable.CanDrop(CanDropEvent args)
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
}
|