コード例 #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
コード例 #2
0
 def __init__(self, actor):
     AI.__init__(self, actor)
コード例 #3
0
ファイル: base_ai.py プロジェクト: stellarlib/centaurus_old
 def __init__(self, owner):
     AI.__init__(self, owner)
コード例 #4
0
ファイル: spaceship.py プロジェクト: swetanjal/Space-Invader
 def __init__(self, gameDisplay, x, y, width=100, height=75):
     AI.__init__(self, gameDisplay, x, y, width, height, spaceship_sprite)
コード例 #5
0
 def __init__(self, actor):
     AI.__init__(self, actor)
コード例 #6
0
 def __init__(self, actor):
     AI.__init__(self, actor)
     self.hostile.add(self.game.player.id)
コード例 #7
0
ファイル: ranged_ai.py プロジェクト: stellarlib/centaurus_old
 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
ファイル: aggressiveAI.py プロジェクト: BrianMao04/PlayMatrix
 def __init__(self):
     """ () -> AggressivePongAI
     Returns an aggressive pong AI. Requires no initial
     game state information.
     """
     AI.__init__(self)