2015-03-07 02:46:05 +00:00
|
|
|
# File: D (Python 2.4)
|
|
|
|
|
2015-03-03 22:10:12 +00:00
|
|
|
from toontown.building.DistributedElevatorExt import DistributedElevatorExt
|
2015-03-07 02:46:05 +00:00
|
|
|
from toontown.building.ElevatorConstants import *
|
|
|
|
from toontown.building.ElevatorUtils import *
|
|
|
|
from toontown.toonbase import ToontownGlobals
|
2015-03-03 22:10:12 +00:00
|
|
|
|
|
|
|
class DistributedCogdoElevatorExt(DistributedElevatorExt):
|
2015-03-07 02:46:05 +00:00
|
|
|
def __init__(self, cr):
|
|
|
|
DistributedElevatorExt.__init__(self, cr)
|
|
|
|
self.type = ELEVATOR_FIELD
|
|
|
|
|
2015-03-03 22:10:12 +00:00
|
|
|
def getElevatorModel(self):
|
|
|
|
return self.bldg.getCogdoElevatorNodePath()
|
|
|
|
|
2015-03-07 02:46:05 +00:00
|
|
|
|
2015-03-03 22:10:12 +00:00
|
|
|
def getBldgDoorOrigin(self):
|
|
|
|
return self.bldg.getCogdoDoorOrigin()
|
|
|
|
|
2015-03-07 02:46:05 +00:00
|
|
|
|
2015-03-03 22:10:12 +00:00
|
|
|
def _getDoorsClosedInfo(self):
|
|
|
|
return ('cogdoInterior', 'cogdoInterior')
|