2022-09-23 15:57:30 +12:00
|
|
|
namespace Content.Server.NodeContainer.Nodes
|
2020-10-08 09:53:56 -06:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-09-23 15:57:30 +12:00
|
|
|
/// A <see cref="Node"/> that implements this will have its <see cref="RotateNode(MoveEvent)"/> called when its
|
2020-10-08 09:53:56 -06:00
|
|
|
/// <see cref="NodeContainerComponent"/> is rotated.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IRotatableNode
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-02-09 16:10:55 +13:00
|
|
|
/// Rotates this <see cref="Node"/>. Returns true if the node's connections need to be updated.
|
2020-10-08 09:53:56 -06:00
|
|
|
/// </summary>
|
2022-09-23 15:57:30 +12:00
|
|
|
bool RotateNode(in MoveEvent ev);
|
2020-10-08 09:53:56 -06:00
|
|
|
}
|
|
|
|
|
}
|