changes to 380 project 4 changes to 350 project 2 Signed-off-by: Amrit Panesar <apanesar@4195tech.com>
32 lines
644 B
C++
32 lines
644 B
C++
#pragma once
|
|
|
|
#include "..\..\..\GkDefinitions.h"
|
|
|
|
#include "..\GkGameAnimation.h"
|
|
#include "..\..\..\Sound\GkSoundDevice.h"
|
|
|
|
struct GkGameAnimationsSoundBindingAnimation
|
|
{
|
|
GkGameAnimation *animation;
|
|
bool played;
|
|
};
|
|
|
|
class GKDLLCLASS GkGameAnimationsSoundBinding :
|
|
public GkGameEntity
|
|
{
|
|
public:
|
|
GkSoundDevice *soundDevice;
|
|
GkSoundSource *soundSource;
|
|
|
|
int numAnimations;
|
|
GkGameAnimationsSoundBindingAnimation *animations;
|
|
|
|
bool looping;
|
|
|
|
GkGameAnimationsSoundBinding(GkSoundSource *soundSource, GkSoundDevice *soundDevice, bool looping, int numAnimations, ...);
|
|
~GkGameAnimationsSoundBinding(void);
|
|
|
|
void Process(GkGame *game);
|
|
};
|
|
|