]> git.tdb.fi Git - libs/game.git/blob - examples/bassteroids/source/asteroid.cpp
Make asteroids take damage when shot and eventually be destroyed
[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 { }