started working on sounds
This commit is contained in:
24
public/audio.h
Normal file
24
public/audio.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user