This repository has been archived on 2021-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
2015-01-12 15:06:44 +00:00
|
|
|
import random
|
|
|
|
import string
|
2015-01-12 15:49:41 +00:00
|
|
|
|
2015-01-12 15:06:44 +00:00
|
|
|
from src.m.Voiture import Voiture
|
|
|
|
|
2015-01-12 15:49:41 +00:00
|
|
|
|
2014-12-05 14:54:04 +00:00
|
|
|
__author__ = 'sidya'
|
|
|
|
|
|
|
|
|
|
|
|
class Camera:
|
2015-01-12 15:06:44 +00:00
|
|
|
@classmethod
|
2014-12-23 18:05:26 +00:00
|
|
|
def donnerVoiture(self):
|
2015-02-04 13:20:39 +00:00
|
|
|
v = Voiture(None, None, random.randint(150, 300), random.randint(100, 200), ''.join(
|
2015-01-12 15:49:41 +00:00
|
|
|
random.choice(string.ascii_uppercase + string.ascii_lowercase + string.digits) for _ in
|
2015-01-13 23:39:12 +00:00
|
|
|
range(random.randint(1, 10))),False)
|
2014-12-23 18:05:26 +00:00
|
|
|
return v
|