mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-23 00:27:50 +03:00
18 lines
491 B
C#
18 lines
491 B
C#
using Content.Shared._White.Animations;
|
|
using Content.Shared.Movement.Components;
|
|
|
|
namespace Content.Server._White.Animations;
|
|
|
|
public sealed class WaddleAnimationSystem : SharedWaddleAnimationSystem
|
|
{
|
|
protected override void PlayAnimation(EntityUid user)
|
|
{
|
|
RaiseNetworkEvent(new StartedWaddlingEvent(GetNetEntity(user)));
|
|
}
|
|
|
|
protected override void StopAnimation(EntityUid user)
|
|
{
|
|
RaiseNetworkEvent(new StoppedWaddlingEvent(GetNetEntity(user)));
|
|
}
|
|
}
|