Pipe prototypes (#2124)
* 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>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user