Footstep sounds. (#182)
This commit is contained in:
committed by
GitHub
parent
85241a7dce
commit
f5bb790edb
12
Content.Server/GameObjects/Components/CatwalkComponent.cs
Normal file
12
Content.Server/GameObjects/Components/CatwalkComponent.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using SS14.Shared.GameObjects;
|
||||
|
||||
namespace Content.Server.GameObjects.Components
|
||||
{
|
||||
/// <summary>
|
||||
/// Literally just a marker component for footsteps for now.
|
||||
/// </summary>
|
||||
public sealed class CatwalkComponent : Component
|
||||
{
|
||||
public override string Name => "Catwalk";
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
using SS14.Server.GameObjects;
|
||||
using SS14.Shared.GameObjects;
|
||||
using SS14.Shared.Log;
|
||||
using SS14.Shared.Map;
|
||||
using SS14.Shared.Maths;
|
||||
using SS14.Shared.Serialization;
|
||||
using SS14.Shared.ViewVariables;
|
||||
@@ -45,6 +46,10 @@ namespace Content.Server.GameObjects.Components.Movement
|
||||
[ViewVariables]
|
||||
public Vector2 VelocityDir { get; private set; }
|
||||
|
||||
public GridCoordinates LastPosition { get; set; }
|
||||
|
||||
public float StepSoundDistance { get; set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void OnAdd()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user