L3-Bataille-Navale/source/network/packet/PacketBoatPlaced.py

19 lines
362 B
Python

from dataclasses import dataclass
from source.network.packet.abc import Packet
@dataclass
class PacketBoatPlaced(Packet):
"""
A packet that signal that all the boat of the player have been placed
"""
packet_size: int = 0
def to_bytes(self):
return b""
@classmethod
def from_bytes(cls, data: bytes):
return cls()