Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Théo BOUTEMY
siam
Commits
1a130c0a
Commit
1a130c0a
authored
May 31, 2021
by
Pauline LEYRIT
Browse files
boite de dialogue + vainqueurs
parent
87259520
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
appli2.py
View file @
1a130c0a
This diff is collapsed.
Click to expand it.
pieces.py
View file @
1a130c0a
...
...
@@ -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
):
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment