mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-27 05:32:41 -06:00
13 lines
501 B
Python
13 lines
501 B
Python
|
from otp.level import BasicEntities
|
||
|
from direct.directnotify import DirectNotifyGlobal
|
||
|
|
||
|
class DistributedCrusherEntity(BasicEntities.DistributedNodePathEntity):
|
||
|
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedCrusherEntity')
|
||
|
|
||
|
def __init__(self, cr):
|
||
|
BasicEntities.DistributedNodePathEntity.__init__(self, cr)
|
||
|
|
||
|
def announceGenerate(self):
|
||
|
BasicEntities.DistributedNodePathEntity.announceGenerate(self)
|
||
|
self.crushMsg = self.getUniqueName('crushMsg')
|