]> git.tdb.fi Git - libs/game.git/blobdiff - examples/bassteroids/source/bullet.cpp
Pass bullet's initial transform values directly to the constructor
[libs/game.git] / examples / bassteroids / source / bullet.cpp
index 260601b4d77b2f447ecef111c14a19cf6b13b86c..957a0394757c1b25bdda9c588d5d844429f370f3 100644 (file)
@@ -2,7 +2,7 @@
 
 using namespace Msp;
 
-Bullet::Bullet(Game::Handle<Game::Entity> p, const Setup &s):
-       PhysicalEntity(p, s.physical),
+Bullet::Bullet(Game::Handle<Game::Entity> p, const Setup &s, const Game::TransformValues &tv):
+       PhysicalEntity(p, s.physical, tv),
        mesh(*this, s.mesh)
 { }