]> git.tdb.fi Git - libs/game.git/blobdiff - examples/bassteroids/source/bullet.cpp
Make it possible to shoot bullets in Bassteroids
[libs/game.git] / examples / bassteroids / source / bullet.cpp
diff --git a/examples/bassteroids/source/bullet.cpp b/examples/bassteroids/source/bullet.cpp
new file mode 100644 (file)
index 0000000..260601b
--- /dev/null
@@ -0,0 +1,8 @@
+#include "bullet.h"
+
+using namespace Msp;
+
+Bullet::Bullet(Game::Handle<Game::Entity> p, const Setup &s):
+       PhysicalEntity(p, s.physical),
+       mesh(*this, s.mesh)
+{ }