mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 00:27:59 +00:00
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
17 lines
554 B
C#
17 lines
554 B
C#
using Robust.Shared.GameObjects;
|
|
|
|
namespace Content.Server.NodeContainer.Nodes
|
|
{
|
|
/// <summary>
|
|
/// A <see cref="Node"/> that implements this will have its <see cref="RotateEvent(RotateEvent)"/> called when its
|
|
/// <see cref="NodeContainerComponent"/> is rotated.
|
|
/// </summary>
|
|
public interface IRotatableNode
|
|
{
|
|
/// <summary>
|
|
/// Rotates this <see cref="Node"/>. Returns true if the node's connections need to be updated.
|
|
/// </summary>
|
|
bool RotateEvent(ref RotateEvent ev);
|
|
}
|
|
}
|