oldschool-toontown/toontown/coghq/CountryClubRoomBase.py

25 lines
665 B
Python
Raw Normal View History

2019-11-02 17:27:54 -05:00
from toontown.toonbase import ToontownGlobals
class CountryClubRoomBase:
def __init__(self):
pass
def setCountryClubId(self, countryClubId):
self.countryClubId = countryClubId
self.cogTrack = ToontownGlobals.cogHQZoneId2dept(countryClubId)
def setRoomId(self, roomId):
self.roomId = roomId
def getCogTrack(self):
return self.cogTrack
if __dev__:
def getCountryClubEntityTypeReg(self):
from . import FactoryEntityTypes
2019-11-02 17:27:54 -05:00
from otp.level import EntityTypeRegistry
typeReg = EntityTypeRegistry.EntityTypeRegistry(FactoryEntityTypes)
return typeReg