mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-25 12:42:41 -06:00
25 lines
658 B
Python
25 lines
658 B
Python
|
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):
|
||
|
import FactoryEntityTypes
|
||
|
from otp.level import EntityTypeRegistry
|
||
|
typeReg = EntityTypeRegistry.EntityTypeRegistry(FactoryEntityTypes)
|
||
|
return typeReg
|