def getId(self): self.validify() return library.baseGetId(self.ptr)
def __init__(self, ptr): from BaseAI import BaseAI self.ptr = ptr self.iteration = BaseAI.iteration self.id = library.baseGetId(ptr)