blob: 61eb70a69f4f8feacd63acacd43595f516b33776 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#ifndef LevelSelectionScene_h
#define LevelSelectionScene_h
#include "GameScene.h"
#include "ParallaxScrollerStatic.h"
class LevelSelectionScene : public GameScene
{
Q_OBJECT
public:
LevelSelectionScene(const QString &name, const QRectF &rect, GameView *parent = 0);
virtual ~LevelSelectionScene();
/**
* Updates graphics on scene. Mainly background but levelselectionbuttons too.
*/
void updateLogic();
/**
* Loads level data and creates selection grid
*/
void initializeScene();
private slots:
/**
* This function calls ActionScene with information about what level to load.
*/
void levelSelection();
private:
ParallaxScrollerStatic* m_background;
};
#endif // LevelSelectionScene_h
|