Poodletooth-iLand/toontown/cogdominium/DistributedCogdoElevatorExt.py

23 lines
680 B
Python
Raw Normal View History

2015-03-06 20:46:05 -06:00
# File: D (Python 2.4)
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-03-03 16:10:12 -06:00
def getElevatorModel(self):
return self.bldg.getCogdoElevatorNodePath()
2015-03-06 20:46:05 -06:00
2015-03-03 16:10:12 -06:00
def getBldgDoorOrigin(self):
return self.bldg.getCogdoDoorOrigin()
2015-03-06 20:46:05 -06:00
2015-03-03 16:10:12 -06:00
def _getDoorsClosedInfo(self):
return ('cogdoInterior', 'cogdoInterior')