quantum-space-buddies/QSB/EchoesOfTheEye/Ghosts/Messages/SpinMessage.cs
2022-05-07 00:21:15 +01:00

16 lines
364 B
C#

using GhostEnums;
using QSB.EchoesOfTheEye.Ghosts.WorldObjects;
using QSB.Messaging;
namespace QSB.EchoesOfTheEye.Ghosts.Messages;
internal class SpinMessage : QSBWorldObjectMessage<QSBGhostController, TurnSpeed>
{
public SpinMessage(TurnSpeed turnSpeed) : base(turnSpeed) { }
public override void OnReceiveRemote()
{
WorldObject.Spin(Data, true);
}
}