Poodletooth-iLand/toontown/coghq/FactoryBase.py

18 lines
443 B
Python
Raw Normal View History

2015-03-03 16:10:12 -06:00
from toontown.toonbase import ToontownGlobals
class FactoryBase:
def __init__(self):
pass
def setFactoryId(self, factoryId):
self.factoryId = factoryId
self.factoryType = ToontownGlobals.factoryId2factoryType[factoryId]
self.cogTrack = ToontownGlobals.cogHQZoneId2dept(factoryId)
def getCogTrack(self):
return self.cogTrack
def getFactoryType(self):
2015-07-05 18:59:25 -05:00
return self.factoryType