Erwan
- It is now possible to have avatars associated to each Deck - Added SFX - Added Music files - Possibility to choose your opponent - Opponents' difficulty is measured according to their number of victories against a given deck
This commit is contained in:
@@ -10,6 +10,9 @@
|
||||
#include <JGE.h>
|
||||
#include <JTypes.h>
|
||||
|
||||
#include <map>
|
||||
|
||||
using std::map;
|
||||
|
||||
#include "MTGDeck.h"
|
||||
|
||||
@@ -55,4 +58,16 @@ class TexturesCache{
|
||||
};
|
||||
|
||||
|
||||
class SampleCache{
|
||||
protected:
|
||||
map<string, JSample *> cache;
|
||||
static SampleCache * mInstance;
|
||||
void cleanCache();
|
||||
~SampleCache();
|
||||
public:
|
||||
static SampleCache * GetInstance();
|
||||
JSample * getSample(string filename);
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user