예제 #1
0
 def __init__(self, *args, **kwargs):
     AI.__init__(self, *args, **kwargs)
     self.display_queue = []
     self.special_phrases = []
     self.routine = None
     self.web_output = False
     self.visited_locations = set()
     self.end_game = False
     self.verbose = False
     self.logged_input = None
     self.logged_action = None
     self.last_interrupt_request = None
 def __init__(self, actor):
     AI.__init__(self, actor)
예제 #3
0
 def __init__(self, owner):
     AI.__init__(self, owner)
예제 #4
0
 def __init__(self, gameDisplay, x, y, width=100, height=75):
     AI.__init__(self, gameDisplay, x, y, width, height, spaceship_sprite)
 def __init__(self, actor):
     AI.__init__(self, actor)
 def __init__(self, actor):
     AI.__init__(self, actor)
     self.hostile.add(self.game.player.id)
예제 #7
0
 def __init__(self, owner):
     AI.__init__(self, owner)
     self.mark = None
     self._range = 4
예제 #8
0
 def __init__(self, gameDisplay, x, y, death_time, width=100, height=75):
     AI.__init__(self, gameDisplay, x, y, width, height, alien_sprite)
     self.death_time = death_time
예제 #9
0
 def __init__(self, symbole = 'O', num_tirages_MC = 3):
     '''Créer un joueur du symbole indiqué'''
     AI.__init__(self, symbole)
     self.num_tirages_MC = num_tirages_MC
예제 #10
0
 def __init__(self):
     """ () -> AggressivePongAI
     Returns an aggressive pong AI. Requires no initial
     game state information.
     """
     AI.__init__(self)