mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-26 21:22:27 -06:00
26 lines
544 B
Python
26 lines
544 B
Python
|
import Entity
|
||
|
import LevelConstants
|
||
|
|
||
|
class ZoneEntityBase(Entity.Entity):
|
||
|
|
||
|
def __init__(self, level, entId):
|
||
|
Entity.Entity.__init__(self, level, entId)
|
||
|
self.zoneId = None
|
||
|
return
|
||
|
|
||
|
def destroy(self):
|
||
|
del self.zoneId
|
||
|
Entity.Entity.destroy(self)
|
||
|
|
||
|
def isUberZone(self):
|
||
|
return self.entId == LevelConstants.UberZoneEntId
|
||
|
|
||
|
def setZoneId(self, zoneId):
|
||
|
self.zoneId = zoneId
|
||
|
|
||
|
def getZoneId(self):
|
||
|
return self.zoneId
|
||
|
|
||
|
def getZoneNum(self):
|
||
|
return self.entId
|