diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2020-05-15 00:37:30 +0200 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2020-05-15 02:47:20 +0200 |
commit | 1d59a8683fa5847ccdd40b65c7bfdce5073b6a25 (patch) | |
tree | 3062c935aba0f3beaec98ebf81a1f388c7d54c24 /swiftstory/Player.py | |
parent | d01091afabaeb2665fa8773ccd37cc437230c9eb (diff) |
Don't use getters and setters because it's Python
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'swiftstory/Player.py')
-rw-r--r-- | swiftstory/Player.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/swiftstory/Player.py b/swiftstory/Player.py index 3380908..786569c 100644 --- a/swiftstory/Player.py +++ b/swiftstory/Player.py @@ -17,12 +17,6 @@ class Player: def pop_card(self, card_id): return self.cards.pop(card_id) - def get_has_played(self): - return self.has_played - - def set_has_played(self, has=True): - self.has_played = has - async def inc_score(self): self.score += 1 await self.send_notification({ |