25 lines
605 B
Python
25 lines
605 B
Python
|
from toontown.toonbase import ToontownGlobals
|
||
|
|
||
|
class MintRoomBase:
|
||
|
|
||
|
def __init__(self):
|
||
|
pass
|
||
|
|
||
|
def setMintId(self, mintId):
|
||
|
self.mintId = mintId
|
||
|
self.cogTrack = ToontownGlobals.cogHQZoneId2dept(mintId)
|
||
|
|
||
|
def setRoomId(self, roomId):
|
||
|
self.roomId = roomId
|
||
|
|
||
|
def getCogTrack(self):
|
||
|
return self.cogTrack
|
||
|
|
||
|
if __dev__:
|
||
|
|
||
|
def getEntityTypeReg(self):
|
||
|
import FactoryEntityTypes
|
||
|
from otp.level import EntityTypeRegistry
|
||
|
typeReg = EntityTypeRegistry.EntityTypeRegistry(FactoryEntityTypes)
|
||
|
return typeReg
|