* Pipe prototypes * PipeDirection setter * IRotatableNode * NodeContainer passes rotation events to its nodes * Removes duplicate pipe prototypes that are rotations of each other * PipeDirectionHelpers * PipeNode rotation * icon removal * Pipe icons * Icon fix * Fixes pipe sprites and icons Co-authored-by: py01 <pyronetics01@gmail.com>
17 lines
535 B
C#
17 lines
535 B
C#
using Robust.Shared.GameObjects.Components.Transform;
|
|
|
|
namespace Content.Server.GameObjects.Components.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"/>.
|
|
/// </summary>
|
|
void RotateEvent(RotateEvent ev);
|
|
}
|
|
}
|