25 lines
387 B
C
25 lines
387 B
C
#ifndef AUDIO_H
|
|
#define AUDIO_H
|
|
|
|
#include "interface.h"
|
|
#include "tier0/platform.h"
|
|
|
|
abstract_class ISound
|
|
{
|
|
virtual void SetVolume() = 0;
|
|
};
|
|
|
|
abstract_class I3DSound: public ISound
|
|
{
|
|
virtual void SetPosition() = 0;
|
|
virtual void SetVelocity() = 0;
|
|
};
|
|
|
|
interface IAudioManager: public IInterface
|
|
{
|
|
virtual ISound *CreateSound() = 0;
|
|
virtual I3DSound *Create3DSound() = 0;
|
|
};
|
|
|
|
#endif
|