oldschool-toontown/toontown/hood/AnimatedProp.py

21 lines
498 B
Python
Raw Permalink Normal View History

2019-11-02 17:27:54 -05:00
from direct.showbase import DirectObject
from direct.directnotify import DirectNotifyGlobal
class AnimatedProp(DirectObject.DirectObject):
notify = DirectNotifyGlobal.directNotify.newCategory('AnimatedProp')
def __init__(self, node):
self.node = node
def delete(self):
pass
def uniqueName(self, name):
return name + '-' + str(self.node.this)
def enter(self):
self.notify.debug('enter')
def exit(self):
self.notify.debug('exit')