Exemple #1
0
 def __init__(self, pos_x, pos_y):
     self.x = pos_x
     self.y = pos_y
     self.is_alive = True
     loc.add_el(self, self.x, self.y)
Exemple #2
0
 def __init__(self, pos_x, pos_y):
     self.x = pos_x
     self.y = pos_y
     loc.add_el(self, self.x, self.y)
Exemple #3
0
 def __init__(self, pos_x, pos_y):
     self.x = pos_x
     self.y = pos_y
     self.on_player = False
     loc.add_el(self, self.x, self.y)