X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fbassteroids%2Fsource%2Fbullet.h;h=28b8ea846fc5019f7600c28673d1deab754ba178;hb=41a17ae9a2baa2cafacfc467acc87463d790c09b;hp=825125fa01c1490463a29ba9f59dd7f68d06e16f;hpb=683858c0265e820d57bb5a1f7f21ab72b232a79d;p=libs%2Fgame.git diff --git a/examples/bassteroids/source/bullet.h b/examples/bassteroids/source/bullet.h index 825125f..28b8ea8 100644 --- a/examples/bassteroids/source/bullet.h +++ b/examples/bassteroids/source/bullet.h @@ -2,15 +2,10 @@ #define BULLET_H_ #include -#include "physicalentity.h" +#include "hittable.h" +#include "setups.h" -struct BulletSetup -{ - PhysicalSetup physical; - Msp::Game::MeshSourceSetup mesh; -}; - -class Bullet: public PhysicalEntity +class Bullet: public Hittable { private: Msp::Game::Owned mesh; @@ -18,7 +13,7 @@ private: public: using Setup = BulletSetup; - Bullet(Msp::Game::Handle, const Setup &); + Bullet(Msp::Game::Handle, const Setup &, const Msp::Game::TransformValues & = Msp::Game::TransformValues()); }; #endif