game: multiplayer: work
This commit is contained in:
@ -28,6 +28,9 @@ class Segment:
|
||||
def copy(self):
|
||||
return Segment(self.start.copy(), self.stop.copy())
|
||||
|
||||
def center(self):
|
||||
return Point((self.start.x + self.stop.x) / 2, (self.start.y + self.stop.y) / 2)
|
||||
|
||||
def to_dict(self) -> dict:
|
||||
|
||||
data: dict[str: dict] = {
|
||||
|
Reference in New Issue
Block a user