From d01091afabaeb2665fa8773ccd37cc437230c9eb Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 15 May 2020 00:32:45 +0200 Subject: Add cosmetic changes Signed-off-by: Olivier Gayot --- swiftstory/Client.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'swiftstory/Client.py') 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 -- cgit v1.2.3