2021-02-11 01:13:03 -08:00
|
|
|
|
using Robust.Shared.GameObjects;
|
2020-10-08 09:53:56 -06:00
|
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
|
namespace Content.Server.NodeContainer.Nodes
|
2020-10-08 09:53:56 -06:00
|
|
|
|
{
|
|
|
|
|
|
/// <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>
|
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-02-09 16:10:55 +13:00
|
|
|
|
bool RotateEvent(ref RotateEvent ev);
|
2020-10-08 09:53:56 -06:00
|
|
|
|
}
|
|
|
|
|
|
}
|