diff --git a/mifia.py b/mifia.py index 1bd30027..16a2fd98 100644 --- a/mifia.py +++ b/mifia.py @@ -1,12 +1,24 @@ # -*- coding: utf-8 -*- +import telegram class Player: telegramid = int() username = str() role = int() + alive = True + + def message(self, text): + """Manda un messaggio al giocatore + :param text: Testo del messaggio + """ + telegram.sendmessage(text, self.telegramid) + + def kill(self): + """Uccidi il giocatore""" + self.alive = False class Game: chat = int() - players = list() \ No newline at end of file + players = list()