예제 #1
0
 def __init__(self, bomb, map):
     Tile.__init__(self, None, solid=False)
     x, y = bomb.getPos()
     self.affected = calculateAffected(bomb, map)
     self.time = 0
예제 #2
0
파일: Bomb.py 프로젝트: macobo/Bomberman
 def __init__(self, x, y, player):
     Tile.__init__(self, None)
     self.x, self.y = x, y
     self.radius = player.bombRadius
     self.time = 0
     self.player = player
예제 #3
0
 def __init__(self, bomb, map):
     Tile.__init__(self, None, solid = False)
     x, y = bomb.getPos()
     self.affected = calculateAffected(bomb, map)
     self.time = 0
예제 #4
0
 def __init__(self, x, y, player):
     Tile.__init__(self, None)
     self.x, self.y = x, y
     self.radius = player.bombRadius
     self.time = 0
     self.player = player