Commit 1a130c0a authored by Pauline LEYRIT's avatar Pauline LEYRIT
Browse files

boite de dialogue + vainqueurs

parent 87259520
This diff is collapsed.
......@@ -59,10 +59,12 @@ class Montagne(Piece):
"""
classe spécifiant Piece pour représenter une montagne
"""
nb_mont = 0
def __init__(self, abscisse, ordonnee, orientation, plateau):
super().__init__(abscisse, ordonnee, orientation, plateau)
self.nom = str(self.car())
self.numero = Montagne.nb_mont
Montagne.nb_mont += 1
def car(self):
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment