| 1 |
#ifndef _CTETRISTHEME_ |
| 2 |
#define _CTETRISTHEME_ |
| 3 |
|
| 4 |
#include "oodle.h" |
| 5 |
#include <string> |
| 6 |
using namespace std; |
| 7 |
|
| 8 |
class CTetrisTheme |
| 9 |
{ |
| 10 |
public: |
| 11 |
CTetrisTheme(const string &name = "1", const string &res = "640x480"); |
| 12 |
~CTetrisTheme(); |
| 13 |
|
| 14 |
CSurface* getBackground(); |
| 15 |
CBlockSet* getBlockSet(); |
| 16 |
CSurface* getCursor(); |
| 17 |
CSprite* getCharacter(); |
| 18 |
CSprite* getFloater(); |
| 19 |
CSound& getSwapSound(); |
| 20 |
CSound& getHitSound(); |
| 21 |
|
| 22 |
private: |
| 23 |
CSurface *background; |
| 24 |
CSurface *cursor; |
| 25 |
CBlockSet *blockSet; |
| 26 |
CSprite *character; |
| 27 |
CSprite *floater; |
| 28 |
CSound swap,hit; |
| 29 |
}; |
| 30 |
|
| 31 |
#endif |