Poodletooth-iLand/toontown/cogdominium/DistributedCogdoElevatorExt.py

19 lines
642 B
Python
Raw Normal View History

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-04-27 23:51:51 +00:00
2015-03-03 22:10:12 +00:00
def getElevatorModel(self):
return self.bldg.getCogdoElevatorNodePath()
def getBldgDoorOrigin(self):
return self.bldg.getCogdoDoorOrigin()
def _getDoorsClosedInfo(self):
return ('cogdoInterior', 'cogdoInterior')