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