Poodletooth-iLand/toontown/cogdominium/DistributedCogdoElevatorExt.py

19 lines
642 B
Python
Raw Normal View History

2015-03-03 16:10:12 -06:00
from toontown.building.DistributedElevatorExt import DistributedElevatorExt
2015-03-06 20:46:05 -06:00
from toontown.building.ElevatorConstants import *
from toontown.building.ElevatorUtils import *
from toontown.toonbase import ToontownGlobals
2015-03-03 16:10:12 -06:00
class DistributedCogdoElevatorExt(DistributedElevatorExt):
2015-03-06 20:46:05 -06:00
def __init__(self, cr):
DistributedElevatorExt.__init__(self, cr)
self.type = ELEVATOR_FIELD
2015-04-27 18:51:51 -05:00
2015-03-03 16:10:12 -06:00
def getElevatorModel(self):
return self.bldg.getCogdoElevatorNodePath()
def getBldgDoorOrigin(self):
return self.bldg.getCogdoDoorOrigin()
def _getDoorsClosedInfo(self):
return ('cogdoInterior', 'cogdoInterior')