Exemplo n.º 1
0
 def shot(self):
     Avatar.shot(self)
     self.behaviour = self.behaviours['evade']
     self.behaviour_type = 'evade'
     if self.power <= 0.0:
         if env.sound:
             self.sound['explode'].play()
         self.kill()
Exemplo n.º 2
0
Arquivo: bot.py Projeto: jggatc/nexus
 def shot(self):
     Avatar.shot(self)
     self.behaviour = self.behaviours['evade']
     self.behaviour_type = 'evade'
     if self.power <= 0.0:
         if env.sound:
             self.sound['explode'].play()
         self.kill()