Poodletooth-iLand/toontown/coghq/FactoryBase.py
Master Jumblespeed d882959bfa switch to remote
2015-05-18 22:11:33 -04:00

17 lines
No EOL
442 B
Python
Executable file

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