mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 13:37:47 +03:00
15 lines
510 B
C#
15 lines
510 B
C#
namespace Content.Server.NodeContainer.Nodes
|
|
{
|
|
/// <summary>
|
|
/// A <see cref="Node"/> that implements this will have its <see cref="RotateNode(MoveEvent)"/> 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 RotateNode(in MoveEvent ev);
|
|
}
|
|
}
|