From 2049e08432907f645f5a3786ea4f50a6456b77c4 Mon Sep 17 00:00:00 2001 From: Samu Laaksonen Date: Sun, 30 Sep 2012 13:33:24 +0300 Subject: ActionScene changes Added drawBackground and drawForeground - background for handling parallax scrolling during levels - foreground for HUD implementation --- src/ActionScene.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/ActionScene.cpp') diff --git a/src/ActionScene.cpp b/src/ActionScene.cpp index cc6faa4..8799e3e 100644 --- a/src/ActionScene.cpp +++ b/src/ActionScene.cpp @@ -103,6 +103,11 @@ void ActionScene::keyPressEvent(QKeyEvent *event) } } +void ActionScene::drawForeground(QPainter *painter, const QRectF &rect) +{ + +} + void ActionScene::loadMap(QString target) { QFileInfo f(target); -- cgit v1.2.3