示例#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