mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
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;
|
|
}
|
|
}
|
|
}
|