mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 14:52:35 +02:00
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
32 lines
757 B
C#
32 lines
757 B
C#
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Map;
|
|
|
|
namespace Robust.Client.Placement
|
|
{
|
|
public abstract class PlacementHijack
|
|
{
|
|
public PlacementManager Manager { get; internal set; } = default!;
|
|
public virtual bool CanRotate { get; } = true;
|
|
|
|
public virtual bool HijackPlacementRequest(EntityCoordinates coordinates)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public virtual bool HijackDeletion(EntityCoordinates coordinates)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public virtual bool HijackDeletion(EntityUid entity)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public virtual void StartHijack(PlacementManager manager)
|
|
{
|
|
Manager = manager;
|
|
}
|
|
}
|
|
}
|