Poodletooth-iLand/toontown/coghq/LawOfficeBase.py
John 35b646c4e6 Revert "Spring cleaning"
This reverts commit 1e4bad8c6b.
2015-06-16 20:26:44 +03:00

19 lines
No EOL
500 B
Python
Executable file

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):
return self.factoryType