Add spear embedding (#18578)
* Add spear embedding * fuck this copy-paste * Juicier * the river
This commit is contained in:
19
Content.Shared/Throwing/ThrowingAngleComponent.cs
Normal file
19
Content.Shared/Throwing/ThrowingAngleComponent.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user