mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 04:02:40 -06:00
12 lines
404 B
Python
Executable file
12 lines
404 B
Python
Executable file
import ZoneEntityBase
|
|
|
|
class ZoneEntityAI(ZoneEntityBase.ZoneEntityBase):
|
|
|
|
def __init__(self, level, entId):
|
|
ZoneEntityBase.ZoneEntityBase.__init__(self, level, entId)
|
|
self.setZoneId(self.level.air.allocateZone())
|
|
|
|
def destroy(self):
|
|
if not self.isUberZone():
|
|
self.level.air.deallocateZone(self.getZoneId())
|
|
ZoneEntityBase.ZoneEntityBase.destroy(self)
|