mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-22 21:05:39 +00:00
20 lines
353 B
C
20 lines
353 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "T3D/entity.h"
|
||
|
|
#include "T3D/components/audio/soundComponent.h"
|
||
|
|
|
||
|
|
class SoundEmitterObject : public Entity
|
||
|
|
{
|
||
|
|
typedef Entity Parent;
|
||
|
|
|
||
|
|
SoundComponent* mSoundComponent;
|
||
|
|
|
||
|
|
public:
|
||
|
|
SoundEmitterObject();
|
||
|
|
~SoundEmitterObject();
|
||
|
|
|
||
|
|
virtual bool onAdd();
|
||
|
|
virtual void onRemove();
|
||
|
|
|
||
|
|
DECLARE_CONOBJECT(SoundEmitterObject);
|
||
|
|
};
|