Skip to content
Snippets Groups Projects
Commit 74972165 authored by diallo's avatar diallo
Browse files

Mise à jour des fonctions dans Plateau et Véhicule

parent d21a8771
No related branches found
No related tags found
No related merge requests found
...@@ -4,18 +4,14 @@ class Plateau(): ...@@ -4,18 +4,14 @@ class Plateau():
Exemple(s) : Exemple(s) :
$$$ $$$
""" """
<<<<<<< HEAD
def __init__(self): def __init__(self):
=======
def __init__(self,taille:int,liste_vehicule:list[str]):
>>>>>>> 64ce4a778c741cb9288abea096edc173efe02ad2
""" Initialise le plateau de la grille """ Initialise le plateau de la grille
Précondition : Précondition :
Exemple(s) : Exemple(s) :
$$$ $$$
""" """
<<<<<<< HEAD
self.taille=(6,6) self.taille=(6,6)
self.liste_vehicule=[] self.liste_vehicule=[]
GRILLE_VIDE=[[' ',' ',' ',' ',' ',' ',' '],[' ',' ',' ',' ',' ',' ',' '],[' ',' ',' ',' ',' ',' ',' '],[' ',' ',' ',' ',' ',' ',' '],[' ',' ',' ',' ',' ',' ',' '],[' ',' ',' ',' ',' ',' ',' ']] GRILLE_VIDE=[[' ',' ',' ',' ',' ',' ',' '],[' ',' ',' ',' ',' ',' ',' '],[' ',' ',' ',' ',' ',' ',' '],[' ',' ',' ',' ',' ',' ',' '],[' ',' ',' ',' ',' ',' ',' '],[' ',' ',' ',' ',' ',' ',' ']]
...@@ -91,11 +87,6 @@ class Plateau(): ...@@ -91,11 +87,6 @@ class Plateau():
return False return False
=======
self.taille=taille
self.liste_vehicule=liste_vehicule
def __initialiser_grille__(
>>>>>>> 64ce4a778c741cb9288abea096edc173efe02ad2
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment