This commit is contained in:
sidya82
2015-01-12 16:49:41 +01:00
parent d411b7e1d1
commit 640640cab0
27 changed files with 171 additions and 111 deletions

View File

@ -1,12 +1,13 @@
from src.m.Place import Place
__author__ = 'sidya'
class Parking:
"""
Definie un parking
"""
def __init__(self, typePlaces, nom):
"""
Creer objet parking
@ -50,7 +51,7 @@ class Parking:
"""
place = None
for p in self.__Places:
if p.estLibre and p.dimValide(voiture.getHauteur, voiture.getLongueur) :
if p.estLibre and p.dimValide(voiture.getHauteur, voiture.getLongueur):
pass
place = p
break