mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-10 15:53:19 +00:00
16 lines
364 B
C#
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);
|
|||
|
}
|
|||
|
}
|