29 lines
506 B
C++
29 lines
506 B
C++
#ifndef __MILESLIB_CSOUNDMANAGER2D_H__
|
|
#define __MILESLIB_CSOUNDMANAGER2D_H__
|
|
|
|
#include "SoundBase.h"
|
|
#include "SoundInstance.h"
|
|
|
|
class CSoundManager2D : public CSoundBase
|
|
{
|
|
public:
|
|
enum
|
|
{
|
|
INSTANCE_MAX_COUNT = 4
|
|
};
|
|
|
|
CSoundManager2D();
|
|
virtual ~CSoundManager2D();
|
|
|
|
bool Initialize();
|
|
void Destroy();
|
|
|
|
ISoundInstance * GetInstance(const char* filename);
|
|
|
|
protected:
|
|
CSoundInstance2D ms_Instances[INSTANCE_MAX_COUNT];
|
|
};
|
|
|
|
#endif
|
|
//martysama0134's 2e58d0b8baeb072acdf3afc4a5d1999f
|