mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-25 20:52:26 -06:00
21 lines
429 B
Python
21 lines
429 B
Python
|
from direct.showbase.DirectObject import DirectObject
|
||
|
|
||
|
|
||
|
class AnimatedProp(DirectObject):
|
||
|
notify = 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')
|