Archived
This commit is contained in:
+2
-1
@@ -30,7 +30,7 @@ class Player(Serializable):
|
||||
game: "Game"
|
||||
turn: Turn
|
||||
|
||||
ready: bool = False
|
||||
ready: bool
|
||||
|
||||
def __init__(self, game: "Game", username: str, team: Team) -> None:
|
||||
super().__init__()
|
||||
@@ -42,6 +42,7 @@ class Player(Serializable):
|
||||
self.team = team
|
||||
self.username = username
|
||||
self.turn = Turn(self)
|
||||
self.ready = False
|
||||
|
||||
def serialize_guest(self) -> dict:
|
||||
"""Get data available to the public"""
|
||||
|
||||
Reference in New Issue
Block a user