Jumpability collisions (#39710)
This commit is contained in:
16
Content.Shared/Movement/Components/ActiveLeaperComponent.cs
Normal file
16
Content.Shared/Movement/Components/ActiveLeaperComponent.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Movement.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Marker component given to the users of the <see cref="JumpAbilityComponent"/> if they are meant to collide with environment.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
||||
public sealed partial class ActiveLeaperComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The duration to stun the owner on collide with environment.
|
||||
/// </summary>
|
||||
[DataField, AutoNetworkedField]
|
||||
public TimeSpan KnockdownDuration;
|
||||
}
|
||||
Reference in New Issue
Block a user