예제 #1
0
 def __init__(self, ptr):
   from BaseAI import BaseAI
   self._ptr = ptr
   self._iteration = BaseAI.iteration
   self._id = library.creatureGetId(ptr)
예제 #2
0
 def getId(self):
   self.validify()
   return library.creatureGetId(self._ptr)