mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 12:12:36 -06:00
18 lines
443 B
Python
18 lines
443 B
Python
|
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
|