aboutsummaryrefslogtreecommitdiff
path: root/src/ActionScene.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ActionScene.h')
-rw-r--r--src/ActionScene.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/ActionScene.h b/src/ActionScene.h
index 28d032b..6daa42a 100644
--- a/src/ActionScene.h
+++ b/src/ActionScene.h
@@ -27,6 +27,16 @@ public:
void keyPressEvent(QKeyEvent *event);
/**
+ * TODO: Bind in-game background parallax-scroller to this
+ */
+ void drawBackground(QPainter *painter, const QRectF &rect);
+
+ /**
+ * Used to draw HUD, TODO: implementation
+ */
+ void drawForeground(QPainter *painter, const QRectF &rect);
+
+ /**
* Loads level from target location.
*/
void loadMap(QString target);
@@ -48,12 +58,6 @@ private:
//! Levelscore used for records.
int m_levelScore;
- //! Map layer is drawn to this pixmap
- //QPixmap m_mapPixmap;
-
- //! Item for map layer
- //QGraphicsPixmapItem *m_mapPixmapItem;
-
//! Map layers are drawn to these pixmaps
QVector<QPixmap> m_mapPixmaps;