Exemplo n.º 1
0
	def __init__(self,engine,posinit):
		EngineObjectCircle.__init__(self,
			engine			= engine,
			colltype		= COLLTYPE_WALL,
			posinit			= posinit,
			mass			= MASS_INF,
			color			=  "white",
			radius			= mm_to_px(200)
		)
Exemplo n.º 2
0
	def __init__(self,engine,posinit, team):
		EngineObjectCircle.__init__(self,
			engine			= engine,
			colltype		= COLLTYPE_DEFAULT,
			posinit			= posinit,
			color 			= "orange" if team == RED else "green",
			mass 			= 800,
			radius			= mm_to_px(11)
		)
Exemplo n.º 3
0
	def __init__(self,engine,posinit, color = "black"):
		EngineObjectCircle.__init__(self,
			engine			= engine,
			colltype		= COLLTYPE_VERRE,
			posinit			= posinit,
			color			= color,
			mass			= 60,
			radius			= mm_to_px(40),
		)
Exemplo n.º 4
0
 def __init__(self, engine, posinit):
     EngineObjectCircle.__init__(self,
                                 engine=engine,
                                 colltype=COLLTYPE_FOYER,
                                 posinit=posinit,
                                 color="brown",
                                 mass=MASS_INF,
                                 radius=mm_to_px(150),
                                 layers=1)
     self.__nbFeu = 0
Exemplo n.º 5
0
	def __init__(self,engine,posinit):
		EngineObjectCircle.__init__(self,
			engine			= engine,
			colltype		= COLLTYPE_FOYER,
			posinit			= posinit,
			color			= "brown",
			mass 			= MASS_INF,
			radius			= mm_to_px(150),
			layers			= 1
		)
		self.__nbFeu = 0
Exemplo n.º 6
0
 def __init__(self, engine, posinit):
     EngineObjectCircle.__init__(self,
                                 engine=engine,
                                 colltype=COLLTYPE_TORCHE,
                                 posinit=posinit,
                                 color="brown",
                                 mass=500,
                                 radius=mm_to_px(80))
     self.__nbr_feu = 3
     self.__ordre_feu = []
     if posinit[0] == 225:
         #print('torche rouge')
         self.__ordre_feu = ['R', 'Y', 'R']
     elif posinit[0] == 525:
         #print('torche jaune')
         self.__ordre_feu = ['Y', 'R', 'Y']
Exemplo n.º 7
0
	def __init__(self,engine,posinit):
		EngineObjectCircle.__init__(self,
			engine			= engine,
			colltype		= COLLTYPE_TORCHE,
			posinit			= posinit,
			color			= "brown",
			mass 			= 500,
			radius			= mm_to_px(80)
		)
		self.__nbr_feu = 3
		self.__ordre_feu = []
		if posinit[0] == 225:
			#print('torche rouge')
			self.__ordre_feu = ['R','Y','R']
		elif posinit[0] == 525:
			#print('torche jaune')
			self.__ordre_feu = ['Y','R','Y']