This commit is contained in:
sidya82
2015-02-04 14:20:39 +01:00
parent bf06106e04
commit 952b215c0c
34 changed files with 1301 additions and 586 deletions

View File

@@ -6,13 +6,16 @@ __author__ = 'sidya'
class Teleporteur:
@staticmethod
def teleporterVoiture(voiture, place):
p = Placement(None,voiture, place,None,None)
p = Placement(None,voiture, place)
place.prendre()
return p.id
@staticmethod
def teleporterVoitureSuperAbonne(voiture):
pass
def teleporterVoitureSuperAbonne(voiture, parking):
place = parking.addPlaceSuperAbo()
p = Placement(None, voiture, place)
return p.id
@staticmethod
def teleporterVersSortie(placement):
placement.end()
placement.end()