mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
* 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.
32 lines
746 B
C#
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;
|
|
}
|
|
}
|
|
}
|