mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-11-01 01:07:54 +00:00
24 lines
611 B
Python
24 lines
611 B
Python
from toontown.toonbase import ToontownGlobals
|
|
|
|
class StageRoomBase:
|
|
|
|
def __init__(self):
|
|
pass
|
|
|
|
def setStageId(self, stageId):
|
|
self.stageId = stageId
|
|
self.cogTrack = ToontownGlobals.cogHQZoneId2dept(stageId)
|
|
|
|
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
|