using Robust.Shared.GameStates; namespace Content.Shared.Rotatable; /// /// Allows an entity to be rotated by using a verb. /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState] public sealed partial class RotatableComponent : Component { /// /// If true, this entity can be rotated even while anchored. /// [DataField, AutoNetworkedField] public bool RotateWhileAnchored; /// /// If true, will rotate entity in players direction when pulled /// [DataField, AutoNetworkedField] public bool RotateWhilePulling = true; /// /// The angular value to change when using the rotate verbs. /// [DataField, AutoNetworkedField] public Angle Increment = Angle.FromDegrees(90); }