aboutsummaryrefslogtreecommitdiff
path: root/src/ActionScene.h
diff options
context:
space:
mode:
authorSamu Laaksonen <laaksonen.sj@gmail.com>2012-10-18 23:58:18 +0300
committerSamu Laaksonen <laaksonen.sj@gmail.com>2012-10-18 23:58:18 +0300
commita0f7ab0f77fa81b77d03de751e4a5f4e07c49d25 (patch)
tree92c033e000f6796f3e679ee8ba58bf83844b84c5 /src/ActionScene.h
parent2049e08432907f645f5a3786ea4f50a6456b77c4 (diff)
downloadprism-a0f7ab0f77fa81b77d03de751e4a5f4e07c49d25.tar.gz
prism-a0f7ab0f77fa81b77d03de751e4a5f4e07c49d25.zip
Box2d precommit
Added - box2d source codes to be added in project when there is no longer cba - some base ideas to display classes Improved - level loading : layer with property "solid" is now loaded tile by tile, this allows adding static rigid bodies to these items for collision detection
Diffstat (limited to 'src/ActionScene.h')
-rw-r--r--src/ActionScene.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ActionScene.h b/src/ActionScene.h
index 6daa42a..bd40976 100644
--- a/src/ActionScene.h
+++ b/src/ActionScene.h
@@ -15,6 +15,8 @@
class QGraphicsPixmapItem;
class Hero;
+class b2World;
+
class ActionScene : public GameScene
{
Q_OBJECT
@@ -48,6 +50,8 @@ public:
private:
+ b2World* m_physicalWorld;
+
Tiled::Map *m_map;
Tiled::MapReader *m_mapReader;
Tiled::OrthogonalRenderer *m_mapRenderer;