]> git.tdb.fi Git - libs/game.git/blobdiff - examples/bassteroids/source/physicalentity.h
Add playfield boundaries to Bassteroids
[libs/game.git] / examples / bassteroids / source / physicalentity.h
index a0cca3768a0308cfe35ba7321d11e32057ec00b1..8f2a57fa07fae65308947a12908fbfc50eb38f1b 100644 (file)
@@ -2,6 +2,7 @@
 #define PHYSICALENTITY_H_
 
 #include <msp/game/entity.h>
+#include <msp/game/transform.h>
 #include "rigidbody.h"
 #include "collider.h"
 
@@ -22,7 +23,7 @@ protected:
        Msp::Game::Owned<Collider> collider;
 
 public:
-       PhysicalEntity(Msp::Game::Handle<Msp::Game::Entity>, const Setup &);
+       PhysicalEntity(Msp::Game::Handle<Msp::Game::Entity>, const Setup &, const Msp::Game::TransformValues & = Msp::Game::TransformValues());
 
        bool is_fixture() const { return !body; }
        Msp::Game::Handle<RigidBody> get_body() const { return body; }