Files
tbd-station-14/Content.Server/NodeContainer/Nodes/IRotatableNode.cs
2022-02-09 14:10:55 +11:00

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);
}
}