]> git.tdb.fi Git - libs/game.git/blob - examples/bassteroids/source/bullet.h
Use the setup generator to create setup structs
[libs/game.git] / examples / bassteroids / source / bullet.h
1 #ifndef BULLET_H_
2 #define BULLET_H_
3
4 #include <msp/game/meshsource.h>
5 #include "hittable.h"
6 #include "setups.h"
7
8 class Bullet: public Hittable
9 {
10 private:
11         Msp::Game::Owned<Msp::Game::MeshSource> mesh;
12
13 public:
14         using Setup = BulletSetup;
15
16         Bullet(Msp::Game::Handle<Msp::Game::Entity>, const Setup &, const Msp::Game::TransformValues & = Msp::Game::TransformValues());
17 };
18
19 #endif