예제 #1
0
 def getId(self):
   self.validify()
   return library.botGetId(self.ptr)
예제 #2
0
 def getId(self):
     self.validify()
     return library.botGetId(self.ptr)
예제 #3
0
 def __init__(self, ptr):
   from BaseAI import BaseAI
   self.ptr = ptr
   self.iteration = BaseAI.iteration
   
   self.id = library.botGetId(ptr)
예제 #4
0
    def __init__(self, ptr):
        from BaseAI import BaseAI
        self.ptr = ptr
        self.iteration = BaseAI.iteration

        self.id = library.botGetId(ptr)