change stayontable-status handling from gui to engine code
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#include "sdlplayer.h"
|
||||
#include "configfile.h"
|
||||
#include "soundevents.h"
|
||||
|
||||
SoundEvents::SoundEvents(ConfigFile *c): myConfig(c)
|
||||
{
|
||||
mySDLPlayer = new SDLPlayer(myConfig);
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
#ifndef SOUNDEVENTS_H
|
||||
#define SOUNDEVENTS_H
|
||||
|
||||
class SDLPlayer;
|
||||
class ConfigFile;
|
||||
class SoundEvents
|
||||
{
|
||||
public:
|
||||
SoundEvents(ConfigFile*);
|
||||
private:
|
||||
SDLPlayer *mySDLPlayer;
|
||||
ConfigFile *myConfig;
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif // SOUNDEVENTS_H
|
||||
Reference in New Issue
Block a user