oldschool-toontown/toontown/building/DistributedAnimBuildingAI.py
2019-11-02 18:27:54 -04:00

13 lines
609 B
Python

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