示例#1
0
    def __init__(self, run_number, game_map):
        self.p = [random.randint(0, GAME_CONF.FIELD_SIZE - 1) for _ in range(2)]
        self.run_number = run_number
        self.game_map = game_map
        self.send_to_bot(CM.pack_init(run_number, game_map, self))

        self.time_frame = 1
        self.silly_inner_gen = self.silly_inner_generator()
示例#2
0
 def send_init(self):
     self.sender.send(CM.pack_init(self.run_number, self.game_map, self.cat), 0, 0)