summaryrefslogtreecommitdiff
path: root/swiftstory/Client.py
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2020-05-15 00:37:30 +0200
committerOlivier Gayot <olivier.gayot@sigexec.com>2020-05-15 02:47:20 +0200
commit1d59a8683fa5847ccdd40b65c7bfdce5073b6a25 (patch)
tree3062c935aba0f3beaec98ebf81a1f388c7d54c24 /swiftstory/Client.py
parentd01091afabaeb2665fa8773ccd37cc437230c9eb (diff)
Don't use getters and setters because it's Python
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'swiftstory/Client.py')
-rw-r--r--swiftstory/Client.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/swiftstory/Client.py b/swiftstory/Client.py
index e7c0464..bc347f9 100644
--- a/swiftstory/Client.py
+++ b/swiftstory/Client.py
@@ -27,12 +27,6 @@ class Client:
return await game.try_join(self)
- def set_game(self, game):
- self.game = game
-
- def set_player(self, player):
- self.player = player
-
async def play_white_card(self, card_id):
if self.game is None:
return error('You have to join a game first')