diff options
| author | Samu Laaksonen <laaksonen.sj@gmail.com> | 2012-09-30 13:33:24 +0300 |
|---|---|---|
| committer | Samu Laaksonen <laaksonen.sj@gmail.com> | 2012-09-30 13:33:24 +0300 |
| commit | 2049e08432907f645f5a3786ea4f50a6456b77c4 (patch) | |
| tree | fbecdda668e9e560d6822f5a658e6a3a4e157405 /src/ActionScene.cpp | |
| parent | a8934f323fd7e48014addb55ff25ef0486aebbd1 (diff) | |
| download | prism-2049e08432907f645f5a3786ea4f50a6456b77c4.tar.gz prism-2049e08432907f645f5a3786ea4f50a6456b77c4.zip | |
ActionScene changes
Added drawBackground and drawForeground
- background for handling parallax scrolling during levels
- foreground for HUD implementation
Diffstat (limited to 'src/ActionScene.cpp')
| -rw-r--r-- | src/ActionScene.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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); |
