mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
20 lines
354 B
C++
20 lines
354 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);
|
|
};
|