def getObjectID(self): self.validify() return library.serverBoardGetObjectID(self.ptr)
def __init__(self, ptr): from BaseAI import BaseAI self.ptr = ptr self.iteration = BaseAI.iteration self.ID = library.serverBoardGetObjectID(ptr)