X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=examples%2Fbassteroids%2Fsource%2Fbullet.cpp;h=f1bc56bad41143a2f70c2bc7840c6631a1388912;hb=239cd38de0ddbb5931151523530a5e7272e16f7f;hp=260601b4d77b2f447ecef111c14a19cf6b13b86c;hpb=683858c0265e820d57bb5a1f7f21ab72b232a79d;p=libs%2Fgame.git diff --git a/examples/bassteroids/source/bullet.cpp b/examples/bassteroids/source/bullet.cpp index 260601b..f1bc56b 100644 --- a/examples/bassteroids/source/bullet.cpp +++ b/examples/bassteroids/source/bullet.cpp @@ -2,7 +2,7 @@ using namespace Msp; -Bullet::Bullet(Game::Handle p, const Setup &s): - PhysicalEntity(p, s.physical), - mesh(*this, s.mesh) +Bullet::Bullet(Game::Handle p, const Setup &s, const Game::TransformValues &tv): + Hittable(p, s.hittable, s.physical, tv), + mesh(this, s.mesh) { }