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