Poodletooth-iLand/toontown/coghq/LawOfficeBase.py

20 lines
501 B
Python
Raw Normal View History

2015-03-03 22:10:12 +00:00
import FactorySpecs
from otp.level import LevelSpec
from toontown.toonbase import ToontownGlobals
class LawOfficeBase:
def __init__(self):
pass
def setLawOfficeId(self, factoryId):
self.lawOfficeId = factoryId
self.factoryType = ToontownGlobals.factoryId2factoryType[factoryId]
self.cogTrack = ToontownGlobals.cogHQZoneId2dept(factoryId)
def getCogTrack(self):
return self.cogTrack
def getFactoryType(self):
2015-07-05 23:59:25 +00:00
return self.factoryType