You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
401 B

class FenetreCombat():
def __init__(self, nom, texte_de_presentation):
"""initialise une interface pour un combat"""
self.texte_de_presentation = texte_de_presentation
self.instructions()
def instructions(self):
print(texte_de_presentation)
def affiche_fichier(path):
with open(path, 'r') as file:
for line in file:
print(line)