Files
tbd-station-14/Content.Shared/Throwing/ThrowingAngleComponent.cs
metalgearsloth 321f337572 Add spear embedding (#18578)
* Add spear embedding

* fuck this copy-paste

* Juicier

* the river
2023-08-04 02:56:39 -06:00

20 lines
610 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Throwing;
/// <summary>
/// When thrown applies a specific angle to the thrown entity.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class ThrowingAngleComponent : Component
{
/// <summary>
/// Do we apply throwing spin to the entity.
/// </summary>
[ViewVariables(VVAccess.ReadWrite), DataField("angularVelocity"), AutoNetworkedField]
public bool AngularVelocity;
[ViewVariables(VVAccess.ReadWrite), DataField("angle"), AutoNetworkedField]
public Angle Angle;
}