Ejemplo n.º 1
0
 def __init__(self):
     points = [Point(0, 2), Point(1, -1), Point(0, 0), Point(-1, -1)]
     self.life = None
     self.max_life = 100
     self.damage = 10
     self.motion = Motion([0, 0])
     self.displacement = [Motion([0, 0]), Motion([0, 0])]
     Form.__init__(self, points)
Ejemplo n.º 2
0
 def __init__(self):
     points = [Point(0, 10), Point(10, -10), Point(-10, -10)]
     self.life = None
     self.max_life = 100
     self.damage = 10
     Form.__init__(self, points)