oldschool-toontown/toontown/building/DistributedAnimBuildingAI.py

14 lines
609 B
Python
Raw Normal View History

2019-11-02 17:27:54 -05:00
from direct.directnotify import DirectNotifyGlobal
from toontown.building import DistributedBuildingAI
from toontown.building import DistributedAnimDoorAI
from toontown.building import DoorTypes
class DistributedAnimBuildingAI(DistributedBuildingAI.DistributedBuildingAI):
def __init__(self, air, blockNumber, zoneId, trophyMgr):
DistributedBuildingAI.DistributedBuildingAI.__init__(self, air, blockNumber, zoneId, trophyMgr)
def createExteriorDoor(self):
result = DistributedAnimDoorAI.DistributedAnimDoorAI(self.air, self.block, DoorTypes.EXT_ANIM_STANDARD)
return result