diff options
Diffstat (limited to 'swiftstory/Client.py')
-rw-r--r-- | swiftstory/Client.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/swiftstory/Client.py b/swiftstory/Client.py index b13e68b..e7c0464 100644 --- a/swiftstory/Client.py +++ b/swiftstory/Client.py @@ -3,7 +3,8 @@ import websockets from swiftstory.Status import error from swiftstory.Game import Game -class Client(): + +class Client: def __init__(self, socket, game_manager): self.game = None self.game_manager = game_manager @@ -28,6 +29,7 @@ class Client(): def set_game(self, game): self.game = game + def set_player(self, player): self.player = player |