quantum-space-buddies/QSB/JellyfishSync/Messages/JellyfishRisingMessage.cs

14 lines
333 B
C#
Raw Normal View History

2021-12-24 16:47:10 -08:00
using QSB.JellyfishSync.WorldObjects;
using QSB.Messaging;
namespace QSB.JellyfishSync.Messages
{
public class JellyfishRisingMessage : QSBBoolWorldObjectMessage<QSBJellyfish>
{
public JellyfishRisingMessage(bool isRising) => Value = isRising;
public override void OnReceiveRemote() => WorldObject.IsRising = Value;
}
}