mine2d/Mine2d/game/backend/network/packets/BreakPacket.cs

17 lines
321 B
C#

namespace Mine2d.game.backend.network.packets;
public enum BreakSource
{
Move,
Click
}
public class BreakPacket : Packet
{
public override PacketType Type => PacketType.Break;
public Guid PlayerGuid { get; init; }
public Vector2 Target { get; init; }
public BreakSource Source { get; init; }
}