|
@@ -4,8 +4,10 @@ import BasicEntities
|
|
|
class AmbientSound(BasicEntities.NodePathEntity):
|
|
class AmbientSound(BasicEntities.NodePathEntity):
|
|
|
def __init__(self, level, entId):
|
|
def __init__(self, level, entId):
|
|
|
BasicEntities.NodePathEntity.__init__(self, level, entId)
|
|
BasicEntities.NodePathEntity.__init__(self, level, entId)
|
|
|
|
|
+ self.initSound()
|
|
|
|
|
|
|
|
def destroy(self):
|
|
def destroy(self):
|
|
|
|
|
+ self.destroySound()
|
|
|
BasicEntities.NodePathEntity.destroy(self)
|
|
BasicEntities.NodePathEntity.destroy(self)
|
|
|
|
|
|
|
|
def initSound(self):
|
|
def initSound(self):
|