quantum-space-buddies/QSB/EchoesOfTheEye/Ghosts/Messages/SpinMessage.cs

16 lines
364 B
C#
Raw Normal View History

2022-05-06 23:21:15 +00:00
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);
}
}