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

16 lines
372 B
C#
Raw Normal View History

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