Files
RobustToolbox/Robust.Client/Placement/PlacementHijack.cs
Acruid 2183cd7ca1 Massive Namespace Cleanup (#1544)
* Removed the Interfaces folder.
* All objects inside the GameObjects subfolders are now in the GameObjects namespace.
* Added a Resharper DotSettings file to mark the GameObjects subfolders as not providing namespaces.
* Simplified Robust.client.Graphics namespace.
* Automated remove redundant using statements.
2021-02-10 23:27:19 -08:00

32 lines
746 B
C#

using Robust.Shared.GameObjects;
using Robust.Shared.Map;
namespace Robust.Client.Placement
{
public 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(IEntity entity)
{
return false;
}
public virtual void StartHijack(PlacementManager manager)
{
Manager = manager;
}
}
}