]> git.tdb.fi Git - libs/game.git/blob - examples/bassteroids/source/asteroid.cpp
Change Owned's constructor to take a pointer to the parent
[libs/game.git] / examples / bassteroids / source / asteroid.cpp
1 #include "asteroid.h"
2
3 using namespace Msp;
4
5 Asteroid::Asteroid(Game::Handle<Entity> p, const AsteroidSetup &s):
6         Hittable(p, s.hittable, s.physical),
7         setup(s),
8         mesh(this, setup.mesh)
9 { }