Exemplo n.º 1
0
	def updateObjects():
		#print 'updating objects'
		#print box1.getCollision()[0]
		for objectToUpdate in WorldData.getObjectList():
			objectToUpdate.update()
Exemplo n.º 2
0
	def drawObjects():
		#print 'drawing objects'
		
		for objectToDraw in WorldData.getObjectList(): 
			w.create_image(objectToDraw.getX(), objectToDraw.getY(), image = objectToDraw.getDraw())