mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Added implicit conversion to base types to all primary types (UInt32 et al) Added implicit conversion from System::String to const char*
41 lines
805 B
C++
41 lines
805 B
C++
/********************************************************
|
|
* Cue.h *
|
|
* *
|
|
* XFramework Cue definition file *
|
|
* Copyright © XFX Team. All Rights Reserved *
|
|
********************************************************/
|
|
#ifndef XFRAMEWORK_CUE_H
|
|
#define XFRAMEWORK_CUE_H
|
|
|
|
namespace XFramework
|
|
{
|
|
namespace Audio
|
|
{
|
|
class AudioEmitter;
|
|
class AudioListener;
|
|
|
|
class Cue
|
|
{
|
|
private:
|
|
int isPaused;
|
|
int isPlaying;
|
|
int isStopped;
|
|
|
|
public:
|
|
int IsPaused();
|
|
int IsPlaying();
|
|
int IsStopped();
|
|
char* Name;
|
|
|
|
void Apply3D(AudioListener &listener, AudioEmitter &emitter);
|
|
float GetVariable(char* name);
|
|
void Pause();
|
|
void Play();
|
|
void SetVariable(char* name, float value);
|
|
void Stop();
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif //XFRAMEWORK_CUE_H
|