summaryrefslogtreecommitdiff
path: root/swiftstory/Client.py
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2020-05-15 00:32:45 +0200
committerOlivier Gayot <olivier.gayot@sigexec.com>2020-05-15 02:47:20 +0200
commitd01091afabaeb2665fa8773ccd37cc437230c9eb (patch)
treef9a77b343b43172beda9de61c40e2b80dc193d92 /swiftstory/Client.py
parent638af2c54513a928e6fe82bcb2932c09da6931b2 (diff)
Add cosmetic changes
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'swiftstory/Client.py')
-rw-r--r--swiftstory/Client.py4
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