def getId(self): self.validify() return library.shipGetId(self.ptr)
def getId(self): self.validify() return library.shipGetId(self._ptr)
def __init__(self, ptr): from BaseAI import BaseAI self.ptr = ptr self.iteration = BaseAI.iteration self.id = library.shipGetId(ptr)
def __init__(self, ptr): from BaseAI import BaseAI self._ptr = ptr self._iteration = BaseAI.iteration self._id = library.shipGetId(ptr)